hi_cover

Function

Defines the coverage parameters.

Definition

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

For details about basic data type hi_u32, see Basic Data Types.

Members

Member

Description

type

Coverage type. For details, see hi_cover_type.

rect

Coverage area. For details, see hi_rect.

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. For details, see hi_quad_cover.

color

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