| 1 |
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later |
| 2 |
.. c:namespace:: V4L |
| 3 |
|
| 4 |
.. _V4L2-SDR-FMT-PCU16BE: |
| 5 |
|
| 6 |
****************************** |
| 7 |
V4L2_SDR_FMT_PCU16BE ('PC16') |
| 8 |
****************************** |
| 9 |
|
| 10 |
Planar complex unsigned 16-bit big endian IQ sample |
| 11 |
|
| 12 |
Description |
| 13 |
=========== |
| 14 |
|
| 15 |
This format contains a sequence of complex number samples. Each complex |
| 16 |
number consist of two parts called In-phase and Quadrature (IQ). Both I |
| 17 |
and Q are represented as a 16 bit unsigned big endian number stored in |
| 18 |
32 bit space. The remaining unused bits within the 32 bit space will be |
| 19 |
padded with 0. I value starts first and Q value starts at an offset |
| 20 |
equalling half of the buffer size (i.e.) offset = buffersize/2. Out of |
| 21 |
the 16 bits, bit 15:2 (14 bit) is data and bit 1:0 (2 bit) can be any |
| 22 |
value. |
| 23 |
|
| 24 |
**Byte Order.** |
| 25 |
Each cell is one byte. |
| 26 |
|
| 27 |
.. flat-table:: |
| 28 |
:header-rows: 1 |
| 29 |
:stub-columns: 0 |
| 30 |
|
| 31 |
* - Offset: |
| 32 |
- Byte B0 |
| 33 |
- Byte B1 |
| 34 |
- Byte B2 |
| 35 |
- Byte B3 |
| 36 |
* - start + 0: |
| 37 |
- I'\ :sub:`0[13:6]` |
| 38 |
- I'\ :sub:`0[5:0]; B1[1:0]=pad` |
| 39 |
- pad |
| 40 |
- pad |
| 41 |
* - start + 4: |
| 42 |
- I'\ :sub:`1[13:6]` |
| 43 |
- I'\ :sub:`1[5:0]; B1[1:0]=pad` |
| 44 |
- pad |
| 45 |
- pad |
| 46 |
* - ... |
| 47 |
* - start + offset: |
| 48 |
- Q'\ :sub:`0[13:6]` |
| 49 |
- Q'\ :sub:`0[5:0]; B1[1:0]=pad` |
| 50 |
- pad |
| 51 |
- pad |
| 52 |
* - start + offset + 4: |
| 53 |
- Q'\ :sub:`1[13:6]` |
| 54 |
- Q'\ :sub:`1[5:0]; B1[1:0]=pad` |
| 55 |
- pad |
| 56 |
- pad |