Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dresampler.cpp361 #if (SAMPLE_BITS == 16) in AdvanceFilter()
362 input = ((FIXP_DBL)pInput[n]) << (DFRACT_BITS - SAMPLE_BITS - BIQUAD_SCALE); in AdvanceFilter()
363 #elif (SAMPLE_BITS == 32) in AdvanceFilter()
406 #if (SAMPLE_BITS == 16) in AdvanceFilter()
408 y + (FIXP_DBL)(1 << (DFRACT_BITS - SAMPLE_BITS - BIQUAD_SCALE - 1)), in AdvanceFilter()
409 DFRACT_BITS - SAMPLE_BITS - BIQUAD_SCALE, SAMPLE_BITS); in AdvanceFilter()
413 output = SATURATE_LEFT_SHIFT(y, BIQUAD_SCALE, SAMPLE_BITS); in AdvanceFilter()
/external/aac/libAACdec/src/
Dldfiltbank.cpp120 const int scale = (DFRACT_BITS - SAMPLE_BITS) - LDFB_HEADROOM; in multE2_DinvF_fdk()
121 #if ((DFRACT_BITS - SAMPLE_BITS - LDFB_HEADROOM) > 0) in multE2_DinvF_fdk()
142 #if ((DFRACT_BITS - SAMPLE_BITS - LDFB_HEADROOM) > 0) in multE2_DinvF_fdk()
172 #if ((DFRACT_BITS - SAMPLE_BITS - LDFB_HEADROOM) > 0) in multE2_DinvF_fdk()
197 #if ((DFRACT_BITS - SAMPLE_BITS - LDFB_HEADROOM) > 0) in multE2_DinvF_fdk()
Dconceal.cpp1982 int bitshift = (DFRACT_BITS - SAMPLE_BITS); in CConcealment_TDFadePcmAtt()
Daacdecoder.cpp3397 #if (SAMPLE_BITS == 16) in CAacDecoder_DecodeFrame()
/external/aac/libFDK/include/arm/
Dscale_arm.h115 : "r"(src >> scale), "M"(SAMPLE_BITS)); in shiftRightSat()
127 : "r"(src << scale), "M"(SAMPLE_BITS)); in shiftLeftSat()
/external/aac/libFDK/src/
Dqmf.cpp392 #if (SAMPLE_BITS != DFRACT_BITS) && (QAS_BITS == DFRACT_BITS)
467 #if (QAS_BITS == SAMPLE_BITS) in qmfAnalysisFilteringSlot()
472 #elif (QAS_BITS > SAMPLE_BITS) in qmfAnalysisFilteringSlot()
473 *FilterStatesAnaTmp++ = ((FIXP_QAS)*timeIn) << (QAS_BITS - SAMPLE_BITS); in qmfAnalysisFilteringSlot()
475 *FilterStatesAnaTmp++ = ((FIXP_QAS)*timeIn) << (QAS_BITS - SAMPLE_BITS); in qmfAnalysisFilteringSlot()
478 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn) >> (SAMPLE_BITS - QAS_BITS)); in qmfAnalysisFilteringSlot()
480 *FilterStatesAnaTmp++ = (FIXP_QAS)((*timeIn) >> (SAMPLE_BITS - QAS_BITS)); in qmfAnalysisFilteringSlot()
527 #if (SAMPLE_BITS != DFRACT_BITS) && (QAS_BITS == DFRACT_BITS)
1134 #define SAMPLE_BITS_QMFOUT SAMPLE_BITS
Dmdct.cpp184 #if SAMPLE_BITS == DFRACT_BITS /* SPC_BITS and DFRACT_BITS should be equal. */ in mdct_block()
188 << (DFRACT_BITS - SAMPLE_BITS - 1); /* 0(A)-Br */ in mdct_block()
222 #if SAMPLE_BITS == \ in mdct_block()
228 << (DFRACT_BITS - SAMPLE_BITS - 1); /* -C flipped at placing */ in mdct_block()
Dscale.cpp423 #if (SAMPLE_BITS == 16)
445 scalefactor -= DFRACT_BITS - SAMPLE_BITS; in scaleValues()
641 (INT)(DFRACT_BITS - SAMPLE_BITS))); in getScalefactorPCM()
/external/aac/libFDK/include/
Dscale.h123 #if (SAMPLE_BITS == 16)
290 SATURATE_RIGHT_SHIFT(src, scale, SAMPLE_BITS)
295 SATURATE_LEFT_SHIFT(src, scale, SAMPLE_BITS)
Dmdct.h109 #define PCM_OUT_BITS SAMPLE_BITS
112 #define MDCT_OUTPUT_SCALE (-MDCT_OUT_HEADROOM + (DFRACT_BITS - SAMPLE_BITS))
Dcommon_fix.h117 #if defined(SAMPLE_BITS)
118 #if (SAMPLE_BITS == DFRACT_BITS)
124 #elif (SAMPLE_BITS == FRACT_BITS)
131 #error SAMPLE_BITS different from FRACT_BITS or DFRACT_BITS not implemented!
Dqmf.h118 #define QAS_BITS SAMPLE_BITS
/external/aac/libSYS/include/
Dmachine_type.h230 #define SAMPLE_BITS 16 macro
231 #define SAMPLE_MAX ((INT_PCM)(((ULONG)1 << (SAMPLE_BITS - 1)) - 1))
/external/aac/libAACenc/src/
Dblock_switch.cpp386 #if SAMPLE_BITS == DFRACT_BITS in FDKaacEnc_CalcWindowEnergy()
390 << (DFRACT_BITS - SAMPLE_BITS - 1); in FDKaacEnc_CalcWindowEnergy()
/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp488 -(hEnhancedTimeDmx->prev_gain_e + 1 - (DFRACT_BITS - SAMPLE_BITS)), in fdk_sacenc_apply_enhancedTimeDomainDmx()
489 SAMPLE_BITS); in fdk_sacenc_apply_enhancedTimeDomainDmx()
/external/aac/libSBRdec/src/
DHFgen_preFlat.cpp900 ((LONG)sourceBufferReal[i][loBand] >> (SAMPLE_BITS - 1))); in sbrDecoder_calculateGainVec()
903 ((LONG)sourceBufferImag[i][loBand] >> (SAMPLE_BITS - 1))); in sbrDecoder_calculateGainVec()
Dlpp_tran.cpp217 #define QMFOUT_EXP ((SAMPLE_BITS - 15) - sbrScaleFactor->lb_scale)