Home
last modified time | relevance | path

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

/external/aac/libFDK/include/
DFDK_trigFcts.h240 *out++ = SATURATE_LEFT_SHIFT(cosine - (error0 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
241 *out++ = SATURATE_LEFT_SHIFT(sine + (error1 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
252 *out++ = SATURATE_LEFT_SHIFT(cosine - (error0 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
253 *out++ = SATURATE_LEFT_SHIFT(sine + (error1 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
Dscale.h251 #ifndef SATURATE_LEFT_SHIFT
252 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \ macro
262 (((scale) < 0) ? SATURATE_LEFT_SHIFT((src), -(scale), (dBits)) \
295 SATURATE_LEFT_SHIFT(src, scale, SAMPLE_BITS)
Dqmf_pcm.h192 SATURATE_LEFT_SHIFT(Are, -scale, SAMPLE_BITS_QMFOUT)); in qmfSynPrototypeFirSlot()
281 SATURATE_LEFT_SHIFT(Are, -scale, SAMPLE_BITS_QMFOUT)); in qmfSynPrototypeFirSlot_NonSymmetric()
Dmdct.h119 #define IMDCT_SCALE(x) SATURATE_LEFT_SHIFT(x, -MDCT_OUTPUT_SCALE, PCM_OUT_BITS)
/external/aac/libFDK/src/
DFDK_trigFcts.cpp309 return SATURATE_LEFT_SHIFT(cosine - error, 1, DFRACT_BITS); in fixp_cos()
322 return SATURATE_LEFT_SHIFT(sine + error, 1, DFRACT_BITS); in fixp_sin()
337 *cos = SATURATE_LEFT_SHIFT(cosine - error0, 1, DFRACT_BITS); in fixp_cos_sin()
338 *sin = SATURATE_LEFT_SHIFT(sine + error1, 1, DFRACT_BITS); in fixp_cos_sin()
/external/aac/libAACdec/src/
Dldfiltbank.cpp151 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk()
185 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk()
187 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp1, WTS1 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk()
206 (FIXP_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0 + 1 - scale, PCM_OUT_BITS); in multE2_DinvF_fdk()
Dusacdec_acelp.cpp607 yi = SATURATE_LEFT_SHIFT(xi, 1, 32); in Deemph()
/external/aac/libSACenc/src/
Dsacenc_staticgain.cpp359 pOutputSamples[i] = FX_DBL2FX_PCM(SATURATE_LEFT_SHIFT( in fdk_sacenc_staticPostGain_ApplyFDK()
364 pOutputSamples[i] = FX_DBL2FX_PCM(SATURATE_LEFT_SHIFT( in fdk_sacenc_staticPostGain_ApplyFDK()
Dsacenc_vectorfunctions.cpp321 z[i] = SATURATE_LEFT_SHIFT(cor, s, DFRACT_BITS); in FDKcalcCorrelationVec()
351 z[i] = SATURATE_LEFT_SHIFT(coh, s, DFRACT_BITS); in calcCoherenceVec()
/external/aac/libDRCdec/src/
DdrcGainDec_process.cpp221 SATURATE_LEFT_SHIFT(fMultDiv2(gainLin, channelGain), 9, DFRACT_BITS); in _processNodeSegments()
315 nodePrevious.gainLin = SATURATE_LEFT_SHIFT( in processDrcTime()
504 gainSb = SATURATE_LEFT_SHIFT( in processDrcSubband()
DdrcDec_gainDecoder.cpp146 SATURATE_LEFT_SHIFT(tmp_channelGainDb, 1, DFRACT_BITS); in _setChannelGains()
DdrcGainDec_preprocess.cpp305 tmp = SATURATE_LEFT_SHIFT(tmp, 2 + 1 + 1, DFRACT_BITS); in _compressorIO_sigmoid()
DdrcDec_selectionProcess.cpp1053 pData->loudnessNormalizationGainDbAdjusted = SATURATE_LEFT_SHIFT( in _setSelectionDataInfo()
1056 SATURATE_LEFT_SHIFT(pData->outputLoudness, 1, DFRACT_BITS); in _setSelectionDataInfo()
1058 SATURATE_LEFT_SHIFT(pData->outputPeakLevel, 1, DFRACT_BITS); in _setSelectionDataInfo()
/external/aac/libFDK/include/arm/
Dscale_arm.h157 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \ macro
/external/aac/libPCMutils/src/
Dlimiter.cpp322 samplesOut[j] = (INT_PCM)FX_DBL2FX_PCM((FIXP_DBL)SATURATE_LEFT_SHIFT( in pcmLimiter_Apply()
331 samplesOut[j] = (INT_PCM)FX_DBL2FX_PCM((FIXP_DBL)SATURATE_LEFT_SHIFT( in pcmLimiter_Apply()
/external/aac/libSBRenc/src/
Dresampler.cpp413 output = SATURATE_LEFT_SHIFT(y, BIQUAD_SCALE, SAMPLE_BITS); in AdvanceFilter()
Dps_encode.cpp692 SATURATE_LEFT_SHIFT(fMult(pwrCr[env][i], invNrg), scale, DFRACT_BITS); in calculateICC()