Home
last modified time | relevance | path

Searched refs:dpb_size (Results 1 – 22 of 22) sorted by relevance

/rockchip-linux_mpp/mpp/codec/dec/avs2/
H A Davs2d_dpb.c45 RK_U32 dpb_size = AVS2_MAX_DPB_SIZE; in dpb_get_size() local
63 dpb_size = 15; in dpb_get_size()
71 dpb_size = MPP_MIN(13369344 / pic_size, 16) - 1; in dpb_get_size()
79 dpb_size = MPP_MIN(56623104 / pic_size, 16) - 1; in dpb_get_size()
87 dpb_size = MPP_MIN(213909504 / pic_size, 16) - 1; in dpb_get_size()
94 if (dpb_size < (RK_U32)(vsh->num_of_rps + 1)) { in dpb_get_size()
95 dpb_size = (RK_U32)(vsh->num_of_rps + 1); in dpb_get_size()
97 dpb_size = MPP_MIN(dpb_size, AVS2_MAX_DPB_SIZE); in dpb_get_size()
99 return dpb_size; in dpb_get_size()
140 mgr->dpb_size = 15; in avs2d_dpb_create()
[all …]
H A Davs2d_global.h343 RK_U32 dpb_size; member
/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_dpb.c50 mpp_log_f("dpb %p total count %d size %d\n", dpb, dpb->total_cnt, dpb->dpb_size); in h264e_dpb_dump_frm()
95 dpb->dpb_size, dpb->used_size, dpb->st_size, dpb->lt_size); in h264e_dpb_dump_list()
137 dpb->dpb_size = info->dpb_size; in h264e_dpb_setup()
138 dpb->total_cnt = info->dpb_size + 1; in h264e_dpb_setup()
270 h264e_dbg_dpb("dpb_size %d st_size %d lt_size %d\n", dpb->dpb_size, st_size, lt_size); in h264e_dpb_build_list()
313 mpp_assert(dpb->dpb_size >= st_size + lt_size); in h264e_dpb_build_list()
420 h264e_dbg_dpb("dpb size %d used %d\n", dpb->dpb_size, dpb->used_size); in h264e_dpb_build_marking()
616 RK_S32 dpb_size = dpb->dpb_size; in h264e_dpb_check() local
620 used_size, dpb_size); in h264e_dpb_check()
660 if (used_size > dpb_size) { in h264e_dpb_check()
[all …]
H A Dh264e_dpb.h110 RK_S32 dpb_size; member
H A Dh264e_sps.c195 sps->num_ref_frames = info->dpb_size; in h264e_sps_update()
248 vui->max_dec_frame_buffering = info->dpb_size; in h264e_sps_update()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_enc_refs.c139 info->dpb_size, info->max_lt_cnt, info->max_st_cnt); in _dump_cpb()
253 if (info->dpb_size && info->dpb_size < cfg->cpb_info.dpb_size) in mpp_enc_refs_set_cfg()
445 RK_S32 dpb_size = info->dpb_size; in save_cpb_status() local
467 if (ref_cnt < dpb_size) { in save_cpb_status()
470 if (max_st_cnt < dpb_size - ref_cnt) in save_cpb_status()
471 max_st_cnt = dpb_size - ref_cnt; in save_cpb_status()
662 info->dpb_size = info->max_lt_cnt + info->max_st_cnt; in mpp_enc_refs_dryrun()
664 enc_refs_dbg_size("dryrun success: cpb size %d\n", info->dpb_size); in mpp_enc_refs_dryrun()
H A Dmpp_enc_ref.c301 cpb_info->dpb_size = 0; in mpp_enc_ref_cfg_check()
/rockchip-linux_mpp/mpp/codec/dec/h264/
H A Dh264d_sps.c596 p_Vid->dpb_size[1] = p_Vid->p_Dpb_layer[1]->size; in activate_sps()
600 p_Vid->dpb_size[0] = p_Vid->p_Dpb_layer[0]->size; in activate_sps()
603 VAL_CHECK(ret, p_Vid->dpb_size[1] > 0); in activate_sps()
616 p_Vid->dpb_size[0] = p_Vid->p_Dpb_layer[0]->size; in activate_sps()
619 VAL_CHECK(ret, p_Vid->dpb_size[0] > 0); in activate_sps()
622 p_Vid->dpb_size[0], p_Vid->active_mvc_sps_flag, p_Vid->dpb_size[1]); in activate_sps()
H A Dh264d_dpb.c1943 p_Vid->dpb_size[0] = p_Dpb_layer_0->size; in check_mvc_dpb()
1944 p_Vid->dpb_size[1] = p_Dpb_layer_1->size; in check_mvc_dpb()
1961 RK_U32 dpb_size; in init_dpb() local
1971 dpb_size = getDpbSize(p_Vid, active_sps); in init_dpb()
1972 p_Dpb->size = MPP_MAX(1, dpb_size); in init_dpb()
H A Dh264d_global.h1051 RK_U32 dpb_size[MAX_NUM_DPB_LAYERS]; member
H A Dh264d_init.c1980 if (dpb_used > MPP_MIN(p_Dec->p_Vid->dpb_size[0] + p_Dec->p_Vid->dpb_size[1], 16) + 2) { in check_refer_dpb_buf_slots()
/rockchip-linux_mpp/mpp/base/inc/
H A Dmpp_enc_ref.h27 RK_S32 dpb_size; member
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c241 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
242 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu540c.c217 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
218 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu580.c439 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
440 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu510.c415 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
416 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu511.c414 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
415 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu540c.c172 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu540c_h265_setup_hal_bufs()
H A Dhal_h265e_vepu541.c194 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu54x_h265_setup_hal_bufs()
H A Dhal_h265e_vepu510.c350 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu510_h265_setup_hal_bufs()
H A Dhal_h265e_vepu511.c373 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu511_h265_setup_hal_bufs()
H A Dhal_h265e_vepu580.c374 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu580_h265_setup_hal_bufs()