Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/external/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
/OK3568_Linux_fs/external/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()
421 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.h108 RK_S32 dpb_size; member
H A Dh264e_sps.c194 sps->num_ref_frames = info->dpb_size; in h264e_sps_update()
246 vui->max_dec_frame_buffering = info->dpb_size; in h264e_sps_update()
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_enc_refs.cpp150 info->dpb_size, info->max_lt_cnt, info->max_st_cnt); in _dump_cpb()
264 if (info->dpb_size && info->dpb_size < cfg->cpb_info.dpb_size) in mpp_enc_refs_set_cfg()
455 RK_S32 dpb_size = info->dpb_size; in save_cpb_status() local
477 if (ref_cnt < dpb_size) { in save_cpb_status()
480 if (max_st_cnt < dpb_size - ref_cnt) in save_cpb_status()
481 max_st_cnt = dpb_size - ref_cnt; in save_cpb_status()
669 info->dpb_size = info->max_lt_cnt + info->max_st_cnt; in mpp_enc_refs_dryrun()
671 enc_refs_dbg_size("dryrun success: cpb size %d\n", info->dpb_size); in mpp_enc_refs_dryrun()
H A Dmpp_enc_ref.cpp314 cpb_info->dpb_size = 0; in mpp_enc_ref_cfg_check()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_sps.c584 p_Vid->dpb_size[1] = p_Vid->p_Dpb_layer[1]->size; in activate_sps()
588 p_Vid->dpb_size[0] = p_Vid->p_Dpb_layer[0]->size; in activate_sps()
591 VAL_CHECK(ret, p_Vid->dpb_size[1] > 0); in activate_sps()
604 p_Vid->dpb_size[0] = p_Vid->p_Dpb_layer[0]->size; in activate_sps()
607 VAL_CHECK(ret, p_Vid->dpb_size[0] > 0); in activate_sps()
610 p_Vid->dpb_size[0], p_Vid->active_mvc_sps_flag, p_Vid->dpb_size[1]); in activate_sps()
H A Dh264d_api.c296 p_Dec->p_Vid->dpb_size[0] = p_Dec->p_Vid->p_Dpb_layer[0]->size; in h264d_flush_dpb_eos()
404 p_Dec->p_Vid->dpb_size[0] = p_Dec->p_Vid->p_Dpb_layer[0]->size; in h264d_reset()
H A Dh264d_dpb.c1877 RK_U32 dpb_size; in init_dpb() local
1887 dpb_size = getDpbSize(p_Vid, active_sps); in init_dpb()
1888 p_Dpb->size = MPP_MAX(1, dpb_size); in init_dpb()
H A Dh264d_global.h1044 RK_U32 dpb_size[MAX_NUM_DPB_LAYERS]; member
H A Dh264d_init.c1968 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.c443 u32 height, u32 dpb_size) in amvdec_src_change() argument
449 v4l2_ctrl_s_ctrl(sess->ctrl_min_buf_capture, dpb_size); in amvdec_src_change()
458 dpb_size <= sess->num_dst_bufs) { in amvdec_src_change()
469 width, height, dpb_size); in amvdec_src_change()
H A Dvdec_helpers.h81 u32 height, u32 dpb_size);
/OK3568_Linux_fs/external/mpp/mpp/base/inc/
H A Dmpp_enc_ref.h27 RK_S32 dpb_size; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c359 unsigned dpb_size = msg[9]; in radeon_uvd_cs_msg_decode() local
431 if (dpb_size < min_dpb_size) { in radeon_uvd_cs_msg_decode()
433 dpb_size, min_dpb_size); in radeon_uvd_cs_msg_decode()
437 buf_sizes[0x1] = dpb_size; in radeon_uvd_cs_msg_decode()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c559 unsigned dpb_size = msg[9]; in amdgpu_uvd_cs_msg_decode() local
725 if (dpb_size < min_dpb_size) { in amdgpu_uvd_cs_msg_decode()
727 dpb_size, min_dpb_size); in amdgpu_uvd_cs_msg_decode()
731 buf_sizes[0x1] = dpb_size; in amdgpu_uvd_cs_msg_decode()
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vcodec/
H A Dmtk_vcodec_drv.h280 int dpb_size; member
H A Dmtk_vcodec_dec.c340 ctx->dpb_size = dpbsize; in mtk_vdec_pic_info_update()
1249 ctx->dpb_size = dpbsize; in vb2ops_vdec_buf_queue()
1251 mtk_v4l2_debug(1, "[%d] dpbsize=%d", ctx->id, ctx->dpb_size); in vb2ops_vdec_buf_queue()
1398 ctrl->val = ctx->dpb_size; in mtk_vdec_g_v_ctrl()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhelpers.c127 unsigned int dpb_size = 0; in venus_helper_alloc_dpb_bufs() local
138 dpb_size = inst->output_buf_size; in venus_helper_alloc_dpb_bufs()
140 dpb_size = inst->output2_buf_size; in venus_helper_alloc_dpb_bufs()
142 if (!dpb_size) in venus_helper_alloc_dpb_bufs()
159 buf->size = dpb_size; in venus_helper_alloc_dpb_bufs()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c236 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
237 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu540c.c210 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
211 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
H A Dhal_h264e_vepu580.c416 if (new_max_cnt < MPP_MAX(new_max_cnt, info->dpb_size + 1)) in setup_hal_bufs()
417 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in setup_hal_bufs()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu540c.c189 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu540c_h265_setup_hal_bufs()
H A Dhal_h265e_vepu541.c229 new_max_cnt = MPP_MAX(new_max_cnt, info->dpb_size + 1); in vepu54x_h265_setup_hal_bufs()

12