^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) .. _pixfmt-indexed:
^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) Indexed Format
^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) In this format each pixel is represented by an 8 bit index into a 256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) entry ARGB palette. It is intended for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) :ref:`Video Output Overlays <osd>` only. There are no ioctls to access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) the palette, this must be done with ioctls of the Linux framebuffer API.
^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)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) .. flat-table:: Indexed Image Format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) :header-rows: 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) * - Identifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - Code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - :cspan:`7` Byte 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - Bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - 6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) * .. _V4L2-PIX-FMT-PAL8:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - ``V4L2_PIX_FMT_PAL8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - 'PAL8'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) - i\ :sub:`7`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - i\ :sub:`6`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - i\ :sub:`5`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) - i\ :sub:`4`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - i\ :sub:`3`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - i\ :sub:`2`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) - i\ :sub:`1`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) - i\ :sub:`0`