hi_cover

Description

Defines the coverage parameters.

Prototype

typedef struct {
    hi_cover_type type;
    union {
        hi_rect rect;
        hi_quad_cover quad;
    };
    hi_u32 color;
} hi_cover;

Members

Member

Description

type

Coverage type.

rect

Coverage area.

When the image format is YUV422SP or YUV420SP, the values of x, y, width, and height must be even numbers.

quad

User-defined cover region.

color

Color value of a coverage area. The lower 24 bits are valid.