hi_osd

Description

Defines the OSD parameters.

Prototype

typedef struct {
    hi_rect rect;
    hi_pixel_format pixel_format;
    hi_void* picture_address;
    hi_u32 stride;
    hi_u32 bg_alpha;
    hi_u32 fg_alpha;
    hi_osd_inverted_color osd_inverted_color;
} hi_osd;

Members

Member

Description

rect

OSD region coordinates.

pixel_format

OSD image format.

picture_address

OSD image address.

stride

OSD image stride.

bg_alpha

Background alpha.

fg_alpha

Foreground alpha.

osd_inverted_color

Color inversion type.