• Home
  • Raw
  • Download

Lines Matching refs:FFMAX

244         if (FFMAX(bitrate, psy_abr_map[i].quality) != bitrate) {  in lame_calc_attack_threshold()
524 ctx->pe.max = FFMAX(pe, ctx->pe.max); in calc_bit_demand()
526 + FFMAX(ctx->pe.min, pe * (pe / ctx->pe.max))) / (PSY_PE_FORGET_SLOPE + 1); in calc_bit_demand()
534 FFMAX(ctx->frame_bits + size - bits, ctx->frame_bits / 8)); in calc_bit_demand()
571 return FFMAX(reduction, 0.0f); in calc_reduction_3gpp()
591 thr = FFMAX(band->thr, band->energy * min_snr); in calc_reduced_thr_3gpp()
660 …float pe = pctx->chan_bitrate > 32000 ? 0.0f : FFMAX(50.0f, 100.0f - pctx->chan_bitrate * 100.0f /… in psy_3gpp_analyze_channel()
678 bands[g].thr = FFMAX(bands[g].thr, bands[g-1].thr * coeffs[g].spread_hi[0]); in psy_3gpp_analyze_channel()
679 spread_en[w+g] = FFMAX(bands[g].energy, spread_en[w+g-1] * coeffs[g].spread_hi[1]); in psy_3gpp_analyze_channel()
682 bands[g].thr = FFMAX(bands[g].thr, bands[g+1].thr * coeffs[g].spread_low[0]); in psy_3gpp_analyze_channel()
683 spread_en[w+g] = FFMAX(spread_en[w+g], spread_en[w+g+1] * coeffs[g].spread_low[1]); in psy_3gpp_analyze_channel()
689 band->thr_quiet = band->thr = FFMAX(band->thr, coeffs[g].ath); in psy_3gpp_analyze_channel()
692 band->thr = FFMAX(PSY_3GPP_RPEMIN*band->thr, FFMIN(band->thr, in psy_3gpp_analyze_channel()
724 pctx->pe.max = FFMAX(pe, pctx->pe.max); in psy_3gpp_analyze_channel()
774 desired_pe_no_ah = FFMAX(desired_pe - (pe - pe_no_ah), 0.0f); in psy_3gpp_analyze_channel()
811 thr = FFMAX(band->thr, coeffs[g].min_snr * band->energy); in psy_3gpp_analyze_channel()
919 p = FFMAX(p, fabsf(*pf)); in psy_lame_window()
951 const float m = FFMAX(u, v); in psy_lame_window()