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

/external/webp/src/utils/
H A Dquant_levels_dec_utils.c31 #define DFIX 4 // extra precision for ordered dithering macro
35 { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision
42 #define DFIX 0 macro
74 #define CLIP_MASK (int)(~0U << (8 + DFIX))
76 return (!(v & CLIP_MASK)) ? (uint8_t)(v >> DFIX) : (v < 0) ? 0u : 255u;
145 const int c = (v << DFIX) + correction[average[x] - (v << LFIX)];
168 const int max_threshold = threshold2 << DFIX;
172 int c = (i <= threshold2) ? (i << DFIX)

Completed in 340 milliseconds