hi_mpi_vi_set_pipe_pre_be_crop

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Sets the cropping attributes of the BE input in a VI pipe.

Prototype

hi_s32 hi_mpi_vi_set_pipe_pre_be_crop(hi_vi_pipe vi_pipe, const hi_crop_info *crop_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Pipe ID.

Value range: [0, 4)

crop_info

Input

Attributes of the cropped region.

Returns

Restrictions

  • This API must be called before the hi_mpi_vi_start_pipe API is called to start the pipe. After the pipe is started, this API cannot be called.
  • Only physical pipes are supported. Virtual pipes are not supported.