Searched defs:FIX (Results 1 – 15 of 15) sorted by relevance
170 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
67 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
79 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
77 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
139 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
62 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
61 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5)) macro
356 #define FIX(x) ((INT32) ((x) * CONST_SCALE + 0.5)) macro
74 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
71 #define FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) macro
25 #define FIX 16 // fix-point precision for averaging macro