acl.himpi.pngd_destroy_chn

C Prototype

hi_s32 hi_mpi_pngd_destroy_chn(hi_pngd_chn chn)

Python Function

ret = acl.himpi.pngd_destroy_chn(chn)

Function Usage

Destroys a created decoding channel to release related resources when the user exits the process.

The Atlas 200/300/500 Inference Product does not support this API in the current version.

The Atlas Training Series Product does not support this API in the current version.

Input Description

chn: int, decoding channel ID.

The value range of this parameter is [0, 128). The maximum number of channels is 128.

Return Value

ret: int, error code.

Restrictions

Ensure that a channel has been created. Otherwise, an error code is returned.