hi_mpi_vpc_rotate
Atlas 200/300/500 推理产品,不支持该接口。
Atlas 训练系列产品,不支持该接口。
Atlas 推理系列产品,不支持该接口。
函数功能
对输入图片做90度/180度/270度操作,输出图片宽高也要随旋转角度置换。
约束说明
版本 |
约束 |
---|---|
Atlas 200I/500 A2推理产品 |
|
Atlas A2训练系列产品/Atlas 800I A2推理产品 |
|
函数原型
hi_s32 hi_mpi_vpc_rotate(hi_vpc_chn chn, const hi_rotate_param* rotate_param, hi_u32* task_id, hi_s32 milli_sec)
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
chn |
输入 |
图片处理通道号。 Atlas A2训练系列产品/Atlas 800I A2推理产品,该参数的取值范围:[0, 256),通道总数最多256。 Atlas 200I/500 A2推理产品,该参数的取值范围:[0, 128),通道总数最多128。 |
rotate_param |
输入 |
旋转信息。 在hi_rotate_param结构体内配置输入、输出图片信息,以及旋转参数。 |
milli_sec |
输入 |
超时时间配置,单位是毫秒,取值范围如下:
|
task_id |
输出 |
任务ID的指针,用来区分任务。 |
返回值说明
- 0:成功
- 非0:失败,VPC图像处理返回码
父主题: VPC图像处理功能