hi_mpi_pngd_destroy_chn

Description

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.

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

See Also

For the API call sequence, see PNGD.