hi_mpi_vi_release_pipe_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 the VI pipe data.

Restrictions

  • This API must work with hi_mpi_vi_get_pipe_frame, and the number of API calling times must be the same. Otherwise, an error is reported.
  • Call hi_mpi_vi_get_pipe_frame to obtain frame_info, and transfer the obtained frame_info to this API. Otherwise, the release may fail.

Prototype

hi_s32 hi_mpi_vi_release_pipe_frame(hi_vi_pipe vi_pipe, const hi_video_frame_info *frame_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Physical pipe ID.

Value range: [0, 4)

frame_info

Input

Pointer to the VI pipe data.

Returns