hi_mpi_vpc_sys_create_chn
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
☓ |
Description
Creates an image processing channel based on the configured channel attributes. The system returns an available channel ID to the user.
Prototype
hi_s32 hi_mpi_vpc_sys_create_chn (hi_vpc_chn *chnl, const hi_vpc_chn_attr *attr)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chnl |
Output |
Pointer to the channel ID for image processing. After this API is called, an available channel ID is returned to the user. |
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. |
Returns
- 0: success
- Other values: failure. For details, see VPC Return Codes.