Failed to Create a VPC Channel
Symptom
The error code HI_ERR_VPC_EXIST is returned when hi_mpi_vpc_create_chn is called to create a channel. Information similar to the following is displayed in the log, which may vary in different versions:
device 0, chn 0 has already been created!
Or
dev 0 chnl 0 is busy
Possible Cause
For the VPC module, you must specify a unique channel ID to create a channel by calling hi_mpi_vpc_create_chn. The cause is that the channel ID already exists.
Fault Locating
Check the usage of the channel ID in the code.
Solution
1. Call hi_mpi_vpc_create_chn using a unique channel ID.
2. Call hi_mpi_vpc_sys_create_chn first so that the system allocates a unique channel ID.
Parent topic: VPC Image Processing