hi_mpi_rgn_get_display_attr

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Obtains the channel display attributes of a region.

This API is not supported in the Ascend EP form of Atlas 200I/500 A2 inference product .

Prototype

hi_s32 hi_mpi_rgn_get_display_attr(hi_rgn_handle handle, const hi_mpp_chn *chn, hi_rgn_chn_attr *chn_attr)

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.

chn_attr

Output

Pointer to the channel display attributes of a region. This parameter cannot be null.

Returns

Restrictions

The regions must be created before you call this API.

See Also

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