Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c938 RK_S32 total_bit = 0, pbit_sum = 0; in moving_ratio_calc() local
961 pbit_sum = mpp_data_sum_v2(ctx->pre_p_bit); in moving_ratio_calc()
964 rc_dbg_rc("pbit_sum %d,madi_sum = %d, madp_sum = %d", pbit_sum, madi_sum, madp_sum); in moving_ratio_calc()
965 if ( pbit_sum == 0 || total_bit == 0) { in moving_ratio_calc()
968 RK_S32 index = (total_bit << 6) / pbit_sum; in moving_ratio_calc()