Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dcost_mips_dsp_r2.c29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
38 return VP8BitCost(0, p0); in GetResidualCost()
88 cost += VP8BitCost(0, last_p0); in GetResidualCost()
Dcost.c331 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
334 return VP8BitCost(0, p0); in GetResidualCost()
351 cost += VP8BitCost(0, last_p0); in GetResidualCost()
Dcost_mips32.c29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
38 return VP8BitCost(0, p0); in GetResidualCost()
93 cost += VP8BitCost(0, last_p0); in GetResidualCost()
Dcost_sse2.c56 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCostSSE2()
59 return VP8BitCost(0, p0); in GetResidualCostSSE2()
99 cost += VP8BitCost(0, last_p0); in GetResidualCostSSE2()
/external/webp/src/enc/
Dframe.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()
210 p[0] * (VP8BitCost(0, probas[0]) + VP8BitCost(0, probas[1])) + in SetSegmentProbas()
211 p[1] * (VP8BitCost(0, probas[0]) + VP8BitCost(1, probas[1])) + in SetSegmentProbas()
212 p[2] * (VP8BitCost(1, probas[0]) + VP8BitCost(0, probas[2])) + in SetSegmentProbas()
213 p[3] * (VP8BitCost(1, probas[0]) + VP8BitCost(1, probas[2])); in SetSegmentProbas()
Dcost.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.h45 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { in VP8BitCost() function
Dtoken.c263 size += VP8BitCost(bit, token & 0xffu); in VP8EstimateTokenSize()
265 size += VP8BitCost(bit, probas[token & 0x3fffu]); in VP8EstimateTokenSize()
Dquant.c607 cost = VP8BitCost(0, last_proba); in TrellisQuantizeBlock()
612 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock()
656 (n < 15) ? VP8BitCost(0, probas[band][ctx][0]) : 0; in TrellisQuantizeBlock()