1 .. -*- coding: utf-8; mode: rst -*-
8 The V4L2 API was primarily designed for devices exchanging image data
9 with applications. The :c:type:`struct v4l2_pix_format` and
10 :c:type:`struct v4l2_pix_format_mplane` structures define the
11 format and layout of an image in memory. The former is used with the
12 single-planar API, while the latter is used with the multi-planar
13 version (see :ref:`planar-apis`). Image formats are negotiated with
14 the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. (The explanations here
15 focus on video capturing and output, for overlay frame buffer formats
16 see also :ref:`VIDIOC_G_FBUF`.)
40 .. ------------------------------------------------------------------------------
41 .. This file was automatically converted from DocBook-XML with the dbxml
42 .. library (https://github.com/return42/sphkerneldoc). The origin XML comes
43 .. from the linux kernel, refer to:
45 .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
46 .. ------------------------------------------------------------------------------