hi_mpi_vpss_create_grp

Applicability

Product

Supported

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

Description

Creates a VPSS group.

Prototype

hi_s32 hi_mpi_vpss_create_grp(hi_vpss_grp grp, const hi_vpss_grp_attr *grp_attr)

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).

grp_attr

Input

Pointer to VPSS group attributes.

Returns

Restrictions

  • Repeated creation is not supported.
  • If 3DNR needs to be enabled, the height cannot be greater than 8192. Otherwise, the 3DNR algorithm is automatically bypassed.