hi_rgn_canvas_info

Description

Defines the canvas information.

Prototype

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;

Members

Member

Description

phys_addr

Physical address of the canvas.

size

Canvas size.

stride

Canvas stride.

pixel_format

Pixel format of the canvas.

virt_addr

Virtual address of the canvas.

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