Lines Matching refs:peak
397 const FIXP_DBL dmxGain2, FIXP_DBL peak[2]) { in findPeakLevels()
403 peak[0] = peak[1] = FL2FXCONST_DBL(0.f); in findPeakLevels()
412 peak[0] = fixMax(peak[0], FX_PCM2FX_DBL(maxSample) >> DOWNMIX_SHIFT); in findPeakLevels()
458 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
499 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
518 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
523 peak[0] = fMult(dmxGain5, peak[0]) in findPeakLevels()
573 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
615 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
728 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
835 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
839 peak[1] = fixMax(peak[0], peak[1]); in findPeakLevels()
986 peak[1] = fixMax(peak[1], fixp_abs(tmp)); in findPeakLevels()
1256 FIXP_DBL peak[2]; in FDK_DRC_Generator_Calc() local
1489 peak); in FDK_DRC_Generator_Calc()
1493 drcComp->prevPeak[i] = peak[i]; in FDK_DRC_Generator_Calc()
1494 peak[i] = fixMax(peak[i], tmp); in FDK_DRC_Generator_Calc()
1501 CalcLdData(peak[i]) + in FDK_DRC_Generator_Calc()
1523 peak[i] = fMult( in FDK_DRC_Generator_Calc()
1526 peak[i] += in FDK_DRC_Generator_Calc()
1528 peak[i] += drcComp->smoothGain[i]; in FDK_DRC_Generator_Calc()
1532 peak[0] -= (FIXP_DBL)((dialnorm - drc_TargetRefLevel) in FDK_DRC_Generator_Calc()
1539 peak[1] -= in FDK_DRC_Generator_Calc()
1546 drcComp->limGain[0] = fixMin(drcComp->limGain[0], -peak[0]); in FDK_DRC_Generator_Calc()
1549 drcComp->limGain[1] = fixMin(drcComp->limGain[1], -peak[1]); in FDK_DRC_Generator_Calc()