VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Remap Data Object Extensions

Detailed Description

Adds various extensions to the vx_remap object.

This section describes different extensions and features to the standard Object: Remap.

Functions

vx_status nvxMapRemapPatch (vx_remap remap, vx_rectangle_t *rect, vx_imagepatch_addressing_t *addr, void **ptr, vx_enum usage)
 Maps a rectangular patch (subset) of a remap object. More...
 
vx_status nvxUnmapRemapPatch (vx_remap remap, void *ptr)
 Unmaps a mapped patch (subset) of a remap object. More...
 

Function Documentation

vx_status nvxMapRemapPatch ( vx_remap  remap,
vx_rectangle_t rect,
vx_imagepatch_addressing_t addr,
void **  ptr,
vx_enum  usage 
)

Maps a rectangular patch (subset) of a remap object.

Parameters
[in]remapThe reference to the remap object from which to map the patch.
[in]rectThe coordinates from which to get the patch. Must be 0 <= start < end.
[out]addrAddress of a structure, which will be set to the layout information of the mapped patch.
[out]ptrAddress of a pointer, which will be set to the address of the mapped remap patch.
[in]usageThis declares the intended usage of the mapped remap patch. Use the vx_accessor_e enumeration.
Returns
A vx_status_e enumeration.
vx_status nvxUnmapRemapPatch ( vx_remap  remap,
void *  ptr 
)

Unmaps a mapped patch (subset) of a remap object.

Parameters
[in]remapThe reference to the remap object.
[in]ptrAddress where the remap patch was mapped, as returned by nvxMapRemapPatch.
Returns
A vx_status_e enumeration.