Creates an image processing channel based on the configured channel attributes. The system returns an available channel ID to the user.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
hi_s32 hi_mpi_vpc_sys_create_chn(hi_vpc_chn *chnl, const hi_vpc_chn_attr *attr)
Parameter |
Input/Output |
Description |
|---|---|---|
chnl |
Output |
Pointer to the image processing channel ID. The value range is [0, 256). This API call outputs a channel ID to the user.
typedef hi_s32 hi_vpc_chn; |
attr |
Input |
Pointer to the attributes of an image processing channel. If attr is left empty, the error code HI_ERR_VPC_NULL_PTR is returned. |