Home
last modified time | relevance | path

Searched refs:dec_param (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_common.c152 const struct v4l2_ctrl_h264_decode_params *dec_param) in mtk_vdec_h264_copy_slice_hd_params() argument
166 dst_param->frame_num = dec_param->frame_num; in mtk_vdec_h264_copy_slice_hd_params()
167 dst_param->pic_order_cnt_lsb = dec_param->pic_order_cnt_lsb; in mtk_vdec_h264_copy_slice_hd_params()
170 dec_param->delta_pic_order_cnt_bottom; in mtk_vdec_h264_copy_slice_hd_params()
172 dec_param->delta_pic_order_cnt0; in mtk_vdec_h264_copy_slice_hd_params()
174 dec_param->delta_pic_order_cnt1; in mtk_vdec_h264_copy_slice_hd_params()
176 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC; in mtk_vdec_h264_copy_slice_hd_params()
179 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD; in mtk_vdec_h264_copy_slice_hd_params()
242 void mtk_vdec_h264_update_dpb(const struct v4l2_ctrl_h264_decode_params *dec_param, in mtk_vdec_h264_update_dpb() argument
245 DECLARE_BITMAP(new, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in mtk_vdec_h264_update_dpb()
[all …]
Dvdec_h264_req_common.h225 const struct v4l2_ctrl_h264_decode_params *dec_param);
254 void mtk_vdec_h264_update_dpb(const struct v4l2_ctrl_h264_decode_params *dec_param,
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_h264.c235 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in prepare_table() local
257 if (dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) { in prepare_table()
278 if ((dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) || in prepare_table()
283 tbl->poc[32] = dec_param->top_field_order_cnt; in prepare_table()
284 tbl->poc[33] = dec_param->bottom_field_order_cnt; in prepare_table()
298 const struct v4l2_ctrl_h264_decode_params *dec_param; in update_dpb() local
299 DECLARE_BITMAP(new, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in update_dpb()
300 DECLARE_BITMAP(used, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in update_dpb()
303 dec_param = ctx->h264_dec.ctrls.decode; in update_dpb()
310 for (i = 0; i < ARRAY_SIZE(dec_param->dpb); i++) { in update_dpb()
[all …]
Dhantro_g1_h264_dec.c25 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params() local
37 if (dec_param->nal_ref_idc) in set_params()
43 dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)) in set_params()
45 if (dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) in set_params()
47 if (!(dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD)) in set_params()
75 G1_REG_DEC_CTRL4_FRAMENUM(dec_param->frame_num) | in set_params()
88 reg = G1_REG_DEC_CTRL5_REFPIC_MK_LEN(dec_param->dec_ref_pic_marking_bit_size) | in set_params()
89 G1_REG_DEC_CTRL5_IDR_PIC_ID(dec_param->idr_pic_id); in set_params()
98 if (dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC) in set_params()
106 G1_REG_DEC_CTRL6_POC_LENGTH(dec_param->pic_order_cnt_bit_size); in set_params()
Drockchip_vpu2_hw_h264_dec.c196 const struct v4l2_ctrl_h264_decode_params *dec_param = ctrls->decode; in set_params() local
240 dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)) | in set_params()
241 VDPU_REG_PIC_FIELDMODE_E(dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC) | in set_params()
242 VDPU_REG_PIC_TOPFIELD_E(!(dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD)) | in set_params()
243 VDPU_REG_WRITE_MVS_E((sps->profile_idc > 66) && dec_param->nal_ref_idc) | in set_params()
274 VDPU_REG_FRAMENUM(dec_param->frame_num); in set_params()
277 reg = VDPU_REG_REFPIC_MK_LEN(dec_param->dec_ref_pic_marking_bit_size) | in set_params()
278 VDPU_REG_IDR_PIC_ID(dec_param->idr_pic_id); in set_params()
284 VDPU_REG_POC_LENGTH(dec_param->pic_order_cnt_bit_size); in set_params()
287 reg = VDPU_REG_IDR_PIC_E(dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC) | in set_params()
/linux-5.19.10/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_core.c111 struct mtk_jpeg_dec_param dec_param; member
785 param = &jpeg_src_buf->dec_param; in mtk_jpeg_dec_buf_queue()
843 mtk_jpeg_set_queue_data(ctx, &src_buf->dec_param); in mtk_jpeg_dec_stop_streaming()
966 if (mtk_jpeg_check_resolution_change(ctx, &jpeg_src_buf->dec_param)) { in mtk_jpeg_dec_device_run()
981 if (mtk_jpeg_set_dec_dst(ctx, &jpeg_src_buf->dec_param, &dst_buf->vb2_buf, &fb)) in mtk_jpeg_dec_device_run()
987 &jpeg_src_buf->dec_param, &bs, &fb); in mtk_jpeg_dec_device_run()
1150 jpeg_src_buf->dec_param.comp_size[i]); in mtk_jpeg_dec_irq()