X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2FDocBook%2Fv4l%2Fdev-capture.xml;h=2237c661f26aceb3a65ec5992bc0dc8e542c7752;hb=2a20b02c055a14eb60ac8da737d79dc940bb9ee0;hp=32807e43f170f6e0bf09d6edd362698969044903;hpb=d94e5fcbf1420366dcb4102bafe04dbcfc0d0d4b;p=pandora-kernel.git
diff --git a/Documentation/DocBook/v4l/dev-capture.xml b/Documentation/DocBook/v4l/dev-capture.xml
index 32807e43f170..2237c661f26a 100644
--- a/Documentation/DocBook/v4l/dev-capture.xml
+++ b/Documentation/DocBook/v4l/dev-capture.xml
@@ -18,7 +18,8 @@ files are used for video output devices.
Querying CapabilitiesDevices supporting the video capture interface set the
-V4L2_CAP_VIDEO_CAPTURE flag in the
+V4L2_CAP_VIDEO_CAPTURE or
+V4L2_CAP_VIDEO_CAPTURE_MPLANE flag in the
capabilities field of &v4l2-capability;
returned by the &VIDIOC-QUERYCAP; ioctl. As secondary device functions
they may also support the video overlay
@@ -64,9 +65,11 @@ linkend="crop" />.To query the current image format applications set the
type field of a &v4l2-format; to
-V4L2_BUF_TYPE_VIDEO_CAPTURE and call the
+V4L2_BUF_TYPE_VIDEO_CAPTURE or
+V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE and call the
&VIDIOC-G-FMT; ioctl with a pointer to this structure. Drivers fill
-the &v4l2-pix-format; pix member of the
+the &v4l2-pix-format; pix or the
+&v4l2-pix-format-mplane; pix_mp member of the
fmt union.To request different parameters applications set the
@@ -84,8 +87,8 @@ adjust the parameters and finally return the actual parameters as
without disabling I/O or possibly time consuming hardware
preparations.
- The contents of &v4l2-pix-format; are discussed in . See also the specification of the
+ The contents of &v4l2-pix-format; and &v4l2-pix-format-mplane;
+are discussed in . See also the specification of the
VIDIOC_G_FMT, VIDIOC_S_FMT
and VIDIOC_TRY_FMT ioctls for details. Video
capture devices must implement both the