Home
last modified time | relevance | path

Searched refs:bit_entropy (Results 1 – 4 of 4) sorted by relevance

/external/webp/src/dsp/
Dlossless_enc.c466 VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) { in GetEntropyUnrefinedHelper() argument
471 bit_entropy->sum += (*val_prev) * streak; in GetEntropyUnrefinedHelper()
472 bit_entropy->nonzeros += streak; in GetEntropyUnrefinedHelper()
473 bit_entropy->nonzero_code = *i_prev; in GetEntropyUnrefinedHelper()
474 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak; in GetEntropyUnrefinedHelper()
475 if (bit_entropy->max_val < *val_prev) { in GetEntropyUnrefinedHelper()
476 bit_entropy->max_val = *val_prev; in GetEntropyUnrefinedHelper()
489 VP8LBitEntropy* const bit_entropy, in VP8LGetEntropyUnrefined() argument
496 VP8LBitEntropyInit(bit_entropy); in VP8LGetEntropyUnrefined()
501 VP8LGetEntropyUnrefinedHelper(x, i, &x_prev, &i_prev, bit_entropy, stats); in VP8LGetEntropyUnrefined()
[all …]
Dlossless_enc_mips32.c218 VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) { in GetEntropyUnrefinedHelper() argument
226 bit_entropy->sum += (*val_prev) * streak; in GetEntropyUnrefinedHelper()
227 bit_entropy->nonzeros += streak; in GetEntropyUnrefinedHelper()
228 bit_entropy->nonzero_code = *i_prev; in GetEntropyUnrefinedHelper()
229 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak; in GetEntropyUnrefinedHelper()
230 if (bit_entropy->max_val < *val_prev) { in GetEntropyUnrefinedHelper()
231 bit_entropy->max_val = *val_prev; in GetEntropyUnrefinedHelper()
Dlossless.h239 VP8LBitEntropy* const bit_entropy,
243 VP8LBitEntropy* const bit_entropy,
252 VP8LBitEntropy* const bit_entropy,
/external/webp/src/enc/
Dhistogram.c228 VP8LBitEntropy bit_entropy; in PopulationCost() local
230 VP8LGetEntropyUnrefined(population, length, &bit_entropy, &stats); in PopulationCost()
232 *trivial_sym = (bit_entropy.nonzeros == 1) ? bit_entropy.nonzero_code in PopulationCost()
236 return BitsEntropyRefine(&bit_entropy) + FinalHuffmanCost(&stats); in PopulationCost()
242 VP8LBitEntropy bit_entropy; in GetCombinedEntropy() local
244 VP8LGetCombinedEntropyUnrefined(X, Y, length, &bit_entropy, &stats); in GetCombinedEntropy()
246 return BitsEntropyRefine(&bit_entropy) + FinalHuffmanCost(&stats); in GetCombinedEntropy()