data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _rf-tuner-controls: ************************** RF Tuner Control Reference ************************** The RF Tuner (RF_TUNER) class includes controls for common features of devices having RF tuner. In this context, RF tuner is radio ...
Documentation/userspace-api/media/v4l/ext-ctrls-rf-tuner.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _extended-controls: ********************* Extended Controls API ********************* Introduction ============ The control mechanism as originally designed was meant to be used for user settings (brightness, saturation, etc). Howe...
Documentation/userspace-api/media/v4l/extended-controls.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _field-order: *********** Field Order *********** We have to distinguish between progressive and interlaced video. Progressive video transmits all lines of a video image sequentially. Interlaced video divides an image into two fields...
Documentation/userspace-api/media/v4l/field-order.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _format: ************ Data Formats ************ Data Format Negotiation ======================= Different devices exchange different kinds of data with applications, for example video images, raw or sliced VBI data, RDS datagrams. E...
Documentation/userspace-api/media/v4l/format.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. c:namespace:: V4L Guidelines for Video4Linux pixel format 4CCs ============================================ Guidelines for Video4Linux 4CC codes defined using v4l2_fourcc() are specified in this document. First of the characters defines the nature of the pixel format, compressio...
Documentation/userspace-api/media/v4l/fourcc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-close: ************ V4L2 close() ************ Name ==== v4l2-close - Close a V4L2 device Synopsis ======== .. code-block:: c #include <unistd.h> .. c:function:: int close( int fd ) Arguments ========= ``fd`` File...
Documentation/userspace-api/media/v4l/func-close.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-ioctl: ************ V4L2 ioctl() ************ Name ==== v4l2-ioctl - Program a V4L2 device Synopsis ======== .. code-block:: c #include <sys/ioctl.h> ``int ioctl(int fd, int request, void *argp)`` Arguments ========= ...
Documentation/userspace-api/media/v4l/func-ioctl.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-mmap: *********** V4L2 mmap() *********** Name ==== v4l2-mmap - Map device memory into application address space Synopsis ======== .. code-block:: c #include <unistd.h> #include <sys/mman.h> .. c:function:: void *m...
Documentation/userspace-api/media/v4l/func-mmap.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-munmap: ************* V4L2 munmap() ************* Name ==== v4l2-munmap - Unmap device memory Synopsis ======== .. code-block:: c #include <unistd.h> #include <sys/mman.h> .. c:function:: int munmap( void *start, s...
Documentation/userspace-api/media/v4l/func-munmap.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-open: *********** V4L2 open() *********** Name ==== v4l2-open - Open a V4L2 device Synopsis ======== .. code-block:: c #include <fcntl.h> .. c:function:: int open( const char *device_name, int flags ) Arguments ======...
Documentation/userspace-api/media/v4l/func-open.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-poll: *********** V4L2 poll() *********** Name ==== v4l2-poll - Wait for some event on a file descriptor Synopsis ======== .. code-block:: c #include <sys/poll.h> .. c:function:: int poll( struct pollfd *ufds, unsigned...
Documentation/userspace-api/media/v4l/func-poll.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-read: *********** V4L2 read() *********** Name ==== v4l2-read - Read from a V4L2 device Synopsis ======== .. code-block:: c #include <unistd.h> .. c:function:: ssize_t read( int fd, void *buf, size_t count ) Arguments...
Documentation/userspace-api/media/v4l/func-read.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-select: ************* V4L2 select() ************* Name ==== v4l2-select - Synchronous I/O multiplexing Synopsis ======== .. code-block:: c #include <sys/time.h> #include <sys/types.h> #include <unistd.h> .. c:f...
Documentation/userspace-api/media/v4l/func-select.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _func-write: ************ V4L2 write() ************ Name ==== v4l2-write - Write to a V4L2 device Synopsis ======== .. code-block:: c #include <unistd.h> .. c:function:: ssize_t write( int fd, void *buf, size_t count ) Argu...
Documentation/userspace-api/media/v4l/func-write.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _hist-v4l2: *********************** Changes of the V4L2 API *********************** Soon after the V4L API was added to the kernel it was criticised as too inflexible. In August 1998 Bill Dirks proposed a number of improvements and b...
Documentation/userspace-api/media/v4l/hist-v4l2.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _hsv-formats: *********** HSV Formats *********** These formats store the color information of the image in a geometrical representation. The colors are mapped into a cylinder, where the angle is the HUE, the height is the VALUE and ...
Documentation/userspace-api/media/v4l/hsv-formats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _io: ############ Input/Output ############ The V4L2 API defines several different methods to read from or write to a device. All drivers exchanging data with applications must support at least one of them. The classic I/O method usi...
Documentation/userspace-api/media/v4l/io.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _libv4l-introduction: ************ Introduction ************ libv4l is a collection of libraries which adds a thin abstraction layer on top of video4linux2 devices. The purpose of this (thin) layer is to make it easy for application ...
Documentation/userspace-api/media/v4l/libv4l-introduction.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _libv4l: ************************ Libv4l Userspace Library ************************ .. toctree:: :maxdepth: 1 libv4l-introduction
Documentation/userspace-api/media/v4l/libv4l.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _meta-formats: **************** Metadata Formats **************** These formats are used for the :ref:`metadata` interface only. .. toctree:: :maxdepth: 1 metafmt-arm-mali-c55 metafmt-c3-isp metafmt-d4xx metafm...
Documentation/userspace-api/media/v4l/meta-formats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _v4l2-meta-fmt-mali-c55-params: .. _v4l2-meta-fmt-mali-c55-stats: ***************************************************************************** V4L2_META_FMT_MALI_C55_STATS ('C55S'), V4L2_META_FMT_MALI_C55_PARAMS ('C55P') *********************************************************...
Documentation/userspace-api/media/v4l/metafmt-arm-mali-c55.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: (GPL-2.0-only OR MIT) .. c:namespace:: V4L .. _v4l2-meta-fmt-c3isp-stats: .. _v4l2-meta-fmt-c3isp-params: *********************************************************************** V4L2_META_FMT_C3ISP_STATS ('C3ST'), V4L2_META_FMT_C3ISP_PARAMS ('C3PM') ****************************************...
Documentation/userspace-api/media/v4l/metafmt-c3-isp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-d4xx: ******************************* V4L2_META_FMT_D4XX ('D4XX') ******************************* Intel D4xx UVC Cameras Metadata Description =========== Intel D4xx (D435, D455 and others) cameras include per-frame ...
Documentation/userspace-api/media/v4l/metafmt-d4xx.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ***********************************************************************************************************************************************************************************************************************************...
Documentation/userspace-api/media/v4l/metafmt-generic.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-params: .. _v4l2-meta-fmt-stat-3a: ****************************************************************** V4L2_META_FMT_IPU3_PARAMS ('ip3p'), V4L2_META_FMT_IPU3_3A ('ip3s') ***************************************...
Documentation/userspace-api/media/v4l/metafmt-intel-ipu3.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. c:namespace:: V4L .. _v4l2-meta-fmt-rpi-be-cfg: ************************ V4L2_META_FMT_RPI_BE_CFG ************************ Raspberry Pi PiSP Back End configuration format =============================================== The Raspberry Pi PiSP Back End memory-to-memory image sign...
Documentation/userspace-api/media/v4l/metafmt-pisp-be.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. c:namespace:: V4L .. _v4l2-meta-fmt-rpi-fe-cfg: ************************ V4L2_META_FMT_RPI_FE_CFG ************************ Raspberry Pi PiSP Front End configuration format ================================================ The Raspberry Pi PiSP Front End image signal processor i...
Documentation/userspace-api/media/v4l/metafmt-pisp-fe.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. c:namespace:: V4L .. _v4l2-meta-fmt-rk-isp1-stat-3a: ************************************************************************************************************************ V4L2_META_FMT_RK_ISP1_PARAMS ('rk1p'), V4L2_META_FMT_RK_ISP1_STAT_3A ('rk1s'), V4L2_META_FMT_RK_ISP1_EXT_...
Documentation/userspace-api/media/v4l/metafmt-rkisp1.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. _v4l2-meta-fmt-uvc-msxu-1-5: *********************************** V4L2_META_FMT_UVC_MSXU_1_5 ('UVCM') *********************************** Microsoft(R)'s UVC Payload Metadata. Description =========== V4L2_META_FMT_UVC_MSXU_1_5 buffers follow the metadat...
Documentation/userspace-api/media/v4l/metafmt-uvc-msxu-1-5.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-uvc: ******************************* V4L2_META_FMT_UVC ('UVCH') ******************************* UVC Payload Header Data Description =========== This format describes standard UVC metadata, extracted from UVC packet ...
Documentation/userspace-api/media/v4l/metafmt-uvc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-vivid: ******************************* V4L2_META_FMT_VIVID ('VIVD') ******************************* VIVID Metadata Format Description =========== This describes metadata format used by the vivid driver. ...
Documentation/userspace-api/media/v4l/metafmt-vivid.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-vsp1-hgo: ******************************* V4L2_META_FMT_VSP1_HGO ('VSPH') ******************************* Renesas R-Car VSP1 1-D Histogram Data Description =========== This format describes histogram data generated ...
Documentation/userspace-api/media/v4l/metafmt-vsp1-hgo.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-meta-fmt-vsp1-hgt: ******************************* V4L2_META_FMT_VSP1_HGT ('VSPT') ******************************* Renesas R-Car VSP1 2-D Histogram Data Description =========== This format describes histogram data generated ...
Documentation/userspace-api/media/v4l/metafmt-vsp1-hgt.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _mmap: ****************************** Streaming I/O (Memory Mapping) ****************************** Input and output devices support this I/O method when the ``V4L2_CAP_STREAMING`` flag in the ``capabilities`` field of struct :c:type...
Documentation/userspace-api/media/v4l/mmap.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _open: *************************** Opening and Closing Devices *************************** .. _v4l2_hardware_control: Controlling a hardware peripheral via V4L2 ========================================== Hardware that is supported ...
Documentation/userspace-api/media/v4l/open.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _pixfmt-bayer: ***************** Raw Bayer Formats ***************** Description =========== The raw Bayer formats are used by image sensors before much if any processing is performed on the image. The formats contain green, red and...
Documentation/userspace-api/media/v4l/pixfmt-bayer.rst
null
null
null
null
null
source
linux
.. -*- coding: utf-8; mode: rst -*- .. c:namespace:: V4L .. _V4L2-PIX-FMT-CNF4: ****************************** V4L2_PIX_FMT_CNF4 ('CNF4') ****************************** Depth sensor confidence information as a 4 bits per pixel packed array Description =========== Proprietary format used by Intel RealSense Depth ca...
Documentation/userspace-api/media/v4l/pixfmt-cnf4.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ****************** Compressed Formats ****************** .. _compressed-formats: .. raw:: latex \small .. tabularcolumns:: |p{5.8cm}|p{1.2cm}|p{10.3cm}| .. cssclass:: longtable .. flat-table:: Compressed Image Formats :head...
Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _pixfmt-indexed: ************** Indexed Format ************** In this format each pixel is represented by an 8 bit index into a 256 entry ARGB palette. It is intended for :ref:`Video Output Overlays <osd>` only. There are no ioctls t...
Documentation/userspace-api/media/v4l/pixfmt-indexed.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ********************** Standard Image Formats ********************** In order to exchange images between drivers and applications, it is necessary to have standard image data formats which both sides will interpret the same way. V4L2 inc...
Documentation/userspace-api/media/v4l/pixfmt-intro.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-INZI: ************************** V4L2_PIX_FMT_INZI ('INZI') ************************** Infrared 10-bit linked with Depth 16-bit images Description =========== Proprietary multi-planar format used by Intel SR300 Depth...
Documentation/userspace-api/media/v4l/pixfmt-inzi.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-M420: ************************** V4L2_PIX_FMT_M420 ('M420') ************************** Format with ½ horizontal and vertical chroma resolution, also known as YUV 4:2:0. Hybrid plane line-interleaved layout. Descriptio...
Documentation/userspace-api/media/v4l/pixfmt-m420.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _packed-hsv: ****************** Packed HSV formats ****************** Description =========== The *hue* (h) is measured in degrees, the equivalence between degrees and LSBs depends on the hsv-encoding used, see :ref:`colorspaces`. T...
Documentation/userspace-api/media/v4l/pixfmt-packed-hsv.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _packed-yuv: ****************** Packed YUV formats ****************** Similarly to the packed RGB formats, the packed YUV formats store the Y, Cb and Cr components consecutively in memory. They may apply subsampling to the chroma com...
Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. _v4l2-pix-fmt-raw-cru10: .. _v4l2-pix-fmt-raw-cru12: .. _v4l2-pix-fmt-raw-cru14: .. _v4l2-pix-fmt-raw-cru20: ********************************************************************************************************************************** V4L2_PIX_FMT_RA...
Documentation/userspace-api/media/v4l/pixfmt-rawnn-cru.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _pixfmt-reserved: *************************** Reserved Format Identifiers *************************** These formats are not defined by this specification, they are just listed for reference and to avoid naming conflicts. If you want ...
Documentation/userspace-api/media/v4l/pixfmt-reserved.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _pixfmt-rgb: *********** RGB Formats *********** These formats encode each pixel as a triplet of RGB values. They are packed formats, meaning that the RGB values for one pixel are stored consecutively in memory and each pixel consume...
Documentation/userspace-api/media/v4l/pixfmt-rgb.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-sdr-fmt-cs8: ************************* V4L2_SDR_FMT_CS8 ('CS08') ************************* Complex signed 8-bit IQ sample Description =========== This format contains sequence of complex number samples. Each complex number c...
Documentation/userspace-api/media/v4l/pixfmt-sdr-cs08.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-CS14LE: **************************** V4L2_SDR_FMT_CS14LE ('CS14') **************************** Complex signed 14-bit little endian IQ sample Description =========== This format contains sequence of complex number sam...
Documentation/userspace-api/media/v4l/pixfmt-sdr-cs14le.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-sdr-fmt-cu8: ************************* V4L2_SDR_FMT_CU8 ('CU08') ************************* Complex unsigned 8-bit IQ sample Description =========== This format contains sequence of complex number samples. Each complex number...
Documentation/userspace-api/media/v4l/pixfmt-sdr-cu08.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-CU16LE: **************************** V4L2_SDR_FMT_CU16LE ('CU16') **************************** Complex unsigned 16-bit little endian IQ sample Description =========== This format contains sequence of complex number ...
Documentation/userspace-api/media/v4l/pixfmt-sdr-cu16le.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-PCU16BE: ****************************** V4L2_SDR_FMT_PCU16BE ('PC16') ****************************** Planar complex unsigned 16-bit big endian IQ sample Description =========== This format contains a sequence of compl...
Documentation/userspace-api/media/v4l/pixfmt-sdr-pcu16be.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-PCU18BE: ****************************** V4L2_SDR_FMT_PCU18BE ('PC18') ****************************** Planar complex unsigned 18-bit big endian IQ sample Description =========== This format contains a sequence of compl...
Documentation/userspace-api/media/v4l/pixfmt-sdr-pcu18be.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-PCU20BE: ****************************** V4L2_SDR_FMT_PCU20BE ('PC20') ****************************** Planar complex unsigned 20-bit big endian IQ sample Description =========== This format contains a sequence of compl...
Documentation/userspace-api/media/v4l/pixfmt-sdr-pcu20be.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-SDR-FMT-RU12LE: **************************** V4L2_SDR_FMT_RU12LE ('RU12') **************************** Real unsigned 12-bit little endian sample Description =========== This format contains sequence of real number samples. ...
Documentation/userspace-api/media/v4l/pixfmt-sdr-ru12le.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-pix-fmt-ipu3-sbggr10: .. _v4l2-pix-fmt-ipu3-sgbrg10: .. _v4l2-pix-fmt-ipu3-sgrbg10: .. _v4l2-pix-fmt-ipu3-srggb10: *****************************************************************************************************************...
Documentation/userspace-api/media/v4l/pixfmt-srggb10-ipu3.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB10: .. _v4l2-pix-fmt-sbggr10: .. _v4l2-pix-fmt-sgbrg10: .. _v4l2-pix-fmt-sgrbg10: *************************************************************************************************************************** V4L2_PIX_...
Documentation/userspace-api/media/v4l/pixfmt-srggb10.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SBGGR10ALAW8: .. _v4l2-pix-fmt-sgbrg10alaw8: .. _v4l2-pix-fmt-sgrbg10alaw8: .. _v4l2-pix-fmt-srggb10alaw8: *****************************************************************************************************************...
Documentation/userspace-api/media/v4l/pixfmt-srggb10alaw8.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SBGGR10DPCM8: .. _v4l2-pix-fmt-sgbrg10dpcm8: .. _v4l2-pix-fmt-sgrbg10dpcm8: .. _v4l2-pix-fmt-srggb10dpcm8: ****************************************************************************************************************...
Documentation/userspace-api/media/v4l/pixfmt-srggb10dpcm8.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB10P: .. _v4l2-pix-fmt-sbggr10p: .. _v4l2-pix-fmt-sgbrg10p: .. _v4l2-pix-fmt-sgrbg10p: ******************************************************************************************************************************* V...
Documentation/userspace-api/media/v4l/pixfmt-srggb10p.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB12: .. _v4l2-pix-fmt-sbggr12: .. _v4l2-pix-fmt-sgbrg12: .. _v4l2-pix-fmt-sgrbg12: *************************************************************************************************************************** V4L2_PIX...
Documentation/userspace-api/media/v4l/pixfmt-srggb12.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB12P: .. _v4l2-pix-fmt-sbggr12p: .. _v4l2-pix-fmt-sgbrg12p: .. _v4l2-pix-fmt-sgrbg12p: ******************************************************************************************************************************* V...
Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB14: .. _v4l2-pix-fmt-sbggr14: .. _v4l2-pix-fmt-sgbrg14: .. _v4l2-pix-fmt-sgrbg14: *************************************************************************************************************************** V4L2_PIX...
Documentation/userspace-api/media/v4l/pixfmt-srggb14.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB14P: .. _v4l2-pix-fmt-sbggr14p: .. _v4l2-pix-fmt-sgbrg14p: .. _v4l2-pix-fmt-sgrbg14p: ******************************************************************************************************************************* V...
Documentation/userspace-api/media/v4l/pixfmt-srggb14p.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB16: .. _v4l2-pix-fmt-sbggr16: .. _v4l2-pix-fmt-sgbrg16: .. _v4l2-pix-fmt-sgrbg16: *************************************************************************************************************************** V4L2_PIX...
Documentation/userspace-api/media/v4l/pixfmt-srggb16.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-pix-fmt-pisp-comp1-rggb: .. _v4l2-pix-fmt-pisp-comp1-grbg: .. _v4l2-pix-fmt-pisp-comp1-gbrg: .. _v4l2-pix-fmt-pisp-comp1-bggr: .. _v4l2-pix-fmt-pisp-comp1-mono: .. _v4l2-pix-fmt-pisp-comp2-rggb: .. _v4l2-pix-fmt-pisp-comp2-grbg: ...
Documentation/userspace-api/media/v4l/pixfmt-srggb8-pisp-comp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-SRGGB8: .. _v4l2-pix-fmt-sbggr8: .. _v4l2-pix-fmt-sgbrg8: .. _v4l2-pix-fmt-sgrbg8: *************************************************************************************************************************** V4L2_PIX_FMT_...
Documentation/userspace-api/media/v4l/pixfmt-srggb8.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-TCH-FMT-DELTA-TD08: ******************************** V4L2_TCH_FMT_DELTA_TD08 ('TD08') ******************************** *man V4L2_TCH_FMT_DELTA_TD08(2)* 8-bit signed Touch Delta Description =========== This format represents ...
Documentation/userspace-api/media/v4l/pixfmt-tch-td08.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-TCH-FMT-DELTA-TD16: ******************************** V4L2_TCH_FMT_DELTA_TD16 ('TD16') ******************************** *man V4L2_TCH_FMT_DELTA_TD16(2)* 16-bit signed little endian Touch Delta Description =========== This fo...
Documentation/userspace-api/media/v4l/pixfmt-tch-td16.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-TCH-FMT-TU08: ************************** V4L2_TCH_FMT_TU08 ('TU08') ************************** *man V4L2_TCH_FMT_TU08(2)* 8-bit unsigned raw touch data Description =========== This format represents unsigned 8-bit data from ...
Documentation/userspace-api/media/v4l/pixfmt-tch-tu08.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-TCH-FMT-TU16: ******************************** V4L2_TCH_FMT_TU16 ('TU16') ******************************** *man V4L2_TCH_FMT_TU16(2)* 16-bit unsigned little endian raw touch data Description =========== This format represen...
Documentation/userspace-api/media/v4l/pixfmt-tch-tu16.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-UV8: ************************ V4L2_PIX_FMT_UV8 ('UV8') ************************ UV plane interleaved Description =========== In this format there is no Y plane, Only CbCr plane. ie (UV interleaved) **Byte Order.** ...
Documentation/userspace-api/media/v4l/pixfmt-uv8.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ****************************** Multi-planar format structures ****************************** The struct :c:type:`v4l2_plane_pix_format` structures define size and layout for each of the planes in a multi-planar format. The struct :c:type...
Documentation/userspace-api/media/v4l/pixfmt-v4l2-mplane.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ****************************** Single-planar format structure ****************************** .. tabularcolumns:: |p{4.0cm}|p{2.6cm}|p{10.7cm}| .. c:type:: v4l2_pix_format .. cssclass:: longtable .. flat-table:: struct v4l2_pix_format ...
Documentation/userspace-api/media/v4l/pixfmt-v4l2.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-Y12I: ************************** V4L2_PIX_FMT_Y12I ('Y12I') ************************** Interleaved grey-scale image, e.g. from a stereo-pair Description =========== This is a grey-scale image with a depth of 12 bits ...
Documentation/userspace-api/media/v4l/pixfmt-y12i.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-Y16I: ************************** V4L2_PIX_FMT_Y16I ('Y16I') ************************** Interleaved grey-scale image, e.g. from a stereo-pair Description =========== This is a grey-scale image with a depth of 16 bits ...
Documentation/userspace-api/media/v4l/pixfmt-y16i.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-Y8I: ************************* V4L2_PIX_FMT_Y8I ('Y8I ') ************************* Interleaved grey-scale image, e.g. from a stereo-pair Description =========== This is a grey-scale image with a depth of 8 bits per ...
Documentation/userspace-api/media/v4l/pixfmt-y8i.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _yuv-luma-only: ***************** Luma-Only Formats ***************** This family of formats only store the luma component of a Y'CbCr image. They are often referred to as greyscale formats. .. note:: - In all the tables that fo...
Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. planar-yuv: ****************** Planar YUV formats ****************** Planar formats split luma and chroma data in separate memory regions. They exist in two variants: - Semi-planar formats use two planes. The first plane is the luma...
Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _V4L2-PIX-FMT-Z16: ************************* V4L2_PIX_FMT_Z16 ('Z16 ') ************************* 16-bit depth data with distance values at each pixel Description =========== This is a 16-bit format, representing depth data. Each ...
Documentation/userspace-api/media/v4l/pixfmt-z16.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _pixfmt: ############# Image Formats ############# The V4L2 API was primarily designed for devices exchanging image data with applications. The struct :c:type:`v4l2_pix_format` and struct :c:type:`v4l2_pix_format_mplane` structures de...
Documentation/userspace-api/media/v4l/pixfmt.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _planar-apis: ***************************** Single- and multi-planar APIs ***************************** Some devices require data for each input or output video frame to be placed in discontiguous memory buffers. In such cases, one v...
Documentation/userspace-api/media/v4l/planar-apis.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _querycap: ********************* Querying Capabilities ********************* Because V4L2 covers a wide variety of devices not all aspects of the API are equally applicable to all types of devices. Furthermore devices of the same typ...
Documentation/userspace-api/media/v4l/querycap.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _rw: ********** Read/Write ********** Input and output devices support the :c:func:`read()` and :c:func:`write()` function, respectively, when the ``V4L2_CAP_READWRITE`` flag in the ``capabilities`` field of struct :c:type:`v4l2_capa...
Documentation/userspace-api/media/v4l/rw.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _sdr-formats: *********** SDR Formats *********** These formats are used for :ref:`SDR <sdr>` interface only. .. toctree:: :maxdepth: 1 pixfmt-sdr-cu08 pixfmt-sdr-cu16le pixfmt-sdr-cs08 pixfmt-sdr-cs14le pi...
Documentation/userspace-api/media/v4l/sdr-formats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ************* Configuration ************* Applications can use the :ref:`selection API <VIDIOC_G_SELECTION>` to select an area in a video signal or a buffer, and to query for default settings and hardware limits. Video hardware can have...
Documentation/userspace-api/media/v4l/selection-api-configuration.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ******** Examples ******** (A video capture device is assumed; change ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` for other devices; change target to ``V4L2_SEL_TGT_COMPOSE_*`` family to configure composing area) Example: Resetting the cropping par...
Documentation/userspace-api/media/v4l/selection-api-examples.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ************ Introduction ************ Some video capture devices can sample a subsection of a picture and shrink or enlarge it to an image of arbitrary size. Next, the devices can insert the image into larger one. Some video output devi...
Documentation/userspace-api/media/v4l/selection-api-intro.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L ***************** Selection targets ***************** .. _sel-targets-capture: .. kernel-figure:: selection.svg :alt: selection.svg :align: center Cropping and composing targets Targets used by a cropping, composing...
Documentation/userspace-api/media/v4l/selection-api-targets.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _selection-vs-crop: ******************************** Comparison with old cropping API ******************************** The selection API was introduced to cope with deficiencies of the older :ref:`CROP API <crop>`, that was designed ...
Documentation/userspace-api/media/v4l/selection-api-vs-crop-api.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _selection-api: Cropping, composing and scaling -- the SELECTION API ==================================================== .. toctree:: :maxdepth: 1 selection-api-intro.rst selection-api-targets.rst selection-api-con...
Documentation/userspace-api/media/v4l/selection-api.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-selections-common: Common selection definitions ============================ While the :ref:`V4L2 selection API <selection-api>` and :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very similar, there's one funda...
Documentation/userspace-api/media/v4l/selections-common.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _standard: *************** Video Standards *************** Video devices typically support one or more different video standards or variations of standards. Each video input and output may support another set of standards. This set i...
Documentation/userspace-api/media/v4l/standard.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _streaming-par: ******************** Streaming Parameters ******************** Streaming parameters are intended to optimize the video capture process as well as I/O. Presently applications can request a high quality capture mode wit...
Documentation/userspace-api/media/v4l/streaming-par.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _v4l2-mbus-format: Media Bus Formats ================= .. c:type:: v4l2_mbus_framefmt .. tabularcolumns:: |p{2.0cm}|p{4.0cm}|p{11.3cm}| .. cssclass:: longtable .. flat-table:: struct v4l2_mbus_framefmt :header-rows: 0 :st...
Documentation/userspace-api/media/v4l/subdev-formats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _tch-formats: ************* Touch Formats ************* These formats are used for :ref:`touch` interface only. .. toctree:: :maxdepth: 1 pixfmt-tch-td16 pixfmt-tch-td08 pixfmt-tch-tu16 pixfmt-tch-tu08
Documentation/userspace-api/media/v4l/tch-formats.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _tuner: ********************* Tuners and Modulators ********************* Tuners ====== Video input devices can have one or more tuners demodulating a RF signal. Each tuner is associated with one or more video inputs, depending on ...
Documentation/userspace-api/media/v4l/tuner.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _user-func: ****************** Function Reference ****************** .. toctree:: :maxdepth: 1 func-close func-ioctl vidioc-create-bufs vidioc-cropcap vidioc-dbg-g-chip-info vidioc-dbg-g-register vid...
Documentation/userspace-api/media/v4l/user-func.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. c:namespace:: V4L .. _userp: ***************************** Streaming I/O (User Pointers) ***************************** Input and output devices support this I/O method when the ``V4L2_CAP_STREAMING`` flag in the ``capabilities`` field of struct :c:type:`...
Documentation/userspace-api/media/v4l/userp.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later .. _v4l2-isp: ************************ Generic V4L2 ISP formats ************************ Generic ISP formats are metadata formats that define a mechanism to pass ISP parameters and statistics between userspace and drivers in V4L2 buffers. They are designed ...
Documentation/userspace-api/media/v4l/v4l2-isp.rst
null
null
null
null
null