hi_fb_alpha

Description

Defines the HiFB alpha struct.

Prototype

typedef struct {
    hi_bool alpha_en;
    hi_bool alpha_chn_en;
    hi_u8 alpha0;
    hi_u8 alpha1;
    hi_u8 global_alpha;
    hi_u8 reserved;
} hi_fb_alpha;

Members

Member

Description

alpha_en

Whether to enable alpha overlay.

alpha_chn_en

Whether to enable alpha channel overlay.

alpha0

Alpha value selected when the alpha channel 0 is used. Not supported in the current version.

alpha1

Alpha value selected when the alpha channel 1 is used. Not supported in the current version.

global_alpha

Global alpha value. The value ranges from 0 to 255. Default value: 255. It takes effect when the alpha channel is enabled.

reserved

Reserved and not supported by the current version.