hi_mpi_rgn_detach_from_chn

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Deletes an overlay region from a channel. This API can be called repeatedly.

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

Prototype

hi_s32 hi_mpi_rgn_detach_from_chn(hi_rgn_handle handle, const hi_mpp_chn *chn)

Parameters

Parameter

Input/Output

Description

handle

Input

Region handle ID.

Value range: [0, 1024)

chn

Input

Pointer to the channel structure. This parameter cannot be empty.

For details about how to set this parameter, see Table 2.

Returns

Restrictions

The regions must be created before you call this API.

See Also

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