hi_mpi_venc_destroy_chn

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Destroys the created encoding channel when the encoding process exits to free related resources.

Restrictions

  • Destroying a non-existing channel returns a failure.
  • Before this API call, ensure that the channel has stopped receiving images. Otherwise, a failure is returned.

Prototype

hi_s32 hi_mpi_venc_destroy_chn(hi_venc_chn chn)

Parameters

Parameter

Input/Output

Description

chn

Input

Encoding channel ID.

Returns