Searched refs:VP8BitCost (Results 1 – 10 of 10) sorted by relevance
/external/webp/src/dsp/ |
D | cost_mips_dsp_r2.c | 29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_MIPSdspR2() 38 return VP8BitCost(0, p0); in GetResidualCost_MIPSdspR2() 88 cost += VP8BitCost(0, last_p0); in GetResidualCost_MIPSdspR2()
|
D | cost.c | 331 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_C() 334 return VP8BitCost(0, p0); in GetResidualCost_C() 351 cost += VP8BitCost(0, last_p0); in GetResidualCost_C()
|
D | cost_mips32.c | 29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_MIPS32() 38 return VP8BitCost(0, p0); in GetResidualCost_MIPS32() 93 cost += VP8BitCost(0, last_p0); in GetResidualCost_MIPS32()
|
D | cost_sse2.c | 56 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_SSE2() 59 return VP8BitCost(0, p0); in GetResidualCost_SSE2() 99 cost += VP8BitCost(0, last_p0); in GetResidualCost_SSE2()
|
D | cost_neon.c | 62 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost_NEON() 65 return VP8BitCost(0, p0); in GetResidualCost_NEON() 102 cost += VP8BitCost(0, last_p0); in GetResidualCost_NEON()
|
/external/webp/src/enc/ |
D | frame_enc.c | 119 size += nb_events * VP8BitCost(1, proba->skip_proba_) in FinalizeSkipProba() 120 + (nb_mbs - nb_events) * VP8BitCost(0, proba->skip_proba_); in FinalizeSkipProba() 135 return nb * VP8BitCost(1, proba) + (total - nb) * VP8BitCost(0, proba); in BranchCost() 158 + VP8BitCost(0, update_proba); in FinalizeTokenProbas() 160 + VP8BitCost(1, update_proba) in FinalizeTokenProbas() 163 size += VP8BitCost(use_new_p, update_proba); in FinalizeTokenProbas() 220 p[0] * (VP8BitCost(0, probas[0]) + VP8BitCost(0, probas[1])) + in SetSegmentProbas() 221 p[1] * (VP8BitCost(0, probas[0]) + VP8BitCost(1, probas[1])) + in SetSegmentProbas() 222 p[2] * (VP8BitCost(1, probas[0]) + VP8BitCost(0, probas[2])) + in SetSegmentProbas() 223 p[3] * (VP8BitCost(1, probas[0]) + VP8BitCost(1, probas[2])); in SetSegmentProbas()
|
D | cost_enc.c | 49 cost += VP8BitCost(bits & 1, probas[i]); in VariableLevelCost() 71 const int cost0 = (ctx > 0) ? VP8BitCost(1, p[0]) : 0; in VP8CalculateLevelCosts() 72 const int cost_base = VP8BitCost(1, p[1]) + cost0; in VP8CalculateLevelCosts() 74 table[0] = VP8BitCost(0, p[1]) + cost0; in VP8CalculateLevelCosts()
|
D | cost_enc.h | 59 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost() function
|
D | token_enc.c | 239 size += VP8BitCost(bit, token & 0xffu); in VP8EstimateTokenSize() 241 size += VP8BitCost(bit, probas[token & 0x3fffu]); in VP8EstimateTokenSize()
|
D | quant_enc.c | 625 cost = VP8BitCost(0, last_proba); in TrellisQuantizeBlock() 630 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock() 706 (n < 15) ? VP8BitCost(0, probas[band][ctx][0]) : 0; in TrellisQuantizeBlock()
|