Creates an image processing channel based on the configured channel attributes. The channel ID is specified by 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_create_chn(hi_vpc_chn chn, const hi_vpc_chn_attr *attr)
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Image processing channel ID, whose value range is [0, 256). The maximum number of channels is 256. |
attr |
Input |
Pointer to the attributes of an image processing channel. |
For the API call sequence, see VPC.