Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Duvc_v4l2.c131 const struct uvc_format_desc *fmtdesc = to_uvc_format(format->fmt); in find_format_by_pix() local
133 if (IS_ERR(fmtdesc)) in find_format_by_pix()
136 if (fmtdesc->fcc == pixelformat) { in find_format_by_pix()
255 const struct uvc_format_desc *fmtdesc; in uvc_v4l2_try_format() local
293 fmtdesc = to_uvc_format(uformat); in uvc_v4l2_try_format()
294 if (IS_ERR(fmtdesc)) in uvc_v4l2_try_format()
295 return PTR_ERR(fmtdesc); in uvc_v4l2_try_format()
296 fmt->fmt.pix.pixelformat = fmtdesc->fcc; in uvc_v4l2_try_format()
447 const struct uvc_format_desc *fmtdesc; in uvc_v4l2_enum_format() local
457 fmtdesc = to_uvc_format(uformat); in uvc_v4l2_enum_format()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-v4l2.rst120 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
165 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
179 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
194 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
207 :c:type:`v4l2_fmtdesc` during enumeration. See :ref:`fmtdesc-flags`.
241 pixel format, see :ref:`fmtdesc-flags`.
H A Dvidioc-enum-fmt.rst114 - See :ref:`fmtdesc-flags`
H A Ddev-encoder.rst286 by the :ref:`V4L2_FMT_FLAG_ENC_CAP_FRAME_INTERVAL <fmtdesc-flags>` format flag.
/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp_params.c401 struct v4l2_fmtdesc *fmtdesc) in sun6i_isp_params_enum_fmt() argument
407 if (fmtdesc->index > 0) in sun6i_isp_params_enum_fmt()
410 fmtdesc->pixelformat = params_format->dataformat; in sun6i_isp_params_enum_fmt()
H A Dsun6i_isp_capture.c437 struct v4l2_fmtdesc *fmtdesc) in sun6i_isp_capture_enum_fmt() argument
439 u32 index = fmtdesc->index; in sun6i_isp_capture_enum_fmt()
444 fmtdesc->pixelformat = sun6i_isp_capture_formats[index].pixelformat; in sun6i_isp_capture_enum_fmt()
/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.c729 struct v4l2_fmtdesc *fmtdesc) in sun6i_csi_capture_enum_fmt() argument
731 u32 index = fmtdesc->index; in sun6i_csi_capture_enum_fmt()
736 fmtdesc->pixelformat = sun6i_csi_capture_formats[index].pixelformat; in sun6i_csi_capture_enum_fmt()
/linux/drivers/media/usb/gspca/
H A 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()
/linux/drivers/media/usb/uvc/
H A Duvc_driver.c340 const struct uvc_format_desc *fmtdesc; in uvc_parse_format() local
368 fmtdesc = uvc_format_by_guid(&buffer[5]); in uvc_parse_format()
370 if (!fmtdesc) { in uvc_parse_format()
380 format->fcc = fmtdesc->fcc; in uvc_parse_format()