Searched refs:gop_len (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/external/mpp/mpp/codec/rc/ |
| H A D | rc_model_v2.c | 138 RK_S32 gop_len = ctx->usr_cfg.igop; in bits_model_param_init() local 200 mpp_data_init_v2(&ctx->gop_bits, gop_len, 0); in bits_model_param_init() 202 mpp_err("gop_bits init fail gop_len %d", gop_len); in bits_model_param_init() 219 RK_U32 gop_len = usr_cfg->igop; in bits_frm_init() local 229 if (gop_len <= 1) in bits_frm_init() 232 p_bit = ctx->gop_total_bits * 16 / (ctx->i_scale + ctx->p_scale * (gop_len - 1)); in bits_frm_init() 240 … + ctx->p_scale * (gop_len - usr_cfg->refresh_len)); in bits_frm_init() 251 vi_num = gop_len / usr_cfg->vgop; in bits_frm_init() 255 …>gop_total_bits * 16 / (ctx->i_scale + ctx->vi_scale * vi_num + ctx->p_scale * (gop_len - vi_num)); in bits_frm_init() 295 RK_U32 gop_len = usr_cfg->igop; in bit_statics_update() local [all …]
|
| H A D | rc_model_v2_smt.c | 243 RK_S32 gop_len = ctx->usr_cfg.igop; in bits_model_smt_init() local 252 ctx->gop_min = gop_len; in bits_model_smt_init() 258 if (gop_len < fps->fps_out_num) in bits_model_smt_init() 261 ctx->window_len = gop_len; in bits_model_smt_init() 271 mpp_data_init(&ctx->intra, gop_len); in bits_model_smt_init() 279 mpp_data_init(&ctx->gop_bits, gop_len); in bits_model_smt_init() 283 mpp_data_init(&ctx->intra_percent, gop_len); in bits_model_smt_init() 312 if (gop_len == 0) { in bits_model_smt_init() 318 } else if (gop_len == 1) { in bits_model_smt_init() 325 } else if (gop_len < ctx->window_len) { in bits_model_smt_init() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/ |
| H A D | vp8e_rc.c | 333 if (rc->gop_len == 1 || rc->gop_len == 2) { in cal_pic_quant() 426 (rc->gop_len != cfg->gop)) { in vp8e_update_rc_cfg() 427 rc->gop_len = cfg->gop; in vp8e_update_rc_cfg() 448 rc->gop_len = cfg->rc.gop; in vp8e_init_rc() 498 vb->gop_rem = rc->gop_len; in vp8e_init_rc() 514 vb->gop_rem = rc->gop_len; in vp8e_before_pic_rc() 543 if ((!rc->curr_frame_intra) || (rc->gop_len == 1)) { in vp8e_after_pic_rc() 548 if (vb->gop_rem == rc->gop_len - 1) { in vp8e_after_pic_rc()
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_enc_utils.h | 68 RK_S32 gop_len; member 94 MPP_RET mpi_enc_gen_smart_gop_ref_cfg(MppEncRefCfg ref, RK_S32 gop_len, RK_S32 vi_len);
|
| H A D | mpi_enc_utils.c | 281 &cmd->gop_mode, &cmd->gop_len, &cmd->vi_len); in mpi_enc_opt_g() 830 MPP_RET mpi_enc_gen_smart_gop_ref_cfg(MppEncRefCfg ref, RK_S32 gop_len, RK_S32 vi_len) in mpi_enc_gen_smart_gop_ref_cfg() argument 848 lt_ref[0].lt_gap = gop_len; in mpi_enc_gen_smart_gop_ref_cfg()
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_enc_test.c | 117 RK_S32 gop_len; member 169 p->gop_len = cmd->gop_len; in test_ctx_init() 472 mpp_enc_cfg_set_s32(cfg, "rc:gop", p->gop_len ? p->gop_len : p->fps_out_num * 2); in test_mpp_enc_cfg_setup() 482 mpi_enc_gen_smart_gop_ref_cfg(ref, p->gop_len, p->vi_len); in test_mpp_enc_cfg_setup()
|
| H A D | mpi_enc_mt_test.cpp | 117 RK_S32 gop_len; member 180 p->gop_len = cmd->gop_len; in mt_test_ctx_init() 463 mpp_enc_cfg_set_s32(cfg, "rc:gop", p->gop_len ? p->gop_len : p->fps_out_num * 2); in test_mt_cfg_setup() 473 mpi_enc_gen_smart_gop_ref_cfg(ref, p->gop_len, p->vi_len); in test_mt_cfg_setup()
|
| H A D | mpi_rc2_test.c | 441 rc_cfg->gop = enc_cmd->gop_len; in mpi_rc_enc_init() 502 mpp_enc_cfg_set_s32(cfg, "rc:gop", enc_cmd->gop_len ? enc_cmd->gop_len : 30 * 2); in mpi_rc_enc_init()
|
| /OK3568_Linux_fs/external/mpp/mpp/common/ |
| H A D | vp8e_syntax.h | 89 RK_S32 gop_len; member
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_encoder.h | 41 RK_S32 gop_len; member
|
| H A D | mpp_encoder.cpp | 130 …mpp_enc_cfg_set_s32(cfg, "rc:gop", enc_params.gop_len ? enc_params.gop_len : enc_params.fps_out_nu… in SetupEncCfg() 296 mpi_enc_gen_smart_gop_ref_cfg(ref, enc_params.gop_len, enc_params.vi_len); in SetupEncCfg()
|