Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a670c42 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] DocBook: V4L: add V4L2_SDR_FMT_CU8 - 'CU08'



Document V4L2_SDR_FMT_CU8 SDR format.
It is complex unsigned 8-bit IQ sample. Used by software defined
radio devices.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 8dfe644b
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
<refentry id="V4L2-SDR-FMT-CU08">
  <refmeta>
    <refentrytitle>V4L2_SDR_FMT_CU8 ('CU08')</refentrytitle>
    &manvol;
  </refmeta>
    <refnamediv>
      <refname>
        <constant>V4L2_SDR_FMT_CU8</constant>
      </refname>
      <refpurpose>Complex unsigned 8-bit 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 8 bit unsigned number. I value comes first and Q value after
that.
      </para>
    <example>
      <title><constant>V4L2_SDR_FMT_CU8</constant> 1 sample</title>
      <formalpara>
        <title>Byte Order.</title>
        <para>Each cell is one byte.
          <informaltable frame="none">
            <tgroup cols="2" align="center">
              <colspec align="left" colwidth="2*" />
              <tbody valign="top">
                <row>
                  <entry>start&nbsp;+&nbsp;0:</entry>
                  <entry>I'<subscript>0</subscript></entry>
                </row>
                <row>
                  <entry>start&nbsp;+&nbsp;1:</entry>
                  <entry>Q'<subscript>0</subscript></entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </para>
      </formalpara>
    </example>
  </refsect1>
</refentry>
+2 −0
Original line number Diff line number Diff line
@@ -817,6 +817,8 @@ extended control <constant>V4L2_CID_MPEG_STREAM_TYPE</constant>, see
    <para>These formats are used for <link linkend="sdr">SDR Capture</link>
interface only.</para>

    &sub-sdr-cu08;

  </section>

  <section id="pixfmt-reserved">