hi_mpi_vpc_create_chn
The
The
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
- 0: success
- Other values: failure. For details, see VPC Return Codes.
Parent topic: VPC