hi_mpi_pngd_destroy_chn
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
☓ |
Description
Destroys a created decoding channel and cleans up related resources when the user process exits.
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.
Restrictions
Ensure that a channel has been created. Otherwise, an error code is returned.
Parent topic: PNG Decoder (PNGD)