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.c240 if (!VP8PutBit(bw, res->last >= 0, p[0])) { in PutCoeffs()
248 if (!VP8PutBit(bw, v != 0, p[1])) { in PutCoeffs()
252 if (!VP8PutBit(bw, v > 1, p[2])) { in PutCoeffs()
255 if (!VP8PutBit(bw, v > 4, p[3])) { in PutCoeffs()
256 if (VP8PutBit(bw, v != 2, p[4])) { in PutCoeffs()
257 VP8PutBit(bw, v == 4, p[5]); in PutCoeffs()
259 } else if (!VP8PutBit(bw, v > 10, p[6])) { in PutCoeffs()
260 if (!VP8PutBit(bw, v > 6, p[7])) { in PutCoeffs()
261 VP8PutBit(bw, v == 6, 159); in PutCoeffs()
263 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