The visual operator hbVPRemap needs to prepare hbVPWarpParam to get hbVPMapWrap for executing the remap task before doing the creation of the task.
Member
| Member Name | Description |
|---|---|
mapPhyAddr | Physical address of map data, data type double. |
mapVirAddr | The map data virtual address. |
srcWidth | Input width. |
srcHeight | Input height. |
mapWidth | map width (i.e., target width). |
mapHeight | map height (i.e., target height). |
interpoType | Interpolation type in Remap, supports NEAREST and LINEAR types in hbVPInterpolationType. |
borderType | Reserved parameter. |
padValue | Reserved parameter. |
dataType | Data types in map that supports the type HB_VP_IMAGE_TYPE_F64C2 in hbVPImageType. |
Note that the data layout in map (i.e. the memory data under the physical address of phyAddr) is x_0, y_0, x_1, y_1, ..., and the memory length should be 2 * mapWidth * mapHeight * sizeof(dataType), please refer to the sample for detailed usage.
hbVPRemap the operator's argument description handle, which contains the description information necessary to run on different Backend, can be reused.
Creates the mapWrap parameter of the Remap.
mapWrap Created parameter that are used in the interface, the parameter must point to nullptr.param The remap parameter, which is used to create a uniform mapWrap parameter.backend Select the backend hardware, different hardware backend need to prepare different hardware resources for the map.0 means the API was successfully executed, otherwise the execution failed.Release the mapWrap parameter of the Remap.
mapWrap The mapWrap parameter to be released.0 means the API was successfully executed, otherwise the execution failed.The API for calling the Remap.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImg The output picture, type and format are the same as the input picture, the size is the same as the map.srcImg Input picture, type support U8C1, format dsp hardware support Y and nv12, gdc support nv12.mapWrap Point to the map parameter.0 means the API was successfully executed, otherwise the execution failed.