Searched defs:bit_entropy (Results 1 - 3 of 3) sorted by relevance

/external/webp/src/dsp/
H A Dlossless_enc_mips32.c219 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, stat
217 GetEntropyUnrefinedHelper( uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
244 GetEntropyUnrefined(const uint32_t X[], int length, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
265 GetCombinedEntropyUnrefined(const uint32_t X[], const uint32_t Y[], int length, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
[all...]
H A Dlossless_enc.c434 VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) {
439 bit_entropy->sum += (*val_prev) * streak;
440 bit_entropy->nonzeros += streak;
441 bit_entropy->nonzero_code = *i_prev;
442 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak;
443 if (bit_entropy->max_val < *val_prev) {
444 bit_entropy->max_val = *val_prev;
457 VP8LBitEntropy* const bit_entropy,
464 VP8LBitEntropyInit(bit_entropy);
469 GetEntropyUnrefinedHelper(x, i, &x_prev, &i_prev, bit_entropy, stat
432 GetEntropyUnrefinedHelper( uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
456 GetEntropyUnrefined(const uint32_t X[], int length, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
477 GetCombinedEntropyUnrefined(const uint32_t X[], const uint32_t Y[], int length, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
[all...]
/external/webp/src/enc/
H A Dhistogram_enc.c238 VP8LBitEntropy bit_entropy; local
240 VP8LGetEntropyUnrefined(population, length, &bit_entropy, &stats);
242 *trivial_sym = (bit_entropy.nonzeros == 1) ? bit_entropy.nonzero_code
246 return BitsEntropyRefine(&bit_entropy) + FinalHuffmanCost(&stats);
268 VP8LBitEntropy bit_entropy; local
269 VP8LGetCombinedEntropyUnrefined(X, Y, length, &bit_entropy, &stats);
271 return BitsEntropyRefine(&bit_entropy) + FinalHuffmanCost(&stats);

Completed in 230 milliseconds