/external/aac/libAACenc/src/ |
D | quantize.cpp | 117 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 …]
|
D | band_nrg.cpp | 111 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 …]
|
D | psy_main.cpp | 472 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 …]
|
D | band_nrg.h | 108 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,
|
D | noisedet.cpp | 150 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()
|
D | quantize.h | 114 const FIXP_DBL *mdctSpectrum, INT globalGain, 118 FIXP_DBL FDKaacEnc_calcSfbDist(const FIXP_DBL *mdctSpectrum, 122 void FDKaacEnc_calcSfbQuantEnergyAndDist(FIXP_DBL *mdctSpectrum,
|
D | grp_data.cpp | 118 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()
|
D | sf_estim.cpp | 148 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 …]
|
D | aacenc_pns.cpp | 120 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()
|
D | noisedet.h | 111 void FDKaacEnc_noiseDetect(FIXP_DBL *mdctSpectrum, INT *sfbMaxScaleSpec,
|
D | grp_data.h | 110 void FDKaacEnc_groupShortData(FIXP_DBL *mdctSpectrum, /* in-out */
|
D | ms_stereo.cpp | 143 psyData[0]->mdctSpectrum; /* modified where msMask==1 */ in FDKaacEnc_MsStereoProcessing() 145 psyData[1]->mdctSpectrum; /* modified where msMask==1 */ in FDKaacEnc_MsStereoProcessing()
|
D | interface.h | 139 FIXP_DBL *mdctSpectrum; member
|
D | psy_data.h | 154 FIXP_DBL* mdctSpectrum; member
|
D | pns_func.h | 117 const INT *sfbOffset, FIXP_DBL *mdctSpectrum,
|
D | qc_data.h | 178 FIXP_DBL mdctSpectrum[(1024)]; member
|
D | intensity.cpp | 196 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()
|
D | aacenc.cpp | 762 psyOutChan->mdctSpectrum = qcOutChan->mdctSpectrum; in FDKaacEnc_EncodeFrame()
|
D | qc_main.cpp | 970 qcOutCh->mdctSpectrum, qcOutCh->globalGain, qcOutCh->scf, in FDKaacEnc_QCMain()
|
/external/aac/libAACdec/src/ |
D | block.cpp | 677 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/ |
D | ac_arith_coder.cpp | 739 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()
|