hi_mpi_vdec_release_frame

Description

Releases resources after decoding is complete.

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

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.

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

frame_info

Input

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

Returns

See Also

For the API call sequence, see JPEGD and VDEC.