Debian Codegraph @

Documentation/userspace-api/media/v4l/pixfmt-indexed.rst

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