Home
last modified time | relevance | path

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

/rockchip-linux_mpp/test/
H A Dmpi_enc_mt_test.c102 RK_S32 bps_max; member
161 p->bps_max = cmd->bps_max; in mt_test_ctx_init()
342 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mt_cfg_setup()
348 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mt_cfg_setup()
353 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mt_cfg_setup()
H A Dmpi_enc_test.c138 RK_S32 bps_max; member
283 p->bps_max = cmd->bps_max; in test_ctx_init()
487 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mpp_enc_cfg_setup()
493 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mpp_enc_cfg_setup()
498 mpp_enc_cfg_set_s32(cfg, "rc:bps_max", p->bps_max ? p->bps_max : p->bps * 17 / 16); in test_mpp_enc_cfg_setup()
H A Dmpi_rc2_test.c469 …mpp_enc_cfg_set_s32(cfg, "rc:bps_max", enc_cmd->bps_max ? enc_cmd->bps_max : enc_cmd->bps_target *… in mpi_rc_enc_init()
470 …mpp_enc_cfg_set_s32(cfg, "rc:bps_min", enc_cmd->bps_min ? enc_cmd->bps_max : enc_cmd->bps_target /… in mpi_rc_enc_init()
475 …mpp_enc_cfg_set_s32(cfg, "rc:bps_max", enc_cmd->bps_max ? enc_cmd->bps_max : enc_cmd->bps_target *… in mpi_rc_enc_init()
476 …mpp_enc_cfg_set_s32(cfg, "rc:bps_min", enc_cmd->bps_min ? enc_cmd->bps_max : enc_cmd->bps_target *… in mpi_rc_enc_init()
/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2_smt.c193 ave_bits_uppper = (RK_S64)ctx->usr_cfg.bps_max * fps->fps_out_denom / fps->fps_out_num; in bits_model_smt_init()
229 ctx->fixed_i_pred_bit = (ctx->usr_cfg.bps_max / nfps * 8) / 8; in bits_model_smt_init()
230 … ctx->fixed_p_pred_bit = ((ctx->usr_cfg.bps_max * g / nfps - ctx->fixed_i_pred_bit) / (g - 1)) / 8; in bits_model_smt_init()
300 bps_target_tmp = (ctx->usr_cfg.bps_min + ctx->usr_cfg.bps_max) >> 1; in bits_model_update_smt()
304 bps_target_tmp = ctx->usr_cfg.bps_min * 4 / 10 + ctx->usr_cfg.bps_max * 6 / 10; in bits_model_update_smt()
545 RK_S32 b_max = p->usr_cfg.bps_max; in smt_start_prepare()
715 RK_S32 avg_bps = (p->usr_cfg.bps_min + p->usr_cfg.bps_max) / 2; in derive_iframe_qp_by_bitrate()
768 RK_S32 avg_bps = (p->usr_cfg.bps_min + p->usr_cfg.bps_max) / 2; in derive_pframe_qp_by_bitrate()
1059 bit_thr = (RK_S32)(usr_cfg->bps_max * (100 + usr_cfg->drop_thd) / (float)100); in check_re_enc_smt()
1077 bps = usr_cfg->bps_max; in check_re_enc_smt()
H A Drc_model_v2.c830 RK_S32 max_bps_target = usr_cfg->bps_max; in calc_vbr_ratio()
894 RK_S32 max_bps_target = usr_cfg->bps_max; in reenc_calc_vbr_ratio()
1001 RK_S32 max_bps_target = usr_cfg->bps_max; in calc_avbr_ratio()
1141 target_bps = ctx->usr_cfg.bps_max; in bits_model_init()
1157 if (usr_cfg->bps_min && usr_cfg->bps_max) { in bits_model_init()
1158 ctx->min_still_percent = (RK_S64)usr_cfg->bps_min * 100 / usr_cfg->bps_max; in bits_model_init()
1210 target_bps = ctx->usr_cfg.bps_max; in update_mode_param()
1322 bit_thr = (RK_S32)(usr_cfg->bps_max * (100 + usr_cfg->drop_thd) / (float)100); in check_re_enc()
1348 target_bps = usr_cfg->bps_max; in check_re_enc()
/rockchip-linux_mpp/mpp/common/
H A Dvp8e_syntax.h52 RK_S32 bps_max; member
/rockchip-linux_mpp/utils/
H A Dmpi_enc_utils.h49 RK_S32 bps_max; member
H A Dmpi_enc_utils.c308 &cmd->bps_target, &cmd->bps_min, &cmd->bps_max); in mpi_enc_opt_bps()
/rockchip-linux_mpp/inc/
H A Dmpp_rc_api.h128 RK_S32 bps_max; member
H A Drk_venc_cmd.h253 RK_S32 bps_max; member
/rockchip-linux_mpp/mpp/codec/enc/vp8/
H A Dvp8e_api_v2.c93 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in vp8e_init()
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_enc_impl.c633 cfg->bps_target, cfg->bps_max, cfg->bps_min, in show_rc_update()
634 set->bps_target, set->bps_max, set->bps_min); in show_rc_update()
669 strof_rc_mode(set->rc_mode), set->bps_target, set->bps_max, set->bps_min, in show_rc_update()
737 (set->bps_max >= 100 * SZ_1M || set->bps_max <= 1 * SZ_1K) || in proc_rc_cfg()
740 set->bps_target, set->bps_min, set->bps_max); in proc_rc_cfg()
742 cfg->bps_target, cfg->bps_min, cfg->bps_max); in proc_rc_cfg()
744 set->bps_max = cfg->bps_max; in proc_rc_cfg()
798 set->bps_max != cfg->bps_max || in proc_rc_cfg()
1585 cfg->bps_max = rc->bps_max; in set_rc_cfg()
1666 rc->bps_min, rc->bps_target, rc->bps_max, in set_rc_cfg()
[all …]
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md618 | rc:bps_max | S32 | RK_S32 | 表示VBR/AVBR模式下的最高码率。 …
630 …32 | RK_U32 | 表示丢帧阈值控制变量,默认值为20。丢帧阈值计算公式为: bps_max \* (1 + drop_thd …
968 | -bps | 码率约束参数。命令格式:bps_target:bps_min:bps_max。 …
H A DRockchip_Developer_Guide_MPP_EN.md589 |rc:bps_max|S32|RK_S32|Indicates the highest bit rate in VBR mode.|
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_api.c157 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in h265e_init()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_cfg.c53 …ENTRY(prefix, s32, rk_s32, bps_max, FLAG_PREV, rc, bp…
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c172 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in init_h264e_cfg_set()