Home
last modified time | relevance | path

Searched refs:bits_alloc (Results 1 – 1 of 1) sorted by relevance

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c563 RK_S32 bits_alloc; in calc_next_i_ratio() local
567 bits_alloc = ctx->gop_total_bits * max_i_prop / (max_i_prop + 16 * (gop_len - 1)); in calc_next_i_ratio()
569 bits_alloc = ctx->gop_total_bits * max_i_prop / max_i_prop; in calc_next_i_ratio()
572 if (ctx->pre_real_bits > bits_alloc || ctx->next_i_ratio) { in calc_next_i_ratio()
573 RK_S32 ratio = ((ctx->pre_real_bits - bits_alloc) << 8) / bits_alloc; in calc_next_i_ratio()