hi_mpi_pngd_destroy_chn
The
The
Description
Destroys a created decoding channel and cleans up related resources when the user process exits.
Restrictions
Ensure that a channel has been created. Otherwise, an error code is returned.
Prototype
hi_s32 hi_mpi_pngd_destroy_chn(hi_pngd_chn chn)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Decoding channel ID. The value range of this parameter is [0, 128). The maximum number of channels is 128. |
Returns
- 0: success
- Other values: failure. For details, see PNGD Return Codes.
Parent topic: PNGD