Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2_smt.c1036 RK_S32 bit_thr = 0; in check_re_enc_smt() local
1059 bit_thr = (RK_S32)(usr_cfg->bps_max * (100 + usr_cfg->drop_thd) / (float)100); in check_re_enc_smt()
1061 usr_cfg->drop_mode, usr_cfg->bps_target, bit_thr, ins_bps); in check_re_enc_smt()
1062 return (ins_bps > bit_thr) ? MPP_NOK : MPP_OK; in check_re_enc_smt()
1067 bit_thr = 3 * cfg->bit_max / 2; in check_re_enc_smt()
1070 bit_thr = 3 * cfg->bit_max; in check_re_enc_smt()
1076 if (cfg->bit_real > bit_thr) { in check_re_enc_smt()
H A Drc_model_v2.c1299 RK_S32 bit_thr = 0; in check_re_enc() local
1322 bit_thr = (RK_S32)(usr_cfg->bps_max * (100 + usr_cfg->drop_thd) / (float)100); in check_re_enc()
1324 usr_cfg->drop_mode, usr_cfg->bps_target, bit_thr, ins_bps); in check_re_enc()
1325 return (ins_bps > bit_thr) ? MPP_NOK : MPP_OK; in check_re_enc()
1330 bit_thr = 3 * cfg->bit_target / 2; in check_re_enc()
1333 bit_thr = 3 * cfg->bit_target; in check_re_enc()
1339 if (cfg->bit_real > bit_thr) { in check_re_enc()