Searched refs:SATURATE_RIGHT_SHIFT (Results 1 – 8 of 8) sorted by relevance
/external/aac/libFDK/include/ |
D | scale.h | 203 #ifndef SATURATE_RIGHT_SHIFT 204 …#define SATURATE_RIGHT_SHIFT(src, scale, dBits) … macro 221 : SATURATE_RIGHT_SHIFT((src), (scale), (dBits)) ) 243 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) SATURATE_RIGHT_SHIFT(src, scale, SAMPLE_BITS)
|
D | mdct.h | 106 #define IMDCT_SCALE(x) (INT_PCM)SATURATE_RIGHT_SHIFT(x, MDCT_OUTPUT_SCALE, SAMPLE_BITS)
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 894 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInLF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame() 904 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInRF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame() 937 …*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, DFRACT_BITS-SAMPL… in pcmDmx_ApplyFrame() 939 …*pOutR = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>1)+tCF, DFRACT_BITS-SAMPL… in pcmDmx_ApplyFrame() 965 …*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF-tLR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() 967 …*pOutR = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tLR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() 985 …*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF-tLR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() 987 …*pOutR = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tLR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() 1014 …*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF+tLR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() 1016 …*pOutR = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>2)+tCF+tRR, DFRACT_BITS-S… in pcmDmx_ApplyFrame() [all …]
|
/external/aac/libAACdec/src/ |
D | ldfiltbank.cpp | 122 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp, -WTS1-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 146 output[(i-N/4)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 147 output[(N*3/4-1-i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp1, -WTS1-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk() 164 output[(N*3/4 + i)*stride] = (INT_PCM)SATURATE_RIGHT_SHIFT(tmp0, -WTS0-1 + scale, SAMPLE_BITS); in multE2_DinvF_fdk()
|
/external/aac/libFDK/include/mips/ |
D | scale.h | 104 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ macro
|
/external/aac/libFDK/include/arm/ |
D | scale.h | 143 …#define SATURATE_RIGHT_SHIFT(src, scale, dBits) … macro
|
/external/aac/libSBRenc/src/ |
D | resampler.cpp | 466 …output = (INT_PCM) SATURATE_RIGHT_SHIFT(y+(FIXP_DBL)(1<<(DFRACT_BITS-SAMPLE_BITS-BIQUAD_SCALE-1)),…
|
/external/aac/libFDK/src/ |
D | qmf.cpp | 212 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot() 277 tmp = (INT_PCM)(SATURATE_RIGHT_SHIFT(fAbs(Are), scale, SAMPLE_BITS)); in qmfSynPrototypeFirSlot_NonSymmetric()
|