Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A 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
A Dlossless_enc.c434 uint32_t val, int i, uint32_t* const val_prev, int* const i_prev, in GetEntropyUnrefinedHelper() argument
439 if (*val_prev != 0) { in GetEntropyUnrefinedHelper()
440 bit_entropy->sum += (*val_prev) * streak; in GetEntropyUnrefinedHelper()
443 bit_entropy->entropy -= VP8LFastSLog2(*val_prev) * streak; in GetEntropyUnrefinedHelper()
444 if (bit_entropy->max_val < *val_prev) { in GetEntropyUnrefinedHelper()
445 bit_entropy->max_val = *val_prev; in GetEntropyUnrefinedHelper()
450 stats->counts[*val_prev != 0] += (streak > 3); in GetEntropyUnrefinedHelper()
451 stats->streaks[*val_prev != 0][(streak > 3)] += streak; in GetEntropyUnrefinedHelper()
453 *val_prev = val; in GetEntropyUnrefinedHelper()

Completed in 5 milliseconds