hi_rgn_mosaic_chn_attr

Function

Defines the Mosaic region attributes.

Definition

typedef struct {
    hi_rect           rect;
    hi_blk_size       blk_size;
    hi_u32            layer;
} hi_rgn_mosaic_chn_attr;

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

Members

Member

Description

rect

Region position, width, and height. This is a dynamic attribute. For details, see hi_rect.

  • Region location value range (coordinates):

    X: [–16384, 16384]

    Y: [–16384, 16384]

  • Value ranges of the width and height:

    Width: [8, 16384]

    Height: [8, 16384]

blk_size

Region block size. This is a dynamic attribute. For details, see hi_blk_size.

Only HI_BLK_SIZE_8, HI_BLK_SIZE_16, and HI_BLK_SIZE_32 are supported.

layer

Mosaic 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 Mosaic regions supported by each module. A larger value indicates a higher region layer.