| /OK3568_Linux_fs/external/mpp/mpp/base/test/ |
| H A D | mpp_enc_cfg_test.c | 45 RK_S32 bps_target = 400000; in main() local 63 impl->cfg.rc.rc_mode, impl->cfg.rc.bps_target); in main() 69 ret = mpp_enc_cfg_set_s32(cfg, "rc:bps_target", bps_target); in main() 74 impl->cfg.rc.rc_mode, impl->cfg.rc.bps_target); in main() 77 bps_target = 0; in main() 79 mpp_log("before get: rc mode %d bps_target %d\n", rc_mode, bps_target); in main() 82 ret = mpp_enc_cfg_get_s32(cfg, "rc:bps_target", &bps_target); in main() 83 mpp_log("after get: rc mode %d bps_target %d\n", rc_mode, bps_target); in main()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/ |
| H A D | vp8e_api_v2.c | 95 rc_cfg->bps_target = 2000 * 1000; in vp8e_init() 96 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in vp8e_init() 97 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in vp8e_init()
|
| H A D | vp8e_rc.c | 402 cfg->bps_target, cfg->bps_min, cfg->bps_max); in vp8e_update_rc_cfg() 405 vb->bit_rate = cfg->bps_target; in vp8e_update_rc_cfg() 454 rc->virbuf.bit_rate = cfg->rc.bps_target; in vp8e_init_rc()
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_rc2_test.c | 480 mpp_enc_cfg_set_s32(cfg, "rc:bps_target", enc_cmd->bps_target); in mpi_rc_enc_init() 481 …_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() 482 …_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() 486 mpp_enc_cfg_set_s32(cfg, "rc:bps_target", enc_cmd->bps_target); in mpi_rc_enc_init() 487 …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() 488 …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_test.c | 159 p->bps = cmd->bps_target; in test_ctx_init()
|
| H A D | mpi_enc_mt_test.cpp | 170 p->bps = cmd->bps_target; in mt_test_ctx_init()
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_enc_utils.h | 47 RK_S32 bps_target; member
|
| H A D | mpi_enc_utils.c | 313 &cmd->bps_target, &cmd->bps_min, &cmd->bps_max); in mpi_enc_opt_bps()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/ |
| H A D | h265e_api.c | 145 rc_cfg->bps_target = 2000 * 1000; in h265e_init() 146 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in h265e_init() 147 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in h265e_init()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/ |
| H A D | mpp_rc_api.h | 137 RK_S32 bps_target; member
|
| H A D | rk_venc_cmd.h | 300 RK_S32 bps_target; member
|
| /OK3568_Linux_fs/external/mpp/inc/ |
| H A D | mpp_rc_api.h | 137 RK_S32 bps_target; member
|
| H A D | rk_venc_cmd.h | 300 RK_S32 bps_target; member
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/ |
| H A D | mpp_enc_impl.cpp | 556 dst->bps_target = src->bps_target; in mpp_enc_proc_rc_cfg() 699 if ((dst->bps_target >= bps_max || dst->bps_target <= bps_min) || in mpp_enc_proc_rc_cfg() 703 dst->bps_target, dst->bps_target, dst->bps_min, in mpp_enc_proc_rc_cfg() 769 dst->bps_target, dst->bps_min, dst->bps_max, in mpp_enc_proc_rc_cfg() 1212 cfg->bps_target = rc->bps_target; in set_rc_cfg() 1285 rc->bps_min, rc->bps_target, rc->bps_max, in set_rc_cfg() 1344 usr_cfg.bps_target, in mpp_enc_proc_rc_update()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/ |
| H A D | h264e_api_v2.c | 162 rc_cfg->bps_target = 2000 * 1000; in init_h264e_cfg_set() 163 rc_cfg->bps_max = rc_cfg->bps_target * 5 / 4; in init_h264e_cfg_set() 164 rc_cfg->bps_min = rc_cfg->bps_target * 3 / 4; in init_h264e_cfg_set()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/rc/ |
| H A D | rc_model_v2.c | 1108 target_bps = ctx->usr_cfg.bps_target; in bits_model_init() 1130 ctx->target_bps = ctx->usr_cfg.bps_target; in bits_model_init() 1205 usr_cfg->bps_target, last_ins_bps, ins_bps); in check_re_enc() 1220 usr_cfg->drop_mode, usr_cfg->bps_target, bit_thr, ins_bps); in check_re_enc() 1237 target_bps = usr_cfg->bps_target; in check_re_enc()
|
| H A D | rc_model_v2_smt.c | 569 target_bps = ctx->usr_cfg.bps_target; in check_re_enc_smt()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/common/ |
| H A D | hal_info.c | 272 hal_info_set(ctx, ENC_INFO_BITRATE, CODEC_INFO_FLAG_NUMBER, rc->bps_target); in hal_info_from_enc_cfg()
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_enc_cfg.cpp | 130 …ENTRY(rc, bps_target, S32, RK_S32, MPP_ENC_RC_CFG_CHANGE_BPS, rc, bp…
|
| /OK3568_Linux_fs/external/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_denorm, in h264e_vepu_mbrc_setup()
|