hi_mpi_vi_set_pipe_pre_be_crop
The
The
Description
Sets the cropping attributes of the BE input in a VI pipe.
Restrictions
- This API can be called only after a VI pipe is created by calling hi_mpi_vi_create_pipe.
- Call this API before the pipe is started by calling hi_mpi_vi_start_pipe. After the pipe is started, this API cannot be called.
- Only physical pipes are supported. Virtual pipes are not supported.
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
- 0: success
- Other values: failure. For details, see VI Return Codes.
Parent topic: VI