Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c462 struct v4l2_ctrl *hdr_ctrl; in mtk_vdec_s_ctrl() local
467 hdr_ctrl = ctrl; in mtk_vdec_s_ctrl()
468 if (!hdr_ctrl || !hdr_ctrl->p_new.p) in mtk_vdec_s_ctrl()
471 switch (hdr_ctrl->id) { in mtk_vdec_s_ctrl()
473 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
486 h265 = (struct v4l2_ctrl_hevc_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
499 frame = (struct v4l2_ctrl_vp9_frame *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
509 seq = (struct v4l2_ctrl_av1_sequence *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
519 mtk_v4l2_vdec_dbg(3, ctx, "Not supported to set ctrl id: 0x%x\n", hdr_ctrl->id); in mtk_vdec_s_ctrl()
529 hdr_ctrl->id == V4L2_CID_STATELESS_H264_SPS) { in mtk_vdec_s_ctrl()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_req_lat_if.c944 struct v4l2_ctrl *hdr_ctrl; in vdec_vp9_slice_setup_pfc() local
949 hdr_ctrl = v4l2_ctrl_find(&instance->ctx->ctrl_hdl, V4L2_CID_STATELESS_VP9_FRAME); in vdec_vp9_slice_setup_pfc()
950 if (!hdr_ctrl || !hdr_ctrl->p_cur.p) in vdec_vp9_slice_setup_pfc()
953 hdr = hdr_ctrl->p_cur.p; in vdec_vp9_slice_setup_pfc()