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

/external/aac/libFDK/include/
H A Dcommon_fix.h105 #define DFRACT_BITS 32 /* double precision */ macro
110 #if (SAMPLE_BITS == DFRACT_BITS)
119 #error SAMPLE_BITS different from FRACT_BITS or DFRACT_BITS not implemented!
128 #define MAX_SHIFT_DBL (DFRACT_BITS-1) /* maximum possible shift for FIXP_DBL values */
132 #define DFRACT_FIX_SCALE ((INT64(1)<<(DFRACT_BITS-1)))
137 #define MAXVAL_DBL ((signed)0x7FFFFFFF) /* this has to be synchronized to DFRACT_BITS */
138 #define MINVAL_DBL ((signed)0x80000000) /* this has to be synchronized to DFRACT_BITS */
141 #define FX_DBL2FXCONST_SGL(val) ( ( ((((val) >> (DFRACT_BITS-FRACT_BITS-1)) + 1) > (((LONG)1<<FRACT_BITS)-1)) && ((LONG)(val) > 0) ) ? \
142 (FIXP_SGL)(SHORT)(((LONG)1<<(FRACT_BITS-1))-1):(FIXP_SGL)(SHORT)((((val) >> (DFRACT_BITS-FRACT_BITS-1)) + 1) >> 1) )
174 #define FX_ACC2FX_DBL(val) ((FIXP_DBL)((val)>>(ACCU_BITS-DFRACT_BITS)))
[all...]

Completed in 84 milliseconds