hi_mpi_vdec_release_frame

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

The Atlas Training Series Product does not support this API.

Description

Releases resources after decoding is complete.

Restrictions

  • Use this API in pair with hi_mpi_vdec_get_frame. Destroy the obtained data in a timely manner; otherwise, the decoding process will be blocked to wait for resources.
  • The data to destroy must be that obtained by the hi_mpi_vdec_get_frame call without any change.

Prototype

hi_s32 hi_mpi_vdec_release_frame(hi_vdec_chn chn, const hi_video_frame_info *frame_info)

Parameters

Parameter

Input/Output

Description

chn

Input

Decoding channel ID.

frame_info

Input

Pointer to the information about the decoded image, which can be obtained by calling hi_mpi_vdec_get_frame.

Returns