diff options
Diffstat (limited to 'Documentation/DocBook/media/v4l/pixfmt-nv12m.xml')
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-nv12m.xml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-nv12m.xml b/Documentation/DocBook/media/v4l/pixfmt-nv12m.xml index 5274c24d11e0..a990b34d911a 100644 --- a/Documentation/DocBook/media/v4l/pixfmt-nv12m.xml +++ b/Documentation/DocBook/media/v4l/pixfmt-nv12m.xml | |||
@@ -1,11 +1,13 @@ | |||
1 | <refentry id="V4L2-PIX-FMT-NV12M"> | 1 | <refentry> |
2 | <refmeta> | 2 | <refmeta> |
3 | <refentrytitle>V4L2_PIX_FMT_NV12M ('NM12')</refentrytitle> | 3 | <refentrytitle>V4L2_PIX_FMT_NV12M ('NM12'), V4L2_PIX_FMT_NV21M ('NM21'), V4L2_PIX_FMT_NV12MT_16X16</refentrytitle> |
4 | &manvol; | 4 | &manvol; |
5 | </refmeta> | 5 | </refmeta> |
6 | <refnamediv> | 6 | <refnamediv> |
7 | <refname> <constant>V4L2_PIX_FMT_NV12M</constant></refname> | 7 | <refname id="V4L2-PIX-FMT-NV12M"><constant>V4L2_PIX_FMT_NV12M</constant></refname> |
8 | <refpurpose>Variation of <constant>V4L2_PIX_FMT_NV12</constant> with planes | 8 | <refname id="V4L2-PIX-FMT-NV21M"><constant>V4L2_PIX_FMT_NV21M</constant></refname> |
9 | <refname id="V4L2-PIX-FMT-NV12MT_16X16"><constant>V4L2_PIX_FMT_NV12MT_16X16</constant></refname> | ||
10 | <refpurpose>Variation of <constant>V4L2_PIX_FMT_NV12</constant> and <constant>V4L2_PIX_FMT_NV21</constant> with planes | ||
9 | non contiguous in memory. </refpurpose> | 11 | non contiguous in memory. </refpurpose> |
10 | </refnamediv> | 12 | </refnamediv> |
11 | <refsect1> | 13 | <refsect1> |
@@ -22,7 +24,12 @@ The CbCr plane is the same width, in bytes, as the Y plane (and of the image), | |||
22 | but is half as tall in pixels. Each CbCr pair belongs to four pixels. For example, | 24 | but is half as tall in pixels. Each CbCr pair belongs to four pixels. For example, |
23 | Cb<subscript>0</subscript>/Cr<subscript>0</subscript> belongs to | 25 | Cb<subscript>0</subscript>/Cr<subscript>0</subscript> belongs to |
24 | Y'<subscript>00</subscript>, Y'<subscript>01</subscript>, | 26 | Y'<subscript>00</subscript>, Y'<subscript>01</subscript>, |
25 | Y'<subscript>10</subscript>, Y'<subscript>11</subscript>. </para> | 27 | Y'<subscript>10</subscript>, Y'<subscript>11</subscript>. |
28 | <constant>V4L2_PIX_FMT_NV12MT_16X16</constant> is the tiled version of | ||
29 | <constant>V4L2_PIX_FMT_NV12M</constant> with 16x16 macroblock tiles. Here pixels | ||
30 | are arranged in 16x16 2D tiles and tiles are arranged in linear order in memory. | ||
31 | <constant>V4L2_PIX_FMT_NV21M</constant> is the same as <constant>V4L2_PIX_FMT_NV12M</constant> | ||
32 | except the Cb and Cr bytes are swapped, the CrCb plane starts with a Cr byte.</para> | ||
26 | 33 | ||
27 | <para><constant>V4L2_PIX_FMT_NV12M</constant> is intended to be | 34 | <para><constant>V4L2_PIX_FMT_NV12M</constant> is intended to be |
28 | used only in drivers and applications that support the multi-planar API, | 35 | used only in drivers and applications that support the multi-planar API, |