基于输入像素位置重映射表的方式对图片进行Remap处理。异步接口。
hi_s32 hi_mpi_vpc_lut_remap(hi_vpc_chn chn, hi_warp_transform_param *transform_param, hi_remap_lut *remap_lut, hi_u32 *task_id, hi_s32 milli_sec)
参数名 |
输入/输出 |
说明 |
---|---|---|
chn |
输入 |
图片处理通道号。 该参数的取值范围:[0, 128),通道总数最多128。 |
transform_param |
输入 |
Remap变换参数。 在hi_warp_transform_param结构体内配置输入、输出图片信息时:
|
remap_lut |
输入 |
像素位置重映射表信息。 需提前调用hi_mpi_vpc_get_affine_lut、或hi_mpi_vpc_get_perspective_lut接口获取像素位置重映射表信息。 |
milli_sec |
输入 |
超时时间配置,单位是毫秒,取值范围如下:
|
task_id |
输出 |
任务ID的指针,用来区分任务。 |