Lines Matching defs:FIX
81 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
98 add_r = FIX(1.40200) * cr + ONE_HALF;
99 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
100 add_b = FIX(1.77200) * cb + ONE_HALF;
119 #undef FIX
139 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
154 add_r = FIX(1.40200) * cr + ONE_HALF;
155 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
156 add_b = FIX(1.77200) * cb + ONE_HALF;
188 #undef FIX
209 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
226 add_r = FIX(1.40200) * cr + ONE_HALF;
227 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
228 add_b = FIX(1.77200) * cb + ONE_HALF;
261 #undef FIX
283 #define FIX(x) ((int)((x) * (1UL<<SCALEBITS) + 0.5))
300 add_r = FIX(1.40200) * cr + ONE_HALF;
301 add_g = - FIX(0.34414) * cb - FIX(0.71414) * cr + ONE_HALF;
302 add_b = FIX(1.77200) * cb + ONE_HALF;
359 #undef FIX