hi_mpi_vi_pipe_release_buffer

Applicable Products

Product

Supported

Ascend 950PR&950DT products

☓

Atlas A3 products

☓

Atlas A2 products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Releases the resources related to video frames obtained by calling hi_mpi_vi_pipe_get_buffer.

Prototype

hi_s32 hi_mpi_vi_pipe_release_buffer(hi_vi_pipe vi_pipe, const hi_video_frame_info *frame_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Pipe ID.

Value range: [0, 12)

frame_info

Input

Video frame information.

Returns

Reference

For the API call sequence, see Video Data Obtaining.