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

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

[media] DocBook: V4L: add V4L2_SDR_FMT_RU12LE - 'RU12'



Document V4L2_SDR_FMT_RU12LE format. It is real unsigned 12-bit
little endian sample inside 16-bit space. Used by software defined
radio devices.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 9e9e3927
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
<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>
+1 −0
Original line number Diff line number Diff line
@@ -859,6 +859,7 @@ interface only.</para>

    &sub-sdr-cu08;
    &sub-sdr-cu16le;
    &sub-sdr-ru12le;

  </section>