hi_mpi_rgn_update_canvas

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

☓

Atlas A3 training products / Atlas A3 inference products

☓

Atlas A2 training products / Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Updates the canvas of a region.

The Ascend EP form of Atlas 200I/500 A2 inference products does not support this API.

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

Restrictions

  • The regions must have been 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.
  • Canvas information must be obtained each time before this API is called.
  • This API supports only OVERLAYEX regions.

Reference

For the API call sequence, see Video Decoding, Processing, and Display (NVR Scenario).