The OpenVX Specification
dba1aa3
Main Page
Related Pages
Modules
Data Structures
vx_import.h
1
/*
2
3
* Copyright (c) 2012-2017 The Khronos Group Inc.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
#ifndef _OPENVX_IMPORT_H_
18
#define _OPENVX_IMPORT_H_
19
30
#define VX_ENUM_IX_USE 0x18
31
34
#define VX_IX_USE_APPLICATION_CREATE (VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_IX_USE) + 0x0)
38
#define VX_IX_USE_EXPORT_VALUES (VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_IX_USE) + 0x1)
42
#define VX_IX_USE_NO_EXPORT_VALUES (VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_IX_USE) + 0x2)
44
/*=============================================================================
45
IMPORT
46
=============================================================================*/
47
51
typedef
struct
_vx_import *vx_import;
52
57
#define VX_TYPE_IMPORT 0x814
126
VX_API_ENTRY vx_import VX_API_CALL vxImportObjectsFromMemory(
127
vx_context
context,
128
vx_size
numrefs,
129
vx_reference
*refs,
130
const
vx_enum
* uses,
131
const
vx_uint8
* ptr,
132
vx_size
length);
133
148
VX_API_ENTRY
vx_status
VX_API_CALL
vxReleaseImport(vx_import *
import
);
181
VX_API_ENTRY
vx_reference
VX_API_CALL
vxGetImportReferenceByName(vx_import
import
,
const
vx_char
*name);
182
183
#endif
vx_uint8
uint8_t vx_uint8
An 8-bit unsigned value.
Definition:
vx_types.h:76
vx_size
size_t vx_size
A wrapper of size_t to keep the naming convention uniform.
Definition:
vx_types.h:154
vx_enum
int32_t vx_enum
Sets the standard enumeration type size to be a fixed quantity.
Definition:
vx_types.h:149
vx_char
char vx_char
An 8 bit ASCII character.
Definition:
vx_types.h:71
vx_status
vx_enum vx_status
A formal status type with known fixed size.
Definition:
vx_types.h:445
vx_context
struct _vx_context * vx_context
An opaque reference to the implementation context.
Definition:
vx_types.h:215
vx_reference
struct _vx_reference * vx_reference
A generic opaque reference to any object within OpenVX.
Definition:
vx_types.h:142
VX_API_CALL
#define VX_API_CALL
Defines calling convention for OpenVX API.
Definition:
vx_types.h:57
include
VX
vx_import.h
Generated on Wed Oct 11 2017 20:00:01 for The OpenVX Specification by
1.8.11