Searched refs:VP8_RANDOM_DITHER_FIX (Results 1 – 3 of 3) sorted by relevance
24 #define VP8_RANDOM_DITHER_FIX 8 // fixed-point precision for dithering macro42 assert(num_bits + VP8_RANDOM_DITHER_FIX <= 31); in VP8RandomBits2()50 diff = (diff * amp) >> VP8_RANDOM_DITHER_FIX; // restrict range in VP8RandomBits2()
38 : (dithering > 1.0) ? (1 << VP8_RANDOM_DITHER_FIX) in VP8InitRandom()39 : (uint32_t)((1 << VP8_RANDOM_DITHER_FIX) * dithering); in VP8InitRandom()
333 const int max_amp = (1 << VP8_RANDOM_DITHER_FIX) - 1; in VP8InitDithering()