hi_mpi_vpc_create_chn

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

The Atlas Training Series Product does not support this API.

Description

Creates an image processing channel based on the configured channel attributes. The channel ID is specified by the user.

Restrictions

  • If attr is left empty, the error code HI_ERR_VPC_NULL_PTR is returned.
  • Before this API call, ensure that a channel has not been created yet or has been destroyed. Otherwise, a failure is returned.

Prototype

hi_s32 hi_mpi_vpc_create_chn(hi_vpc_chn chn, const hi_vpc_chn_attr *attr)

Parameters

Parameter

Input/Output

Description

chn

Input

Channel ID for image processing.

attr

Input

Pointer to the attributes of an image processing channel.

Returns