Searched refs:dec_param (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_common.c | 151 const struct v4l2_ctrl_h264_decode_params *dec_param) in mtk_vdec_h264_copy_slice_hd_params() argument 165 dst_param->frame_num = dec_param->frame_num; in mtk_vdec_h264_copy_slice_hd_params() 166 dst_param->pic_order_cnt_lsb = dec_param->pic_order_cnt_lsb; in mtk_vdec_h264_copy_slice_hd_params() 169 dec_param->delta_pic_order_cnt_bottom; in mtk_vdec_h264_copy_slice_hd_params() 171 dec_param->delta_pic_order_cnt0; in mtk_vdec_h264_copy_slice_hd_params() 173 dec_param->delta_pic_order_cnt1; in mtk_vdec_h264_copy_slice_hd_params() 175 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC; in mtk_vdec_h264_copy_slice_hd_params() 178 temp = dec_param->flags & V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD; in mtk_vdec_h264_copy_slice_hd_params() 241 void mtk_vdec_h264_update_dpb(const struct v4l2_ctrl_h264_decode_params *dec_param, in mtk_vdec_h264_update_dpb() argument 244 DECLARE_BITMAP(new, ARRAY_SIZE(dec_param->dpb)) = { 0, }; in mtk_vdec_h264_update_dpb() [all …]
|
D | vdec_h264_req_common.h | 225 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-v6.6/drivers/media/platform/verisilicon/ |
D | hantro_h264.c | 235 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 …]
|
D | hantro_g1_h264_dec.c | 25 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()
|
D | rockchip_vpu2_hw_h264_dec.c | 196 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-v6.6/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_core.c | 816 param = &jpeg_src_buf->dec_param; in mtk_jpeg_dec_buf_queue() 874 mtk_jpeg_set_queue_data(ctx, &src_buf->dec_param); in mtk_jpeg_dec_stop_streaming() 1013 if (mtk_jpeg_check_resolution_change(ctx, &jpeg_src_buf->dec_param)) { in mtk_jpeg_dec_device_run() 1028 if (mtk_jpeg_set_dec_dst(ctx, &jpeg_src_buf->dec_param, &dst_buf->vb2_buf, &fb)) in mtk_jpeg_dec_device_run() 1034 &jpeg_src_buf->dec_param, in mtk_jpeg_dec_device_run() 1724 &jpeg_src_buf->dec_param)) { in mtk_jpegdec_worker() 1758 &jpeg_src_buf->dec_param, in mtk_jpegdec_worker() 1769 &jpeg_src_buf->dec_param, in mtk_jpegdec_worker() 1849 jpeg_src_buf->dec_param.comp_size[i]); in mtk_jpeg_dec_irq()
|
D | mtk_jpeg_core.h | 88 struct mtk_jpeg_dec_param dec_param; member
|
D | mtk_jpeg_dec_hw.c | 543 jpeg_src_buf->dec_param.comp_size[i]); in mtk_jpegdec_hw_irq_handler()
|