Lines Matching refs:FIXP_DBL
101 FDKaacEnc_CalcSfbMaxScaleSpec(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcSfbMaxScaleSpec()
107 FIXP_DBL maxSpc, tmp; in FDKaacEnc_CalcSfbMaxScaleSpec()
110 maxSpc = (FIXP_DBL)0; in FDKaacEnc_CalcSfbMaxScaleSpec()
115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in FDKaacEnc_CalcSfbMaxScaleSpec()
126 FIXP_DBL
127 FDKaacEnc_CheckBandEnergyOptim(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CheckBandEnergyOptim()
131 FIXP_DBL *RESTRICT bandEnergy, in FDKaacEnc_CheckBandEnergyOptim()
132 FIXP_DBL *RESTRICT bandEnergyLdData, in FDKaacEnc_CheckBandEnergyOptim()
136 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_CheckBandEnergyOptim()
137 FIXP_DBL maxNrg = 0; in FDKaacEnc_CheckBandEnergyOptim()
138 FIXP_DBL spec; in FDKaacEnc_CheckBandEnergyOptim()
142 FIXP_DBL tmp = 0; in FDKaacEnc_CheckBandEnergyOptim()
177 FDKaacEnc_CalcBandEnergyOptimLong(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimLong()
181 FIXP_DBL *RESTRICT bandEnergy, in FDKaacEnc_CalcBandEnergyOptimLong()
182 FIXP_DBL *RESTRICT bandEnergyLdData) in FDKaacEnc_CalcBandEnergyOptimLong()
185 FIXP_DBL maxNrgLd = FL2FXCONST_DBL(0.0f); in FDKaacEnc_CalcBandEnergyOptimLong()
187 FIXP_DBL spec; in FDKaacEnc_CalcBandEnergyOptimLong()
191 FIXP_DBL tmp = FL2FXCONST_DBL(0.0); in FDKaacEnc_CalcBandEnergyOptimLong()
211 FIXP_DBL scaleDiff = (sfbMaxScaleSpec[i]-4)*FL2FXCONST_DBL(2.0/64); in FDKaacEnc_CalcBandEnergyOptimLong()
219 if (maxNrgLd<=(FIXP_DBL)0) in FDKaacEnc_CalcBandEnergyOptimLong()
253 FDKaacEnc_CalcBandEnergyOptimShort(const FIXP_DBL *RESTRICT mdctSpectrum, in FDKaacEnc_CalcBandEnergyOptimShort()
257 FIXP_DBL *RESTRICT bandEnergy) in FDKaacEnc_CalcBandEnergyOptimShort()
264 FIXP_DBL tmp = FL2FXCONST_DBL(0.0); in FDKaacEnc_CalcBandEnergyOptimShort()
267 FIXP_DBL spec = scaleValue(mdctSpectrum[j],leadingBits); in FDKaacEnc_CalcBandEnergyOptimShort()
288 void FDKaacEnc_CalcBandNrgMSOpt(const FIXP_DBL *RESTRICT mdctSpectrumLeft, in FDKaacEnc_CalcBandNrgMSOpt()
289 const FIXP_DBL *RESTRICT mdctSpectrumRight, in FDKaacEnc_CalcBandNrgMSOpt()
294 FIXP_DBL *RESTRICT bandEnergyMid, in FDKaacEnc_CalcBandNrgMSOpt()
295 FIXP_DBL *RESTRICT bandEnergySide, in FDKaacEnc_CalcBandNrgMSOpt()
297 FIXP_DBL *RESTRICT bandEnergyMidLdData, in FDKaacEnc_CalcBandNrgMSOpt()
298 FIXP_DBL *RESTRICT bandEnergySideLdData) in FDKaacEnc_CalcBandNrgMSOpt()
301 FIXP_DBL NrgMid, NrgSide, specm, specs; in FDKaacEnc_CalcBandNrgMSOpt()
311 FIXP_DBL specL = mdctSpectrumLeft[j]<<(minScale-1); in FDKaacEnc_CalcBandNrgMSOpt()
312 FIXP_DBL specR = mdctSpectrumRight[j]<<(minScale-1); in FDKaacEnc_CalcBandNrgMSOpt()
320 FIXP_DBL specL = mdctSpectrumLeft[j]>>1; in FDKaacEnc_CalcBandNrgMSOpt()
321 FIXP_DBL specR = mdctSpectrumRight[j]>>1; in FDKaacEnc_CalcBandNrgMSOpt()