Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
[pandora-kernel.git] / Documentation / DocBook / v4l / subdev-formats.xml
index b5376e2..d7ccd25 100644 (file)
       <para>Those formats transfer pixel data as red, green and blue components.
       The format code is made of the following information.
       <itemizedlist>
-       <listitem>The red, green and blue components order code, as encoded in a
-       pixel sample. Possible values are RGB and BGR.</listitem>
-       <listitem>The number of bits per component, for each component. The values
-       can be different for all components. Common values are 555 and 565.
+       <listitem><para>The red, green and blue components order code, as encoded in a
+       pixel sample. Possible values are RGB and BGR.</para></listitem>
+       <listitem><para>The number of bits per component, for each component. The values
+       can be different for all components. Common values are 555 and 565.</para>
        </listitem>
-       <listitem>The number of bus samples per pixel. Pixels that are wider than
+       <listitem><para>The number of bus samples per pixel. Pixels that are wider than
        the bus width must be transferred in multiple samples. Common values are
-       1 and 2.</listitem>
-       <listitem>The bus width.</listitem>
-       <listitem>For formats where the total number of bits per pixel is smaller
+       1 and 2.</para></listitem>
+       <listitem><para>The bus width.</para></listitem>
+       <listitem><para>For formats where the total number of bits per pixel is smaller
        than the number of bus samples per pixel times the bus width, a padding
        value stating if the bytes are padded in their most high order bits
-       (PADHI) or low order bits (PADLO).</listitem>
-       <listitem>For formats where the number of bus samples per pixel is larger
+       (PADHI) or low order bits (PADLO).</para></listitem>
+       <listitem><para>For formats where the number of bus samples per pixel is larger
        than 1, an endianness value stating if the pixel is transferred MSB first
-       (BE) or LSB first (LE).</listitem>
+       (BE) or LSB first (LE).</para></listitem>
       </itemizedlist>
       </para>
 
       <para>Those formats transfer pixel data as red, green and blue components.
       The format code is made of the following information.
       <itemizedlist>
-       <listitem>The red, green and blue components order code, as encoded in a
+       <listitem><para>The red, green and blue components order code, as encoded in a
        pixel sample. The possible values are shown in <xref
-       linkend="bayer-patterns" />.</listitem>
-       <listitem>The number of bits per pixel component. All components are
-       transferred on the same number of bits. Common values are 8, 10 and 12.
+       linkend="bayer-patterns" />.</para></listitem>
+       <listitem><para>The number of bits per pixel component. All components are
+       transferred on the same number of bits. Common values are 8, 10 and 12.</para>
        </listitem>
-       <listitem>If the pixel components are DPCM-compressed, a mention of the
-       DPCM compression and the number of bits per compressed pixel component.
+       <listitem><para>If the pixel components are DPCM-compressed, a mention of the
+       DPCM compression and the number of bits per compressed pixel component.</para>
        </listitem>
-       <listitem>The number of bus samples per pixel. Pixels that are wider than
+       <listitem><para>The number of bus samples per pixel. Pixels that are wider than
        the bus width must be transferred in multiple samples. Common values are
-       1 and 2.</listitem>
-       <listitem>The bus width.</listitem>
-       <listitem>For formats where the total number of bits per pixel is smaller
+       1 and 2.</para></listitem>
+       <listitem><para>The bus width.</para></listitem>
+       <listitem><para>For formats where the total number of bits per pixel is smaller
        than the number of bus samples per pixel times the bus width, a padding
        value stating if the bytes are padded in their most high order bits
-       (PADHI) or low order bits (PADLO).</listitem>
-       <listitem>For formats where the number of bus samples per pixel is larger
+       (PADHI) or low order bits (PADLO).</para></listitem>
+       <listitem><para>For formats where the number of bus samples per pixel is larger
        than 1, an endianness value stating if the pixel is transferred MSB first
-       (BE) or LSB first (LE).</listitem>
+       (BE) or LSB first (LE).</para></listitem>
       </itemizedlist>
       </para>
 
              <entry>b<subscript>1</subscript></entry>
              <entry>b<subscript>0</subscript></entry>
            </row>
