hi_mpi_vi_set_pipe_frame_dump_attr

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

The Atlas Training Series Product does not support this API.

Description

Sets the dump attributes of a physical VI pipe.

Restrictions

  • To dump data in different pixel formats, you can specify the pixel format when creating a pipe by calling hi_mpi_vi_create_pipe before dumping data. The pixel format must be aligned with the actual output format of the sensor module.
  • To dump cropped images, you can call hi_mpi_vi_set_pipe_pre_crop to set pipe cropping before dumping.
  • To dump compressed or non-compressed images, you can specify the compression type when creating a pipe by calling hi_mpi_vi_create_pipe before dumping.
  • Virtual pipes are not supported.
  • If the current API is called after the pipe is started by calling hi_mpi_vi_start_pipe, the images that are not fetched by calling hi_mpi_vi_get_pipe_frame in the internal buffer are cleared.

Prototype

hi_s32 hi_mpi_vi_set_pipe_frame_dump_attr(hi_vi_pipe vi_pipe, const hi_vi_frame_dump_attr *dump_attr)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Physical pipe ID.

Value range: [0, 4)

dump_attr

Input

Dump attributes of a physical VI pipe.

Returns