hi_mpi_vi_get_pipe_pre_crop

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

Atlas A3 training products/Atlas A3 inference products

☓

Atlas A2 training products/Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

☓

Atlas training products

☓

Function

Obtains the cropping attributes of a physical VI pipe at the input end.

Prototype

hi_s32 hi_mpi_vi_get_pipe_pre_crop(hi_vi_pipe vi_pipe, hi_crop_info *crop_info)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Pipe ID.

Value range: [0, 12)

crop_info

Output

Attributes of the cropped region.

Returns

Restrictions

  • Virtual pipes are not supported.