CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_khr_xml.h File Reference

The OpenVX XML Schema Extension Header. More...

#include <VX/vx.h>

Macros

#define OPENVX_KHR_XML   "vx_khr_xml"
 

Typedefs

typedef struct Import * vx_import
 

Enumerations

enum  vx_ext_import_type_e { VX_TYPE_IMPORT = 0x814 }
 The Object Type Enumeration for Imports. More...
 
enum  vx_ext_import_types_e { VX_IMPORT_TYPE_XML = 0 }
 The import type enumeration. More...
 
enum  vx_import_attribute_e {
  VX_IMPORT_ATTRIBUTE_COUNT = VX_ATTRIBUTE_BASE(VX_ID_KHRONOS, VX_TYPE_IMPORT) + 0x0 ,
  VX_IMPORT_ATTRIBUTE_TYPE = VX_ATTRIBUTE_BASE(VX_ID_KHRONOS, VX_TYPE_IMPORT) + 0x1
}
 The import attributes list. More...
 

Functions

VX_API_ENTRY vx_status VX_API_CALL vxExportToXML (vx_context context, vx_char xmlfile[])
 Exports all objects in the context to an XML file which uses the OpenVX XML Schema.
 
VX_API_ENTRY vx_import VX_API_CALL vxImportFromXML (vx_context context, vx_char xmlfile[])
 Imports all framework and data objects from an XML file into the given context.
 
VX_API_ENTRY vx_reference VX_API_CALL vxGetImportReferenceByName (vx_import import, const vx_char *name)
 Used to retrieve a reference by name from the import when the name is known beforehand. If multiple references have the same name, then any one of them may be returned.
 
VX_API_ENTRY vx_reference VX_API_CALL vxGetImportReferenceByIndex (vx_import import, vx_uint32 index)
 Used to retrieve a reference by the index from the import.
 
VX_API_ENTRY vx_status VX_API_CALL vxQueryImport (vx_import import, vx_enum attribute, void *ptr, vx_size size)
 Used to query the import about its properties.
 
VX_API_ENTRY vx_status VX_API_CALL vxReleaseImport (vx_import *import)
 Releases a reference to an import object. Also internally releases its references to its imported objects. These imported objects may not be garbage collected until their total reference counts are zero.
 

Detailed Description

The OpenVX XML Schema Extension Header.

Macro Definition Documentation

◆ OPENVX_KHR_XML

#define OPENVX_KHR_XML   "vx_khr_xml"

Typedef Documentation

◆ vx_import

typedef struct Import* vx_import