Indexed Format
Prev | Chapter 2. Image Formats | Next

## Indexed Format

In this format each pixel is represented by an 8 bit index into a 256 entry ARGB palette. It is intended for Video Output Overlays only. There are no ioctls to access the palette, this must be done with ioctls of the Linux framebuffer API.

Table 2.17. Indexed Image Format

Identifier | Code |  | Byte 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
|  | Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
`V4L2_PIX_FMT_PAL8` | 'PAL8' |  | i7 | i6 | i5 | i4 | i3 | i2 | i1 | i0 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

Prev | Up | Next
Detailed Transfer Function Descriptions | Home | RGB Formats