Searched defs:FIX (Results 1 – 20 of 20) sorted by relevance
139 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
63 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
78 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
92 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
82 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
143 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
84 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
195 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
79 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
66 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
76 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
84 #define FIX(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits))) in float_dct2_8() macro
25 #define FIX 16 // fix-point precision for averaging macro
19 #define FIX(x) ((x) * (1 << FIX_SHIFT)) macro