hi_mpi_vi_release_chn_frame

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

x

Atlas A2 training products / Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Releases a frame of image obtained from a VI channel.

Prototype

hi_s32 hi_mpi_vi_release_chn_frame(hi_vi_pipe vi_pipe, hi_vi_chn vi_chn, const hi_video_frame_info *frame_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Pipe ID.

Value range: [0, 12)

vi_chn

Input

VI channel ID.

Value range: [0, 1)

frame_info

Input

Structure of the VI frame information.

Returns

Restrictions

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

See Also

For the API call sequence, see Video Data Obtaining.