Home
last modified time | relevance | path

Searched refs:decode_params (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_g2_hevc_dec.c125 const struct v4l2_ctrl_hevc_decode_params *decode_params = ctrls->decode_params; in set_params() local
179 !(decode_params->flags & V4L2_HEVC_DECODE_PARAM_FLAG_IDR_PIC)); in set_params()
218 !!(decode_params->flags & V4L2_HEVC_DECODE_PARAM_FLAG_IRAP_PIC)); in set_params()
271 const struct v4l2_ctrl_hevc_decode_params *decode_params = ctrls->decode_params; in set_ref_pic_list() local
314 for (i = 0; i < decode_params->num_poc_st_curr_before && j < ARRAY_SIZE(list0); i++) in set_ref_pic_list()
315 list0[j++] = decode_params->poc_st_curr_before[i]; in set_ref_pic_list()
316 for (i = 0; i < decode_params->num_poc_st_curr_after && j < ARRAY_SIZE(list0); i++) in set_ref_pic_list()
317 list0[j++] = decode_params->poc_st_curr_after[i]; in set_ref_pic_list()
318 for (i = 0; i < decode_params->num_poc_lt_curr && j < ARRAY_SIZE(list0); i++) in set_ref_pic_list()
319 list0[j++] = decode_params->poc_lt_curr[i]; in set_ref_pic_list()
[all …]
Dhantro_hevc.c184 ctrls->decode_params = in hantro_hevc_dec_prepare_run()
186 if (WARN_ON(!ctrls->decode_params)) in hantro_hevc_dec_prepare_run()
Dhantro_hw.h121 const struct v4l2_ctrl_hevc_decode_params *decode_params; member
Dhantro_g2_vp9_dec.c915 const struct v4l2_ctrl_vp9_frame *decode_params; in hantro_g2_vp9_dec_run() local
922 ret = start_prepare_run(ctx, &decode_params); in hantro_g2_vp9_dec_run()
931 config_registers(ctx, decode_params, src, dst); in hantro_g2_vp9_dec_run()
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_multi_if.c47 struct slice_api_h264_decode_param decode_params; member
228 u8 *p0_reflist = slice_param->decode_params.ref_pic_list_p0; in get_vdec_sig_decode_parameters()
229 u8 *b0_reflist = slice_param->decode_params.ref_pic_list_b0; in get_vdec_sig_decode_parameters()
230 u8 *b1_reflist = slice_param->decode_params.ref_pic_list_b1; in get_vdec_sig_decode_parameters()
256 mtk_vdec_h264_copy_decode_params(&slice_param->decode_params, dec_params, inst->dpb); in get_vdec_sig_decode_parameters()
257 mtk_vdec_h264_fill_dpb_info(inst->ctx, &slice_param->decode_params, in get_vdec_sig_decode_parameters()
286 u8 *p0_reflist = slice_param->decode_params.ref_pic_list_p0; in vdec_h264_slice_fill_decode_reflist()
287 u8 *b0_reflist = slice_param->decode_params.ref_pic_list_b0; in vdec_h264_slice_fill_decode_reflist()
288 u8 *b1_reflist = slice_param->decode_params.ref_pic_list_b1; in vdec_h264_slice_fill_decode_reflist()
292 mtk_vdec_h264_copy_decode_params(&slice_param->decode_params, dec_params, in vdec_h264_slice_fill_decode_reflist()
[all …]
Dvdec_h264_req_if.c24 struct slice_api_h264_decode_param decode_params; member
108 u8 *p0_reflist = slice_param->decode_params.ref_pic_list_p0; in get_vdec_decode_parameters()
109 u8 *b0_reflist = slice_param->decode_params.ref_pic_list_b0; in get_vdec_decode_parameters()
110 u8 *b1_reflist = slice_param->decode_params.ref_pic_list_b1; in get_vdec_decode_parameters()
135 mtk_vdec_h264_copy_decode_params(&slice_param->decode_params, in get_vdec_decode_parameters()
137 mtk_vdec_h264_fill_dpb_info(inst->ctx, &slice_param->decode_params, in get_vdec_decode_parameters()
Dvdec_h264_req_common.c47 struct slice_api_h264_decode_param *decode_params, in mtk_vdec_h264_fill_dpb_info() argument
59 dpb = &decode_params->dpb[index]; in mtk_vdec_h264_fill_dpb_info()
Dvdec_h264_req_common.h195 struct slice_api_h264_decode_param *decode_params,
/linux-5.19.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c315 poc = run->h265.decode_params->pic_order_cnt_val; in cedrus_h265_is_low_delay()
316 dpb = run->h265.decode_params->dpb; in cedrus_h265_is_low_delay()
339 const struct v4l2_ctrl_hevc_decode_params *decode_params; in cedrus_h265_setup() local
353 decode_params = run->h265.decode_params; in cedrus_h265_setup()
637 cedrus_h265_frame_info_write_dpb(ctx, decode_params->dpb, in cedrus_h265_setup()
638 decode_params->num_active_dpb_entries); in cedrus_h265_setup()
655 cedrus_h265_ref_pic_list_write(dev, decode_params->dpb, in cedrus_h265_setup()
674 cedrus_h265_ref_pic_list_write(dev, decode_params->dpb, in cedrus_h265_setup()
Dcedrus_dec.c52 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
73 run.h265.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
Dcedrus.h64 const struct v4l2_ctrl_h264_decode_params *decode_params; member
82 const struct v4l2_ctrl_hevc_decode_params *decode_params; member
Dcedrus_h264.c97 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in cedrus_write_frame_list()
174 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in _cedrus_write_ref_list()
324 const struct v4l2_ctrl_h264_decode_params *decode = run->h264.decode_params; in cedrus_set_params()
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/
Dh264.c660 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in get_ref_buf()
736 frame_num = h->decode_params->frame_num; in tegra_vde_h264_setup_frame()
738 if (h->decode_params->nal_ref_idc) in tegra_vde_h264_setup_frame()
764 const struct v4l2_h264_dpb_entry *dpb = ctx->h264.decode_params->dpb; in tegra_vde_h264_setup_frames()
789 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BFRAME) in tegra_vde_h264_setup_frames()
799 if (!(h->decode_params->flags & (V4L2_H264_DECODE_PARAM_FLAG_PFRAME | in tegra_vde_h264_setup_frames()
803 v4l2_h264_init_reflist_builder(&b, h->decode_params, h->sps, dpb); in tegra_vde_h264_setup_frames()
805 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BFRAME) { in tegra_vde_h264_setup_frames()
885 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) in tegra_vde_h264_setup_context()
Dvde.h140 const struct v4l2_ctrl_h264_decode_params *decode_params; member
Dv4l2.c58 ctx->h264.decode_params = data; in tegra_set_control_data()
/linux-5.19.10/drivers/staging/media/rkvdec/
Drkvdec-h264.c108 const struct v4l2_ctrl_h264_decode_params *decode_params; member
639 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_pps()
738 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in lookup_ref_buf_idx()
743 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; in lookup_ref_buf_idx()
763 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in assemble_hw_rps()
906 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; in config_registers()
1138 run->decode_params = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1162 v4l2_h264_init_reflist_builder(&reflist_builder, run.decode_params, in rkvdec_h264_run()
1163 run.sps, run.decode_params->dpb); in rkvdec_h264_run()
Drkvdec-vp9.c139 const struct v4l2_ctrl_vp9_frame *decode_params; member
320 dec_params = run->decode_params; in init_probs()
530 dec_params = run->decode_params; in config_registers()
749 run->decode_params = dec_params; in rkvdec_vp9_run_preamble()