Home
last modified time | relevance | path

Searched refs:val_prev (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/dsp/
Dlossless_enc_mips32.c218 uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, in GetEntropyUnrefinedHelper() argument
226 if (*val_prev != 0) { in GetEntropyUnrefinedHelper()
227 bit_entropy->sum += (*val_prev) * streak; in GetEntropyUnrefinedHelper()
230 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak; in GetEntropyUnrefinedHelper()
231 if (bit_entropy->max_val < *val_prev) { in GetEntropyUnrefinedHelper()
232 bit_entropy->max_val = *val_prev; in GetEntropyUnrefinedHelper()
237 temp0 = (*val_prev != 0); in GetEntropyUnrefinedHelper()
240 *val_prev = val; in GetEntropyUnrefinedHelper() local
Dlossless_enc.c433 uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, in GetEntropyUnrefinedHelper() argument
438 if (*val_prev != 0) { in GetEntropyUnrefinedHelper()
439 bit_entropy->sum += (*val_prev) * streak; in GetEntropyUnrefinedHelper()
442 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak; in GetEntropyUnrefinedHelper()
443 if (bit_entropy->max_val < *val_prev) { in GetEntropyUnrefinedHelper()
444 bit_entropy->max_val = *val_prev; in GetEntropyUnrefinedHelper()
449 stats->counts[*val_prev != 0] += (streak > 3); in GetEntropyUnrefinedHelper()
450 stats->streaks[*val_prev != 0][(streak > 3)] += streak; in GetEntropyUnrefinedHelper()
452 *val_prev = val; in GetEntropyUnrefinedHelper()