diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml
index f535d9ba5111315c3f595d3dfd2169b6fc295df2..ea514d6075c505a7795891d2f218b5a6e5bef6e9 100644
--- a/Documentation/DocBook/media/v4l/pixfmt.xml
+++ b/Documentation/DocBook/media/v4l/pixfmt.xml
@@ -25,7 +25,12 @@ capturing and output, for overlay frame buffer formats see also
__u32
height
- Image height in pixels.
+ Image height in pixels. If field is
+ one of V4L2_FIELD_TOP, V4L2_FIELD_BOTTOM
+ or V4L2_FIELD_ALTERNATE then height refers to the
+ number of lines in the field, otherwise it refers to the number of
+ lines in the frame (which is twice the field height for interlaced
+ formats).
Applications set these fields to
@@ -54,7 +59,7 @@ linkend="reserved-formats" />
can request to capture or output only the top or bottom field, or both
fields interlaced or sequentially stored in one buffer or alternating
in separate buffers. Drivers return the actual field order selected.
-For details see .
+For more details on fields see .
__u32
@@ -81,7 +86,10 @@ plane and is divided by the same factor as the
example the Cb and Cr planes of a YUV 4:2:0 image have half as many
padding bytes following each line as the Y plane. To avoid ambiguities
drivers must return a bytesperline value
-rounded up to a multiple of the scale factor.
+rounded up to a multiple of the scale factor.
+For compressed formats the bytesperline
+value makes no sense. Applications and drivers must set this to 0 in
+that case.
__u32
@@ -97,7 +105,8 @@ hold an image.
&v4l2-colorspace;
colorspace
This information supplements the
-pixelformat and must be set by the driver,
+pixelformat and must be set by the driver for
+capture streams and by the application for output streams,
see .
@@ -135,7 +144,7 @@ set this field to zero.
__u16
bytesperline
Distance in bytes between the leftmost pixels in two adjacent
- lines.
+ lines. See &v4l2-pix-format;.
__u16
@@ -154,12 +163,12 @@ set this field to zero.
__u32
width
- Image width in pixels.
+ Image width in pixels. See &v4l2-pix-format;.
__u32
height
- Image height in pixels.
+ Image height in pixels. See &v4l2-pix-format;.
__u32