fb_cmap

Description

Defines the color map of HiFB. This is a native struct of the Linux FrameBuffer.

Prototype

struct fb_cmap {
    __u32 start;           /* First entry  */
    __u32 len;             /* Number of entries */
    __u16 *red;            /* Red values   */
    __u16 *green;
    __u16 *blue;
    __u16 *transp;         /* transparency, can be NULL */
};

Members

Member

Description

start

Ingress index of the color map.

len

Color map length (number of maps of a single color component).

The value contains a maximum of 256 characters.

red

Red component map.

green

Green component map.

blue

Blue component map.

transp

Alpha component map.