hi_mpi_vpc_rotate
The
The
Description
Rotates the input image by 90°, 180°, or 270°.
Prototype
hi_s32 hi_mpi_vpc_rotate(hi_vpc_chn chn, const hi_rotate_param* rotate_param, hi_u32* task_id, hi_s32 milli_sec)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Channel ID for image processing. |
rotate_param |
Input |
Rotation information. The input and output image information and rotation parameters are configured in the hi_rotate_param structure. |
milli_sec |
Input |
Timeout interval (ms).
|
task_id |
Output |
Pointer to the task ID, which is used to identify a task. |
Returns
- 0: success
- Other values: failure (VPC Return Codes)
Parent topic: VPC