HomeSort by relevance Sort by last modified time
    Searched refs:FRACT_BITS (Results 1 - 17 of 17) sorted by null

  /external/aac/libFDK/include/
common_fix.h 104 #define FRACT_BITS 16 /* single precision */
114 #elif (SAMPLE_BITS == FRACT_BITS)
119 #error SAMPLE_BITS different from FRACT_BITS or DFRACT_BITS not implemented!
125 #define SGL_MASK ((1UL<<FRACT_BITS)-1) /* 16bit: (2^16)-1 = 0xFFFF */
127 #define MAX_SHIFT_SGL (FRACT_BITS-1) /* maximum possible shift for FIXP_SGL values */
131 #define FRACT_FIX_SCALE ((INT64(1)<<(FRACT_BITS-1)))
135 #define MAXVAL_SGL ((signed)0x00007FFF) /* this has to be synchronized to FRACT_BITS */
136 #define MINVAL_SGL ((signed)0xFFFF8000) /* this has to be synchronized to FRACT_BITS */
141 #define FX_DBL2FXCONST_SGL(val) ( ( ((((val) >> (DFRACT_BITS-FRACT_BITS-1)) + 1) > (((LONG)1<<FRACT_BITS)-1)) && ((LONG)(val) > 0) ) ?
    [all...]
qmf.h 106 #define QFRACT_BITS FRACT_BITS
121 #define QSS_BITS FRACT_BITS
FDK_trigFcts.h 194 *sine = (FIXP_DBL)((sl * ssign) << (DFRACT_BITS-FRACT_BITS));
195 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS-FRACT_BITS));
  /external/aac/libAACenc/src/
line_pe.h 98 #define PE_CONSTPART_SHIFT FRACT_BITS
aacenc_tns.cpp     [all...]
  /external/aac/libSBRdec/src/
transcendent.h 108 return ( (SHORT)((LONG)(CalcLdInt(b) - CalcLdInt(a))>>(FRACT_BITS-3)) );
237 shift = (FRACT_BITS - 2 - INV_TABLE_BITS - preShift);
336 int result_e = -FRACT_BITS;
sbrdec_freq_sca.cpp 512 num_bands = 2 * ((LONG)num_bands_div128 >> (FRACT_BITS - 7));
538 exact = (FIXP_SGL)(stop << (FRACT_BITS-8)); /* Shift left to gain some accuracy */
549 current = (LONG)temp >> (FRACT_BITS-8);
782 intTemp = intTemp >> (FRACT_BITS - 1 /*sign*/ - 5 /* rescale */);
env_extr.h 117 #define MASK_M (((1 << (FRACT_BITS - EXP_BITS)) - 1) << EXP_BITS) /*!< Mask for extracting the mantissa of a pseudo float envelope value */
env_calc.cpp 569 INT maxSfbNrg_e = -FRACT_BITS+NRG_EXP_OFFSET; /* start value for maximum search */
742 maxGain_e = -FRACT_BITS;
    [all...]
env_dec.cpp 628 shift = (FRACT_BITS - 1 - ENV_EXP_FRACT - 1 + h_sbr_data->ampResolutionCurrentFrame - 3);
psdec.cpp 110 #define FRACT_ZERO FRACT_BITS-1
    [all...]
  /external/aac/libSBRenc/src/
resampler.cpp 448 states[i][s2] = (FIXP_BQS)(LONG)((state0 + (FIXP_DBL)(1<<(DFRACT_BITS-FRACT_BITS-2))) >> (DFRACT_BITS-FRACT_BITS-1));
ps_main.cpp 177 hParametricStereo->qmfDelayScale = FRACT_BITS-1;
604 dynBandScale[band] = fixMax(0,CountLeadingBits(fixMax(maxVal[0][band],maxBandValue[band]))-FRACT_BITS);
614 *dmxScale = fixMax(0,fixMin(FRACT_BITS, CountLeadingBits(FX_QMF2FX_DBL(maxValue))));
env_est.cpp 140 scale = (FRACT_BITS-1-*qmfScale);
233 scale = (FRACT_BITS-1-*qmfScale);
356 /* tmp = (INT)((FIXP_DBL)NoiseLevels[i] + (FL2FXCONST_DBL(0.5f)>>(*/ /* FRACT_BITS+ */ /* 6-1)));*/
    [all...]
  /external/aac/libFDK/src/
scale.cpp 455 maxVal |= (temp^(temp>>(FRACT_BITS-1)));
fixpoint_math.cpp 223 low = (low+(ACCU_R>>1)) >> (FRACT_BITS-1); /* round */
224 LONG high = u * ((v>>FRACT_BITS)<<1);
564 div = schur_div(L_num, L_denum, FRACT_BITS);
  /external/aac/libPCMutils/src/
pcmutils_lib.cpp 211 #define FX_DMX2SHRT(x) ((SHORT)((x)>>FRACT_BITS))
    [all...]

Completed in 235 milliseconds