Home
last modified time | relevance | path

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

/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_enc_cfg_test.c34 RK_S32 bps_target = 400000; in main() local
52 impl->rc.rc_mode, impl->rc.bps_target); in main()
58 ret = mpp_enc_cfg_set_s32(cfg, "rc:bps_target", bps_target); in main()
63 impl->rc.rc_mode, impl->rc.bps_target); in main()
66 bps_target = 0; in main()
68 mpp_log("before get: rc mode %d bps_target %d\n", rc_mode, bps_target); in main()
71 ret = mpp_enc_cfg_get_s32(cfg, "rc:bps_target", &bps_target); in main()
72 mpp_log("after get: rc mode %d bps_target %d\n", rc_mode, bps_target); in main()
/rockchip-linux_mpp/mpp/codec/enc/vp8/
H A Dvp8e_api_v2.c92 rc_cfg->bps_target = 2000 * 1000; in vp8e_init()
93 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in vp8e_init()
94 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in vp8e_init()
/rockchip-linux_mpp/mpp/codec/enc/h265/
H A Dh265e_api.c156 rc_cfg->bps_target = 2000 * 1000; in h265e_init()
157 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in h265e_init()
158 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in h265e_init()
/rockchip-linux_mpp/test/
H A Dmpi_rc2_test.c468 mpp_enc_cfg_set_s32(cfg, "rc:bps_target", enc_cmd->bps_target); in mpi_rc_enc_init()
469 …_cfg_set_s32(cfg, "rc:bps_max", enc_cmd->bps_max ? enc_cmd->bps_max : enc_cmd->bps_target * 3 / 2); in mpi_rc_enc_init()
470 …_enc_cfg_set_s32(cfg, "rc:bps_min", enc_cmd->bps_min ? enc_cmd->bps_max : enc_cmd->bps_target / 2); in mpi_rc_enc_init()
474 mpp_enc_cfg_set_s32(cfg, "rc:bps_target", enc_cmd->bps_target); in mpi_rc_enc_init()
475 …fg_set_s32(cfg, "rc:bps_max", enc_cmd->bps_max ? enc_cmd->bps_max : enc_cmd->bps_target * 17 / 16); in mpi_rc_enc_init()
476 …cfg_set_s32(cfg, "rc:bps_min", enc_cmd->bps_min ? enc_cmd->bps_max : enc_cmd->bps_target * 1 / 16); in mpi_rc_enc_init()
H A Dmpi_enc_mt_test.c159 p->bps = cmd->bps_target; in mt_test_ctx_init()
H A Dmpi_enc_test.c281 p->bps = cmd->bps_target; in test_ctx_init()
/rockchip-linux_mpp/utils/
H A Dmpi_enc_utils.h48 RK_S32 bps_target; 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.h127 RK_S32 bps_target; member
H A Drk_venc_cmd.h252 RK_S32 bps_target; member
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_api_v2.c171 rc_cfg->bps_target = 2000 * 1000; in init_h264e_cfg_set()
172 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in init_h264e_cfg_set()
173 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in init_h264e_cfg_set()
/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()
736 if ((set->bps_target >= 100 * SZ_1M || set->bps_target <= 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()
743 set->bps_target = cfg->bps_target; in proc_rc_cfg()
797 if (set->bps_target != cfg->bps_target || in proc_rc_cfg()
1584 cfg->bps_target = rc->bps_target; in set_rc_cfg()
1666 rc->bps_min, rc->bps_target, rc->bps_max, in set_rc_cfg()
[all …]
/rockchip-linux_mpp/mpp/hal/common/
H A Dhal_info.c271 hal_info_set(ctx, ENC_INFO_BITRATE, CODEC_INFO_FLAG_NUMBER, rc->bps_target); in hal_info_from_enc_cfg()
/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c1147 target_bps = ctx->usr_cfg.bps_target; in bits_model_init()
1175 ctx->target_bps = ctx->usr_cfg.bps_target; in bits_model_init()
1212 target_bps = ctx->usr_cfg.bps_target; in update_mode_param()
1309 usr_cfg->bps_target, last_ins_bps, ins_bps); in check_re_enc()
1324 usr_cfg->drop_mode, usr_cfg->bps_target, bit_thr, ins_bps); in check_re_enc()
1341 target_bps = usr_cfg->bps_target; in check_re_enc()
H A Drc_model_v2_smt.c1046 usr_cfg->bps_target, last_ins_bps, ins_bps); in check_re_enc_smt()
1061 usr_cfg->drop_mode, usr_cfg->bps_target, bit_thr, ins_bps); in check_re_enc_smt()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_cfg.c52 …ENTRY(prefix, s32, rk_s32, bps_target, FLAG_INCR, rc, bp…
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.c527 p->bits_per_pic = axb_div_c(rc->bps_target, rc->fps_out_denom, in h264e_vepu_mbrc_setup()
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md617 | rc:bps_target | S32 | RK_S32 | 表示CBR模式下的目标码率。 …
968 | -bps | 码率约束参数。命令格式:bps_target:bps_min:bps_max。 …
H A DRockchip_Developer_Guide_MPP_EN.md588 |rc:bps_target|S32|RK_S32|Indicates the target code rate in CBR mode.|