Lines Matching refs:FL2FXCONST_DBL

99 #define IS_CORR_THRESH                FL2FXCONST_DBL(0.95f)
104 #define IS_TOTAL_ERROR_THRESH FL2FXCONST_DBL(0.04f)
105 #define IS_LOCAL_ERROR_THRESH FL2FXCONST_DBL(0.01f)
109 #define IS_DIRECTION_DEVIATION_THRESH FL2FXCONST_DBL(2.0f/(1<<IS_DIRECTION_DEVIATION_THRESH_SF))
112 #define IS_REGION_MIN_LOUDNESS FL2FXCONST_DBL(0.1f)
121 #define IS_LEFT_RIGHT_RATIO_THRESH FL2FXCONST_DBL(0.7f)
182 maxSpc = FL2FXCONST_DBL(0.0); in calcSfbMaxScale()
187 sfbMaxScale = (maxSpc==FL2FXCONST_DBL(0.0)) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in calcSfbMaxScale()
278 overallLoudness[grpCounter] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
284 …realScale[sfb + sfboffs] = fixMin(FL2FXCONST_DBL(60.f/(1<<(REAL_SCALE_SF+LD_DATA_SHIFT))), fixMax( in FDKaacEnc_prepareIntensityDecision()
300 hrrErr[sfb + sfboffs] = FL2FXCONST_DBL(1.0/8.0); in FDKaacEnc_prepareIntensityDecision()
309 if (overallLoudness[grpCounter] == FL2FXCONST_DBL(0.0)) { in FDKaacEnc_prepareIntensityDecision()
310 invOverallLoudness = FL2FXCONST_DBL(0.0); in FDKaacEnc_prepareIntensityDecision()
326 channelCorr[sfb + sfboffs] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
332 if (inv_n > FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_prepareIntensityDecision()
337 ml = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
338 mr = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
339 prod_lr = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
340 square_l = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
341 square_r = FL2FXCONST_DBL(0.0f); in FDKaacEnc_prepareIntensityDecision()
366 if (square_l > FL2FXCONST_DBL(0.0f) && square_r > FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_prepareIntensityDecision()
378 FDK_ASSERT(tmp > FL2FXCONST_DBL(0.0f)); in FDKaacEnc_prepareIntensityDecision()
381 if (prod_lr < FL2FXCONST_DBL(0.0f) ) { in FDKaacEnc_prepareIntensityDecision()
396 if (channelCorr[sfb + sfboffs] < FL2FXCONST_DBL(0.0f)) in FDKaacEnc_prepareIntensityDecision()
410 if (hrrErr[sfb + sfboffs] == FL2FXCONST_DBL(1.0/8.0)) { in FDKaacEnc_prepareIntensityDecision()
414 …hrrErr[sfb + sfboffs] = fMultDiv2((FL2FXCONST_DBL(0.25f)-(channelCorr[sfb + sfboffs]>>2)),normSfbL… in FDKaacEnc_prepareIntensityDecision()
452 FIXP_DBL isScaleLast = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
459 FIXP_DBL overallHrrError = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
460 FIXP_DBL isRegionLoudness = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
513 isScaleLast = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
523 overallHrrError = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
524 isRegionLoudness = FL2FXCONST_DBL(0.0f); in FDKaacEnc_finalizeIntensityDecision()
650 …&&(fMult(FL2FXCONST_DBL(1.0f/1.5f),sfbEnergyRight[sfb+sfboffs]) > sfbThresholdRight[sfb+sfboffs]) … in FDKaacEnc_IntensityStereoProcessing()
667 lr = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
672 if (lr < FL2FXCONST_DBL(0.0f)) { in FDKaacEnc_IntensityStereoProcessing()
675 FIXP_DBL tmp, d, ed = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
696 mdctSpectrumRight[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
702 mdctSpectrumRight[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
709 FIXP_DBL tmp, s, es = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
730 mdctSpectrumRight[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
736 mdctSpectrumRight[j] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
743 if ( realIsScale[sfb+sfboffs] < FL2FXCONST_DBL(0.0f) ) { in FDKaacEnc_IntensityStereoProcessing()
744 …isScale[sfb+sfboffs] = (INT)(((realIsScale[sfb+sfboffs]>>1)-FL2FXCONST_DBL(0.5f/(1<<(REAL_SCALE_SF… in FDKaacEnc_IntensityStereoProcessing()
747 …isScale[sfb+sfboffs] = (INT)(((realIsScale[sfb+sfboffs]>>1)+FL2FXCONST_DBL(0.5f/(1<<(REAL_SCALE_SF… in FDKaacEnc_IntensityStereoProcessing()
750 sfbEnergyRight[sfb+sfboffs] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
751 sfbEnergyLdDataRight[sfb+sfboffs] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_IntensityStereoProcessing()
752 sfbThresholdRight[sfb+sfboffs] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()
753 sfbThresholdLdDataRight[sfb+sfboffs] = FL2FXCONST_DBL(-0.515625f); in FDKaacEnc_IntensityStereoProcessing()
754 sfbSpreadEnRight[sfb+sfboffs] = FL2FXCONST_DBL(0.0f); in FDKaacEnc_IntensityStereoProcessing()