Home
last modified time | relevance | path

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

/external/aac/libFDK/include/
Dscale.h210 #ifndef SATURATE_LEFT_SHIFT
211 …#define SATURATE_LEFT_SHIFT(src, scale, dBits) … macro
220 ? SATURATE_LEFT_SHIFT((src), -(scale), (dBits)) \
247 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) SATURATE_LEFT_SHIFT(src, scale, SAMPLE_BITS)
Dmdct.h104 #define IMDCT_SCALE(x) (INT_PCM)SATURATE_LEFT_SHIFT(x, -MDCT_OUTPUT_SCALE, SAMPLE_BITS)
/external/aac/libAACdec/src/
Dldfiltbank.cpp125 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp, WTS1+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk()
150 output[(i-N/4)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk()
151 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp1, WTS1+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk()
167 output[(N*3/4 + i)*stride] = (INT_PCM)SATURATE_LEFT_SHIFT(tmp0, WTS0+1 - scale, SAMPLE_BITS); in multE2_DinvF_fdk()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp932 … *pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
934 … *pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>1)+tCF, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
960 …*pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF+tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
962 …*pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
980 …*pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF-tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
982 …*pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
1009 …*pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF+tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
1011 …*pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tRR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
1040 *pOutL = (INT_PCM)SATURATE_LEFT_SHIFT(tLF+tCF+tLR, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
1042 *pOutR = (INT_PCM)SATURATE_LEFT_SHIFT(tRF+tCF+tRR, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
[all …]
/external/aac/libFDK/include/arm/
Dscale.h148 …#define SATURATE_LEFT_SHIFT(src, scale, dBits) … macro
/external/aac/libSBRenc/src/
Dresampler.cpp469 output = SATURATE_LEFT_SHIFT(y, BIQUAD_SCALE, SAMPLE_BITS);
Dps_encode.cpp694 icc[env][i] = SATURATE_LEFT_SHIFT(ICC, scale, DFRACT_BITS); in calculateICC()