hi_mpi_vi_get_pipe_pre_crop
The
The
Description
Obtains the cropping attributes of a physical VI pipe at the input end.
Restrictions
- This API can be called only after a VI pipe is created by calling hi_mpi_vi_create_pipe.
- Virtual pipes are not supported.
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
- 0: success
- Other values: failure. For details, see VI Return Codes.
Parent topic: VI