docs-6.2.1/amd_openvx/openvx/include/VX/vx_types.h Source File

docs-6.2.1/amd_openvx/openvx/include/VX/vx_types.h Source File#

MIVisionX: docs-6.2.1/amd_openvx/openvx/include/VX/vx_types.h Source File
vx_types.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 #ifndef _OPENVX_TYPES_H_
18 #define _OPENVX_TYPES_H_
19 
25 #include <stdint.h>
26 #include <stddef.h>
27 
49 #ifndef VX_API_ENTRY
50 #define VX_API_ENTRY
51 #endif
52 #ifndef VX_API_CALL
53 #if defined(_WIN32)
54 #define VX_API_CALL __stdcall
55 #else
56 #define VX_API_CALL
57 #endif
58 #endif
59 #ifndef VX_CALLBACK
60 #if defined(_WIN32)
61 #define VX_CALLBACK __stdcall
62 #else
63 #define VX_CALLBACK
64 #endif
65 #endif
66 
70 typedef char vx_char;
71 
75 typedef uint8_t vx_uint8;
76 
80 typedef uint16_t vx_uint16;
81 
85 typedef uint32_t vx_uint32;
86 
90 typedef uint64_t vx_uint64;
91 
95 typedef int8_t vx_int8;
96 
100 typedef int16_t vx_int16;
101 
105 typedef int32_t vx_int32;
106 
110 typedef int64_t vx_int64;
111 
112 typedef uint32_t vx_bitfield;
113 
114 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
115 
119 #if defined(__arm__) || defined(__arm64__)
120 typedef __fp16 vx_float16;
121 #else
122 typedef hfloat vx_float16;
123 #endif
124 #endif
125 
129 typedef float vx_float32;
130 
134 typedef double vx_float64;
135 
145 typedef struct _vx_reference *vx_reference;
146 
152 typedef int32_t vx_enum;
153 
157 typedef size_t vx_size;
158 
162 typedef uint32_t vx_df_image;
163 
167 typedef uintptr_t vx_map_id;
168 
175 typedef struct _vx_scalar *vx_scalar;
176 
182 typedef struct _vx_image *vx_image;
183 
190 typedef struct _vx_kernel *vx_kernel;
191 
197 typedef struct _vx_parameter *vx_parameter;
198 
204 typedef struct _vx_node *vx_node;
205 
211 typedef struct _vx_graph *vx_graph;
212 
218 typedef struct _vx_context *vx_context;
219 
226 typedef struct _vx_delay *vx_delay;
227 
232 typedef struct _vx_lut *vx_lut;
233 
239 typedef struct _vx_distribution *vx_distribution;
240 
245 typedef struct _vx_matrix *vx_matrix;
246 
251 typedef struct _vx_pyramid *vx_pyramid;
252 
258 typedef struct _vx_threshold *vx_threshold;
259 
264 typedef struct _vx_convolution *vx_convolution;
265 
270 typedef struct _vx_remap *vx_remap;
271 
275 typedef struct _vx_array *vx_array;
276 
280 typedef struct _vx_object_array *vx_object_array;
281 
287 typedef struct _vx_tensor_t * vx_tensor;
288 
301 enum vx_bool_e {
306 };
307 
312 typedef vx_enum vx_bool;
313 
323 typedef struct _vx_meta_format* vx_meta_format;
324 
328 enum vx_type_e {
330  VX_TYPE_CHAR = 0x001,
331  VX_TYPE_INT8 = 0x002,
332  VX_TYPE_UINT8 = 0x003,
333  VX_TYPE_INT16 = 0x004,
334  VX_TYPE_UINT16 = 0x005,
335  VX_TYPE_INT32 = 0x006,
336  VX_TYPE_UINT32 = 0x007,
337  VX_TYPE_INT64 = 0x008,
338  VX_TYPE_UINT64 = 0x009,
341  VX_TYPE_ENUM = 0x00C,
342  VX_TYPE_SIZE = 0x00D,
345  VX_TYPE_BOOL = 0x010,
353  /* Reserve enums that are defined in khronos extensions
354  NN extensions:
355  VX_TYPE_NN_CONVOLUTION_PARAMS = 0x025,
356  VX_TYPE_NN_DECONVOLUTION_PARAMS = 0x026,
357  VX_TYPE_NN_ROI_POOL_PARAMS = 0x027,
358  Classifier extension:
359  VX_TYPE_CLASSIFER_MODEL = 0x02C,
360  */
363  VX_TYPE_LINE_2D = 0x02A,
382  VX_TYPE_GRAPH = 0x802,
383  VX_TYPE_NODE = 0x803,
384  VX_TYPE_KERNEL = 0x804,
386  VX_TYPE_DELAY = 0x806,
387  VX_TYPE_LUT = 0x807,
391  VX_TYPE_MATRIX = 0x80B,
393  VX_TYPE_SCALAR = 0x80D,
394  VX_TYPE_ARRAY = 0x80E,
395  VX_TYPE_IMAGE = 0x80F,
396  VX_TYPE_REMAP = 0x810,
397  VX_TYPE_ERROR = 0x811,
400  /* Reserved for IX and XML extensions */
401  /* VX_TYPE_IMPORT = 0x814, !< \brief A <tt>\ref vx_import</tt>. */
402  VX_TYPE_TENSOR = 0x815,
403  /* \todo add new object types here */
404 
405 };
406 
413  /* add new codes here */
439 };
440 
446 
452 
461 
466 #define VX_VENDOR_MASK (0xFFF00000U)
467 
473 #define VX_TYPE_MASK (0x000FFF00U)
474 
479 #define VX_LIBRARY_MASK (0x000FF000U)
480 
484 #define VX_KERNEL_MASK (0x00000FFFU)
485 
489 #define VX_ATTRIBUTE_ID_MASK (0x000000FFU)
490 
494 #define VX_ENUM_TYPE_MASK (0x000FF000U)
495 
499 #define VX_ENUM_MASK (0x00000FFFU)
500 
504 #define VX_VENDOR(e) (((vx_uint32)(e) & VX_VENDOR_MASK) >> 20)
505 
509 #define VX_TYPE(e) (((vx_uint32)(e) & VX_TYPE_MASK) >> 8)
510 
514 #define VX_ENUM_TYPE(e) (((vx_uint32)(e) & VX_ENUM_TYPE_MASK) >> 12)
515 
519 #define VX_LIBRARY(e) (((vx_uint32)(e) & VX_LIBRARY_MASK) >> 12)
520 
526 #define VX_DF_IMAGE(a,b,c,d) ((vx_uint32)(vx_uint8)(a) | ((vx_uint32)(vx_uint8)(b) << 8U) | ((vx_uint32)(vx_uint8)(c) << 16U) | ((vx_uint32)(vx_uint8)(d) << 24U))
527 
533 #define VX_ATTRIBUTE_BASE(vendor, object) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(object) << 8)))
534 
540 #define VX_KERNEL_BASE(vendor, lib) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(lib) << 12)))
541 
550 #define VX_ENUM_BASE(vendor, id) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(id) << 12)))
551 
556 enum vx_enum_e {
558  VX_ENUM_ACTION = 0x01,
559  VX_ENUM_HINT = 0x02,
569  VX_ENUM_BORDER = 0x0C,
576  VX_ENUM_TARGET = 0x13,
583 /* NN extension
584  VX_ENUM_NN_ROUNDING_TYPE = 0x1A,
585  VX_ENUM_NN_POOLING_TYPE = 0x1B,
586  VX_ENUM_NN_NORMALIZATION_TYPE = 0x1C,
587  VX_ENUM_NN_ACTIVATION_FUNCTION_TYPE = 0x1D,
588 */
589 /* Classifier extension
590  VX_ENUM_CLASSIFIER_MODEL= 0x1E,
591 */
592 /* IX extension
593  VX_ENUM_IX_USE = 0x1F, !< \brief How to use references in import and export. */
595  };
596 
606 };
607 
616 };
617 
623 enum vx_hint_e {
636 };
637 
654 };
655 
670 };
671 
687 };
688 
699 };
700 
707  VX_DF_IMAGE_VIRT = VX_DF_IMAGE('V','I','R','T'),
711  VX_DF_IMAGE_RGB = VX_DF_IMAGE('R','G','B','2'),
716  VX_DF_IMAGE_RGBX = VX_DF_IMAGE('R','G','B','A'),
720  VX_DF_IMAGE_NV12 = VX_DF_IMAGE('N','V','1','2'),
724  VX_DF_IMAGE_NV21 = VX_DF_IMAGE('N','V','2','1'),
728  VX_DF_IMAGE_UYVY = VX_DF_IMAGE('U','Y','V','Y'),
732  VX_DF_IMAGE_YUYV = VX_DF_IMAGE('Y','U','Y','V'),
736  VX_DF_IMAGE_IYUV = VX_DF_IMAGE('I','Y','U','V'),
740  VX_DF_IMAGE_YUV4 = VX_DF_IMAGE('Y','U','V','4'),
745  VX_DF_IMAGE_U1 = VX_DF_IMAGE('U','0','0','1'),
750  VX_DF_IMAGE_U8 = VX_DF_IMAGE('U','0','0','8'),
755  VX_DF_IMAGE_U16 = VX_DF_IMAGE('U','0','1','6'),
760  VX_DF_IMAGE_S16 = VX_DF_IMAGE('S','0','1','6'),
765  VX_DF_IMAGE_U32 = VX_DF_IMAGE('U','0','3','2'),
770  VX_DF_IMAGE_S32 = VX_DF_IMAGE('S','0','3','2'),
771 };
772 
783 };
784 
795 };
796 
860 };
861 
884 };
885 
928 };
929 
946 };
947 
971 };
972 
979 };
980 
1020 };
1021 
1034 };
1035 
1053 };
1054 
1063 };
1064 
1075 };
1076 
1097 };
1098 
1115 };
1116 
1131 };
1132 
1145 };
1146 
1159 };
1160 
1169 };
1174 {
1183 };
1184 
1191 };
1192 
1208 
1223 };
1224 
1231 
1234 };
1235 
1268 };
1269 
1280 };
1281 
1295 };
1296 
1309 
1312 };
1313 
1322 };
1323 
1336 };
1337 
1352 };
1353 
1362 };
1363 
1377 };
1378 
1388 };
1389 
1398 };
1399 
1418 };
1419 
1428 };
1429 
1434 {
1445 };
1446 
1453 {
1468 };
1469 
1470 #if defined(_WIN32) || defined(UNDER_CE)
1471 #if defined(_WIN64)
1475 #define VX_FMT_REF "%I64u"
1479 #define VX_FMT_SIZE "%I64u"
1480 #else
1484 #define VX_FMT_REF "%lu"
1488 #define VX_FMT_SIZE "%lu"
1489 #endif
1490 #else
1494 #define VX_FMT_REF "%p"
1498 #define VX_FMT_SIZE "%zu"
1499 #endif
1503 #define VX_SCALE_UNITY (1024u)
1504 
1544 
1548 #define VX_IMAGEPATCH_ADDR_INIT {0u, 0u, 0, 0, 0u, 0u, 0u, 0u, 0u}
1549 
1553 typedef struct _vx_perf_t {
1563 
1567 typedef struct _vx_hough_lines_p_t
1568 {
1584 
1588 typedef struct _vx_line2d_t
1589 {
1599 
1613 
1617 #define VX_PERF_INIT {0ul, 0ul, 0ul, 0ul, 0ul, 0ul}
1618 
1623 typedef struct _vx_kernel_info_t {
1629 
1636 
1640 #define VX_SCALE_PYRAMID_HALF (0.5f)
1641 
1645 #define VX_SCALE_PYRAMID_ORB ((vx_float32)0.8408964f)
1646 
1650 typedef struct _vx_keypoint_t {
1659 
1663 typedef struct _vx_rectangle_t {
1669 
1673 typedef struct _vx_coordinates2d_t {
1677 
1681 typedef struct _vx_coordinates2df_t {
1685 
1689 typedef struct _vx_coordinates3d_t {
1694 
1699 typedef union _vx_pixel_value_t {
1709  vx_uint8 reserved[16];
1711 
1715 typedef struct {
1736 } vx_hog_t;
1737 
1745 typedef struct _vx_border_t {
1753 
1761 
1769 
1777 typedef vx_status(VX_CALLBACK *vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1778 
1789 
1800 
1815 typedef vx_status(VX_CALLBACK *vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[]);
1816 
1848 typedef vx_status(VX_CALLBACK *vx_kernel_image_valid_rectangle_f)(vx_node node, vx_uint32 index, const vx_rectangle_t* const input_valid[], vx_rectangle_t* const output_valid[]);
1849 
1853 typedef void (VX_CALLBACK *vx_log_callback_f)(vx_context context,
1854  vx_reference ref,
1855  vx_status status,
1856  const vx_char string[]);
1857 
1863 };
1864 
1865 #endif
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
Definition: vx_types.h:1745
vx_enum mode
See vx_border_e.
Definition: vx_types.h:1747
vx_pixel_value_t constant_value
For the mode VX_BORDER_CONSTANT, this union contains the value of out-of-bound pixels.
Definition: vx_types.h:1751
The 2D Coordinates structure.
Definition: vx_types.h:1673
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1675
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1674
The floating-point 2D Coordinates structure.
Definition: vx_types.h:1681
vx_float32 x
The X coordinate.
Definition: vx_types.h:1682
vx_float32 y
The Y coordinate.
Definition: vx_types.h:1683
The 3D Coordinates structure.
Definition: vx_types.h:1689
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1690
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1691
vx_uint32 z
The Z coordinate.
Definition: vx_types.h:1692
Hough lines probability parameters.
Definition: vx_types.h:1568
vx_int32 line_length
The minimum number of points that can form a line. Line segments shorter than that are rejected.
Definition: vx_types.h:1576
vx_float32 theta_max
Optional restriction on theta. The max allowed value.
Definition: vx_types.h:1580
vx_int32 threshold
The minimum number of intersections to detect a line.
Definition: vx_types.h:1574
vx_int32 line_gap
The maximum allowed gap between points on the same line to link them.
Definition: vx_types.h:1578
vx_float32 theta
Angle resolution of the parameter in radians.
Definition: vx_types.h:1572
vx_float32 theta_min
Optional restriction on theta. The min allowed value.
Definition: vx_types.h:1582
vx_float32 rho
Distance resolution of the parameter in pixels.
Definition: vx_types.h:1570
The addressing image patch structure is used by the Host only to address pixels in an image patch....
Definition: vx_types.h:1533
vx_uint32 step_x
Step of X dimension in pixels.
Definition: vx_types.h:1540
vx_uint16 step_y
Step of Y dimension in pixels.
Definition: vx_types.h:1541
vx_int32 stride_y
Stride in Y dimension in bytes.
Definition: vx_types.h:1537
vx_int32 stride_x
Stride in X dimension in bytes.
Definition: vx_types.h:1536
vx_uint32 scale_y
Scale of Y dimension. For sub-sampled planes this is the scaling factor of the dimension of the plane...
Definition: vx_types.h:1539
vx_uint32 scale_x
Scale of X dimension. For sub-sampled planes this is the scaling factor of the dimension of the plane...
Definition: vx_types.h:1538
vx_uint16 stride_x_bits
Stride in X dimension in bits. Used when stride_x is not an integer number of bytes.
Definition: vx_types.h:1542
vx_uint32 dim_y
Height of patch in Y dimension in pixels.
Definition: vx_types.h:1535
vx_uint32 dim_x
Width of patch in X dimension in pixels.
Definition: vx_types.h:1534
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
Definition: vx_types.h:1623
vx_enum enumeration
The kernel enumeration value from vx_kernel_e (or an extension thereof).
Definition: vx_types.h:1628
vx_char name[VX_MAX_KERNEL_NAME]
The kernel name in dotted hierarchical format. e.g. "org.khronos.openvx.sobel_3x3".
Definition: vx_types.h:1634
The keypoint data structure.
Definition: vx_types.h:1650
vx_float32 strength
The strength of the keypoint. Its definition is specific to the corner detector.
Definition: vx_types.h:1653
vx_int32 x
The x coordinate.
Definition: vx_types.h:1651
vx_float32 orientation
Initialized to 0 by corner detectors.
Definition: vx_types.h:1655
vx_int32 tracking_status
A zero indicates a lost point. Initialized to 1 by corner detectors.
Definition: vx_types.h:1656
vx_float32 scale
Initialized to 0 by corner detectors.
Definition: vx_types.h:1654
vx_float32 error
A tracking method specific error. Initialized to 0 by corner detectors.
Definition: vx_types.h:1657
vx_int32 y
The y coordinate.
Definition: vx_types.h:1652
line struct
Definition: vx_types.h:1589
vx_float32 start_y
y index of line start
Definition: vx_types.h:1593
vx_float32 end_x
x index of line end
Definition: vx_types.h:1595
vx_float32 start_x
x index of line start
Definition: vx_types.h:1591
vx_float32 end_y
y index of line end
Definition: vx_types.h:1597
The performance measurement structure. The time or durations are in units of nano seconds.
Definition: vx_types.h:1553
vx_uint64 min
Holds the minimum of the durations.
Definition: vx_types.h:1559
vx_uint64 end
Holds the last measurement in a set.
Definition: vx_types.h:1556
vx_uint64 max
Holds the maximum of the durations.
Definition: vx_types.h:1561
vx_uint64 tmp
Holds the last measurement.
Definition: vx_types.h:1554
vx_uint64 sum
Holds the summation of durations.
Definition: vx_types.h:1557
vx_uint64 avg
Holds the average of the durations.
Definition: vx_types.h:1558
vx_uint64 num
Holds the number of measurements.
Definition: vx_types.h:1560
vx_uint64 beg
Holds the first measurement in a set.
Definition: vx_types.h:1555
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
Definition: vx_types.h:1663
vx_uint32 start_x
The Start X coordinate.
Definition: vx_types.h:1664
vx_uint32 start_y
The Start Y coordinate.
Definition: vx_types.h:1665
vx_uint32 end_y
The End Y coordinate.
Definition: vx_types.h:1667
vx_uint32 end_x
The End X coordinate.
Definition: vx_types.h:1666
Matrix Multiply Parameters.
Definition: vx_types.h:1605
vx_bool transpose_input3
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1611
vx_bool transpose_input1
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1607
vx_bool transpose_input2
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1609
The HOG descriptor structure.
Definition: vx_types.h:1715
vx_float32 threshold
The threshold for the maximum L2-norm value for a histogram bin. It is used as part of block normaliz...
Definition: vx_types.h:1735
vx_int32 block_height
The histogram block height of type VX_TYPE_INT32. Must be divisible by cell_height.
Definition: vx_types.h:1723
vx_int32 window_width
The feature descriptor window width of type VX_TYPE_INT32
Definition: vx_types.h:1729
vx_int32 num_bins
The histogram size of type VX_TYPE_INT32.
Definition: vx_types.h:1727
vx_int32 cell_width
The histogram cell width of type VX_TYPE_INT32.
Definition: vx_types.h:1717
vx_int32 window_stride
The feature descriptor window stride of type VX_TYPE_INT32
Definition: vx_types.h:1733
vx_int32 block_width
The histogram block width of type VX_TYPE_INT32. Must be divisible by cell_width.
Definition: vx_types.h:1721
vx_int32 cell_height
The histogram cell height of type VX_TYPE_INT32.
Definition: vx_types.h:1719
vx_int32 window_height
The feature descriptor window height of type VX_TYPE_INT32
Definition: vx_types.h:1731
vx_int32 block_stride
The histogram block stride within the window of type VX_TYPE_INT32. Must be an integral number of cel...
Definition: vx_types.h:1725
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
Definition: vx_types.h:1699
vx_uint16 U16
VX_DF_IMAGE_U16
Definition: vx_types.h:1705
vx_uint8 YUV[3]
All YUV formats in the Y,U,V order.
Definition: vx_types.h:1702
vx_bool U1
VX_DF_IMAGE_U1
Definition: vx_types.h:1703
vx_int16 S16
VX_DF_IMAGE_S16
Definition: vx_types.h:1706
vx_uint8 RGBX[4]
VX_DF_IMAGE_RGBX format in the R,G,B,X order
Definition: vx_types.h:1701
vx_uint32 U32
VX_DF_IMAGE_U32
Definition: vx_types.h:1707
vx_int32 S32
VX_DF_IMAGE_S32
Definition: vx_types.h:1708
vx_uint8 RGB[3]
VX_DF_IMAGE_RGB format in the R,G,B order
Definition: vx_types.h:1700
vx_uint8 U8
VX_DF_IMAGE_U8
Definition: vx_types.h:1704
#define VX_MAX_KERNEL_NAME
Defines the length of a kernel name string to be added to OpenVX, including the trailing zero.
Definition: vx.h:41
struct _vx_convolution * vx_convolution
The Convolution Object. A user-defined convolution kernel of MxM elements.
Definition: vx_types.h:264
vx_parameter_attribute_e
The parameter attributes list.
Definition: vx_types.h:933
@ VX_PARAMETER_DIRECTION
Queries a parameter for its direction value on the kernel with which it is associated....
Definition: vx_types.h:937
@ VX_PARAMETER_INDEX
Queries a parameter for its index value on the kernel with which it is associated....
Definition: vx_types.h:935
@ VX_PARAMETER_REF
Use to extract the reference contained in the parameter. Read-only. Use a vx_reference parameter.
Definition: vx_types.h:943
@ VX_PARAMETER_TYPE
Queries a parameter for its type, vx_type_e is returned. Read-only. The size of the parameter is impl...
Definition: vx_types.h:939
@ VX_PARAMETER_META_FORMAT
Use to extract the meta format contained in the parameter. Read-only. Use a vx_meta_format parameter.
Definition: vx_types.h:945
@ VX_PARAMETER_STATE
Queries a parameter for its state. A value in vx_parameter_state_e is returned. Read-only....
Definition: vx_types.h:941
struct _vx_line2d_t vx_line2d_t
line struct
struct _vx_coordinates2df_t vx_coordinates2df_t
The floating-point 2D Coordinates structure.
struct _vx_imagepatch_addressing_t vx_imagepatch_addressing_t
The addressing image patch structure is used by the Host only to address pixels in an image patch....
vx_matrix_attribute_e
The matrix attributes.
Definition: vx_types.h:1080
@ VX_MATRIX_PATTERN
The pattern of the matrix. See vx_pattern_e . Read-only. Use a vx_enum parameter. If the matrix was c...
Definition: vx_types.h:1096
@ VX_MATRIX_SIZE
The total size of the matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1088
@ VX_MATRIX_TYPE
The value type of the matrix. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1082
@ VX_MATRIX_COLUMNS
The N dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1086
@ VX_MATRIX_ORIGIN
The origin of the matrix with a default value of [floor(VX_MATRIX_COLUMNS/2), floor(VX_MATRIX_ROWS/2)...
Definition: vx_types.h:1091
@ VX_MATRIX_ROWS
The M dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1084
struct _vx_context * vx_context
An opaque reference to the implementation context.
Definition: vx_types.h:218
vx_border_policy_e
The unsupported border mode policy list.
Definition: vx_types.h:1357
@ VX_BORDER_POLICY_DEFAULT_TO_UNDEFINED
Use VX_BORDER_UNDEFINED instead of unsupported border modes.
Definition: vx_types.h:1359
@ VX_BORDER_POLICY_RETURN_ERROR
Return VX_ERROR_NOT_SUPPORTED for unsupported border modes.
Definition: vx_types.h:1361
struct _vx_reference * vx_reference
A generic opaque reference to any object within OpenVX.
Definition: vx_types.h:145
struct _vx_scalar * vx_scalar
An opaque reference to a scalar.
Definition: vx_types.h:175
uint32_t vx_uint32
A 32-bit unsigned value.
Definition: vx_types.h:85
vx_status(VX_CALLBACK * vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[])
The user-defined kernel node parameters validation function. The function only needs to fill in the m...
Definition: vx_types.h:1815
vx_threshold_attribute_e
The threshold attributes.
Definition: vx_types.h:1068
@ VX_THRESHOLD_OUTPUT_FORMAT
The output image format the threshold was created for. Read-only. Use a vx_enum parameter....
Definition: vx_types.h:1074
@ VX_THRESHOLD_INPUT_FORMAT
The input image format the threshold was created for. Read-only. Use a vx_enum parameter....
Definition: vx_types.h:1072
@ VX_THRESHOLD_TYPE
The value type of the threshold. Read-only. Use a vx_enum parameter. Will contain a vx_threshold_type...
Definition: vx_types.h:1070
uint16_t vx_uint16
A 16-bit unsigned value.
Definition: vx_types.h:80
vx_border_e
The border mode list.
Definition: vx_types.h:1341
@ VX_BORDER_REPLICATE
For nodes that support this behavior, a replication of the nearest edge pixels value is given for out...
Definition: vx_types.h:1351
@ VX_BORDER_CONSTANT
For nodes that support this behavior, a constant value is filled-in when accessing out-of-bounds pixe...
Definition: vx_types.h:1347
@ VX_BORDER_UNDEFINED
No defined border mode behavior is given.
Definition: vx_types.h:1343
vx_meta_valid_rect_attribute_e
The meta valid rectangle attributes.
Definition: vx_types.h:1188
@ VX_VALID_RECT_CALLBACK
Valid rectangle callback during output parameter validation. Write-only.
Definition: vx_types.h:1190
vx_df_image_e
Based on the VX_DF_IMAGE definition.
Definition: vx_types.h:705
@ VX_DF_IMAGE_IYUV
A 3 plane of 8-bit 4:2:0 sampled Y, U, V planes. This uses the BT709 full range by default.
Definition: vx_types.h:736
@ VX_DF_IMAGE_U1
A single plane of unsigned 1-bit data packed eight pixels per byte. The least significant bit is the ...
Definition: vx_types.h:745
@ VX_DF_IMAGE_U16
A single plane of unsigned 16-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:755
@ VX_DF_IMAGE_S32
A single plane of unsigned 32-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:770
@ VX_DF_IMAGE_UYVY
A single plane of 32-bit macro pixel of U0, Y0, V0, Y1 bytes. This uses the BT709 full range by defau...
Definition: vx_types.h:728
@ VX_DF_IMAGE_VIRT
A virtual image of no defined type.
Definition: vx_types.h:707
@ VX_DF_IMAGE_U32
A single plane of unsigned 32-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:765
@ VX_DF_IMAGE_S16
A single plane of signed 16-bit data. The range of data is not specified, as it may be extracted from...
Definition: vx_types.h:760
@ VX_DF_IMAGE_YUYV
A single plane of 32-bit macro pixel of Y0, U0, Y1, V0 bytes. This uses the BT709 full range by defau...
Definition: vx_types.h:732
@ VX_DF_IMAGE_NV21
A 2-plane YUV format of Luma (Y) and interleaved VU data at 4:2:0 sampling. This uses the BT709 full ...
Definition: vx_types.h:724
@ VX_DF_IMAGE_RGB
A single plane of 24-bit pixel as 3 interleaved 8-bit units of R then G then B data....
Definition: vx_types.h:711
@ VX_DF_IMAGE_NV12
A 2-plane YUV format of Luma (Y) and interleaved UV data at 4:2:0 sampling. This uses the BT709 full ...
Definition: vx_types.h:720
@ VX_DF_IMAGE_U8
A single plane of unsigned 8-bit data. The range of data is not specified, as it may be extracted fro...
Definition: vx_types.h:750
@ VX_DF_IMAGE_RGBX
A single plane of 32-bit pixel as 4 interleaved 8-bit units of R then G then B data,...
Definition: vx_types.h:716
@ VX_DF_IMAGE_YUV4
A 3 plane of 8 bit 4:4:4 sampled Y, U, V planes. This uses the BT709 full range by default.
Definition: vx_types.h:740
vx_color_space_e
The image color space list used by the VX_IMAGE_SPACE attribute of a vx_image.
Definition: vx_types.h:1300
@ VX_COLOR_SPACE_DEFAULT
All images in VX are by default BT.709.
Definition: vx_types.h:1311
@ VX_COLOR_SPACE_BT601_625
Use to indicate that the BT.601 coefficients and BTU primaries are used for conversions.
Definition: vx_types.h:1306
@ VX_COLOR_SPACE_BT601_525
Use to indicate that the BT.601 coefficients and SMPTE C primaries are used for conversions.
Definition: vx_types.h:1304
@ VX_COLOR_SPACE_BT709
Use to indicate that the BT.709 coefficients are used for conversions.
Definition: vx_types.h:1308
@ VX_COLOR_SPACE_NONE
Use to indicate that no color space is used.
Definition: vx_types.h:1302
struct _vx_threshold * vx_threshold
The Threshold Object. A thresholding object contains the types and limit values of the thresholding r...
Definition: vx_types.h:258
struct _vx_keypoint_t vx_keypoint_t
The keypoint data structure.
int16_t vx_int16
A 16-bit signed value.
Definition: vx_types.h:100
vx_action_e
A return code enumeration from a vx_nodecomplete_f during execution.
Definition: vx_types.h:601
@ VX_ACTION_ABANDON
Stop executing the graph.
Definition: vx_types.h:605
@ VX_ACTION_CONTINUE
Continue executing the graph with no changes.
Definition: vx_types.h:603
vx_tensor_attribute_e
tensor Data attributes.
Definition: vx_types.h:1174
@ VX_TENSOR_DIMS
Dimension sizes.
Definition: vx_types.h:1178
@ VX_TENSOR_DATA_TYPE
tensor Data element data type. vx_type_e
Definition: vx_types.h:1180
@ VX_TENSOR_FIXED_POINT_POSITION
fixed point position when the input element type is integer.
Definition: vx_types.h:1182
@ VX_TENSOR_NUMBER_OF_DIMS
Number of dimensions.
Definition: vx_types.h:1176
vx_status(VX_API_CALL * vx_publish_kernels_f)(vx_context context)
The type of the vxPublishKernels entry function of modules loaded by vxLoadKernels and unloaded by vx...
Definition: vx_types.h:1760
struct _vx_delay * vx_delay
The delay object. This is like a ring buffer of objects that is maintained by the OpenVX implementati...
Definition: vx_types.h:226
vx_distribution_attribute_e
The distribution attribute list.
Definition: vx_types.h:1039
@ VX_DISTRIBUTION_DIMENSIONS
Indicates the number of dimensions in the distribution. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1041
@ VX_DISTRIBUTION_SIZE
Indicates the total size of the distribution in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1052
@ VX_DISTRIBUTION_OFFSET
Indicates the start of the values to use (inclusive). Read-only. Use a vx_int32 parameter.
Definition: vx_types.h:1043
@ VX_DISTRIBUTION_WINDOW
Indicates the width of a bin. Equal to the range divided by the number of bins. If the range is not a...
Definition: vx_types.h:1050
@ VX_DISTRIBUTION_RANGE
Indicates the total number of the consecutive values of the distribution interval.
Definition: vx_types.h:1045
@ VX_DISTRIBUTION_BINS
Indicates the number of bins. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1047
vx_channel_range_e
The image channel range list used by the VX_IMAGE_RANGE attribute of a vx_image.
Definition: vx_types.h:1317
@ VX_CHANNEL_RANGE_RESTRICTED
Restricted range of the unit of the channel based on the space given.
Definition: vx_types.h:1321
@ VX_CHANNEL_RANGE_FULL
Full range of the unit of the channel.
Definition: vx_types.h:1319
struct _vx_object_array * vx_object_array
The ObjectArray Object. ObjectArray is a strongly-typed container of OpenVX data-objects.
Definition: vx_types.h:280
vx_bool_e
A Boolean value. This allows 0 to be FALSE, as it is in C, and any non-zero to be TRUE.
Definition: vx_types.h:301
@ vx_true_e
The "true" value.
Definition: vx_types.h:305
@ vx_false_e
The "false" value.
Definition: vx_types.h:303
struct _vx_parameter * vx_parameter
An opaque reference to a single parameter.
Definition: vx_types.h:197
double vx_float64
A 64-bit float value (aka double).
Definition: vx_types.h:134
uint32_t vx_df_image
Used to hold a VX_DF_IMAGE code to describe the pixel format and color space.
Definition: vx_types.h:162
vx_target_e
The Target Enumeration.
Definition: vx_types.h:776
@ VX_TARGET_VENDOR_BEGIN
Start of Vendor specific target enumerates.
Definition: vx_types.h:782
@ VX_TARGET_STRING
Target, explicitly specified by its (case-insensitive) name string.
Definition: vx_types.h:780
@ VX_TARGET_ANY
Any available target. An OpenVX implementation must support at least one target associated with this ...
Definition: vx_types.h:778
struct _vx_kernel * vx_kernel
An opaque reference to the descriptor of a kernel.
Definition: vx_types.h:190
vx_pattern_e
An enumeration of matrix patterns. See vxCreateMatrixFromPattern and vxCreateMatrixFromPatternAndOri...
Definition: vx_types.h:1286
@ VX_PATTERN_BOX
Box pattern matrix.
Definition: vx_types.h:1288
@ VX_PATTERN_DISK
A square matrix (rows = columns = size)
Definition: vx_types.h:1292
@ VX_PATTERN_CROSS
Cross pattern matrix.
Definition: vx_types.h:1290
@ VX_PATTERN_OTHER
Matrix with any pattern other than above.
Definition: vx_types.h:1294
vx_type_e
The type enumeration lists all the known types in OpenVX.
Definition: vx_types.h:328
@ VX_TYPE_KHRONOS_OBJECT_START
A Khronos defined object base index.
Definition: vx_types.h:369
@ VX_TYPE_VENDOR_STRUCT_START
A vendor-defined struct base index.
Definition: vx_types.h:368
@ VX_TYPE_UINT16
A vx_uint16.
Definition: vx_types.h:334
@ VX_TYPE_UINT64
A vx_uint64.
Definition: vx_types.h:338
@ VX_TYPE_LUT
A vx_lut.
Definition: vx_types.h:387
@ VX_TYPE_NODE
A vx_node.
Definition: vx_types.h:383
@ VX_TYPE_LINE_2D
A vx_line2d_t.
Definition: vx_types.h:363
@ VX_TYPE_REMAP
A vx_remap.
Definition: vx_types.h:396
@ VX_TYPE_SCALAR
A vx_scalar. when needed to be completely generic for kernel validation.
Definition: vx_types.h:393
@ VX_TYPE_TENSOR
A vx_tensor.
Definition: vx_types.h:402
@ VX_TYPE_COORDINATES2D
A vx_coordinates2d_t.
Definition: vx_types.h:349
@ VX_TYPE_SIZE
A vx_size.
Definition: vx_types.h:342
@ VX_TYPE_DF_IMAGE
A vx_df_image.
Definition: vx_types.h:343
@ VX_TYPE_KHRONOS_STRUCT_MAX
A value for comparison between Khronos defined structs and user structs.
Definition: vx_types.h:372
@ VX_TYPE_CONTEXT
A vx_context.
Definition: vx_types.h:381
@ VX_TYPE_HOUGH_LINES_PARAMS
A vx_hough_lines_p_t.
Definition: vx_types.h:362
@ VX_TYPE_KHRONOS_OBJECT_END
A value for comparison between Khronos defined objects and vendor structs.
Definition: vx_types.h:376
@ VX_TYPE_META_FORMAT
A vx_meta_format.
Definition: vx_types.h:398
@ VX_TYPE_VENDOR_STRUCT_END
A value for comparison between vendor structs and Khronos defined objects.
Definition: vx_types.h:375
@ VX_TYPE_ARRAY
A vx_array.
Definition: vx_types.h:394
@ VX_TYPE_OBJECT_ARRAY
A vx_object_array.
Definition: vx_types.h:399
@ VX_TYPE_INT64
A vx_int64.
Definition: vx_types.h:337
@ VX_TYPE_VENDOR_OBJECT_START
A vendor defined object base index.
Definition: vx_types.h:370
@ VX_TYPE_TENSOR_MATRIX_MULTIPLY_PARAMS
A vx_tensor_matrix_multiply_params_t.
Definition: vx_types.h:364
@ VX_TYPE_USER_STRUCT_END
A value for comparison between user structs and vendor structs.
Definition: vx_types.h:374
@ VX_TYPE_PYRAMID
A vx_pyramid.
Definition: vx_types.h:389
@ VX_TYPE_MATRIX
A vx_matrix.
Definition: vx_types.h:391
@ VX_TYPE_PARAMETER
A vx_parameter.
Definition: vx_types.h:385
@ VX_TYPE_INT16
A vx_int16.
Definition: vx_types.h:333
@ VX_TYPE_BOOL
A vx_bool.
Definition: vx_types.h:345
@ VX_TYPE_CONVOLUTION
A vx_convolution.
Definition: vx_types.h:392
@ VX_TYPE_UINT8
A vx_uint8.
Definition: vx_types.h:332
@ VX_TYPE_VENDOR_OBJECT_END
A value used for bound checking of vendor objects.
Definition: vx_types.h:377
@ VX_TYPE_FLOAT64
A vx_float64.
Definition: vx_types.h:340
@ VX_TYPE_FLOAT32
A vx_float32.
Definition: vx_types.h:339
@ VX_TYPE_ENUM
A vx_enum. Equivalent in size to a vx_int32.
Definition: vx_types.h:341
@ VX_TYPE_KERNEL
A vx_kernel.
Definition: vx_types.h:384
@ VX_TYPE_COORDINATES2DF
A vx_coordinates2df_t.
Definition: vx_types.h:351
@ VX_TYPE_COORDINATES3D
A vx_coordinates3d_t.
Definition: vx_types.h:350
@ VX_TYPE_INVALID
An invalid type value. When passed an error must be returned.
Definition: vx_types.h:329
@ VX_TYPE_UINT32
A vx_uint32.
Definition: vx_types.h:336
@ VX_TYPE_RECTANGLE
A vx_rectangle_t.
Definition: vx_types.h:347
@ VX_TYPE_DISTRIBUTION
A vx_distribution.
Definition: vx_types.h:388
@ VX_TYPE_THRESHOLD
A vx_threshold.
Definition: vx_types.h:390
@ VX_TYPE_DELAY
A vx_delay.
Definition: vx_types.h:386
@ VX_TYPE_ERROR
An error object which has no type.
Definition: vx_types.h:397
@ VX_TYPE_USER_STRUCT_START
A user-defined struct base index.
Definition: vx_types.h:367
@ VX_TYPE_INT8
A vx_int8.
Definition: vx_types.h:331
@ VX_TYPE_KEYPOINT
A vx_keypoint_t.
Definition: vx_types.h:348
@ VX_TYPE_FLOAT16
A vx_float16.
Definition: vx_types.h:344
@ VX_TYPE_IMAGE
A vx_image.
Definition: vx_types.h:395
@ VX_TYPE_GRAPH
A vx_graph.
Definition: vx_types.h:382
@ VX_TYPE_INT32
A vx_int32.
Definition: vx_types.h:335
@ VX_TYPE_REFERENCE
A vx_reference.
Definition: vx_types.h:380
@ VX_TYPE_CHAR
A vx_char.
Definition: vx_types.h:330
@ VX_TYPE_HOG_PARAMS
A vx_hog_t.
Definition: vx_types.h:361
vx_scalar_operation_e
A type of operation in which both operands are scalars.
Definition: vx_types.h:985
@ VX_SCALAR_OP_NAND
logical nand.
Definition: vx_types.h:993
@ VX_SCALAR_OP_LESS
comparison (less than).
Definition: vx_types.h:999
@ VX_SCALAR_OP_MULTIPLY
arithmetic multiplication.
Definition: vx_types.h:1011
@ VX_SCALAR_OP_GREATER
comparison (greater than).
Definition: vx_types.h:1003
@ VX_SCALAR_OP_XOR
logical exclusive or.
Definition: vx_types.h:991
@ VX_SCALAR_OP_LESSEQ
comparison (less than or equal to).
Definition: vx_types.h:1001
@ VX_SCALAR_OP_AND
logical and.
Definition: vx_types.h:987
@ VX_SCALAR_OP_EQUAL
comparison (equal).
Definition: vx_types.h:995
@ VX_SCALAR_OP_DIVIDE
arithmetic division.
Definition: vx_types.h:1013
@ VX_SCALAR_OP_MIN
minimum of two scalars.
Definition: vx_types.h:1017
@ VX_SCALAR_OP_MODULUS
arithmetic (modulo operator).
Definition: vx_types.h:1015
@ VX_SCALAR_OP_ADD
arithmetic addition.
Definition: vx_types.h:1007
@ VX_SCALAR_OP_SUBTRACT
arithmetic subtraction.
Definition: vx_types.h:1009
@ VX_SCALAR_OP_MAX
maximum of two scalars.
Definition: vx_types.h:1019
@ VX_SCALAR_OP_OR
logical or.
Definition: vx_types.h:989
@ VX_SCALAR_OP_GREATEREQ
comparison (greater than or equal to).
Definition: vx_types.h:1005
@ VX_SCALAR_OP_NOTEQUAL
comparison (not equal).
Definition: vx_types.h:997
size_t vx_size
A wrapper of size_t to keep the naming convention uniform.
Definition: vx_types.h:157
struct _vx_remap * vx_remap
The remap table Object. A remap table contains per-pixel mapping of output pixels to input pixels.
Definition: vx_types.h:270
vx_convert_policy_e
The Conversion Policy Enumeration.
Definition: vx_types.h:692
@ VX_CONVERT_POLICY_WRAP
Results are the least significant bits of the output operand, as if stored in two's complement binary...
Definition: vx_types.h:696
@ VX_CONVERT_POLICY_SATURATE
Results are saturated to the bit depth of the output operand.
Definition: vx_types.h:698
vx_direction_e
An indication of how a kernel will treat the given parameter.
Definition: vx_types.h:611
@ VX_OUTPUT
The parameter is an output only.
Definition: vx_types.h:615
@ VX_INPUT
The parameter is an input only.
Definition: vx_types.h:613
int8_t vx_int8
An 8-bit signed value.
Definition: vx_types.h:95
vx_lbp_format_e
Local binary pattern supported.
Definition: vx_types.h:1434
@ VX_MLBP
Modified Local Binary Patterns.
Definition: vx_types.h:1441
@ VX_LBP
local binary pattern
Definition: vx_types.h:1437
@ VX_ULBP
Uniform local binary pattern.
Definition: vx_types.h:1444
vx_status(VX_CALLBACK * vx_kernel_image_valid_rectangle_f)(vx_node node, vx_uint32 index, const vx_rectangle_t *const input_valid[], vx_rectangle_t *const output_valid[])
A user-defined callback function to set the valid rectangle of an output image.
Definition: vx_types.h:1848
vx_lut_attribute_e
The Look-Up Table (LUT) attribute list.
Definition: vx_types.h:1025
@ VX_LUT_SIZE
Indicates the total size of the LUT in bytes. Read-only. Uses a vx_size.
Definition: vx_types.h:1031
@ VX_LUT_TYPE
Indicates the value type of the LUT. Read-only. Use a vx_enum.
Definition: vx_types.h:1027
@ VX_LUT_OFFSET
Indicates the index of the input value = 0. Read-only. Uses a vx_uint32.
Definition: vx_types.h:1033
@ VX_LUT_COUNT
Indicates the number of elements in the LUT. Read-only. Use a vx_size.
Definition: vx_types.h:1029
struct _vx_lut * vx_lut
The Look-Up Table (LUT) Object.
Definition: vx_types.h:232
struct _vx_matrix * vx_matrix
The Matrix Object. An MxN matrix of some unit type.
Definition: vx_types.h:245
vx_channel_e
The channel enumerations for channel extractions.
Definition: vx_types.h:1199
@ VX_CHANNEL_3
Used by formats with unknown channel types.
Definition: vx_types.h:1207
@ VX_CHANNEL_B
Use to extract the BLUE channel, no matter the byte or packing order.
Definition: vx_types.h:1214
@ VX_CHANNEL_G
Use to extract the GREEN channel, no matter the byte or packing order.
Definition: vx_types.h:1212
@ VX_CHANNEL_Y
Use to extract the LUMA channel, no matter the byte or packing order.
Definition: vx_types.h:1218
@ VX_CHANNEL_V
Use to extract the Cr/V/Value channel, no matter the byte or packing order.
Definition: vx_types.h:1222
@ VX_CHANNEL_A
Use to extract the ALPHA channel, no matter the byte or packing order.
Definition: vx_types.h:1216
@ VX_CHANNEL_R
Use to extract the RED channel, no matter the byte or packing order.
Definition: vx_types.h:1210
@ VX_CHANNEL_0
Used by formats with unknown channel types.
Definition: vx_types.h:1201
@ VX_CHANNEL_1
Used by formats with unknown channel types.
Definition: vx_types.h:1203
@ VX_CHANNEL_2
Used by formats with unknown channel types.
Definition: vx_types.h:1205
@ VX_CHANNEL_U
Use to extract the Cb/U channel, no matter the byte or packing order.
Definition: vx_types.h:1220
vx_status(VX_CALLBACK * vx_kernel_initialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the kernel initializer. If the host code requires a call to initialize data once all t...
Definition: vx_types.h:1788
vx_delay_attribute_e
The delay attribute list.
Definition: vx_types.h:1393
@ VX_DELAY_TYPE
The type of objects in the delay. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1395
@ VX_DELAY_SLOTS
The number of items in the delay. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1397
vx_kernel_attribute_e
The kernel attributes list.
Definition: vx_types.h:865
@ VX_KERNEL_LOCAL_DATA_SIZE
The local data area allocated with each kernel when it becomes a node. Read-write....
Definition: vx_types.h:883
@ VX_KERNEL_ENUM
Queries the enum of the kernel. Not settable. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:877
@ VX_KERNEL_NAME
Queries the name of the kernel. Not settable. Read-only. Use a vx_char[VX_MAX_KERNEL_NAME] array (not...
Definition: vx_types.h:873
@ VX_KERNEL_PARAMETERS
Queries a kernel for the number of parameters the kernel supports. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:869
struct _vx_tensor_t * vx_tensor
The multidimensional data object (Tensor).
Definition: vx_types.h:287
vx_action(VX_CALLBACK * vx_nodecomplete_f)(vx_node node)
A callback to the client after a particular node has completed.
Definition: vx_types.h:460
vx_enum_e
The set of supported enumerations in OpenVX.
Definition: vx_types.h:556
@ VX_ENUM_COMP_METRIC
Compare metric.
Definition: vx_types.h:582
@ VX_ENUM_DIRECTION
Parameter Direction.
Definition: vx_types.h:557
@ VX_ENUM_OVERFLOW
Overflow Policies.
Definition: vx_types.h:562
@ VX_ENUM_SCALAR_OPERATION
Scalar operation list.
Definition: vx_types.h:594
@ VX_ENUM_HINT
Hint Values.
Definition: vx_types.h:559
@ VX_ENUM_COMPARISON
Comparison Values.
Definition: vx_types.h:570
@ VX_ENUM_COLOR_SPACE
Color Space.
Definition: vx_types.h:563
@ VX_ENUM_BORDER_POLICY
Unsupported Border Mode Policy List.
Definition: vx_types.h:577
@ VX_ENUM_ACCESSOR
An accessor flag type.
Definition: vx_types.h:574
@ VX_ENUM_PARAMETER_STATE
Parameter State.
Definition: vx_types.h:565
@ VX_ENUM_ROUND_POLICY
Rounding Policy.
Definition: vx_types.h:575
@ VX_ENUM_COLOR_RANGE
Color Space Range.
Definition: vx_types.h:564
@ VX_ENUM_CONVERT_POLICY
Convert Policy.
Definition: vx_types.h:567
@ VX_ENUM_DIRECTIVE
Directive Values.
Definition: vx_types.h:560
@ VX_ENUM_LBP_FORMAT
Lbp format.
Definition: vx_types.h:581
@ VX_ENUM_MEMORY_TYPE
The memory type enumeration.
Definition: vx_types.h:571
@ VX_ENUM_THRESHOLD_TYPE
Threshold Type List.
Definition: vx_types.h:568
@ VX_ENUM_TERM_CRITERIA
A termination criteria.
Definition: vx_types.h:572
@ VX_ENUM_BORDER
Border Mode List.
Definition: vx_types.h:569
@ VX_ENUM_PATTERN
Matrix pattern enumeration.
Definition: vx_types.h:580
@ VX_ENUM_CHANNEL
Channel Name.
Definition: vx_types.h:566
@ VX_ENUM_NONLINEAR
Non-linear function list.
Definition: vx_types.h:579
@ VX_ENUM_TARGET
Target.
Definition: vx_types.h:576
@ VX_ENUM_NORM_TYPE
A norm type.
Definition: vx_types.h:573
@ VX_ENUM_ACTION
Action Codes.
Definition: vx_types.h:558
@ VX_ENUM_GRAPH_STATE
Graph attribute states.
Definition: vx_types.h:578
@ VX_ENUM_INTERPOLATION
Interpolation Types.
Definition: vx_types.h:561
vx_enum vx_status
A formal status type with known fixed size.
Definition: vx_types.h:445
vx_node_attribute_e
The node attributes list.
Definition: vx_types.h:889
@ VX_NODE_STATUS
Queries the status of node execution. Read-only. Use a vx_status parameter.
Definition: vx_types.h:891
@ VX_NODE_PARAMETERS
Indicates the number of node parameters, including optional parameters that are not passed....
Definition: vx_types.h:915
@ VX_NODE_LOCAL_DATA_SIZE
Indicates the size of the kernel local memory area. Read-only. Can be written only at user-node (de)i...
Definition: vx_types.h:906
@ VX_NODE_IS_REPLICATED
Indicates whether the node is replicated. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:919
@ VX_NODE_PERFORMANCE
Queries the performance of the node execution. The accuracy of timing information is platform depende...
Definition: vx_types.h:897
@ VX_NODE_BORDER
Gets or sets the border mode of the node. Read-write. Use a vx_border_t structure with a default valu...
Definition: vx_types.h:901
@ VX_NODE_LOCAL_DATA_PTR
Indicates the pointer kernel local memory area. Read-Write. Can be written only at user-node (de)init...
Definition: vx_types.h:911
@ VX_NODE_VALID_RECT_RESET
Indicates the behavior with respect to the valid rectangle. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:927
@ VX_NODE_REPLICATE_FLAGS
Indicates the replicated parameters. Read-only. Use a vx_bool* parameter.
Definition: vx_types.h:923
vx_status(VX_CALLBACK * vx_kernel_deinitialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the kernel deinitializer. If the host code requires a call to deinitialize data during...
Definition: vx_types.h:1799
vx_image_attribute_e
The image attributes list.
Definition: vx_types.h:951
@ VX_IMAGE_IS_UNIFORM
Queries if an image is uniform. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:968
@ VX_IMAGE_RANGE
Queries an image for its channel range (see vx_channel_range_e). Read-only. Use a vx_enum parameter.
Definition: vx_types.h:963
@ VX_IMAGE_PLANES
Queries an image for its number of planes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:959
@ VX_IMAGE_WIDTH
Queries an image for its width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:953
@ VX_IMAGE_MEMORY_TYPE
Queries memory type if created using vxCreateImageFromHandle. If vx_image was not created using vxCre...
Definition: vx_types.h:966
@ VX_IMAGE_FORMAT
Queries an image for its format. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:957
@ VX_IMAGE_UNIFORM_VALUE
Queries the image uniform value if any. Read-only. Use a vx_pixel_value_t parameter.
Definition: vx_types.h:970
@ VX_IMAGE_HEIGHT
Queries an image for its height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:955
@ VX_IMAGE_SPACE
Queries an image for its color space (see vx_color_space_e). Read-write. Use a vx_enum parameter.
Definition: vx_types.h:961
int32_t vx_enum
Sets the standard enumeration type size to be a fixed quantity.
Definition: vx_types.h:152
vx_reference_attribute_e
The reference attributes list.
Definition: vx_types.h:788
@ VX_REFERENCE_COUNT
Returns the reference count of the object. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:790
@ VX_REFERENCE_NAME
Used to query the reference for its name. Read-write. Use a *vx_char parameter.
Definition: vx_types.h:794
@ VX_REFERENCE_TYPE
Returns the vx_type_e of the reference. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:792
vx_object_array_attribute_e
The ObjectArray object attributes.
Definition: vx_types.h:1164
@ VX_OBJECT_ARRAY_ITEMTYPE
The type of the ObjectArray items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1166
@ VX_OBJECT_ARRAY_NUMITEMS
The number of items in the ObjectArray. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1168
#define VX_ENUM_BASE(vendor, id)
Defines the manner in which to combine the Vendor and Object IDs to get the base value of the enumera...
Definition: vx_types.h:550
struct _vx_perf_t vx_perf_t
The performance measurement structure. The time or durations are in units of nano seconds.
vx_termination_criteria_e
The termination criteria list.
Definition: vx_types.h:1368
@ VX_TERM_CRITERIA_ITERATIONS
Indicates a termination after a set number of iterations.
Definition: vx_types.h:1370
@ VX_TERM_CRITERIA_EPSILON
Indicates a termination after matching against the value of eplison provided to the function.
Definition: vx_types.h:1372
@ VX_TERM_CRITERIA_BOTH
Indicates that both an iterations and eplison method are employed. Whichever one matches first causes...
Definition: vx_types.h:1376
struct _vx_graph * vx_graph
An opaque reference to a graph.
Definition: vx_types.h:211
struct _vx_node * vx_node
An opaque reference to a kernel node.
Definition: vx_types.h:204
vx_context_attribute_e
A list of context attributes.
Definition: vx_types.h:800
@ VX_CONTEXT_CONVOLUTION_MAX_DIMENSION
The maximum width or height of a convolution matrix. Read-only. Use a vx_size parameter....
Definition: vx_types.h:831
@ VX_CONTEXT_REFERENCES
Queries the context for the number of active references. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:810
@ VX_CONTEXT_EXTENSIONS_SIZE
Queries the number of bytes in the extensions string. Read-only. Use a vx_size parameter.
Definition: vx_types.h:814
@ VX_CONTEXT_IMMEDIATE_BORDER
The border mode for immediate mode functions.
Definition: vx_types.h:840
@ VX_CONTEXT_EXTENSIONS
Retrieves the extensions string. Read-only. This is a space-separated string of extension names....
Definition: vx_types.h:820
@ VX_CONTEXT_VENDOR_ID
Queries the unique vendor ID. Read-only. Use a vx_uint16.
Definition: vx_types.h:802
@ VX_CONTEXT_NONLINEAR_MAX_DIMENSION
The dimension of the largest nonlinear filter supported. See vxNonLinearFilterNode.
Definition: vx_types.h:857
@ VX_CONTEXT_MODULES
Queries the context for the number of active modules. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:808
@ VX_CONTEXT_UNIQUE_KERNELS
Queries the context for the number of unique kernels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:806
@ VX_CONTEXT_IMPLEMENTATION
Queries the context for it's implementation name. Read-only. Use a vx_char[VX_MAX_IMPLEMENTATION_NAME...
Definition: vx_types.h:812
@ VX_CONTEXT_UNIQUE_KERNEL_TABLE
Returns the table of all unique the kernels that exist in the context. Read-only. Use a vx_kernel_inf...
Definition: vx_types.h:846
@ VX_CONTEXT_MAX_TENSOR_DIMS
tensor Data maximal number of dimensions supported by the implementation.
Definition: vx_types.h:859
@ VX_CONTEXT_VERSION
Queries the OpenVX Version Number. Read-only. Use a vx_uint16
Definition: vx_types.h:804
@ VX_CONTEXT_IMMEDIATE_BORDER_POLICY
The unsupported border mode policy for immediate mode functions. Read-Write.
Definition: vx_types.h:851
@ VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION
The maximum window dimension of the OpticalFlowPyrLK kernel. The value of this attribute shall be equ...
Definition: vx_types.h:835
vx_enum vx_action
The formal typedef of the response from the callback.
Definition: vx_types.h:451
struct _vx_kernel_info_t vx_kernel_info_t
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
int32_t vx_int32
A 32-bit signed value.
Definition: vx_types.h:105
vx_threshold_type_e
The Threshold types.
Definition: vx_types.h:1058
@ VX_THRESHOLD_TYPE_RANGE
A threshold with 2 values (upper/lower). Use with Canny Edge Detection.
Definition: vx_types.h:1062
@ VX_THRESHOLD_TYPE_BINARY
A threshold with only 1 value.
Definition: vx_types.h:1060
struct _vx_rectangle_t vx_rectangle_t
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
uintptr_t vx_map_id
Holds the address of a variable where the map/unmap functions return a map identifier.
Definition: vx_types.h:167
vx_hint_e
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or featur...
Definition: vx_types.h:623
@ VX_HINT_PERFORMANCE_HIGH_SPEED
Indicates the user preference for highest performance over low power consumption.
Definition: vx_types.h:635
@ VX_HINT_PERFORMANCE_DEFAULT
Indicates to the implementation that user do not apply any specific requirements for performance.
Definition: vx_types.h:627
@ VX_HINT_PERFORMANCE_LOW_POWER
Indicates the user preference is low power consumption versus highest performance.
Definition: vx_types.h:631
vx_pyramid_attribute_e
The pyramid object attributes.
Definition: vx_types.h:1120
@ VX_PYRAMID_FORMAT
The vx_df_image_e format of the image. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:1130
@ VX_PYRAMID_SCALE
The scale factor between each level of the pyramid. Read-only. Use a vx_float32 parameter.
Definition: vx_types.h:1124
@ VX_PYRAMID_WIDTH
The width of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1126
@ VX_PYRAMID_HEIGHT
The height of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1128
@ VX_PYRAMID_LEVELS
The number of levels of the pyramid. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1122
vx_graph_state_e
The Graph State Enumeration.
Definition: vx_types.h:659
@ VX_GRAPH_STATE_VERIFIED
The graph has been verified and has not been executed or scheduled for execution yet.
Definition: vx_types.h:663
@ VX_GRAPH_STATE_ABANDONED
The graph execution was abandoned.
Definition: vx_types.h:667
@ VX_GRAPH_STATE_UNVERIFIED
The graph should be verified before execution.
Definition: vx_types.h:661
@ VX_GRAPH_STATE_COMPLETED
The graph execution is completed and the graph is not scheduled for execution.
Definition: vx_types.h:669
@ VX_GRAPH_STATE_RUNNING
The graph either has been scheduled and not completed, or is being executed.
Definition: vx_types.h:665
char vx_char
An 8 bit ASCII character.
Definition: vx_types.h:70
vx_status_e
The enumeration of all status codes.
Definition: vx_types.h:411
@ VX_ERROR_INVALID_NODE
Indicates that the supplied node could not be created.
Definition: vx_types.h:419
@ VX_ERROR_NO_MEMORY
Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection,...
Definition: vx_types.h:430
@ VX_ERROR_NOT_SUPPORTED
Indicates that the requested set of parameters produce a configuration that cannot be supported....
Definition: vx_types.h:435
@ VX_SUCCESS
No error.
Definition: vx_types.h:438
@ VX_STATUS_MIN
Indicates the lower bound of status codes in VX. Used for bounds checks only.
Definition: vx_types.h:412
@ VX_ERROR_INVALID_TYPE
Indicates that the supplied type parameter is incorrect.
Definition: vx_types.h:421
@ VX_ERROR_INVALID_FORMAT
Indicates that the supplied parameter is in an invalid format.
Definition: vx_types.h:424
@ VX_ERROR_OPTIMIZED_AWAY
Indicates that the object refered to has been optimized out of existence.
Definition: vx_types.h:429
@ VX_ERROR_INVALID_PARAMETERS
Indicates that the supplied parameter information does not match the kernel contract.
Definition: vx_types.h:428
@ VX_ERROR_INVALID_DIMENSION
Indicates that the supplied parameter is too big or too small in dimension.
Definition: vx_types.h:423
@ VX_ERROR_NOT_IMPLEMENTED
Indicates that the requested kernel is missing.
Definition: vx_types.h:436
@ VX_ERROR_INVALID_LINK
Indicates that the link is not possible as specified. The parameters are incompatible.
Definition: vx_types.h:425
@ VX_ERROR_INVALID_SCOPE
Indicates that the supplied parameter is from another scope and cannot be used in the current scope.
Definition: vx_types.h:418
@ VX_ERROR_INVALID_REFERENCE
Indicates that the reference provided is not valid.
Definition: vx_types.h:426
@ VX_ERROR_INVALID_VALUE
Indicates that the supplied parameter has an incorrect value.
Definition: vx_types.h:422
@ VX_ERROR_NOT_ALLOCATED
Indicates to the system that the parameter must be allocated by the system.
Definition: vx_types.h:433
@ VX_ERROR_REFERENCE_NONZERO
Indicates that an operation did not complete due to a reference count being non-zero.
Definition: vx_types.h:414
@ VX_FAILURE
Indicates a generic error code, used when no other describes the error.
Definition: vx_types.h:437
@ VX_ERROR_MULTIPLE_WRITERS
Indicates that the graph has more than one node outputting to the same data object....
Definition: vx_types.h:415
@ VX_ERROR_GRAPH_SCHEDULED
Indicates that the supplied graph already has been scheduled and may be currently executing.
Definition: vx_types.h:417
@ VX_ERROR_INVALID_MODULE
This is returned from vxLoadKernels when the module does not contain the entry point.
Definition: vx_types.h:427
@ VX_ERROR_NOT_COMPATIBLE
Indicates that the attempt to link two parameters together failed due to type incompatibilty.
Definition: vx_types.h:432
@ VX_ERROR_INVALID_GRAPH
Indicates that the supplied graph has invalid connections (cycles).
Definition: vx_types.h:420
@ VX_ERROR_NOT_SUFFICIENT
Indicates that the given graph has failed verification due to an insufficient number of required para...
Definition: vx_types.h:434
@ VX_ERROR_NO_RESOURCES
Indicates that an internal or implicit resource can not be acquired (not memory). This is typically c...
Definition: vx_types.h:431
@ VX_ERROR_GRAPH_ABANDONED
Indicates that the graph is stopped due to an error or a callback that abandoned execution.
Definition: vx_types.h:416
vx_comp_metric_e
comparing metrics.
Definition: vx_types.h:1453
@ VX_COMPARE_L2_NORM
L2 normalized distance .
Definition: vx_types.h:1464
@ VX_COMPARE_HAMMING
hamming distance
Definition: vx_types.h:1455
@ VX_COMPARE_CCORR
cross correlation distance
Definition: vx_types.h:1461
@ VX_COMPARE_L1
L1 distance .
Definition: vx_types.h:1457
@ VX_COMPARE_L2
L2 distance normalized by image size .
Definition: vx_types.h:1459
@ VX_COMPARE_CCORR_NORM
cross correlation normalized distance
Definition: vx_types.h:1467
#define VX_ATTRIBUTE_BASE(vendor, object)
Defines the manner in which to combine the Vendor and Object IDs to get the base value of the enumera...
Definition: vx_types.h:533
struct _vx_border_t vx_border_t
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
vx_map_flag_e
The Map/Unmap operation enumeration.
Definition: vx_types.h:1861
@ VX_NOGAP_X
No Gap.
Definition: vx_types.h:1862
uint64_t vx_uint64
A 64-bit unsigned value.
Definition: vx_types.h:90
vx_norm_type_e
A normalization type.
Definition: vx_types.h:1383
@ VX_NORM_L1
The L1 normalization.
Definition: vx_types.h:1385
@ VX_NORM_L2
The L2 normalization.
Definition: vx_types.h:1387
struct _vx_coordinates2d_t vx_coordinates2d_t
The 2D Coordinates structure.
vx_directive_e
These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or f...
Definition: vx_types.h:645
@ VX_DIRECTIVE_DISABLE_LOGGING
Disables recording information for graph debugging.
Definition: vx_types.h:647
@ VX_DIRECTIVE_ENABLE_LOGGING
Enables recording information for graph debugging.
Definition: vx_types.h:649
@ VX_DIRECTIVE_ENABLE_PERFORMANCE
Enables performance counters for the context.
Definition: vx_types.h:653
@ VX_DIRECTIVE_DISABLE_PERFORMANCE
Disables performance counters for the context. By default performance counters are disabled.
Definition: vx_types.h:651
#define VX_API_CALL
Defines calling convention for OpenVX API.
Definition: vx_types.h:56
vx_enum vx_bool
A formal boolean type with known fixed size.
Definition: vx_types.h:312
struct _vx_array * vx_array
The Array Object. Array is a strongly-typed container for other data structures.
Definition: vx_types.h:275
vx_non_linear_filter_e
An enumeration of non-linear filter functions.
Definition: vx_types.h:1273
@ VX_NONLINEAR_FILTER_MIN
Nonlinear Erode.
Definition: vx_types.h:1277
@ VX_NONLINEAR_FILTER_MAX
Nonlinear Dilate.
Definition: vx_types.h:1279
@ VX_NONLINEAR_FILTER_MEDIAN
Nonlinear median filter.
Definition: vx_types.h:1275
struct _vx_tensor_matrix_multiply_params_t vx_tensor_matrix_multiply_params_t
Matrix Multiply Parameters.
#define VX_DF_IMAGE(a, b, c, d)
Converts a set of four chars into a uint32_t container of a VX_DF_IMAGE code.
Definition: vx_types.h:526
vx_status(VX_CALLBACK * vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the Host side kernel.
Definition: vx_types.h:1777
vx_round_policy_e
The Round Policy Enumeration.
Definition: vx_types.h:1423
@ VX_ROUND_POLICY_TO_ZERO
When scaling, this truncates the least significant values that are lost in operations.
Definition: vx_types.h:1425
@ VX_ROUND_POLICY_TO_NEAREST_EVEN
When scaling, this rounds to nearest even output value.
Definition: vx_types.h:1427
struct _vx_meta_format * vx_meta_format
This object is used by output validation functions to specify the meta data of the expected output da...
Definition: vx_types.h:323
vx_convolution_attribute_e
The convolution attributes.
Definition: vx_types.h:1102
@ VX_CONVOLUTION_ROWS
The number of rows of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1104
@ VX_CONVOLUTION_SIZE
The total size of the convolution matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1114
@ VX_CONVOLUTION_SCALE
The scale of the convolution matrix. Read-write. Use a vx_uint32 parameter.
Definition: vx_types.h:1112
@ VX_CONVOLUTION_COLUMNS
The number of columns of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1106
vx_interpolation_type_e
The image reconstruction filters supported by image resampling operations.
Definition: vx_types.h:1259
@ VX_INTERPOLATION_AREA
Output values are determined by averaging the source pixels whose areas fall under the area of the de...
Definition: vx_types.h:1267
@ VX_INTERPOLATION_BILINEAR
Output values are defined by bilinear interpolation between the pixels whose centers are closest to t...
Definition: vx_types.h:1264
@ VX_INTERPOLATION_NEAREST_NEIGHBOR
Output values are defined to match the source pixel whose center is nearest to the sample position.
Definition: vx_types.h:1261
vx_scalar_attribute_e
The scalar attributes list.
Definition: vx_types.h:976
@ VX_SCALAR_TYPE
Queries the type of atomic that is contained in the scalar. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:978
union _vx_pixel_value_t vx_pixel_value_t
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
vx_array_attribute_e
The array object attributes.
Definition: vx_types.h:1150
@ VX_ARRAY_CAPACITY
The maximal number of items that the Array can hold. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1156
@ VX_ARRAY_ITEMSIZE
Queries an array item size. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1158
@ VX_ARRAY_NUMITEMS
The number of items in the Array. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1154
@ VX_ARRAY_ITEMTYPE
The type of the Array items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1152
struct _vx_pyramid * vx_pyramid
The Image Pyramid object. A set of scaled images.
Definition: vx_types.h:251
vx_accessor_e
The memory accessor hint flags. These enumeration values are used to indicate desired system behavior...
Definition: vx_types.h:1406
@ VX_READ_ONLY
The memory shall be treated by the system as if it were read-only. If the User writes to this memory,...
Definition: vx_types.h:1410
@ VX_READ_AND_WRITE
The memory shall be treated by the system as if it were readable and writeable.
Definition: vx_types.h:1417
@ VX_WRITE_ONLY
The memory shall be treated by the system as if it were write-only. If the User reads from this memor...
Definition: vx_types.h:1414
vx_parameter_state_e
The parameter state type.
Definition: vx_types.h:1327
@ VX_PARAMETER_STATE_OPTIONAL
The parameter may be unspecified. The kernel takes care not to deference optional parameters until it...
Definition: vx_types.h:1335
@ VX_PARAMETER_STATE_REQUIRED
Default. The parameter must be supplied. If not set, during Verify, an error is returned.
Definition: vx_types.h:1331
struct _vx_coordinates3d_t vx_coordinates3d_t
The 3D Coordinates structure.
int64_t vx_int64
A 64-bit signed value.
Definition: vx_types.h:110
void(VX_CALLBACK * vx_log_callback_f)(vx_context context, vx_reference ref, vx_status status, const vx_char string[])
The log callback function.
Definition: vx_types.h:1853
uint8_t vx_uint8
An 8-bit unsigned value.
Definition: vx_types.h:75
struct _vx_distribution * vx_distribution
The Distribution object. This has a user-defined number of bins over a user-defined range (within a u...
Definition: vx_types.h:239
vx_memory_type_e
An enumeration of memory import types.
Definition: vx_types.h:1228
@ VX_MEMORY_TYPE_HOST
The default memory type to import from the Host.
Definition: vx_types.h:1233
@ VX_MEMORY_TYPE_NONE
For memory allocated through OpenVX, this is the import type.
Definition: vx_types.h:1230
vx_remap_attribute_e
The remap object attributes.
Definition: vx_types.h:1136
@ VX_REMAP_SOURCE_HEIGHT
The source height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1140
@ VX_REMAP_SOURCE_WIDTH
The source width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1138
@ VX_REMAP_DESTINATION_HEIGHT
The destination height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1144
@ VX_REMAP_DESTINATION_WIDTH
The destination width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1142
float vx_float32
A 32-bit float value.
Definition: vx_types.h:129
#define VX_CALLBACK
Defines calling convention for user callbacks.
Definition: vx_types.h:63
vx_status(VX_API_CALL * vx_unpublish_kernels_f)(vx_context context)
The type of the vxUnpublishKernels entry function of modules loaded by vxLoadKernels and unloaded by ...
Definition: vx_types.h:1768
struct _vx_image * vx_image
An opaque reference to an image.
Definition: vx_types.h:182
vx_graph_attribute_e
The graph attributes list.
Definition: vx_types.h:675
@ VX_GRAPH_PERFORMANCE
Returns the overall performance of the graph. Read-only. Use a vx_perf_t parameter....
Definition: vx_types.h:682
@ VX_GRAPH_STATE
Returns the state of the graph. See vx_graph_state_e enum.
Definition: vx_types.h:686
@ VX_GRAPH_NUMPARAMETERS
Returns the number of explicitly declared parameters on the graph. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:684
@ VX_GRAPH_NUMNODES
Returns the number of nodes in a graph. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:677
struct _vx_hough_lines_p_t vx_hough_lines_p_t
Hough lines probability parameters.
@ VX_ID_KHRONOS
The Khronos Group.
Definition: vx_vendors.h:30