Home
last modified time | relevance | path

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

/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.cpp703 … FIXP_DBL x = FX_PCM2FX_DBL((FIXP_PCM)pSamples[i*drcComp->channels]) >> WEIGHTING_FILTER_SHIFT; in FDK_DRC_Generator_Calc()
746 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1); in FDK_DRC_Generator_Calc()
893 …if (drcComp->channelIdx[LS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
894 …if (drcComp->channelIdx[LS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
895 …if (drcComp->channelIdx[RS] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
896 …if (drcComp->channelIdx[RS2] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drc… in FDK_DRC_Generator_Calc()
898 …if (drcComp->channelIdx[S] >= 0) tmp -= fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
899 …if (drcComp->channelIdx[C] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcCo… in FDK_DRC_Generator_Calc()
900 …tmp += (FX_PCM2FX_DBL((FIXP_PCM)pSamples[drcComp->channelIdx[L]])>>DOWNMIX_SHIFT); … in FDK_DRC_Generator_Calc()
906 …if (drcComp->channelIdx[LS] >= 0) tmp += fMultDiv2(FL2FXCONST_DBL(0.707f), (FIXP_PCM)pSamples[drcC… in FDK_DRC_Generator_Calc()
[all …]
/external/aac/libPCMutils/src/
Dlimiter.cpp98 FIXP_PCM threshold;
161 limiter->threshold = (FIXP_PCM)threshold; in createLimiter()
225 FIXP_PCM tmp1, tmp2; in applyLimiter()
279 tmp1 = (FIXP_PCM)0; in applyLimiter()
281 tmp2 = (FIXP_PCM)samples[i * channels + j]; in applyLimiter()
282 if (tmp2 == (FIXP_PCM)SAMPLE_MIN) /* protect fAbs from -1.0 value */ in applyLimiter()
283 tmp2 = (FIXP_PCM)(SAMPLE_MIN+1); in applyLimiter()
352 … delayBuf[delayBufIdx * channels + j] = fMult((FIXP_PCM)samples[i * channels + j], additionalGain); in applyLimiter()
495 limiter->threshold = (FIXP_PCM)threshold; in setLimiterThreshold()
Dpcmutils_lib.cpp2121 FIXP_PCM tIn[PCM_DMX_MAX_IN_CHANNELS]; in pcmDmx_ApplyFrame()
2127 tIn[inCh] = (FIXP_PCM)*pInPcm[inCh]; in pcmDmx_ApplyFrame()
2396 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInPcm[LEFT_FRONT_CHANNEL], flev), DFRACT_BITS-SAMP… in pcmDmx_ApplyFrame()
2405 …(INT_PCM)SATURATE_RIGHT_SHIFT(fMult((FIXP_PCM)*pInPcm[RIGHT_FRONT_CHANNEL], flev), DFRACT_BITS-SAM… in pcmDmx_ApplyFrame()
/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