Home
last modified time | relevance | path

Searched refs:fmtdesc (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/function/
Duvc_v4l2.c122 struct uvc_format_desc *fmtdesc = to_uvc_format(format->fmt); in find_format_by_pix() local
124 if (fmtdesc->fcc == pixelformat) { in find_format_by_pix()
367 struct uvc_format_desc *fmtdesc; in uvc_v4l2_enum_format() local
380 fmtdesc = to_uvc_format(uformat); in uvc_v4l2_enum_format()
381 f->pixelformat = fmtdesc->fcc; in uvc_v4l2_enum_format()
383 strscpy(f->description, fmtdesc->name, sizeof(f->description)); in uvc_v4l2_enum_format()
384 f->description[strlen(fmtdesc->name) - 1] = 0; in uvc_v4l2_enum_format()
/linux-6.1.9/Documentation/userspace-api/media/
Dvideodev2.h.rst.exceptions204 replace define V4L2_FMT_FLAG_COMPRESSED fmtdesc-flags
205 replace define V4L2_FMT_FLAG_EMULATED fmtdesc-flags
206 replace define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM fmtdesc-flags
207 replace define V4L2_FMT_FLAG_DYN_RESOLUTION fmtdesc-flags
208 replace define V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL fmtdesc-flags
209 replace define V4L2_FMT_FLAG_CSC_COLORSPACE fmtdesc-flags
210 replace define V4L2_FMT_FLAG_CSC_XFER_FUNC fmtdesc-flags
211 replace define V4L2_FMT_FLAG_CSC_YCBCR_ENC fmtdesc-flags
212 replace define V4L2_FMT_FLAG_CSC_HSV_ENC fmtdesc-flags
213 replace define V4L2_FMT_FLAG_CSC_QUANTIZATION fmtdesc-flags
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dpixfmt-v4l2.rst119 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
164 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
178 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
193 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
206 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
240 pixel format, see :ref:`fmtdesc-flags`.
Dvidioc-enum-fmt.rst104 - See :ref:`fmtdesc-flags`
Ddev-encoder.rst285 by the :ref:`V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL <fmtdesc-flags>` format flag.
/linux-6.1.9/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c352 struct v4l2_fmtdesc *fmtdesc) in sun6i_video_enum_fmt() argument
354 u32 index = fmtdesc->index; in sun6i_video_enum_fmt()
359 fmtdesc->pixelformat = sun6i_video_formats[index]; in sun6i_video_enum_fmt()
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_driver.c227 struct uvc_format_desc *fmtdesc; in uvc_parse_format() local
251 fmtdesc = uvc_format_by_guid(&buffer[5]); in uvc_parse_format()
253 if (fmtdesc != NULL) { in uvc_parse_format()
254 strscpy(format->name, fmtdesc->name, in uvc_parse_format()
256 format->fcc = fmtdesc->fcc; in uvc_parse_format()
/linux-6.1.9/drivers/media/usb/gspca/
Dgspca.c1001 struct v4l2_fmtdesc *fmtdesc) in vidioc_enum_fmt_vid_cap() argument
1018 if (fmtdesc->index == index) in vidioc_enum_fmt_vid_cap()
1028 fmtdesc->pixelformat = fmt_tb[index]; in vidioc_enum_fmt_vid_cap()