^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _V4L2-SDR-FMT-CS14LE:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ****************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) V4L2_SDR_FMT_CS14LE ('CS14')
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) ****************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Complex signed 14-bit little endian IQ sample
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) This format contains sequence of complex number samples. Each complex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) number consist two parts, called In-phase and Quadrature (IQ). Both I
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) and Q are represented as a 14 bit signed little endian number. I value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) comes first and Q value after that. 14 bit value is stored in 16 bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) space with unused high bits padded with 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) **Byte Order.**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Each cell is one byte.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) :header-rows: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) * - start + 0:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - I'\ :sub:`0[7:0]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - I'\ :sub:`0[13:8]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) * - start + 2:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - Q'\ :sub:`0[7:0]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - Q'\ :sub:`0[13:8]`