hi_mpi_vpc_lut_remap
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
x  | 
|
x  | 
|
x  | 
功能说明
基于输入像素位置重映射表的方式对图片进行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  | 
输入  | 
图片处理通道号。  | 
transform_param  | 
输入  | 
Remap变换参数。  | 
remap_lut  | 
输入  | 
像素位置重映射表信息。 需提前调用以下get接口获取像素位置重映射表信息:hi_mpi_vpc_get_affine_lut、或hi_mpi_vpc_get_perspective_lut、或hi_mpi_vpc_get_remap_lut,但本接口的缩放算法需与get接口的缩放算法保持一致,否则可能导致remap结果不符合预期。  | 
milli_sec  | 
输入  | 
超时时间配置,单位是毫秒,取值范围如下: 
  | 
task_id  | 
输出  | 
任务ID的指针,用来区分任务。  | 
返回值说明
- 0:成功
 - 非0:失败,VPC图像处理返回码
 
约束说明
型号  | 
约束  | 
|---|---|
  | 
|
  |