/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-mivisionx/checkouts/docs-5.7.1/amd_openvx/openvx/include/VX/vx.h Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-mivisionx/checkouts/docs-5.7.1/amd_openvx/openvx/include/VX/vx.h Source File#

MIVisionX: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-mivisionx/checkouts/docs-5.7.1/amd_openvx/openvx/include/VX/vx.h Source File
vx.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2020 The Khronos Group Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /*
18  * NOTE: Some safety-critical environments may enforce software development
19  * guidelines (for example MISRA C:2012) to facilitate code quality,
20  * safety, security, portability and reliability. In order to meet
21  * such guidelines, developers may modify OpenVX standard header files
22  * without deviating from the OpenVX specification.
23  */
24 
25 #ifndef _OPENVX_H_
26 #define _OPENVX_H_
27 
36 #define VX_MAX_IMPLEMENTATION_NAME (64)
37 
41 #define VX_MAX_KERNEL_NAME (256)
42 
46 #define VX_MAX_LOG_MESSAGE_LEN (1024)
47 
52 #define VX_MAX_REFERENCE_NAME (64)
53 
54 #include <VX/vx_vendors.h>
55 #include <VX/vx_types.h>
56 #include <VX/vx_kernels.h>
57 #include <VX/vx_api.h>
58 #include <VX/vx_nodes.h>
59 
63 #define VX_VERSION_MAJOR(x) ((vx_uint32)((vx_uint32)(x) & 0xFFU) << 8)
64 
68 #define VX_VERSION_MINOR(x) ((vx_uint32)((vx_uint32)(x) & 0xFFU) << 0)
69 
73 #define VX_VERSION_1_0 (VX_VERSION_MAJOR(1) | VX_VERSION_MINOR(0))
74 
78 #define VX_VERSION_1_1 (VX_VERSION_MAJOR(1) | VX_VERSION_MINOR(1))
79 
83 #define VX_VERSION_1_2 (VX_VERSION_MAJOR(1) | VX_VERSION_MINOR(2))
84 
88 #define VX_VERSION_1_3 (VX_VERSION_MAJOR(1) | VX_VERSION_MINOR(3))
89 
93 #define VX_VERSION (VX_VERSION_1_3)
94 
95 #endif
The API definition for OpenVX.
The list of supported kernels in the OpenVX standard.
The "Simple" API interface for OpenVX. These APIs are just wrappers around the more verbose functions...
The type definitions required by OpenVX Library.
The Vendor ID list for OpenVX.