1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/userspace-api/media/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
10 .. _V4L2-SDR-FMT-PCU18BE:
12 ******************************
13 V4L2_SDR_FMT_PCU18BE ('PC18')
14 ******************************
16 Planar complex unsigned 18-bit big endian IQ sample
21 This format contains a sequence of complex number samples. Each complex
22 number consist of two parts called In-phase and Quadrature (IQ). Both I
23 and Q are represented as a 18 bit unsigned big endian number stored in
24 32 bit space. The remaining unused bits within the 32 bit space will be
25 padded with 0. I value starts first and Q value starts at an offset
26 equalling half of the buffer size (i.e.) offset = buffersize/2. Out of
27 the 18 bits, bit 17:2 (16 bit) is data and bit 1:0 (2 bit) can be any
31 Each cell is one byte.
45 - I'\ :sub:`0[1:0]; B2[5:0]=pad`
50 - I'\ :sub:`1[1:0]; B2[5:0]=pad`
56 - Q'\ :sub:`0[1:0]; B2[5:0]=pad`
58 * - start + offset + 4:
61 - Q'\ :sub:`1[1:0]; B2[5:0]=pad`