Home
last modified time | relevance | path

Searched refs:VP8BitCost (Results 1 – 10 of 10) sorted by relevance

/external/webp/src/dsp/
Dcost_mips_dsp_r2.c29 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()
Dcost.c331 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()
Dcost_mips32.c29 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()
Dcost_sse2.c56 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()
Dcost_neon.c62 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/
Dframe_enc.c119 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()
Dcost_enc.c49 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()
Dcost_enc.h59 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost() function
Dtoken_enc.c239 size += VP8BitCost(bit, token & 0xffu); in VP8EstimateTokenSize()
241 size += VP8BitCost(bit, probas[token & 0x3fffu]); in VP8EstimateTokenSize()
Dquant_enc.c625 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()