Home
last modified time | relevance | path

Searched refs:VP8PutBit (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/enc/
Dtree_enc.c272 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()
293 if (VP8PutBit(bw, (mode == TM_PRED || mode == H_PRED), 156)) { in PutI16Mode()
[all …]
Dframe_enc.c237 if (!VP8PutBit(bw, res->last >= 0, p[0])) { in PutCoeffs()
245 if (!VP8PutBit(bw, v != 0, p[1])) { in PutCoeffs()
249 if (!VP8PutBit(bw, v > 1, p[2])) { in PutCoeffs()
252 if (!VP8PutBit(bw, v > 4, p[3])) { in PutCoeffs()
253 if (VP8PutBit(bw, v != 2, p[4])) { in PutCoeffs()
254 VP8PutBit(bw, v == 4, p[5]); in PutCoeffs()
256 } else if (!VP8PutBit(bw, v > 10, p[6])) { in PutCoeffs()
257 if (!VP8PutBit(bw, v > 6, p[7])) { in PutCoeffs()
258 VP8PutBit(bw, v == 6, 159); in PutCoeffs()
260 VP8PutBit(bw, v >= 9, 165); in PutCoeffs()
[all …]
Dtoken_enc.c213 VP8PutBit(bw, bit, token & 0xffu); // constant proba in VP8EmitTokens()
215 VP8PutBit(bw, bit, probas[token & 0x3fffu]); in VP8EmitTokens()
/external/webp/src/utils/
Dbit_writer_utils.h46 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
Dbit_writer_utils.c108 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob) { in VP8PutBit() function