Lines Matching refs:FL2FXCONST_DBL
105 static const FIXP_DBL PE_C1 = FL2FXCONST_DBL(3.0f/AS_PE_FAC_FLOAT); /* (log(8.0)/log(2)) >…
106 static const FIXP_DBL PE_C2 = FL2FXCONST_DBL(1.3219281f/AS_PE_FAC_FLOAT); /* (log(2.5)/log(2)) >…
107 static const FIXP_DBL PE_C3 = FL2FXCONST_DBL(0.5593573f); /* 1-C2/C1 */
130 formFactor = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
139 sfbFormFactorLdData[sfbGrp+sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
180 FIXP_DBL asPeFacLdData = FL2FXCONST_DBL(0.109375); /* AS_PE_FAC_SHIFT*ld64(2) */ in FDKaacEnc_calcSfbRelevantLines()
233 FIXP_DBL specPe = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSingleSpecPe()
239 ldRatio = sfbConstPePart - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSingleSpecPe()
242 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,ldRatio)); in FDKaacEnc_calcSingleSpecPe()
245 specPe = fMult(FL2FXCONST_DBL(0.7f),fMult(nLines,(PE_C2 + fMult(PE_C3,ldRatio)))); in FDKaacEnc_calcSingleSpecPe()
314 FIXP_DBL specPeDiff = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSpecPeDiff()
315 FIXP_DBL scfFract = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSpecPeDiff()
327 …->sfbEnergyLdData[sfb] - sfbFormFactorLdData[sfb] - FL2FXCONST_DBL(0.09375f)) >> 1) + FL2FXCONST_D… in FDKaacEnc_calcSpecPeDiff()
330 ldRatioOld = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSpecPeDiff()
333 ldRatioNew = sfbConstPePart[sfb] - fMult(FL2FXCONST_DBL(0.375f),scfFract); in FDKaacEnc_calcSpecPeDiff()
345 specPeDiff += fMult(FL2FXCONST_DBL(0.7f),fMult(sfbNRelevantLines[sfb],(pNew - pOld))); in FDKaacEnc_calcSpecPeDiff()
373 FIXP_DBL distFactorLdData = FL2FXCONST_DBL(-0.0050301265); /* ld64(1/1.25) */ in FDKaacEnc_improveScf()
480 FIXP_DBL deltaPe = FL2FXCONST_DBL(0.0f); in FDKaacEnc_assimilateSingleScf()
552 …fbAct] = ((enLdData - sfbFormFactorLdData[sfbAct] - FL2FXCONST_DBL(0.09375f)) >> 1) + FL2FXCONST_D… in FDKaacEnc_assimilateSingleScf()
574 if (deltaPeTmp < FL2FXCONST_DBL(0.0006103515625f)) { in FDKaacEnc_assimilateSingleScf()
654 FIXP_DBL deltaPe = FL2FXCONST_DBL(0.0f); in FDKaacEnc_assimilateMultipleScf()
721 if (deltaPeNew < FL2FXCONST_DBL(0.0006103515625f)) { in FDKaacEnc_assimilateMultipleScf()
724 distOldSum = distNewSum = FL2FXCONST_DBL(0.0f); in FDKaacEnc_assimilateMultipleScf()
797 FIXP_DBL deltaPe = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
798 FIXP_DBL deltaPeNew = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
859 …b] = fMult(FL2FXCONST_DBL(1.0f/3.0f),qcOutChannel->sfbThresholdLdData[sfb])+fMult(FL2FXCONST_DBL(1… in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
860 …Max[sfb] = fixMax(sfbDistMax[sfb],qcOutChannel->sfbEnergyLdData[sfb]-FL2FXCONST_DBL(0.15571537944)… in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
887 if (deltaPeNew < FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
966 if (!bminScfViolation && deltaPeNew < FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
969 distOldSum = distNewSum = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
989 if (distNewSum < fMult(FL2FXCONST_DBL(0.8f),distOldSum)) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1023 if (deltaPeNew <= FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1026 distOldSum = distNewSum = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1042 …tNew[sfb] > (sfbDist[sfb]+FL2FXCONST_DBL(0.00259488556167f))) || (sfbEnQ < (qcOutChannel->sfbEnerg… in FDKaacEnc_FDKaacEnc_assimilateMultipleScf2()
1093 FIXP_DBL threshConstLdData=FL2FXCONST_DBL(0.04304511722f); /* log10(6.75)/log10(2.0)/64.0 */ in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1094 FIXP_DBL convConst=FL2FXCONST_DBL(0.30102999566f); /* log10(2.0) */ in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1095 FIXP_DBL c1Const=FL2FXCONST_DBL(-0.27083183594f); /* C1 = -69.33295 => C1/2^8 */ in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1126 energyPartLdData = sfbFormFactorLdData[sfbOffs+sfb] + FL2FXCONST_DBL(0.09375f); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1138 scfFract = scfFract + fMult(FL2FXCONST_DBL(0.8585f),scfFract >> 3); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1145 maxSpec = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1159 if (c1Const>FL2FXCONST_DBL(-1.f)-tmp) { in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1163 minSfMaxQuant[sfbOffs+sfb] = ((INT) (FL2FXCONST_DBL(-1.f) >> ((DFRACT_BITS-1)-8))) + 1; in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1278 qcOutChannel->mdctSpectrum[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()
1295 qcOutChannel->mdctSpectrum[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_FDKaacEnc_EstimateScaleFactorsChannel()