hi_rgn_mosaic_chn_attr

Description

Defines the Mosaic region attributes.

Prototype

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

Members

Member

Description

rect

Region position, width, and height. This is a dynamic attribute.

  • 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.

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 Mosaic regions – 1]. In other words, the value range depends on the maximum number of Mosaic regions supported by each module. A larger value indicates a higher region layer.