Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/deprecated/stkwebcam/
Dstk-webcam.c854 void *priv, struct v4l2_fmtdesc *fmtd) in stk_vidioc_enum_fmt_vid_cap() argument
856 switch (fmtd->index) { in stk_vidioc_enum_fmt_vid_cap()
858 fmtd->pixelformat = V4L2_PIX_FMT_RGB565; in stk_vidioc_enum_fmt_vid_cap()
861 fmtd->pixelformat = V4L2_PIX_FMT_RGB565X; in stk_vidioc_enum_fmt_vid_cap()
864 fmtd->pixelformat = V4L2_PIX_FMT_UYVY; in stk_vidioc_enum_fmt_vid_cap()
867 fmtd->pixelformat = V4L2_PIX_FMT_SBGGR8; in stk_vidioc_enum_fmt_vid_cap()
870 fmtd->pixelformat = V4L2_PIX_FMT_YUYV; in stk_vidioc_enum_fmt_vid_cap()
919 struct v4l2_format *fmtd, int *idx) in stk_try_fmt_vid_cap() argument
922 switch (fmtd->fmt.pix.pixelformat) { in stk_try_fmt_vid_cap()
933 if (fmtd->fmt.pix.width > stk_sizes[i].w) in stk_try_fmt_vid_cap()
[all …]
/linux-6.1.9/sound/usb/
Dquirks.c223 struct uac_format_type_i_discrete_descriptor *fmtd; in create_auto_pcm_quirk() local
248 fmtd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, in create_auto_pcm_quirk()
251 !fmtd || fmtd->bLength < 8) in create_auto_pcm_quirk()