Home
last modified time | relevance | path

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

/external/aac/libAACenc/src/
Dquantize.cpp117 const FIXP_DBL *mdctSpectrum, in FDKaacEnc_quantizeLines() argument
131 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line], quantizer); in FDKaacEnc_quantizeLines()
182 FIXP_DBL *mdctSpectrum) in FDKaacEnc_invQuantizeLines() argument
227 mdctSpectrum[line] = -accu; in FDKaacEnc_invQuantizeLines()
262 mdctSpectrum[line] = accu; in FDKaacEnc_invQuantizeLines()
264 mdctSpectrum[line] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_invQuantizeLines()
280 const FIXP_DBL *mdctSpectrum, INT globalGain, in FDKaacEnc_QuantizeSpectrum() argument
298 mdctSpectrum + sfbOffset[sfbOffs + sfb], in FDKaacEnc_QuantizeSpectrum()
312 FIXP_DBL FDKaacEnc_calcSfbDist(const FIXP_DBL *mdctSpectrum, in FDKaacEnc_calcSfbDist() argument
324 FDKaacEnc_quantizeLines(gain, 1, &mdctSpectrum[i], &quantSpectrum[i], in FDKaacEnc_calcSfbDist()
[all …]
Dband_nrg.cpp111 void FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcSfbMaxScaleSpec() argument
121 DWORD_ALIGNED(mdctSpectrum); in FDKaacEnc_CalcSfbMaxScaleSpec()
124 tmp = fixp_abs(mdctSpectrum[j]); in FDKaacEnc_CalcSfbMaxScaleSpec()
141 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *const RESTRICT mdctSpectrum, in FDKaacEnc_CheckBandEnergyOptim() argument
157 DWORD_ALIGNED(mdctSpectrum); in FDKaacEnc_CheckBandEnergyOptim()
160 spec = mdctSpectrum[j] << scale; in FDKaacEnc_CheckBandEnergyOptim()
192 INT FDKaacEnc_CalcBandEnergyOptimLong(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimLong() argument
211 spec = mdctSpectrum[j] << leadingBits; in FDKaacEnc_CalcBandEnergyOptimLong()
217 spec = mdctSpectrum[j] >> shift; in FDKaacEnc_CalcBandEnergyOptimLong()
264 void FDKaacEnc_CalcBandEnergyOptimShort(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimShort() argument
[all …]
Dpsy_main.cpp472 psyData[ch]->mdctSpectrum = psyOutChannel[ch]->mdctSpectrum; in FDKaacEnc_psyMain()
564 psyStatic[ch]->psyInputBuffer, psyData[ch]->mdctSpectrum, in FDKaacEnc_psyMain()
574 psyStatic[ch]->psyInputBuffer, psyData[ch]->mdctSpectrum, in FDKaacEnc_psyMain()
589 &psyData[ch]->mdctSpectrum[psyData[ch]->lowpassLine + wOffset], in FDKaacEnc_psyMain()
596 psyData[ch]->mdctSpectrum[psyData[ch]->lowpassLine + wOffset - in FDKaacEnc_psyMain()
598 fMult(psyData[ch]->mdctSpectrum[psyData[ch]->lowpassLine + in FDKaacEnc_psyMain()
608 if (psyData[ch]->mdctSpectrum[line + wOffset] != (FIXP_DBL)0) { in FDKaacEnc_psyMain()
645 psyData[ch]->mdctSpectrum + wOffset, hThisPsyConf[ch]->sfbOffset, in FDKaacEnc_psyMain()
660 psyData[ch]->mdctSpectrum + wOffset, in FDKaacEnc_psyMain()
715 FIXP_DBL *mdctSpectrum = &psyData[ch]->mdctSpectrum[0]; in FDKaacEnc_psyMain() local
[all …]
Dband_nrg.h108 void FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *mdctSpectrum,
113 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *const RESTRICT mdctSpectrum,
121 INT FDKaacEnc_CalcBandEnergyOptimLong(const FIXP_DBL *mdctSpectrum,
127 void FDKaacEnc_CalcBandEnergyOptimShort(const FIXP_DBL *mdctSpectrum,
Dnoisedet.cpp150 void FDKaacEnc_noiseDetect(FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_noiseDetect() argument
185 fhelp1 = fPow2AddDiv2(fhelp1, mdctSpectrum[i] << leadingBits); in FDKaacEnc_noiseDetect()
186 fhelp2 = fPow2AddDiv2(fhelp2, mdctSpectrum[i + k] << leadingBits); in FDKaacEnc_noiseDetect()
187 fhelp3 = fPow2AddDiv2(fhelp3, mdctSpectrum[i + 2 * k] << leadingBits); in FDKaacEnc_noiseDetect()
188 fhelp4 = fPow2AddDiv2(fhelp4, mdctSpectrum[i + 3 * k] << leadingBits); in FDKaacEnc_noiseDetect()
Dquantize.h114 const FIXP_DBL *mdctSpectrum, INT globalGain,
118 FIXP_DBL FDKaacEnc_calcSfbDist(const FIXP_DBL *mdctSpectrum,
122 void FDKaacEnc_calcSfbQuantEnergyAndDist(FIXP_DBL *mdctSpectrum,
Dgrp_data.cpp118 void FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */ in FDKaacEnc_groupShortData() argument
149 if (mdctSpectrum[wnd * granuleLength_short + line] != in FDKaacEnc_groupShortData()
248 &mdctSpectrum[sfbOffset[sfb]] + wnd * granuleLength_short; in FDKaacEnc_groupShortData()
261 FDKmemcpy(mdctSpectrum, tmpSpectrum, granuleLength * sizeof(FIXP_DBL)); in FDKaacEnc_groupShortData()
Dsf_estim.cpp148 sqrtFixp(fixp_abs(psyOutChan->mdctSpectrum[j])) >> FORM_FAC_SHIFT; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
576 qcOutChannel->mdctSpectrum + sfbOffs, quantSpecTmp + sfbOffs, in FDKaacEnc_assimilateSingleScf()
718 qcOutChannel->mdctSpectrum + sfbOffs, in FDKaacEnc_assimilateMultipleScf()
878 qcOutChannel->mdctSpectrum + sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
955 qcOutChannel->mdctSpectrum + sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1011 qcOutChannel->mdctSpectrum + sfbOffs[sfb], in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1124 DWORD_ALIGNED(qcOutChannel->mdctSpectrum); in FDKaacEnc_EstimateScaleFactorsChannel()
1128 fMax(fMax(fAbs(qcOutChannel->mdctSpectrum[j + 0]), in FDKaacEnc_EstimateScaleFactorsChannel()
1129 fAbs(qcOutChannel->mdctSpectrum[j + 1])), in FDKaacEnc_EstimateScaleFactorsChannel()
1130 fMax(fAbs(qcOutChannel->mdctSpectrum[j + 2]), in FDKaacEnc_EstimateScaleFactorsChannel()
[all …]
Daacenc_pns.cpp120 FIXP_DBL *mdctSpectrum, INT *sfbMaxScaleSpec, FIXP_SGL *sfbtonality);
176 const INT *sfbOffset, FIXP_DBL *mdctSpectrum, in FDKaacEnc_PnsDetect() argument
213 tnsActive, mdctSpectrum, sfbMaxScaleSpec, sfbtonality); in FDKaacEnc_PnsDetect()
312 FIXP_DBL *mdctSpectrum, INT *sfbMaxScaleSpec, FIXP_SGL *sfbtonality) { in FDKaacEnc_FDKaacEnc_noiseDetection() argument
333 FDKaacEnc_noiseDetect(mdctSpectrum, sfbMaxScaleSpec, sfbActive, sfbOffset, in FDKaacEnc_FDKaacEnc_noiseDetection()
Dnoisedet.h111 void FDKaacEnc_noiseDetect(FIXP_DBL *mdctSpectrum, INT *sfbMaxScaleSpec,
Dgrp_data.h110 void FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */
Dms_stereo.cpp143 psyData[0]->mdctSpectrum; /* modified where msMask==1 */ in FDKaacEnc_MsStereoProcessing()
145 psyData[1]->mdctSpectrum; /* modified where msMask==1 */ in FDKaacEnc_MsStereoProcessing()
Dinterface.h139 FIXP_DBL *mdctSpectrum; member
Dpsy_data.h154 FIXP_DBL* mdctSpectrum; member
Dpns_func.h117 const INT *sfbOffset, FIXP_DBL *mdctSpectrum,
Dqc_data.h178 FIXP_DBL mdctSpectrum[(1024)]; member
Dintensity.cpp196 static INT calcSfbMaxScale(const FIXP_DBL *mdctSpectrum, const INT l1, in calcSfbMaxScale() argument
204 FIXP_DBL tmp = fixp_abs((FIXP_DBL)mdctSpectrum[i]); in calcSfbMaxScale()
Daacenc.cpp762 psyOutChan->mdctSpectrum = qcOutChan->mdctSpectrum; in FDKaacEnc_EncodeFrame()
Dqc_main.cpp970 qcOutCh->mdctSpectrum, qcOutCh->globalGain, qcOutCh->scf, in FDKaacEnc_QCMain()
/external/aac/libAACdec/src/
Dblock.cpp677 FIXP_DBL *mdctSpectrum = in CBlock_ReadSpectralData() local
687 mdctSpectrum[index + i] = tmp; in CBlock_ReadSpectralData()
692 mdctSpectrum[index + j] = (FIXP_DBL)CBlock_GetEscape( in CBlock_ReadSpectralData()
693 bs, (LONG)mdctSpectrum[index + j]); in CBlock_ReadSpectralData()
696 mdctSpectrum += granuleLength; in CBlock_ReadSpectralData()
703 mdctSpectrum[index + i] = (FIXP_DBL)((idx & mask) - offset); in CBlock_ReadSpectralData()
707 mdctSpectrum[index + j] = (FIXP_DBL)CBlock_GetEscape( in CBlock_ReadSpectralData()
708 bs, (LONG)mdctSpectrum[index + j]); in CBlock_ReadSpectralData()
711 mdctSpectrum += granuleLength; in CBlock_ReadSpectralData()
/external/aac/libArithCoding/src/
Dac_arith_coder.cpp739 FIXP_DBL *RESTRICT mdctSpectrum, in CArco_DecodeArithData() argument
749 FDKmemclear(mdctSpectrum, lg_max * sizeof(FIXP_DBL)); in CArco_DecodeArithData()
774 decode2(hBs, pArcoData->c_prev + 2, mdctSpectrum, lg >> 1, lg_max >> 1); in CArco_DecodeArithData()