hi_mpi_rgn_set_display_attr

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Set the channel display attributes of a region.

Restrictions

  • The regions must be created before you call this API.
  • You are advised to obtain the attributes before setting them.
  • Call hi_mpi_rgn_attach_to_chn to overlay a region on a channel first.

Prototype

hi_s32 hi_mpi_rgn_set_display_attr(hi_rgn_handle handle, const hi_mpp_chn *chn, const 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

Input

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

Static attributes cannot be modified, but dynamic attributes can be modified.

Returns