Destroys a created decoding channel and cleans up related resources when the user process exits.
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.
Ensure that a channel has been created. Otherwise, an error code is returned.
hi_s32 hi_mpi_pngd_destroy_chn(hi_pngd_chn chn)
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. |
For the API call sequence, see PNGD.