hi_mpi_rgn_update_canvas
The
The
Description
Updates the canvas of a region.
Restrictions
- The regions must be created before you call this API.
- This API works with hi_mpi_rgn_get_canvas_info. It is used to switch the canvas display after the canvas memory data is updated.
- Obtain canvas information each time before calling this MPI.
- This API supports only OVERLAYEX regions.
Prototype
hi_s32 hi_mpi_rgn_update_canvas(hi_rgn_handle handle)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
handle |
Input |
Region handle ID. Value range: [0, 1024) |
Returns
- 0: success.
- Other values: failure. For details, see Region Management Return Codes.
Parent topic: Region Management