/external/aac/libAACenc/src/ |
D | quantize.cpp | 106 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 …]
|
D | band_nrg.h | 99 const FIXP_DBL *mdctSpectrum, 107 const FIXP_DBL *mdctSpectrum, 118 const FIXP_DBL *mdctSpectrum, 128 const FIXP_DBL *mdctSpectrum,
|
D | band_nrg.cpp | 101 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()
|
D | noisedet.cpp | 143 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()
|
D | quantize.h | 103 INT *sfbOffset, FIXP_DBL *mdctSpectrum, 107 FIXP_DBL FDKaacEnc_calcSfbDist(FIXP_DBL *mdctSpectrum, 112 void FDKaacEnc_calcSfbQuantEnergyAndDist(FIXP_DBL *mdctSpectrum,
|
D | psy_main.cpp | 501 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 …]
|
D | grp_data.cpp | 102 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()
|
D | aacenc_pns.cpp | 111 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()
|
D | sf_estim.cpp | 133 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 …]
|
D | noisedet.h | 100 void FDKaacEnc_noiseDetect( FIXP_DBL *mdctSpectrum,
|
D | grp_data.h | 99 FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */
|
D | interface.h | 136 FIXP_DBL *mdctSpectrum; member
|
D | psy_data.h | 137 FIXP_DBL *mdctSpectrum; member
|
D | ms_stereo.cpp | 123 …FIXP_DBL *mdctSpectrumLeft = psyData[0]->mdctSpectrum; /* modified whe… in FDKaacEnc_MsStereoProcessing() 124 …FIXP_DBL *mdctSpectrumRight = psyData[1]->mdctSpectrum; /* modified whe… in FDKaacEnc_MsStereoProcessing()
|
D | pns_func.h | 117 FIXP_DBL *mdctSpectrum,
|
D | qc_data.h | 164 FIXP_DBL mdctSpectrum[(1024)]; member
|
D | intensity.cpp | 174 calcSfbMaxScale(const FIXP_DBL *mdctSpectrum, in calcSfbMaxScale() argument 184 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
|
D | aacenc.cpp | 726 psyOutChan->mdctSpectrum = qcOutChan->mdctSpectrum; in FDKaacEnc_EncodeFrame()
|
D | qc_main.cpp | 1013 qcOutCh->mdctSpectrum, in FDKaacEnc_QCMain()
|
/external/aac/libAACdec/src/ |
D | block.cpp | 552 …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()
|