hi_rgn_canvas_info

Function

Defines the canvas information.

Definition

typedef struct {
    hi_phys_addr_t                 phys_addr;
    hi_size                        size;
    hi_u32                         stride;
    hi_pixel_format                pixel_format;
    hi_void  ATTRIBUTE             *virt_addr;
} hi_rgn_canvas_info;

For details about basic data types hi_u32 and hi_void, see Basic Data Types.

Members

Member

Description

phys_addr

Physical address of the canvas. For details, see hi_phys_addr_t.

size

Canvas size. For details, see hi_size.

stride

Canvas stride.

pixel_format

Pixel format of the canvas. For details, see hi_pixel_format.

virt_addr

Virtual address of the canvas.

The user bitmap data is copied to the buffer defined by this address for updating the canvas content.