hi_rgn_cover_chn_attr

Description

Defines the channel display attributes of a Cover region.

Prototype

typedef struct {
    hi_cover        cover;
    hi_u32          layer; 
    hi_coord        coord;
} hi_rgn_cover_chn_attr;

Members

Member

Description

cover

Cover attribute. This is a dynamic attribute.

rect indicates the coordinate position, width, and height of the region.

Absolute coordinate (when coord is 0):

  • Region location value range (coordinates):

    X: [–16384, 16382], 2-pixel aligned.

    Y: [–16384, 16382], 2-pixel aligned.

  • Value ranges of the width and height:

    Width: [2, 16384], 2-pixel aligned

    Height: [2, 16384], 2-pixel aligned

layer

Region layer. This is a dynamic attribute.

Value range: [0, Maximum number of supported Cover regions – 1], that is, the value range depends on the maximum number of Cover regions supported by each module. A larger value indicates a higher region layer.

coord

Region coordinate type. This parameter can only be set to 0, indicating the absolute coordinate. This is a dynamic attribute.