Lines Matching refs:stat_watl
337 if (preset_bit + ctx->stat_watl > ctx->watl_thrd) in bits_model_preset()
340 water_level = preset_bit + ctx->stat_watl - ctx->bit_per_frame; in bits_model_preset()
345 ctx->stat_watl = water_level; in bits_model_preset()
397 if (real_bit + ctx->stat_watl > ctx->watl_thrd) in bits_model_update()
400 water_level = real_bit + ctx->stat_watl - ctx->bit_per_frame; in bits_model_update()
405 ctx->stat_watl = water_level; in bits_model_update()
638 …d %10d %8d", pre_real_bits, pre_target_bits, ins_bps, pre_ins_bps, target_bps, p->stat_watl >> 10); in calc_cbr_ratio()
680 wl_ratio = 4 * (p->stat_watl - p->watl_base) * fluc_l / p->watl_base; in calc_cbr_ratio()
728 if (real_bit + p->stat_watl > p->watl_thrd) in reenc_calc_cbr_ratio()
731 water_level = real_bit + p->stat_watl - p->bit_per_frame; in reenc_calc_cbr_ratio()
1185 ctx->stat_watl = ctx->watl_thrd >> 3; in bits_model_init()
1186 ctx->watl_base = ctx->stat_watl; in bits_model_init()