Home
last modified time | relevance | path

Searched refs:prob (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dtree_dec.c323 const uint8_t* const prob = kBModesProba[top[x]][ymode]; in ParseIntraMode() local
326 int i = kYModesIntra4[VP8GetBit(br, prob[0])]; in ParseIntraMode()
328 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])]; in ParseIntraMode()
333 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED : in ParseIntraMode()
334 !VP8GetBit(br, prob[1]) ? B_TM_PRED : in ParseIntraMode()
335 !VP8GetBit(br, prob[2]) ? B_VE_PRED : in ParseIntraMode()
336 !VP8GetBit(br, prob[3]) ? in ParseIntraMode()
337 (!VP8GetBit(br, prob[4]) ? B_HE_PRED : in ParseIntraMode()
338 (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) : in ParseIntraMode()
339 (!VP8GetBit(br, prob[6]) ? B_LD_PRED : in ParseIntraMode()
[all …]
A Dvp8_dec.c33 const VP8BandProbas* const prob[],
437 const VP8BandProbas* const prob[], in GetCoeffsFast() argument
439 const uint8_t* p = prob[n]->probas_[ctx]; in GetCoeffsFast()
445 p = prob[++n]->probas_[0]; in GetCoeffsFast()
449 const VP8ProbaArray* const p_ctx = &prob[n + 1]->probas_[0]; in GetCoeffsFast()
467 const VP8BandProbas* const prob[], in GetCoeffsAlt() argument
469 const uint8_t* p = prob[n]->probas_[ctx]; in GetCoeffsAlt()
475 p = prob[++n]->probas_[0]; in GetCoeffsAlt()
479 const VP8ProbaArray* const p_ctx = &prob[n + 1]->probas_[0]; in GetCoeffsAlt()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dtree_enc.c271 const uint8_t* const prob) { in PutI4Mode() argument
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode()
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode()
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode()
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode()
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode()
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode()
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode()
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode()
282 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode()
A Dcost_enc.h34 ProbaArray* prob; member
A Dframe_enc.c236 const uint8_t* p = res->prob[n][ctx]; in PutCoeffs()
246 p = res->prob[VP8EncBands[n]][0]; in PutCoeffs()
250 p = res->prob[VP8EncBands[n]][1]; in PutCoeffs()
296 p = res->prob[VP8EncBands[n]][2]; in PutCoeffs()
A Dcost_enc.c209 res->prob = enc->proba_.coeffs_[coeff_type]; in VP8InitResidual()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dbit_reader_inl_utils.h107 static WEBP_INLINE int VP8GetBit(VP8BitReader* const br, int prob) { in VP8GetBit() argument
117 const range_t split = (range * prob) >> 8; in VP8GetBit()
155 static WEBP_INLINE int VP8GetBitAlt(VP8BitReader* const br, int prob) { in VP8GetBitAlt() argument
165 const range_t split = (range * prob) >> 8; in VP8GetBitAlt()
A Dbit_writer_utils.h46 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
A Dbit_writer_utils.c108 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob) { in VP8PutBit() argument
109 const int split = (bw->range_ * prob) >> 8; in VP8PutBit()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dcost_mips_dsp_r2.c23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost_MIPSdspR2()
87 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_MIPSdspR2()
A Dcost.c325 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_C()
350 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_C()
A Dcost_mips32.c23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost_MIPS32()
92 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_MIPS32()
A Dcost_sse2.c50 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_SSE2()
98 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_SSE2()
A Dcost_neon.c56 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost_NEON()
101 const int last_p0 = res->prob[b][ctx][0]; in GetResidualCost_NEON()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dctc_beam_search.h324 auto is_candidate = [this](const BeamProbability& prob) { in Step()
325 return (prob.total > kLogZero && in Step()
327 prob.total > leaves_.peek_bottom()->newp.total)); in Step()
/AliOS-Things-master/components/ota/2ndboot/updater/xz/linux/lib/xz/
A Dxz_dec_lzma2.c496 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument
502 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()
505 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit()
510 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()
/AliOS-Things-master/components/ota/tools/xz/src/
A Dxz_dec_lzma2.c496 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument
502 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()
505 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit()
510 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()

Completed in 22 milliseconds