hi_mpi_vpss_set_chn_attr

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

☓

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

☓

Function

Sets the attributes of a physical VPSS channel.

Prototype

hi_s32 hi_mpi_vpss_set_chn_attr(hi_vpss_grp grp, hi_vpss_chn chn, const hi_vpss_chn_attr *chn_attr)

Parameters

Parameter

Input/Output

Description

grp

Input

VPSS group ID.

Value range: [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).

chn

Input

VPSS channel ID.

Value range: [0, 2)

chn_attr

Input

VPSS channel attributes.

Returns

Restrictions

A VPSS group must have been created. For details, see hi_mpi_vpss_create_grp.