Home
last modified time | relevance | path

Searched refs:VIDIOC_TRY_FMT (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-g-fmt.rst7 ioctl VIDIOC_G_FMT, VIDIOC_S_FMT, VIDIOC_TRY_FMT
13 VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a format
26 .. c:macro:: VIDIOC_TRY_FMT
28 ``int ioctl(int fd, VIDIOC_TRY_FMT, struct v4l2_format *argp)``
80 The :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl is equivalent to :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` …
87 The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical to what
Ddev-output.rst80 Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl
87 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VI…
91 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
Ddev-capture.rst83 Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl
90 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VI…
94 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
Dformat.rst28 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to examine
68 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is highly recommended but optional.
Dplanar-apis.rst47 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_TRY_FMT <VIDIO…
Dvidioc-create-bufs.rst50 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` or
Ddev-osd.rst133 the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to learn
Dfield-order.rst83 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`. struct
Dlibv4l-introduction.rst92 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`,
Dbuffer.rst142 desired format. The :c:func:`VIDIOC_TRY_FMT` ioctl will return the required
146 #. VIDIOC_TRY_FMT()
148 #. VIDIOC_TRY_FMT()
Dcrop.rst128 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl however shall not change
Ddev-raw-vbi.rst98 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
Ddev-overlay.rst144 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to learn
Dhist-v4l2.rst415 9. The :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl was added to
423 ``VIDIOC_S_FMT`` and ``VIDIOC_TRY_FMT``; ioctl. The ``VIDIOC_G_WIN``
Ddiff-v4l.rst167 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl with the desired
Ddev-sliced-vbi.rst126 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`, the ``service_lines``
Ddev-decoder.rst373 :c:func:`VIDIOC_TRY_FMT` or :c:func:`VIDIOC_REQBUFS` on the ``CAPTURE``
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-dev.c632 __set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); in determine_valid_ioctls()
659 SET_VALID_IOCTL(ops, VIDIOC_TRY_FMT, vidioc_try_fmt_meta_cap); in determine_valid_ioctls()
665 SET_VALID_IOCTL(ops, VIDIOC_TRY_FMT, vidioc_try_fmt_meta_out); in determine_valid_ioctls()
683 __set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); in determine_valid_ioctls()
690 SET_VALID_IOCTL(ops, VIDIOC_TRY_FMT, vidioc_try_fmt_vid_cap); in determine_valid_ioctls()
703 SET_VALID_IOCTL(ops, VIDIOC_TRY_FMT, vidioc_try_fmt_sdr_cap); in determine_valid_ioctls()
709 SET_VALID_IOCTL(ops, VIDIOC_TRY_FMT, vidioc_try_fmt_sdr_out); in determine_valid_ioctls()
Dv4l2-compat-ioctl32.c874 return VIDIOC_TRY_FMT; in v4l2_compat_translate_cmd()
Dv4l2-ioctl.c2879 IOCTL_INFO(VIDIOC_TRY_FMT, v4l_try_fmt, v4l_print_format, 0),
/linux-6.6.21/drivers/staging/most/video/
Dvideo.c234 if (cmd == VIDIOC_TRY_FMT) in comp_set_format()
282 return comp_set_format(mdev, VIDIOC_TRY_FMT, f); in vidioc_try_fmt_vid_cap()
/linux-6.6.21/drivers/media/usb/au0828/
Dau0828-video.c1157 if (cmd == VIDIOC_TRY_FMT) in au0828_set_format()
1240 return au0828_set_format(dev, VIDIOC_TRY_FMT, f); in vidioc_try_fmt_vid_cap()
/linux-6.6.21/include/uapi/linux/
Dvideodev2.h2670 #define VIDIOC_TRY_FMT _IOWR('V', 64, struct v4l2_format) macro
/linux-6.6.21/Documentation/userspace-api/media/
Dvideodev2.h.rst.exceptions600 replace ioctl VIDIOC_TRY_FMT vidioc_g_fmt