Lines Matching defs:min
156 float min; ///< minimum allowed PE for bit factor calculation
327 pctx->pe.min = 8.0f * AAC_BLOCK_SIZE_LONG * bandwidth / (ctx->avctx->sample_rate * 2.0f);
508 clipped_pe = av_clipf(pe, ctx->pe.min, ctx->pe.max);
519 bit_factor = 1.0f - bit_save + ((bit_spend - bit_save) / (ctx->pe.max - ctx->pe.min)) * (clipped_pe - ctx->pe.min);
520 /* NOTE: The reference encoder attempts to center pe max/min around the current pe.
521 * Here we do that by slowly forgetting pe.min when pe stays in a range that makes
525 forgetful_min_pe = ((ctx->pe.min * PSY_PE_FORGET_SLOPE)
526 + FFMAX(ctx->pe.min, pe * (pe / ctx->pe.max))) / (PSY_PE_FORGET_SLOPE + 1);
527 ctx->pe.min = FFMIN(pe, forgetful_min_pe);
586 * It performs min(thr_reduced, max(thr, energy/min_snr)) only for bands
725 pctx->pe.min = FFMIN(pe, pctx->pe.min);