| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_enc_cfg_test.c | 34 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 D | vp8e_api_v2.c | 92 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 D | h265e_api.c | 156 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 D | mpi_rc2_test.c | 468 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 D | mpi_enc_mt_test.c | 159 p->bps = cmd->bps_target; in mt_test_ctx_init()
|
| H A D | mpi_enc_test.c | 281 p->bps = cmd->bps_target; in test_ctx_init()
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpi_enc_utils.h | 48 RK_S32 bps_target; member
|
| H A D | mpi_enc_utils.c | 308 &cmd->bps_target, &cmd->bps_min, &cmd->bps_max); in mpi_enc_opt_bps()
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_rc_api.h | 127 RK_S32 bps_target; member
|
| H A D | rk_venc_cmd.h | 252 RK_S32 bps_target; member
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_api_v2.c | 171 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 D | mpp_enc_impl.c | 633 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 D | hal_info.c | 271 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 D | rc_model_v2.c | 1147 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 D | rc_model_v2_smt.c | 1046 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 D | mpp_enc_cfg.c | 52 …ENTRY(prefix, s32, rk_s32, bps_target, FLAG_INCR, rc, bp…
|
| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu_v2.c | 527 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 D | Rockchip_Developer_Guide_MPP_CN.md | 617 | rc:bps_target | S32 | RK_S32 | 表示CBR模式下的目标码率。 … 968 | -bps | 码率约束参数。命令格式:bps_target:bps_min:bps_max。 …
|
| H A D | Rockchip_Developer_Guide_MPP_EN.md | 588 |rc:bps_target|S32|RK_S32|Indicates the target code rate in CBR mode.|
|