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