summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/media/v4l/pixfmt-sdr-cu16le.xml
blob: 26288ffa9071a40ad10f54988f7699f670be6ae5 (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
41
42
43
44
45
46
<refentry id="V4L2-SDR-FMT-CU16LE">
  <refmeta>
    <refentrytitle>V4L2_SDR_FMT_CU16LE ('CU16')</refentrytitle>
    &manvol;
  </refmeta>
    <refnamediv>
      <refname>
        <constant>V4L2_SDR_FMT_CU16LE</constant>
      </refname>
      <refpurpose>Complex unsigned 16-bit little endian IQ sample</refpurpose>
    </refnamediv>
    <refsect1>
      <title>Description</title>
      <para>
This format contains sequence of complex number samples. Each complex number
consist two parts, called In-phase and Quadrature (IQ). Both I and Q are
represented as a 16 bit unsigned little endian number. I value comes first
and Q value after that.
      </para>
    <example>
      <title><constant>V4L2_SDR_FMT_CU16LE</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[15:8]</subscript></entry>
                </row>
                <row>
                  <entry>start&nbsp;+&nbsp;2:</entry>
                  <entry>Q'<subscript>0[7:0]</subscript></entry>
                  <entry>Q'<subscript>0[15:8]</subscript></entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </para>
      </formalpara>
    </example>
  </refsect1>
</refentry>