summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/media/v4l/pixfmt-sdr-ru12le.xml
blob: 3df076b99f941ca2d199078bee8d276b940eda8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<refentry id="V4L2-SDR-FMT-RU12LE">
  <refmeta>
    <refentrytitle>V4L2_SDR_FMT_RU12LE ('RU12')</refentrytitle>
    &manvol;
  </refmeta>
    <refnamediv>
      <refname>
        <constant>V4L2_SDR_FMT_RU12LE</constant>
      </refname>
      <refpurpose>Real unsigned 12-bit little endian sample</refpurpose>
    </refnamediv>
    <refsect1>
      <title>Description</title>
      <para>
This format contains sequence of real number samples. Each sample is
represented as a 12 bit unsigned little endian number. Sample is stored
in 16 bit space with unused high bits padded with 0.
      </para>
    <example>
      <title><constant>V4L2_SDR_FMT_RU12LE</constant> 1 sample</title>
      <formalpara>
        <title>Byte Order.</title>
        <para>Each cell is one byte.
          <informaltable frame="none">
            <tgroup cols="3" align="center">
              <colspec align="left" colwidth="2*" />
              <tbody valign="top">
                <row>
                  <entry>start&nbsp;+&nbsp;0:</entry>
                  <entry>I'<subscript>0[7:0]</subscript></entry>
                  <entry>I'<subscript>0[11:8]</subscript></entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </para>
      </formalpara>
    </example>
  </refsect1>
</refentry>