Home
last modified time | relevance | path

Searched refs:FRACT_FIX_SCALE (Results 1 – 1 of 1) sorted by relevance

/external/aac/libFDK/include/
Dcommon_fix.h146 #define FRACT_FIX_SCALE ((INT64(1) << (FRACT_BITS - 1))) macro
182 ? ((((double)(val) * (FRACT_FIX_SCALE) + 0.5) >= \
185 : (SHORT)((double)(val) * (double)(FRACT_FIX_SCALE) + 0.5)) \
186 : ((((double)(val) * (FRACT_FIX_SCALE)-0.5) <= \
189 : (SHORT)((double)(val) * (double)(FRACT_FIX_SCALE)-0.5)))
207 ((val) > 0.0f ? (SHORT)((val) * (float)(FRACT_FIX_SCALE) + 0.5f) \
208 : (SHORT)((val) * (float)(FRACT_FIX_SCALE)-0.5f))