Home
last modified time | relevance | path

Searched refs:FIXP_PCM (Results 1 – 5 of 5) sorted by relevance

/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp897 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInLF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame()
907 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInRF, flev), DFRACT_BITS-SAMPLE_BITS, SAMPLE_BITS); in pcmDmx_ApplyFrame()
932 FIXP_DBL tCF = fMultDiv2((FIXP_PCM)*pInCF, clev); in pcmDmx_ApplyFrame()
935 … *pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
937 … *pOutR = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>1)+tCF, 1, SAMPLE_BITS); in pcmDmx_ApplyFrame()
940 …*pOutL = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>1)+tCF, DFRACT_BITS-SAMPL… in pcmDmx_ApplyFrame()
942 …*pOutR = (INT_PCM)SATURATE_RIGHT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInRF)>>1)+tCF, DFRACT_BITS-SAMPL… in pcmDmx_ApplyFrame()
959 FIXP_DBL tCF = fMultDiv2((FIXP_PCM)*pInCF, clev) >> 1; in pcmDmx_ApplyFrame()
960 FIXP_DBL tLR = fMultDiv2((FIXP_PCM)*pInLR, slev) >> 1; in pcmDmx_ApplyFrame()
963 …*pOutL = (INT_PCM)SATURATE_LEFT_SHIFT((FX_PCM2FX_DBL((FIXP_PCM)*pInLF)>>2)+tCF+tLR, 2, SAMPLE_BITS… in pcmDmx_ApplyFrame()
[all …]
/external/aac/libAACenc/src/
Dtransform.cpp187 tmp0 = fMultDiv2((FIXP_PCM)timeData[i+nl], pLeftWindowPart[i].v.im); in FDKaacEnc_Transform_Real()
188 …mdctData[(tl/2)+i+nl] = fMultSubDiv2(tmp0, (FIXP_PCM)timeData[tl-nl-i-1], pLeftWindowPart[i].v.re); in FDKaacEnc_Transform_Real()
204 tmp1 = fMultDiv2((FIXP_PCM)timeData[tl+nr+i], pRightWindowPart[i].v.re); in FDKaacEnc_Transform_Real()
205 …mdctData[(tl/2)-nr-i-1] = -fMultAddDiv2(tmp1, (FIXP_PCM)timeData[(tl*2)-nr-i-1], pRightWindowPart[… in FDKaacEnc_Transform_Real()
224 …z0 = (fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i])<< (WTS0-1)) + (fMult((FIXP_PCM)t… in FDKaacEnc_Transform_Real()
226 outval = (fMultDiv2((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N+N/2-1-i]) >> (-WTS1)); in FDKaacEnc_Transform_Real()
227 outval += (fMultDiv2((FIXP_PCM)timeData[L+N*3/4+i], pWindowELD[N+N/2+i]) >> (-WTS1) ); in FDKaacEnc_Transform_Real()
243 z0 = fMult((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N/2-1-i]) << (WTS0-1); in FDKaacEnc_Transform_Real()
245 outval = (fMultDiv2((FIXP_PCM)timeData[L+N*3/4-1-i], pWindowELD[N+N/2-1-i]) >> (-WTS1)) ; in FDKaacEnc_Transform_Real()
248 …overlapAddBuffer[N/2+i] = overlapAddBuffer[i] + (fMult((FIXP_PCM)timeData[L-N/4+i], pWindowELD[N/2… in FDKaacEnc_Transform_Real()
Dmetadata_compressor.cpp692 … FIXP_DBL x = FX_PCM2FX_DBL((FIXP_PCM)pSamples[i*drcComp->channels]) >> WEIGHTING_FILTER_SHIFT; in FDK_DRC_Generator_Calc()
735 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1); in FDK_DRC_Generator_Calc()
882 …if (drcComp->channelIdx[LS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
883 …if (drcComp->channelIdx[LS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
884 …if (drcComp->channelIdx[RS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
885 …if (drcComp->channelIdx[RS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
887 …if (drcComp->channelIdx[S] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
888 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
889 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
895 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
[all …]
/external/aac/libFDK/include/
Dqmf.h116 #define FIXP_QAS FIXP_PCM
Dcommon_fix.h111 #define FIXP_PCM FIXP_DBL macro
115 #define FIXP_PCM FIXP_SGL macro