Home
last modified time | relevance | path

Searched refs:hdr_ctrl (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_stateless.c433 struct v4l2_ctrl *hdr_ctrl; in mtk_vdec_s_ctrl() local
438 hdr_ctrl = ctrl; in mtk_vdec_s_ctrl()
439 if (!hdr_ctrl || !hdr_ctrl->p_new.p) in mtk_vdec_s_ctrl()
442 switch (hdr_ctrl->id) { in mtk_vdec_s_ctrl()
444 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
457 h265 = (struct v4l2_ctrl_hevc_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
470 frame = (struct v4l2_ctrl_vp9_frame *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
480 seq = (struct v4l2_ctrl_av1_sequence *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
490 mtk_v4l2_vdec_dbg(3, ctx, "Not supported to set ctrl id: 0x%x\n", hdr_ctrl->id); in mtk_vdec_s_ctrl()
500 hdr_ctrl->id == V4L2_CID_STATELESS_H264_SPS) { in mtk_vdec_s_ctrl()
[all …]
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_req_lat_if.c945 struct v4l2_ctrl *hdr_ctrl; in vdec_vp9_slice_setup_pfc() local
950 hdr_ctrl = v4l2_ctrl_find(&instance->ctx->ctrl_hdl, V4L2_CID_STATELESS_VP9_FRAME); in vdec_vp9_slice_setup_pfc()
951 if (!hdr_ctrl || !hdr_ctrl->p_cur.p) in vdec_vp9_slice_setup_pfc()
954 hdr = hdr_ctrl->p_cur.p; in vdec_vp9_slice_setup_pfc()