hi_mpi_vpss_destroy_grp

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

Destroys a VPSS group.

Prototype

hi_s32 hi_mpi_vpss_destroy_grp(hi_vpss_grp grp)

Parameters

Parameter

Input/Output

Description

grp

Input

VPSS group ID.

The value range is [0, 264). If the 3DNR function is enabled by setting the hi_vpss_grp_attr.nr_en parameter of the hi_mpi_vpss_create_grp API, the value range of the VPSS group ID is [256, 268).

Returns

Restrictions

  • A VPSS group must have been created. For details, see hi_mpi_vpss_create_grp.
  • Before invoking this interface, you must invoke the hi_mpi_vpss_stop_grp interface to disable the group.
  • When this API is used, a VPSS group will only be destroyed after the current task in the group is completed.