Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c455 RK_S32 alloc_bits = 0; in bits_model_alloc() local
495 alloc_bits = total_bits / (i_scale + 16 * (gop_len - vi_num) + vi_num * vi_scale); in bits_model_alloc()
497 if (!alloc_bits) { in bits_model_alloc()
528 alloc_bits = total_bits / (i_scale + 16 * (gop_len - 1)); in bits_model_alloc()
530 alloc_bits = total_bits / in bits_model_alloc()
534 alloc_bits = total_bits / i_scale; in bits_model_alloc()
538 if (alloc_bits > super_bit_thr && in bits_model_alloc()
540 alloc_bits = super_bit_thr - (super_bit_thr >> 4); in bits_model_alloc()
545 cfg->bit_target = alloc_bits; in bits_model_alloc()
551 mpp_assert(alloc_bits); in bits_model_alloc()