Home
last modified time | relevance | path

Searched refs:mdctSpectrum (Results 1 – 20 of 20) sorted by relevance

/external/aac/libAACenc/src/
Dquantize.cpp106 FIXP_DBL *mdctSpectrum, in FDKaacEnc_quantizeLines() argument
117 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); in FDKaacEnc_quantizeLines()
164 FIXP_DBL *mdctSpectrum) in FDKaacEnc_invQuantizeLines() argument
208 mdctSpectrum[line] = -accu; in FDKaacEnc_invQuantizeLines()
242 mdctSpectrum[line] = accu; in FDKaacEnc_invQuantizeLines()
245 mdctSpectrum[line] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_invQuantizeLines()
263 FIXP_DBL *mdctSpectrum, in FDKaacEnc_QuantizeSpectrum() argument
282 mdctSpectrum + sfbOffset[sfbOffs+sfb], in FDKaacEnc_QuantizeSpectrum()
296 FIXP_DBL FDKaacEnc_calcSfbDist(FIXP_DBL *mdctSpectrum, in FDKaacEnc_calcSfbDist() argument
313 &mdctSpectrum[i], in FDKaacEnc_calcSfbDist()
[all …]
Dband_nrg.h99 const FIXP_DBL *mdctSpectrum,
107 const FIXP_DBL *mdctSpectrum,
118 const FIXP_DBL *mdctSpectrum,
128 const FIXP_DBL *mdctSpectrum,
Dband_nrg.cpp101 FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcSfbMaxScaleSpec() argument
112 tmp = fixp_abs(mdctSpectrum[j]); in FDKaacEnc_CalcSfbMaxScaleSpec()
127 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CheckBandEnergyOptim() argument
144 spec = mdctSpectrum[j]<<scale; in FDKaacEnc_CheckBandEnergyOptim()
177 FDKaacEnc_CalcBandEnergyOptimLong(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimLong() argument
195 spec = mdctSpectrum[j]<<leadingBits; in FDKaacEnc_CalcBandEnergyOptimLong()
201 spec = mdctSpectrum[j]>>shift; in FDKaacEnc_CalcBandEnergyOptimLong()
253 FDKaacEnc_CalcBandEnergyOptimShort(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimShort() argument
267 FIXP_DBL spec = scaleValue(mdctSpectrum[j],leadingBits); in FDKaacEnc_CalcBandEnergyOptimShort()
Dnoisedet.cpp143 void FDKaacEnc_noiseDetect(FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_noiseDetect() argument
178 fhelp1 = fPow2AddDiv2(fhelp1, mdctSpectrum[i]<<leadingBits); in FDKaacEnc_noiseDetect()
179 fhelp2 = fPow2AddDiv2(fhelp2, mdctSpectrum[i+k]<<leadingBits); in FDKaacEnc_noiseDetect()
180 fhelp3 = fPow2AddDiv2(fhelp3, mdctSpectrum[i+2*k]<<leadingBits); in FDKaacEnc_noiseDetect()
181 fhelp4 = fPow2AddDiv2(fhelp4, mdctSpectrum[i+3*k]<<leadingBits); in FDKaacEnc_noiseDetect()
Dquantize.h103 INT *sfbOffset, FIXP_DBL *mdctSpectrum,
107 FIXP_DBL FDKaacEnc_calcSfbDist(FIXP_DBL *mdctSpectrum,
112 void FDKaacEnc_calcSfbQuantEnergyAndDist(FIXP_DBL *mdctSpectrum,
Dpsy_main.cpp501 psyData[ch]->mdctSpectrum = psyOutChannel[ch]->mdctSpectrum; in FDKaacEnc_psyMain()
610 psyData[ch]->mdctSpectrum+wOffset, in FDKaacEnc_psyMain()
621 FDKmemclear(&psyData[ch]->mdctSpectrum[psyData[ch]->lowpassLine+wOffset], in FDKaacEnc_psyMain()
627 …psyData[ch]->mdctSpectrum[psyData[ch]->lowpassLine+wOffset - FADE_OUT_LEN + i] = fMult(psyData[ch]… in FDKaacEnc_psyMain()
634 if (psyData[ch]->mdctSpectrum[line+wOffset] != (FIXP_DBL)0) { in FDKaacEnc_psyMain()
671 FDKaacEnc_CalcSfbMaxScaleSpec(psyData[ch]->mdctSpectrum+wOffset, in FDKaacEnc_psyMain()
686 currNrg = FDKaacEnc_CheckBandEnergyOptim(psyData[ch]->mdctSpectrum+wOffset, in FDKaacEnc_psyMain()
736 psyData[ch]->mdctSpectrum[line+wOffset] <<= finalShift; in FDKaacEnc_psyMain()
774 FDKaacEnc_CalculateFullTonality( psyData[ch]->mdctSpectrum, in FDKaacEnc_psyMain()
799 psyData[ch]->mdctSpectrum+wOffset, in FDKaacEnc_psyMain()
[all …]
Dgrp_data.cpp102 FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */ in FDKaacEnc_groupShortData() argument
140 …if ( mdctSpectrum[wnd*granuleLength_short+line] != FL2FXCONST_SPC(0.0) ) break; /* this band is no… in FDKaacEnc_groupShortData()
254 FIXP_DBL *pMdctSpectrum = &mdctSpectrum[sfbOffset[sfb]] + wnd*granuleLength_short; in FDKaacEnc_groupShortData()
269 FDKmemcpy(mdctSpectrum, tmpSpectrum, granuleLength*sizeof(FIXP_DBL)); in FDKaacEnc_groupShortData()
Daacenc_pns.cpp111 FIXP_DBL *mdctSpectrum,
190 FIXP_DBL *mdctSpectrum, in FDKaacEnc_PnsDetect() argument
238 mdctSpectrum, in FDKaacEnc_PnsDetect()
345 FIXP_DBL *mdctSpectrum, in FDKaacEnc_FDKaacEnc_noiseDetection() argument
370 FDKaacEnc_noiseDetect( mdctSpectrum, in FDKaacEnc_FDKaacEnc_noiseDetection()
Dsf_estim.cpp133 formFactor += sqrtFixp(fixp_abs(psyOutChan->mdctSpectrum[j]))>>FORM_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
570 sfbDistNew = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs, in FDKaacEnc_assimilateSingleScf()
724 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs, in FDKaacEnc_assimilateMultipleScf()
883 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
963 sfbDistNew[sfb] = FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1020 FDKaacEnc_calcSfbQuantEnergyAndDist(qcOutChannel->mdctSpectrum+sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1135 absSpec = fixp_abs(qcOutChannel->mdctSpectrum[j]); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1158 … scfInt = FDKaacEnc_improveScf(qcOutChannel->mdctSpectrum+psyOutChannel->sfbOffsets[sfbOffs+sfb], in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1223 … FDKaacEnc_calcSfbDist(qcOutChannel->mdctSpectrum+psyOutChannel->sfbOffsets[sfbOffs+sfb], in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1251 qcOutChannel->mdctSpectrum[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
[all …]
Dnoisedet.h100 void FDKaacEnc_noiseDetect( FIXP_DBL *mdctSpectrum,
Dgrp_data.h99 FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */
Dinterface.h136 FIXP_DBL *mdctSpectrum; member
Dpsy_data.h137 FIXP_DBL *mdctSpectrum; member
Dms_stereo.cpp123 …FIXP_DBL *mdctSpectrumLeft = psyData[0]->mdctSpectrum; /* modified whe… in FDKaacEnc_MsStereoProcessing()
124 …FIXP_DBL *mdctSpectrumRight = psyData[1]->mdctSpectrum; /* modified whe… in FDKaacEnc_MsStereoProcessing()
Dpns_func.h117 FIXP_DBL *mdctSpectrum,
Dqc_data.h164 FIXP_DBL mdctSpectrum[(1024)]; member
Dintensity.cpp174 calcSfbMaxScale(const FIXP_DBL *mdctSpectrum, in calcSfbMaxScale() argument
184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
Daacenc.cpp726 psyOutChan->mdctSpectrum = qcOutChan->mdctSpectrum; in FDKaacEnc_EncodeFrame()
Dqc_main.cpp1013 qcOutCh->mdctSpectrum, in FDKaacEnc_QCMain()
/external/aac/libAACdec/src/
Dblock.cpp552 …FIXP_DBL *mdctSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); in CBlock_ReadSpectralData() local
570 mdctSpectrum[index+i] = tmp; in CBlock_ReadSpectralData()
575 mdctSpectrum[index+0] = (FIXP_DBL)CBlock_GetEscape(bs, (LONG)mdctSpectrum[index+0]); in CBlock_ReadSpectralData()
576 mdctSpectrum[index+1] = (FIXP_DBL)CBlock_GetEscape(bs, (LONG)mdctSpectrum[index+1]); in CBlock_ReadSpectralData()