hi_mpi_rgn_update_canvas
Applicability
|
Product |
Supported |
|---|---|
|
|
x |
|
|
x |
|
|
√ |
|
|
x |
|
|
x |
Description
Updates the canvas of a region.
The
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.
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 API.
- This API supports only OVERLAYEX regions.
Parent topic: Region Management