/linux-5.19.10/drivers/staging/media/hantro/ |
D | hantro_g2_hevc_dec.c | 125 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 …]
|
D | hantro_hevc.c | 184 ctrls->decode_params = in hantro_hevc_dec_prepare_run() 186 if (WARN_ON(!ctrls->decode_params)) in hantro_hevc_dec_prepare_run()
|
D | hantro_hw.h | 121 const struct v4l2_ctrl_hevc_decode_params *decode_params; member
|
D | hantro_g2_vp9_dec.c | 915 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/ |
D | vdec_h264_req_multi_if.c | 47 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 …]
|
D | vdec_h264_req_if.c | 24 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()
|
D | vdec_h264_req_common.c | 47 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()
|
D | vdec_h264_req_common.h | 195 struct slice_api_h264_decode_param *decode_params,
|
/linux-5.19.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_h265.c | 315 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()
|
D | cedrus_dec.c | 52 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()
|
D | cedrus.h | 64 const struct v4l2_ctrl_h264_decode_params *decode_params; member 82 const struct v4l2_ctrl_hevc_decode_params *decode_params; member
|
D | cedrus_h264.c | 97 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/ |
D | h264.c | 660 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()
|
D | vde.h | 140 const struct v4l2_ctrl_h264_decode_params *decode_params; member
|
D | v4l2.c | 58 ctx->h264.decode_params = data; in tegra_set_control_data()
|
/linux-5.19.10/drivers/staging/media/rkvdec/ |
D | rkvdec-h264.c | 108 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()
|
D | rkvdec-vp9.c | 139 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()
|