• Home
  • Raw
  • Download

Lines Matching refs:peak

660     FIXP_DBL peak[2];  in FDK_DRC_Generator_Calc()  local
876 peak[0] = peak[1] = FL2FXCONST_DBL(0.f); in FDK_DRC_Generator_Calc()
886 peak[0] = fixMax(peak[0], FX_PCM2FX_DBL(maxSample)>>DOWNMIX_SHIFT); in FDK_DRC_Generator_Calc()
902 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
915 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
929 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
940 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
943 peak[1] = fixMax(peak[0], peak[1]); in FDK_DRC_Generator_Calc()
959 peak[1] = fixMax(peak[1], fixp_abs(tmp)); in FDK_DRC_Generator_Calc()
965 drcComp->prevPeak[i] = peak[i]; in FDK_DRC_Generator_Calc()
966 peak[i] = fixMax(peak[i], tmp); in FDK_DRC_Generator_Calc()
972 …FIXP_DBL ld_peak = CalcLdData(peak[i]) + (FIXP_DBL)((LONG)DOWNMIX_SHIFT<<(DFRACT_BITS-1-LD_DATA_SH… in FDK_DRC_Generator_Calc()
986peak[i] = fMult((FIXP_DBL)(10<<(METADATA_FRACT_BITS+LD_DATA_SHIFT)), fMult( FL2FX_DBL(2*0.30102999… in FDK_DRC_Generator_Calc()
987 peak[i] += (FL2FX_DBL(0.5f)>>METADATA_INT_BITS); /* add a little bit headroom */ in FDK_DRC_Generator_Calc()
988 peak[i] += drcComp->smoothGain[i]; in FDK_DRC_Generator_Calc()
992peak[0] -= (FIXP_DBL)((dialnorm-drc_TargetRefLevel)<<(METADATA_FRACT_BITS-16)); /* peak[0] -= dial… in FDK_DRC_Generator_Calc()
996peak[1] -= (FIXP_DBL)((dialnorm-comp_TargetRefLevel)<<(METADATA_FRACT_BITS-16)); /* peak[1] -= dia… in FDK_DRC_Generator_Calc()
1000 drcComp->limGain[0] = fixMin(drcComp->limGain[0], -peak[0]); in FDK_DRC_Generator_Calc()
1003 drcComp->limGain[1] = fixMin(drcComp->limGain[1], -peak[1]); in FDK_DRC_Generator_Calc()