Merge branch 'topic/docs-next' into v4l_for_linus
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-indexed.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _pixfmt-indexed:
4
5 **************
6 Indexed Format
7 **************
8
9 In this format each pixel is represented by an 8 bit index into a 256
10 entry ARGB palette. It is intended for
11 :ref:`Video Output Overlays <osd>` only. There are no ioctls to access
12 the 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
21     -  .. row 1
22
23        -  Identifier
24
25        -  Code
26
27        -
28        -  :cspan:`7` Byte 0
29
30     -  .. row 2
31
32        -
33        -
34        -  Bit
35
36        -  7
37
38        -  6
39
40        -  5
41
42        -  4
43
44        -  3
45
46        -  2
47
48        -  1
49
50        -  0
51
52     -  .. _V4L2-PIX-FMT-PAL8:
53
54        -  ``V4L2_PIX_FMT_PAL8``
55
56        -  'PAL8'
57
58        -
59        -  i\ :sub:`7`
60
61        -  i\ :sub:`6`
62
63        -  i\ :sub:`5`
64
65        -  i\ :sub:`4`
66
67        -  i\ :sub:`3`
68
69        -  i\ :sub:`2`
70
71        -  i\ :sub:`1`
72
73        -  i\ :sub:`0`