OpenVX EXPORT AND IMPORT  2b213f9
 All Functions Typedefs Enumerations Enumerator Groups Pages
Import Objects API – From Memory

Functions

VX_API_ENTRY vx_import VX_API_CALL vxImportObjectsFromMemory (vx_context context, vx_size numrefs, vx_reference *refs, const vx_enum *uses, const vx_uint8 *ptr, vx_size length)
 

Detailed Description

Import objects from memory.

Function Documentation

VX_API_ENTRY vx_import VX_API_CALL vxImportObjectsFromMemory ( vx_context  context,
vx_size  numrefs,
vx_reference *  refs,
const vx_enum *  uses,
const vx_uint8 *  ptr,
vx_size  length 
)
Parameters
[in]contextContext into which to import objects.
[in]numrefsNumber of references to import.
[in,out]refsReferences imported.
[in]usesTo import the references, use vx_export_use_e.
[in]ptrWhere to get the data.
[in]lengthNumber of bytes at ptr.
Returns
vx_import
Return values
0Invalid index.
*An import reference.