diff options
author | Antti Palosaari <crope@iki.fi> | 2014-07-11 12:14:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 19:13:16 -0400 |
commit | dd6b66d039d8a8942ef7e658e6b913ec5bccd201 (patch) | |
tree | a709d5d9f71157e7555cb2371a463621a9e8fc5a /Documentation | |
parent | 9e9e3927ea76c95873f153c19b7c0d7f319dabc4 (diff) |
[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: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt-sdr-ru12le.xml | 40 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/pixfmt.xml | 1 |
2 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-sdr-ru12le.xml b/Documentation/DocBook/media/v4l/pixfmt-sdr-ru12le.xml new file mode 100644 index 000000000000..3df076b99f94 --- /dev/null +++ b/Documentation/DocBook/media/v4l/pixfmt-sdr-ru12le.xml | |||
@@ -0,0 +1,40 @@ | |||
1 | <refentry id="V4L2-SDR-FMT-RU12LE"> | ||
2 | <refmeta> | ||
3 | <refentrytitle>V4L2_SDR_FMT_RU12LE ('RU12')</refentrytitle> | ||
4 | &manvol; | ||
5 | </refmeta> | ||
6 | <refnamediv> | ||
7 | <refname> | ||
8 | <constant>V4L2_SDR_FMT_RU12LE</constant> | ||
9 | </refname> | ||
10 | <refpurpose>Real unsigned 12-bit little endian sample</refpurpose> | ||
11 | </refnamediv> | ||
12 | <refsect1> | ||
13 | <title>Description</title> | ||
14 | <para> | ||
15 | This format contains sequence of real number samples. Each sample is | ||
16 | represented as a 12 bit unsigned little endian number. Sample is stored | ||
17 | in 16 bit space with unused high bits padded with 0. | ||
18 | </para> | ||
19 | <example> | ||
20 | <title><constant>V4L2_SDR_FMT_RU12LE</constant> 1 sample</title> | ||
21 | <formalpara> | ||
22 | <title>Byte Order.</title> | ||
23 | <para>Each cell is one byte. | ||
24 | <informaltable frame="none"> | ||
25 | <tgroup cols="3" align="center"> | ||
26 | <colspec align="left" colwidth="2*" /> | ||
27 | <tbody valign="top"> | ||
28 | <row> | ||
29 | <entry>start + 0:</entry> | ||
30 | <entry>I'<subscript>0[7:0]</subscript></entry> | ||
31 | <entry>I'<subscript>0[11:8]</subscript></entry> | ||
32 | </row> | ||
33 | </tbody> | ||
34 | </tgroup> | ||
35 | </informaltable> | ||
36 | </para> | ||
37 | </formalpara> | ||
38 | </example> | ||
39 | </refsect1> | ||
40 | </refentry> | ||
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml index 12112cd6fe8d..808be13cc6a7 100644 --- a/Documentation/DocBook/media/v4l/pixfmt.xml +++ b/Documentation/DocBook/media/v4l/pixfmt.xml | |||
@@ -859,6 +859,7 @@ interface only.</para> | |||
859 | 859 | ||
860 | &sub-sdr-cu08; | 860 | &sub-sdr-cu08; |
861 | &sub-sdr-cu16le; | 861 | &sub-sdr-cu16le; |
862 | &sub-sdr-ru12le; | ||
862 | 863 | ||
863 | </section> | 864 | </section> |
864 | 865 | ||