+           <row id="V4L2-MBUS-FMT-SGBRG8-1X8">
+             <entry>V4L2_MBUS_FMT_SGBRG8_1X8</entry>
+             <entry>0x3013</entry>
+             <entry></entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>g<subscript>7</subscript></entry>
+             <entry>g<subscript>6</subscript></entry>
+             <entry>g<subscript>5</subscript></entry>
+             <entry>g<subscript>4</subscript></entry>
+             <entry>g<subscript>3</subscript></entry>
+             <entry>g<subscript>2</subscript></entry>
+             <entry>g<subscript>1</subscript></entry>
+             <entry>g<subscript>0</subscript></entry>
+           </row>
            <row id="V4L2-MBUS-FMT-SGRBG8-1X8">
              <entry>V4L2_MBUS_FMT_SGRBG8_1X8</entry>
              <entry>0x3002</entry>
              <entry>g<subscript>1</subscript></entry>
              <entry>g<subscript>0</subscript></entry>
            </row>
+           <row id="V4L2-MBUS-FMT-SRGGB8-1X8">
+             <entry>V4L2_MBUS_FMT_SRGGB8_1X8</entry>
+             <entry>0x3014</entry>
+             <entry></entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>r<subscript>7</subscript></entry>
+             <entry>r<subscript>6</subscript></entry>
+             <entry>r<subscript>5</subscript></entry>
+             <entry>r<subscript>4</subscript></entry>
+             <entry>r<subscript>3</subscript></entry>
+             <entry>r<subscript>2</subscript></entry>
+             <entry>r<subscript>1</subscript></entry>
+             <entry>r<subscript>0</subscript></entry>
+           </row>
            <row id="V4L2-MBUS-FMT-SBGGR10-DPCM8-1X8">
              <entry>V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8</entry>
              <entry>0x300b</entry>
       <para>Those data formats transfer pixel data as (possibly downsampled) Y, U
       and V components. The format code is made of the following information.
       <itemizedlist>
-       <listitem>The Y, U and V components order code, as transferred on the
-       bus. Possible values are YUYV, UYVY, YVYU and VYUY.</listitem>
-       <listitem>The number of bits per pixel component. All components are
-       transferred on the same number of bits. Common values are 8, 10 and 12.
+       <listitem><para>The Y, U and V components order code, as transferred on the
+       bus. Possible values are YUYV, UYVY, YVYU and VYUY.</para></listitem>
+       <listitem><para>The number of bits per pixel component. All components are
+       transferred on the same number of bits. Common values are 8, 10 and 12.</para>
        </listitem>
-       <listitem>The number of bus samples per pixel. Pixels that are wider than
+       <listitem><para>The number of bus samples per pixel. Pixels that are wider than
        the bus width must be transferred in multiple samples. Common values are
-       1, 1.5 (encoded as 1_5) and 2.</listitem>
-       <listitem>The bus width. When the bus width is larger than the number of
+       1, 1.5 (encoded as 1_5) and 2.</para></listitem>
+       <listitem><para>The bus width. When the bus width is larger than the number of
        bits per pixel component, several components are packed in a single bus
        sample. The components are ordered as specified by the order code, with
        components on the left of the code transferred in the high order bits.
-       Common values are 8 and 16.
+       Common values are 8 and 16.</para>
        </listitem>
       </itemizedlist>
       </para>
              <entry>u<subscript>1</subscript></entry>
              <entry>u<subscript>0</subscript></entry>
            </row>
+           <row id="V4L2-MBUS-FMT-Y12-1X12">
+             <entry>V4L2_MBUS_FMT_Y12_1X12</entry>
+             <entry>0x2013</entry>
+             <entry></entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>-</entry>
+             <entry>y<subscript>11</subscript></entry>
+             <entry>y<subscript>10</subscript></entry>
+             <entry>y<subscript>9</subscript></entry>
+             <entry>y<subscript>8</subscript></entry>
+             <entry>y<subscript>7</subscript></entry>
+             <entry>y<subscript>6</subscript></entry>
+             <entry>y<subscript>5</subscript></entry>
+             <entry>y<subscript>4</subscript></entry>
+             <entry>y<subscript>3</subscript></entry>
+             <entry>y<subscript>2</subscript></entry>
+             <entry>y<subscript>1</subscript></entry>
+             <entry>y<subscript>0</subscript></entry>
+           </row>
            <row id="V4L2-MBUS-FMT-UYVY8-1X16">
              <entry>V4L2_MBUS_FMT_UYVY8_1X16</entry>
              <entry>0x200f</entry>