Indexed Format

Video for Linux Two API Specification: Revision 0.24
Prev | Chapter 2. Image Formats | Next

# 2.3. 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-3. 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 | Home | Next
Colorspaces | Up | RGB Formats