hi_mpi_vpc_rotate
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
☓ |
|
☓ |
Function 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. Atlas 350 Accelerator Card: The value range is [0, 256). The maximum number of channels is 256. |
rotate_param |
Input |
Rotation information. Configure the input and output image information and rotation parameters 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)
Restrictions
Model |
Restrictions |
|---|---|
|
|
Atlas 350 Accelerator Card |
|