Lines Matching defs:bit_entropy
219 VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) {
227 bit_entropy->sum += (*val_prev) * streak;
228 bit_entropy->nonzeros += streak;
229 bit_entropy->nonzero_code = *i_prev;
230 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak;
231 if (bit_entropy->max_val < *val_prev) {
232 bit_entropy->max_val = *val_prev;
245 VP8LBitEntropy* const bit_entropy,
252 VP8LBitEntropyInit(bit_entropy);
257 GetEntropyUnrefinedHelper(x, i, &x_prev, &i_prev, bit_entropy, stats);
260 GetEntropyUnrefinedHelper(0, i, &x_prev, &i_prev, bit_entropy, stats);
262 bit_entropy->entropy += VP8LFastSLog2(bit_entropy->sum);
267 VP8LBitEntropy* const bit_entropy,
274 VP8LBitEntropyInit(bit_entropy);
279 GetEntropyUnrefinedHelper(xy, i, &xy_prev, &i_prev, bit_entropy, stats);
282 GetEntropyUnrefinedHelper(0, i, &xy_prev, &i_prev, bit_entropy, stats);
284 bit_entropy->entropy += VP8LFastSLog2(bit_entropy->sum);