Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c32 static const struct mtk_video_fmt mtk_video_formats[] = { variable
65 #define NUM_FORMATS ARRAY_SIZE(mtk_video_formats)
165 if (output_queue && mtk_video_formats[i].type != MTK_FMT_FRAME) in vidioc_enum_fmt()
167 if (!output_queue && mtk_video_formats[i].type != MTK_FMT_ENC) in vidioc_enum_fmt()
171 fmt = &mtk_video_formats[i]; in vidioc_enum_fmt()
275 fmt = &mtk_video_formats[k]; in mtk_venc_find_format()
444 f->fmt.pix.pixelformat = mtk_video_formats[CAP_FMT_IDX].fourcc; in vidioc_venc_s_fmt_cap()
507 f->fmt.pix.pixelformat = mtk_video_formats[OUT_FMT_IDX].fourcc; in vidioc_venc_s_fmt_out()
589 f->fmt.pix.pixelformat = mtk_video_formats[CAP_FMT_IDX].fourcc; in vidioc_try_fmt_vid_cap_mplane()
607 f->fmt.pix.pixelformat = mtk_video_formats[OUT_FMT_IDX].fourcc; in vidioc_try_fmt_vid_out_mplane()
[all …]
Dmtk_vcodec_dec.c27 static const struct mtk_video_fmt mtk_video_formats[] = { variable
72 #define NUM_FORMATS ARRAY_SIZE(mtk_video_formats)
80 fmt = &mtk_video_formats[k]; in mtk_vdec_find_format()
284 fmt = &mtk_video_formats[k]; in mtk_vdec_update_fmt()
573 q_data->fmt = &mtk_video_formats[OUT_FMT_IDX]; in mtk_vcodec_dec_set_default_params()
585 q_data->fmt = &mtk_video_formats[CAP_FMT_IDX]; in mtk_vcodec_dec_set_default_params()
730 f->fmt.pix.pixelformat = mtk_video_formats[CAP_FMT_IDX].fourcc; in vidioc_try_fmt_vid_cap_mplane()
745 f->fmt.pix.pixelformat = mtk_video_formats[OUT_FMT_IDX].fourcc; in vidioc_try_fmt_vid_out_mplane()
860 mtk_video_formats[OUT_FMT_IDX].fourcc; in vidioc_vdec_s_fmt()
864 mtk_video_formats[CAP_FMT_IDX].fourcc; in vidioc_vdec_s_fmt()
[all …]