Searched defs:val_prev (Results 1 - 2 of 2) sorted by relevance

/external/webp/src/dsp/
H A Dlossless_enc_mips32.c217 uint32_t val, int i, uint32_t* const val_prev, int* const i_prev,
225 if (*val_prev != 0) {
226 bit_entropy->sum += (*val_prev) * streak;
229 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak;
230 if (bit_entropy->max_val < *val_prev) {
231 bit_entropy->max_val = *val_prev;
236 temp0 = (*val_prev != 0);
239 *val_prev = val; local
216 GetEntropyUnrefinedHelper( uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument
H A Dlossless_enc.c465 uint32_t val, int i, uint32_t* const val_prev, int* const i_prev,
470 if (*val_prev != 0) {
471 bit_entropy->sum += (*val_prev) * streak;
474 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak;
475 if (bit_entropy->max_val < *val_prev) {
476 bit_entropy->max_val = *val_prev;
481 stats->counts[*val_prev != 0] += (streak > 3);
482 stats->streaks[*val_prev != 0][(streak > 3)] += streak;
484 *val_prev = val;
464 GetEntropyUnrefinedHelper( uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, VP8LBitEntropy* const bit_entropy, VP8LStreaks* const stats) argument

Completed in 159 milliseconds