diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-03-02 04:43:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 08:26:37 -0400 |
commit | fbcb2dc3519ac09068e09ef8c1de35e006de29ec (patch) | |
tree | 0fed4c4f39e6a85f62f6f4ea98dd1102efa8dc32 | |
parent | f97881fe500026053c24d2a0ef8aebfd3c2a1ca8 (diff) |
[media] media DocBook: fix NV16M description
The NV16M description contained some copy-and-paste text from NV12M,
suggesting that this format is a 4:2:0 format when it really is a
4:2:2 format.
Fixed the text.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-nv16m.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml b/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml index c51d5a4cda09..fb2b5e35d665 100644 --- a/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml +++ b/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml | |||
@@ -12,18 +12,17 @@ | |||
12 | <refsect1> | 12 | <refsect1> |
13 | <title>Description</title> | 13 | <title>Description</title> |
14 | 14 | ||
15 | <para>This is a multi-planar, two-plane version of the YUV 4:2:0 format. | 15 | <para>This is a multi-planar, two-plane version of the YUV 4:2:2 format. |
16 | The three components are separated into two sub-images or planes. | 16 | The three components are separated into two sub-images or planes. |
17 | <constant>V4L2_PIX_FMT_NV16M</constant> differs from <constant>V4L2_PIX_FMT_NV16 | 17 | <constant>V4L2_PIX_FMT_NV16M</constant> differs from <constant>V4L2_PIX_FMT_NV16 |
18 | </constant> in that the two planes are non-contiguous in memory, i.e. the chroma | 18 | </constant> in that the two planes are non-contiguous in memory, i.e. the chroma |
19 | plane does not necessarily immediately follows the luma plane. | 19 | plane does not necessarily immediately follow the luma plane. |
20 | The luminance data occupies the first plane. The Y plane has one byte per pixel. | 20 | The luminance data occupies the first plane. The Y plane has one byte per pixel. |
21 | In the second plane there is chrominance data with alternating chroma samples. | 21 | In the second plane there is chrominance data with alternating chroma samples. |
22 | The CbCr plane is the same width and height, in bytes, as the Y plane. | 22 | The CbCr plane is the same width and height, in bytes, as the Y plane. |
23 | Each CbCr pair belongs to four pixels. For example, | 23 | Each CbCr pair belongs to two pixels. For example, |
24 | Cb<subscript>0</subscript>/Cr<subscript>0</subscript> belongs to | 24 | Cb<subscript>0</subscript>/Cr<subscript>0</subscript> belongs to |
25 | Y'<subscript>00</subscript>, Y'<subscript>01</subscript>, | 25 | Y'<subscript>00</subscript>, Y'<subscript>01</subscript>. |
26 | Y'<subscript>10</subscript>, Y'<subscript>11</subscript>. | ||
27 | <constant>V4L2_PIX_FMT_NV61M</constant> is the same as <constant>V4L2_PIX_FMT_NV16M</constant> | 26 | <constant>V4L2_PIX_FMT_NV61M</constant> is the same as <constant>V4L2_PIX_FMT_NV16M</constant> |
28 | except the Cb and Cr bytes are swapped, the CrCb plane starts with a Cr byte.</para> | 27 | except the Cb and Cr bytes are swapped, the CrCb plane starts with a Cr byte.</para> |
29 | 28 | ||