Home
last modified time | relevance | path

Searched refs:VP8_RANDOM_DITHER_FIX (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/utils/
Drandom_utils.h24 #define VP8_RANDOM_DITHER_FIX 8 // fixed-point precision for dithering macro
42 assert(num_bits + VP8_RANDOM_DITHER_FIX <= 31); in VP8RandomBits2()
50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range in VP8RandomBits2()
Drandom_utils.c38 : (dithering > 1.0) ? (1 << VP8_RANDOM_DITHER_FIX) in VP8InitRandom()
39 : (uint32_t)((1 << VP8_RANDOM_DITHER_FIX) * dithering); in VP8InitRandom()
/external/webp/src/dec/
Dframe_dec.c333 const int max_amp = (1 << VP8_RANDOM_DITHER_FIX) - 1; in VP8InitDithering()