Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 
0003 .. _pixfmt-indexed:
0004 
0005 **************
0006 Indexed Format
0007 **************
0008 
0009 In this format each pixel is represented by an 8 bit index into a 256
0010 entry ARGB palette. It is intended for
0011 :ref:`Video Output Overlays <osd>` only. There are no ioctls to access
0012 the palette, this must be done with ioctls of the Linux framebuffer API.
0013 
0014 
0015 
0016 .. flat-table:: Indexed Image Format
0017     :header-rows:  2
0018     :stub-columns: 0
0019 
0020     * - Identifier
0021       - Code
0022       -
0023       - :cspan:`7` Byte 0
0024     * -
0025       -
0026       - Bit
0027       - 7
0028       - 6
0029       - 5
0030       - 4
0031       - 3
0032       - 2
0033       - 1
0034       - 0
0035     * .. _V4L2-PIX-FMT-PAL8:
0036 
0037       - ``V4L2_PIX_FMT_PAL8``
0038       - 'PAL8'
0039       -
0040       - i\ :sub:`7`
0041       - i\ :sub:`6`
0042       - i\ :sub:`5`
0043       - i\ :sub:`4`
0044       - i\ :sub:`3`
0045       - i\ :sub:`2`
0046       - i\ :sub:`1`
0047       - i\ :sub:`0`