The OpenVX Specification  dba1aa3
vx_types.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 
18 #ifndef _OPENVX_TYPES_H_
19 #define _OPENVX_TYPES_H_
20 
26 #include <stdint.h>
27 #include <stddef.h>
28 
50 #ifndef VX_API_ENTRY
51 #define VX_API_ENTRY
52 #endif
53 #ifndef VX_API_CALL
54 #if defined(_WIN32)
55 #define VX_API_CALL __stdcall
56 #else
57 #define VX_API_CALL
58 #endif
59 #endif
60 #ifndef VX_CALLBACK
61 #if defined(_WIN32)
62 #define VX_CALLBACK __stdcall
63 #else
64 #define VX_CALLBACK
65 #endif
66 #endif
67 
71 typedef char vx_char;
72 
76 typedef uint8_t vx_uint8;
77 
81 typedef uint16_t vx_uint16;
82 
86 typedef uint32_t vx_uint32;
87 
91 typedef uint64_t vx_uint64;
92 
96 typedef int8_t vx_int8;
97 
101 typedef int16_t vx_int16;
102 
106 typedef int32_t vx_int32;
107 
111 typedef int64_t vx_int64;
112 
113 typedef uint32_t vx_bitfield;
114 
115 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
116 
120 typedef hfloat vx_float16;
121 #endif
122 
126 typedef float vx_float32;
127 
131 typedef double vx_float64;
132 
142 typedef struct _vx_reference *vx_reference;
143 
149 typedef int32_t vx_enum;
150 
154 typedef size_t vx_size;
155 
159 typedef uint32_t vx_df_image;
160 
164 typedef uintptr_t vx_map_id;
165 
172 typedef struct _vx_scalar *vx_scalar;
173 
179 typedef struct _vx_image *vx_image;
180 
187 typedef struct _vx_kernel *vx_kernel;
188 
194 typedef struct _vx_parameter *vx_parameter;
195 
201 typedef struct _vx_node *vx_node;
202 
208 typedef struct _vx_graph *vx_graph;
209 
215 typedef struct _vx_context *vx_context;
216 
223 typedef struct _vx_delay *vx_delay;
224 
229 typedef struct _vx_lut *vx_lut;
230 
236 typedef struct _vx_distribution *vx_distribution;
237 
242 typedef struct _vx_matrix *vx_matrix;
243 
248 typedef struct _vx_pyramid *vx_pyramid;
249 
255 typedef struct _vx_threshold *vx_threshold;
256 
261 typedef struct _vx_convolution *vx_convolution;
262 
267 typedef struct _vx_remap *vx_remap;
268 
272 typedef struct _vx_array *vx_array;
273 
277 typedef struct _vx_object_array *vx_object_array;
278 
284 typedef struct _vx_tensor_t * vx_tensor;
285 
298 typedef enum _vx_bool_e {
303 } vx_bool_e;
304 
309 typedef vx_enum vx_bool;
310 
320 typedef struct _vx_meta_format* vx_meta_format;
321 
325 enum vx_type_e {
327  VX_TYPE_CHAR = 0x001,
328  VX_TYPE_INT8 = 0x002,
329  VX_TYPE_UINT8 = 0x003,
330  VX_TYPE_INT16 = 0x004,
331  VX_TYPE_UINT16 = 0x005,
332  VX_TYPE_INT32 = 0x006,
333  VX_TYPE_UINT32 = 0x007,
334  VX_TYPE_INT64 = 0x008,
335  VX_TYPE_UINT64 = 0x009,
338  VX_TYPE_ENUM = 0x00C,
339  VX_TYPE_SIZE = 0x00D,
341 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
342  VX_TYPE_FLOAT16 = 0x00F,
343 #endif
344  VX_TYPE_BOOL = 0x010,
352  /* Reserve enums that are defined in khronos extensions
353  NN extensions:
354  VX_TYPE_NN_CONVOLUTION_PARAMS = 0x025,
355  VX_TYPE_NN_DECONVOLUTION_PARAMS = 0x026,
356  VX_TYPE_NN_ROI_POOL_PARAMS = 0x027,
357  Classifier extension:
358  VX_TYPE_CLASSIFER_MODEL = 0x02C,
359  */
362  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 (0xFFF00000)
467 
473 #define VX_TYPE_MASK (0x000FFF00)
474 
479 #define VX_LIBRARY_MASK (0x000FF000)
480 
484 #define VX_KERNEL_MASK (0x00000FFF)
485 
489 #define VX_ATTRIBUTE_ID_MASK (0x000000FF)
490 
494 #define VX_ENUM_TYPE_MASK (0x000FF000)
495 
499 #define VX_ENUM_MASK (0x00000FFF)
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) ((a) | (b << 8) | (c << 16) | (d << 24))
527 
533 #define VX_ATTRIBUTE_BASE(vendor, object) (((vendor) << 20) | (object << 8))
534 
540 #define VX_KERNEL_BASE(vendor, lib) (((vendor) << 20) | (lib << 12))
541 
550 #define VX_ENUM_BASE(vendor, id) (((vendor) << 20) | (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 
618 };
619 
625 enum vx_hint_e {
638 };
639 
656 };
657 
672 };
673 
689 };
690 
701 };
702 
709  VX_DF_IMAGE_VIRT = VX_DF_IMAGE('V','I','R','T'),
713  VX_DF_IMAGE_RGB = VX_DF_IMAGE('R','G','B','2'),
718  VX_DF_IMAGE_RGBX = VX_DF_IMAGE('R','G','B','A'),
722  VX_DF_IMAGE_NV12 = VX_DF_IMAGE('N','V','1','2'),
726  VX_DF_IMAGE_NV21 = VX_DF_IMAGE('N','V','2','1'),
730  VX_DF_IMAGE_UYVY = VX_DF_IMAGE('U','Y','V','Y'),
734  VX_DF_IMAGE_YUYV = VX_DF_IMAGE('Y','U','Y','V'),
738  VX_DF_IMAGE_IYUV = VX_DF_IMAGE('I','Y','U','V'),
742  VX_DF_IMAGE_YUV4 = VX_DF_IMAGE('Y','U','V','4'),
747  VX_DF_IMAGE_U8 = VX_DF_IMAGE('U','0','0','8'),
752  VX_DF_IMAGE_U16 = VX_DF_IMAGE('U','0','1','6'),
757  VX_DF_IMAGE_S16 = VX_DF_IMAGE('S','0','1','6'),
762  VX_DF_IMAGE_U32 = VX_DF_IMAGE('U','0','3','2'),
767  VX_DF_IMAGE_S32 = VX_DF_IMAGE('S','0','3','2'),
768 };
769 
780 };
781 
792 };
793 
857 };
858 
881 };
882 
925 };
926 
941 };
942 
966 };
967 
974 };
975 
1015 };
1016 
1029 };
1030 
1048 };
1049 
1058 };
1059 
1070 };
1071 
1092 };
1093 
1110 };
1111 
1126 };
1127 
1140 };
1141 
1154 };
1155 
1164 };
1169 {
1178 };
1179 
1186 };
1187 
1203 
1218 };
1219 
1226 
1229 };
1230 
1263 };
1264 
1275 };
1276 
1290 };
1291 
1304 
1307 };
1308 
1317 };
1318 
1331 };
1332 
1347 };
1348 
1357 };
1358 
1372 };
1373 
1383 };
1384 
1393 };
1394 
1413 };
1414 
1423 };
1424 
1429 {
1440 };
1441 
1448 {
1463 };
1464 
1465 #if defined(_WIN32) || defined(UNDER_CE)
1466 #if defined(_WIN64)
1467 
1470 #define VX_FMT_REF "%I64u"
1471 
1474 #define VX_FMT_SIZE "%I64u"
1475 #else
1476 
1479 #define VX_FMT_REF "%lu"
1480 
1483 #define VX_FMT_SIZE "%lu"
1484 #endif
1485 #else
1486 
1489 #define VX_FMT_REF "%p"
1490 
1493 #define VX_FMT_SIZE "%zu"
1494 #endif
1495 
1498 #define VX_SCALE_UNITY (1024u)
1499 
1519 typedef struct _vx_imagepatch_addressing_t {
1529 
1533 #define VX_IMAGEPATCH_ADDR_INIT {0u, 0u, 0, 0, 0u, 0u, 0u, 0u}
1534 
1538 typedef struct _vx_perf_t {
1547 } vx_perf_t;
1548 
1552 typedef struct _vx_hough_lines_p_t
1553 {
1569 
1573 typedef struct _vx_line2d_t
1574 {
1583 } vx_line2d_t;
1584 
1590 typedef struct _vx_tensor_matrix_multiply_params_t{
1598 
1602 #define VX_PERF_INIT {0ul, 0ul, 0ul, 0ul, 0ul, 0ul}
1603 
1608 typedef struct _vx_kernel_info_t {
1614 
1621 
1625 #define VX_SCALE_PYRAMID_HALF (0.5f)
1626 
1630 #define VX_SCALE_PYRAMID_ORB ((vx_float32)0.8408964f)
1631 
1635 typedef struct _vx_keypoint_t {
1643 } vx_keypoint_t;
1644 
1648 typedef struct _vx_rectangle_t {
1653 } vx_rectangle_t;
1654 
1658 typedef struct _vx_coordinates2d_t {
1662 
1666 typedef struct _vx_coordinates2df_t {
1670 
1674 typedef struct _vx_coordinates3d_t {
1679 
1684 typedef union _vx_pixel_value_t {
1685  vx_uint8 RGB[3];
1686  vx_uint8 RGBX[4];
1687  vx_uint8 YUV[3];
1693  vx_uint8 reserved[16];
1695 
1699 typedef struct {
1720 } vx_hog_t;
1721 
1729 typedef struct _vx_border_t {
1736 } vx_border_t;
1737 
1745 
1753 
1761 typedef vx_status(VX_CALLBACK *vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1762 
1773 
1784 
1799 typedef vx_status(VX_CALLBACK *vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[]);
1800 
1832 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[]);
1833 
1837 typedef void (VX_CALLBACK *vx_log_callback_f)(vx_context context,
1838  vx_reference ref,
1839  vx_status status,
1840  const vx_char string[]);
1841 
1847 };
1848 
1849 #endif
Indicates the replicated parameters. Read-only. Use a vx_bool* parameter.
Definition: vx_types.h:920
Output values are defined by bilinear interpolation between the pixels whose centers are closest to t...
Definition: vx_types.h:1259
struct _vx_image * vx_image
An opaque reference to an image.
Definition: vx_types.h:179
Interpolation Types.
Definition: vx_types.h:561
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:223
vx_uint64 avg
Holds the average of the durations.
Definition: vx_types.h:1543
vx_int32 num_bins
The histogram size of type VX_TYPE_INT32.
Definition: vx_types.h:1711
vx_threshold_type_e
The Threshold types.
Definition: vx_types.h:1053
The M dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1079
Scalar operation list.
Definition: vx_types.h:594
A vx_delay.
Definition: vx_types.h:386
vx_int32 cell_width
The histogram cell width of type VX_TYPE_INT32.
Definition: vx_types.h:1701
vx_int32 y
The y coordinate.
Definition: vx_types.h:1637
Indicates the value type of the LUT. Read-only. Use a vx_enum.
Definition: vx_types.h:1022
arithmetic (modulo operator).
Definition: vx_types.h:1010
Action Codes.
Definition: vx_types.h:558
vx_int32 x
The x coordinate.
Definition: vx_types.h:1636
The number of items in the delay. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1392
Results are the least significant bits of the output operand, as if stored in two&#39;s complement binary...
Definition: vx_types.h:698
Enables performance counters for the context.
Definition: vx_types.h:655
vx_non_linear_filter_e
An enumeration of non-linear filter functions.
Definition: vx_types.h:1268
The input image format the threshold was created for. Read-only. Use a vx_enum parameter. Will contain a vx_df_image_e.
Definition: vx_types.h:1067
The Khronos Group.
Definition: vx_vendors.h:31
arithmetic subtraction.
Definition: vx_types.h:1004
A vendor-defined struct base index.
Definition: vx_types.h:368
The local data area allocated with each kernel when it becomes a node. Read-write. Can be written only before user-kernel finalization. Use a vx_size parameter.
Definition: vx_types.h:880
A vx_threshold.
Definition: vx_types.h:390
The parameter is an input only.
Definition: vx_types.h:613
Indicates that the attempt to link two parameters together failed due to type incompatibilty.
Definition: vx_types.h:432
A vx_reference.
Definition: vx_types.h:380
vx_pyramid_attribute_e
The pyramid object attributes.
Definition: vx_types.h:1115
vx_uint16 U16
VX_DF_IMAGE_U16
Definition: vx_types.h:1689
Indicates that an operation did not complete due to a reference count being non-zero.
Definition: vx_types.h:414
Used by formats with unknown channel types.
Definition: vx_types.h:1196
A vx_int16.
Definition: vx_types.h:330
The 2D Coordinates structure.
Definition: vx_types.h:1658
uint16_t vx_uint16
A 16-bit unsigned value.
Definition: vx_types.h:81
vx_uint64 beg
Holds the first measurement in a set.
Definition: vx_types.h:1540
A vx_hog_t.
Definition: vx_types.h:360
vx_reference_attribute_e
The reference attributes list.
Definition: vx_types.h:785
Use to extract the reference contained in the parameter. Read-only. Use a vx_reference parameter...
Definition: vx_types.h:940
The type of the Array items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1147
Use to indicate that the BT.601 coefficients and BTU primaries are used for conversions.
Definition: vx_types.h:1301
Color Space.
Definition: vx_types.h:563
Indicates that the supplied parameter has an incorrect value.
Definition: vx_types.h:422
vx_action(* vx_nodecomplete_f)(vx_node node)
A callback to the client after a particular node has completed.
Definition: vx_types.h:460
logical and.
Definition: vx_types.h:982
uint8_t vx_uint8
An 8-bit unsigned value.
Definition: vx_types.h:76
struct _vx_array * vx_array
The Array Object. Array is a strongly-typed container for other data structures.
Definition: vx_types.h:272
vx_int16 S16
VX_DF_IMAGE_S16
Definition: vx_types.h:1690
Parameter Direction.
Definition: vx_types.h:557
The type of objects in the delay. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1390
The default memory type to import from the Host.
Definition: vx_types.h:1228
A vx_hough_lines_p_t.
Definition: vx_types.h:361
vx_float32 theta_max
Optional restriction on theta. The max allowed value.
Definition: vx_types.h:1565
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:1525
vx_uint32 step_y
Step of Y dimension in pixels.
Definition: vx_types.h:1527
vx_float32 start_x
x index of line start
Definition: vx_types.h:1576
comparison (not equal).
Definition: vx_types.h:992
Indicates the behavior with respect to the valid rectangle. Read-only. Use a vx_bool parameter...
Definition: vx_types.h:924
vx_int32 window_height
The feature descriptor window height of type VX_TYPE_INT32
Definition: vx_types.h:1715
logical nand.
Definition: vx_types.h:988
Queries an image for its color space (see vx_color_space_e). Read-write. Use a vx_enum parameter...
Definition: vx_types.h:956
vx_status(* 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:1832
Indicates the total size of the distribution in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1047
tensor Data maximal number of dimensions supported by the implementation.
Definition: vx_types.h:856
Indicates that an internal or implicit resource can not be acquired (not memory). This is typically c...
Definition: vx_types.h:431
Queries memory type if created using vxCreateImageFromHandle. If vx_image was not created using vxCre...
Definition: vx_types.h:961
vx_uint32 U32
VX_DF_IMAGE_U32
Definition: vx_types.h:1691
Indicates the lower bound of status codes in VX. Used for bounds checks only.
Definition: vx_types.h:412
int16_t vx_int16
A 16-bit signed value.
Definition: vx_types.h:101
size_t vx_size
A wrapper of size_t to keep the naming convention uniform.
Definition: vx_types.h:154
Number of dimensions.
Definition: vx_types.h:1171
A vx_pyramid.
Definition: vx_types.h:389
A square matrix (rows = columns = size)
Definition: vx_types.h:1287
Modified Local Binary Patterns.
Definition: vx_types.h:1436
Indicates that the supplied node could not be created.
Definition: vx_types.h:419
Indicates that the reference provided is not valid.
Definition: vx_types.h:426
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:726
vx_int32 block_width
The histogram block width of type VX_TYPE_INT32. Must be divisible by cell_width. ...
Definition: vx_types.h:1705
Returns the vx_type_e of the reference. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:789
L1 distance .
Definition: vx_types.h:1452
Indicates that the supplied graph already has been scheduled and may be currently executing...
Definition: vx_types.h:417
line struct
Definition: vx_types.h:1573
vx_status(* vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the Host side kernel.
Definition: vx_types.h:1761
vx_enum_e
The set of supported enumerations in OpenVX.
Definition: vx_types.h:556
A threshold with only 1 value.
Definition: vx_types.h:1055
Color Space Range.
Definition: vx_types.h:564
The keypoint data structure.
Definition: vx_types.h:1635
Comparison Values.
Definition: vx_types.h:570
Returns the state of the graph. See vx_graph_state_e enum.
Definition: vx_types.h:688
vx_scalar_operation_e
A type of operation in which both operands are scalars.
Definition: vx_types.h:980
The HOG descriptor structure.
Definition: vx_types.h:1699
int32_t vx_enum
Sets the standard enumeration type size to be a fixed quantity.
Definition: vx_types.h:149
Used by formats with unknown channel types.
Definition: vx_types.h:1200
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1659
comparison (less than).
Definition: vx_types.h:994
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:255
vx_float32 end_x
x index of line end
Definition: vx_types.h:1580
A vx_int64.
Definition: vx_types.h:334
vx_memory_type_e
An enumeration of memory import types.
Definition: vx_types.h:1223
The border mode for immediate mode functions.
Definition: vx_types.h:837
Enables recording information for graph debugging.
Definition: vx_types.h:651
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:236
vx_distribution_attribute_e
The distribution attribute list.
Definition: vx_types.h:1034
Full range of the unit of the channel.
Definition: vx_types.h:1314
Indicates the user preference is low power consumption versus highest performance.
Definition: vx_types.h:633
No error.
Definition: vx_types.h:438
Indicates whether the node is replicated. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:916
Nonlinear Dilate.
Definition: vx_types.h:1274
Target.
Definition: vx_types.h:576
Parameter State.
Definition: vx_types.h:565
struct _vx_parameter * vx_parameter
An opaque reference to a single parameter.
Definition: vx_types.h:194
int32_t vx_int32
A 32-bit signed value.
Definition: vx_types.h:106
A value used for bound checking of vendor objects.
Definition: vx_types.h:377
A vx_tensor.
Definition: vx_types.h:402
The vx_df_image_e format of the image. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:1125
vx_remap_attribute_e
The remap object attributes.
Definition: vx_types.h:1131
For nodes that support this behavior, a replication of the nearest edge pixels value is given for out...
Definition: vx_types.h:1346
A vx_meta_format.
Definition: vx_types.h:398
The addressing image patch structure is used by the Host only to address pixels in an image patch...
Definition: vx_types.h:1519
vx_object_array_attribute_e
The ObjectArray object attributes.
Definition: vx_types.h:1159
vx_status_e
The enumeration of all status codes.
Definition: vx_types.h:411
struct _vx_tensor_t * vx_tensor
The multidimensional data object (Tensor).
Definition: vx_types.h:284
vx_border_policy_e
The unsupported border mode policy list.
Definition: vx_types.h:1352
The maximal number of items that the Array can hold. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1151
vx_channel_range_e
The image channel range list used by the VX_IMAGE_RANGE attribute of a vx_image.
Definition: vx_types.h:1312
int64_t vx_int64
A 64-bit signed value.
Definition: vx_types.h:111
vx_map_flag_e
The Map/Unmap operation enumeration.
Definition: vx_types.h:1845
The scale factor between each level of the pyramid. Read-only. Use a vx_float32 parameter.
Definition: vx_types.h:1119
The 3D Coordinates structure.
Definition: vx_types.h:1674
vx_pattern_e
An enumeration of matrix patterns. See vxCreateMatrixFromPattern and vxCreateMatrixFromPatternAndOri...
Definition: vx_types.h:1281
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:762
vx_enum vx_bool
A formal boolean type with known fixed size.
Definition: vx_types.h:309
The dimension of the largest nonlinear filter supported. See vxNonLinearFilterNode.
Definition: vx_types.h:854
Dimension sizes.
Definition: vx_types.h:1173
vx_status(* 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:1772
The type of the ObjectArray items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1161
Returns the overall performance of the graph. Read-only. Use a vx_perf_t parameter. The accuracy of timing information is platform dependent.
Definition: vx_types.h:684
char vx_char
An 8 bit ASCII character.
Definition: vx_types.h:71
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:747
vx_uint64 max
Holds the maximum of the durations.
Definition: vx_types.h:1546
vx_float32 end_y
y index of line end
Definition: vx_types.h:1582
Used by formats with unknown channel types.
Definition: vx_types.h:1198
float vx_float32
A 32-bit float value.
Definition: vx_types.h:126
The "false" value.
Definition: vx_types.h:300
This is returned from vxLoadKernels when the module does not contain the entry point.
Definition: vx_types.h:427
L2 distance normalized by image size .
Definition: vx_types.h:1454
Indicates that the object refered to has been optimized out of existence.
Definition: vx_types.h:429
Matrix pattern enumeration.
Definition: vx_types.h:580
The source height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1135
Output values are defined to match the source pixel whose center is nearest to the sample position...
Definition: vx_types.h:1256
vx_float32 strength
The strength of the keypoint. Its definition is specific to the corner detector.
Definition: vx_types.h:1638
Use to extract the Cb/U channel, no matter the byte or packing order.
Definition: vx_types.h:1215
vx_type_e
The type enumeration lists all the known types in OpenVX.
Definition: vx_types.h:325
The L2 normalization.
Definition: vx_types.h:1382
Indicates the number of dimensions in the distribution. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1036
comparison (greater than).
Definition: vx_types.h:998
A vx_float64.
Definition: vx_types.h:337
vx_enum mode
See vx_border_e.
Definition: vx_types.h:1731
Hint Values.
Definition: vx_types.h:559
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:1719
void(* 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:1837
A vx_float32.
Definition: vx_types.h:336
vx_enum vx_status
A formal status type with known fixed size.
Definition: vx_types.h:445
Queries the performance of the node execution. The accuracy of timing information is platform depende...
Definition: vx_types.h:894
Use to extract the BLUE channel, no matter the byte or packing order.
Definition: vx_types.h:1209
Use to indicate that the BT.601 coefficients and SMPTE C primaries are used for conversions.
Definition: vx_types.h:1299
#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
Indicates the total size of the LUT in bytes. Read-only. Uses a vx_size.
Definition: vx_types.h:1026
struct _vx_context * vx_context
An opaque reference to the implementation context.
Definition: vx_types.h:215
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:320
A vx_matrix.
Definition: vx_types.h:391
arithmetic addition.
Definition: vx_types.h:1002
cross correlation normalized distance
Definition: vx_types.h:1462
The parameter may be unspecified. The kernel takes care not to deference optional parameters until it...
Definition: vx_types.h:1330
Convert Policy.
Definition: vx_types.h:567
Indicates the user preference for highest performance over low power consumption. ...
Definition: vx_types.h:637
Matrix with any pattern other than above.
Definition: vx_types.h:1289
cross correlation distance
Definition: vx_types.h:1456
Valid rectangle callback during output parameter validation. Write-only.
Definition: vx_types.h:1185
Compare metric.
Definition: vx_types.h:582
vx_convert_policy_e
The Conversion Policy Enumeration.
Definition: vx_types.h:694
vx_uint32 start_x
The Start X coordinate.
Definition: vx_types.h:1649
struct _vx_reference * vx_reference
A generic opaque reference to any object within OpenVX.
Definition: vx_types.h:142
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:734
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1676
Start of Vendor specific target enumerates.
Definition: vx_types.h:779
L2 normalized distance .
Definition: vx_types.h:1459
vx_float32 scale
Initialized to 0 by corner detectors.
Definition: vx_types.h:1639
The graph execution was abandoned.
Definition: vx_types.h:669
The number of items in the Array. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1149
Lbp format.
Definition: vx_types.h:581
tensor Data element data type. vx_type_e
Definition: vx_types.h:1175
A vx_distribution.
Definition: vx_types.h:388
The number of items in the ObjectArray. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1163
vx_status(* 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:1744
The scale of the convolution matrix. Read-write. Use a vx_uint32 parameter.
Definition: vx_types.h:1107
vx_directive_e
These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or f...
Definition: vx_types.h:647
A vx_object_array.
Definition: vx_types.h:399
A value for comparison between Khronos defined objects and vendor structs.
Definition: vx_types.h:376
Indicates to the system that the parameter must be allocated by the system.
Definition: vx_types.h:433
Target, explicitly specified by its (case-insensitive) name string.
Definition: vx_types.h:777
The total size of the convolution matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1109
Returns the reference count of the object. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:787
vx_float32 error
A tracking method specific error. Initialized to 0 by corner detectors.
Definition: vx_types.h:1642
Queries the OpenVX Version Number. Read-only. Use a vx_uint16
Definition: vx_types.h:801
The number of levels of the pyramid. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1117
vx_int32 stride_x
Stride in X dimension in bytes.
Definition: vx_types.h:1522
Indicates that both an iterations and eplison method are employed. Whichever one matches first causes...
Definition: vx_types.h:1371
Queries an image for its channel range (see vx_channel_range_e). Read-only. Use a vx_enum parameter...
Definition: vx_types.h:958
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:159
The destination height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1139
Nonlinear median filter.
Definition: vx_types.h:1270
All images in VX are by default BT.709.
Definition: vx_types.h:1306
Indicates the index of the input value = 0. Read-only. Uses a vx_uint32.
Definition: vx_types.h:1028
A vx_lut.
Definition: vx_types.h:387
A single plane of 24-bit pixel as 3 interleaved 8-bit units of R then G then B data. This uses the BT709 full range by default.
Definition: vx_types.h:713
vx_int32 window_width
The feature descriptor window width of type VX_TYPE_INT32
Definition: vx_types.h:1713
A norm type.
Definition: vx_types.h:573
The number of rows of the convolution matrix. Read-only. Use a vx_size parameter. ...
Definition: vx_types.h:1099
fixed point position when the input element type is integer.
Definition: vx_types.h:1177
vx_direction_e
An indication of how a kernel will treat the given parameter.
Definition: vx_types.h:611
Queries an array item size. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1153
A virtual image of no defined type.
Definition: vx_types.h:709
A vx_remap.
Definition: vx_types.h:396
vx_int32 S32
VX_DF_IMAGE_S32
Definition: vx_types.h:1692
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:1735
Queries an image for its width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:948
comparison (greater than or equal to).
Definition: vx_types.h:1000
vx_threshold_attribute_e
The threshold attributes.
Definition: vx_types.h:1063
The parameter is both an input and output.
Definition: vx_types.h:617
A vx_tensor_matrix_multiply_params_t.
Definition: vx_types.h:363
vx_bool transpose_input3
if True the matrix is transposed before the operation, otherwise the matrix is used as is ...
Definition: vx_types.h:1596
logical or.
Definition: vx_types.h:984
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:1409
Box pattern matrix.
Definition: vx_types.h:1283
Indicates a termination after a set number of iterations.
Definition: vx_types.h:1365
Use to extract the ALPHA channel, no matter the byte or packing order.
Definition: vx_types.h:1211
vx_uint64 min
Holds the minimum of the durations.
Definition: vx_types.h:1544
Indicates the pointer kernel local memory area. Read-Write. Can be written only at user-node (de)init...
Definition: vx_types.h:908
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:1405
vx_uint32 dim_y
Height of patch in Y dimension in pixels.
Definition: vx_types.h:1521
The source width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1133
The "true" value.
Definition: vx_types.h:302
vx_node_attribute_e
The node attributes list.
Definition: vx_types.h:886
A value for comparison between Khronos defined structs and user structs.
Definition: vx_types.h:372
Indicates that the supplied graph has invalid connections (cycles).
Definition: vx_types.h:420
Queries the enum of the kernel. Not settable. Read-only. Use a vx_enum parameter. ...
Definition: vx_types.h:874
A single plane of 32-bit pixel as 4 interleaved 8-bit units of R then G then B data, then a don&#39;t care byte. This uses the BT709 full range by default.
Definition: vx_types.h:718
Rounding Policy.
Definition: vx_types.h:575
vx_float32 theta_min
Optional restriction on theta. The min allowed value.
Definition: vx_types.h:1567
Retrieves the extensions string. Read-only. This is a space-separated string of extension names...
Definition: vx_types.h:817
The memory shall be treated by the system as if it were readable and writeable.
Definition: vx_types.h:1412
vx_comp_metric_e
comparing metrics.
Definition: vx_types.h:1447
vx_hint_e
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or featur...
Definition: vx_types.h:625
The destination width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1137
Indicates the start of the values to use (inclusive). Read-only. Use a vx_int32 parameter.
Definition: vx_types.h:1038
A value for comparison between vendor structs and Khronos defined objects.
Definition: vx_types.h:375
Non-linear function list.
Definition: vx_types.h:579
No Gap.
Definition: vx_types.h:1846
vx_border_e
The border mode list.
Definition: vx_types.h:1336
The graph should be verified before execution.
Definition: vx_types.h:663
A vx_uint64.
Definition: vx_types.h:335
Uniform local binary pattern.
Definition: vx_types.h:1439
A vx_context.
Definition: vx_types.h:381
Indicates the size of the kernel local memory area. Read-only. Can be written only at user-node (de)i...
Definition: vx_types.h:903
Use VX_BORDER_UNDEFINED instead of unsupported border modes.
Definition: vx_types.h:1354
vx_enum enumeration
The kernel enumeration value from vx_kernel_e (or an extension thereof).
Definition: vx_types.h:1613
#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
No defined border mode behavior is given.
Definition: vx_types.h:1338
Indicates that the requested set of parameters produce a configuration that cannot be supported...
Definition: vx_types.h:435
vx_int32 cell_height
The histogram cell height of type VX_TYPE_INT32.
Definition: vx_types.h:1703
vx_delay_attribute_e
The delay attribute list.
Definition: vx_types.h:1388
The value type of the matrix. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1077
Indicates that the supplied parameter is too big or too small in dimension.
Definition: vx_types.h:423
vx_uint32 step_x
Step of X dimension in pixels.
Definition: vx_types.h:1526
Indicates that the graph has more than one node outputting to the same data object. This is an invalid graph structure.
Definition: vx_types.h:415
A user-defined struct base index.
Definition: vx_types.h:367
Indicates that the requested kernel is missing.
Definition: vx_types.h:436
Directive Values.
Definition: vx_types.h:560
Overflow Policies.
Definition: vx_types.h:562
vx_status(* 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:1752
vx_float32 x
The X coordinate.
Definition: vx_types.h:1667
When scaling, this truncates the least significant values that are lost in operations.
Definition: vx_types.h:1420
vx_image_attribute_e
The image attributes list.
Definition: vx_types.h:946
vx_int32 line_gap
The maximum allowed gap between points on the same line to link them.
Definition: vx_types.h:1563
double vx_float64
A 64-bit float value (aka double).
Definition: vx_types.h:131
vx_accessor_e
The memory accessor hint flags. These enumeration values are used to indicate desired system behavior...
Definition: vx_types.h:1401
A vx_kernel.
Definition: vx_types.h:384
The origin of the matrix with a default value of [floor(VX_MATRIX_COLUMNS/2), floor(VX_MATRIX_ROWS/2)...
Definition: vx_types.h:1086
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:1561
struct _vx_pyramid * vx_pyramid
The Image Pyramid object. A set of scaled images.
Definition: vx_types.h:248
Queries the type of atomic that is contained in the scalar. Read-only. Use a vx_enum parameter...
Definition: vx_types.h:973
Queries the number of bytes in the extensions string. Read-only. Use a vx_size parameter.
Definition: vx_types.h:811
Queries the name of the kernel. Not settable. Read-only. Use a vx_char[VX_MAX_KERNEL_NAME] array (not...
Definition: vx_types.h:870
logical exclusive or.
Definition: vx_types.h:986
Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection...
Definition: vx_types.h:430
Indicates to the implementation that user do not apply any specific requirements for performance...
Definition: vx_types.h:629
Used to query the reference for its name. Read-write. Use a *vx_char parameter.
Definition: vx_types.h:791
Queries the status of node execution. Read-only. Use a vx_status parameter.
Definition: vx_types.h:888
Indicates that the supplied parameter information does not match the kernel contract.
Definition: vx_types.h:428
arithmetic division.
Definition: vx_types.h:1008
vx_norm_type_e
A normalization type.
Definition: vx_types.h:1378
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1675
An accessor flag type.
Definition: vx_types.h:574
vx_array_attribute_e
The array object attributes.
Definition: vx_types.h:1145
A vx_char.
Definition: vx_types.h:327
Indicates the number of bins. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1042
Queries an image for its format. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:952
A value for comparison between user structs and vendor structs.
Definition: vx_types.h:374
struct _vx_kernel * vx_kernel
An opaque reference to the descriptor of a kernel.
Definition: vx_types.h:187
Return VX_ERROR_NOT_SUPPORTED for unsupported border modes.
Definition: vx_types.h:1356
vx_uint32 start_y
The Start Y coordinate.
Definition: vx_types.h:1650
Queries an image for its number of planes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:954
hamming distance
Definition: vx_types.h:1450
Use to indicate that the BT.709 coefficients are used for conversions.
Definition: vx_types.h:1303
vx_uint32 dim_x
Width of patch in X dimension in pixels.
Definition: vx_types.h:1520
vx_action_e
A return code enumeration from a vx_nodecomplete_f during execution.
Definition: vx_types.h:601
vx_lbp_format_e
Local binary pattern supported.
Definition: vx_types.h:1428
vx_uint64 tmp
Holds the last measurement.
Definition: vx_types.h:1539
vx_int32 tracking_status
A zero indicates a lost point. Initialized to 1 by corner detectors.
Definition: vx_types.h:1641
The number of columns of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1101
#define VX_API_CALL
Defines calling convention for OpenVX API.
Definition: vx_types.h:57
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
Definition: vx_types.h:1684
Nonlinear Erode.
Definition: vx_types.h:1272
A termination criteria.
Definition: vx_types.h:572
An invalid type value. When passed an error must be returned.
Definition: vx_types.h:326
A vx_array.
Definition: vx_types.h:394
An error object which has no type.
Definition: vx_types.h:397
A vx_rectangle_t.
Definition: vx_types.h:346
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:730
Queries the unique vendor ID. Read-only. Use a vx_uint16.
Definition: vx_types.h:799
A vx_coordinates2df_t.
Definition: vx_types.h:350
Hough lines probability parameters.
Definition: vx_types.h:1552
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
Definition: vx_types.h:1648
vx_uint64 num
Holds the number of measurements.
Definition: vx_types.h:1545
A vx_int8.
Definition: vx_types.h:328
A vx_keypoint_t.
Definition: vx_types.h:347
vx_int32 stride_y
Stride in Y dimension in bytes.
Definition: vx_types.h:1523
#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
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:1091
vx_uint64 sum
Holds the summation of durations.
Definition: vx_types.h:1542
The N dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1081
vx_channel_e
The channel enumerations for channel extractions.
Definition: vx_types.h:1194
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:742
vx_enum vx_action
The formal typedef of the response from the callback.
Definition: vx_types.h:451
vx_uint64 end
Holds the last measurement in a set.
Definition: vx_types.h:1541
A vx_bool.
Definition: vx_types.h:344
Used by formats with unknown channel types.
Definition: vx_types.h:1202
comparison (less than or equal to).
Definition: vx_types.h:996
Indicates that the graph is stopped due to an error or a callback that abandoned execution.
Definition: vx_types.h:416
vx_uint32 end_x
The End X coordinate.
Definition: vx_types.h:1651
Indicates a generic error code, used when no other describes the error.
Definition: vx_types.h:437
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:298
A vendor defined object base index.
Definition: vx_types.h:370
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
Definition: vx_types.h:1608
A vx_coordinates2d_t.
Definition: vx_types.h:348
Returns the table of all unique the kernels that exist in the context. Read-only. Use a vx_kernel_inf...
Definition: vx_types.h:843
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
Definition: vx_types.h:1729
A vx_size.
Definition: vx_types.h:339
Queries the context for the number of active modules. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:805
vx_int32 window_stride
The feature descriptor window stride of type VX_TYPE_INT32
Definition: vx_types.h:1717
#define VX_CALLBACK
Defines calling convention for user callbacks.
Definition: vx_types.h:64
The L1 normalization.
Definition: vx_types.h:1380
vx_df_image_e
Based on the VX_DF_IMAGE definition.
Definition: vx_types.h:707
A vx_image.
Definition: vx_types.h:395
struct _vx_object_array * vx_object_array
The ObjectArray Object. ObjectArray is a strongly-typed container of OpenVX data-objects.
Definition: vx_types.h:277
Queries a parameter for its direction value on the kernel with which it is associated. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:934
The maximum window dimension of the OpticalFlowPyrLK kernel. The value of this attribute shall be equ...
Definition: vx_types.h:832
The parameter is an output only.
Definition: vx_types.h:615
vx_scalar_attribute_e
The scalar attributes list.
Definition: vx_types.h:971
vx_float32 rho
Distance resolution of the parameter in pixels.
Definition: vx_types.h:1555
Use to indicate that no color space is used.
Definition: vx_types.h:1297
The graph execution is completed and the graph is not scheduled for execution.
Definition: vx_types.h:671
vx_interpolation_type_e
The image reconstruction filters supported by image resampling operations.
Definition: vx_types.h:1254
The height of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1123
vx_kernel_attribute_e
The kernel attributes list.
Definition: vx_types.h:862
vx_status(* 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:1783
struct _vx_convolution * vx_convolution
The Convolution Object. A user-defined convolution kernel of MxM elements.
Definition: vx_types.h:261
Default. The parameter must be supplied. If not set, during Verify, an error is returned.
Definition: vx_types.h:1326
vx_float32 theta
Angle resolution of the parameter in radians.
Definition: vx_types.h:1557
vx_float32 y
The Y coordinate.
Definition: vx_types.h:1668
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:757
A vx_node.
Definition: vx_types.h:383
A vx_line2d_t.
Definition: vx_types.h:362
#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:34
Use to extract the LUMA channel, no matter the byte or packing order.
Definition: vx_types.h:1213
Queries the context for the number of unique kernels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:803
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:1709
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:267
A vx_df_image.
Definition: vx_types.h:340
uint32_t vx_uint32
A 32-bit unsigned value.
Definition: vx_types.h:86
The width of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1121
Disables performance counters for the context. By default performance counters are disabled...
Definition: vx_types.h:653
A vx_convolution.
Definition: vx_types.h:392
vx_graph_state_e
The Graph State Enumeration.
Definition: vx_types.h:661
Queries a parameter for its index value on the kernel with which it is associated. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:932
The value type of the threshold. Read-only. Use a vx_enum parameter. Will contain a vx_threshold_type...
Definition: vx_types.h:1065
int8_t vx_int8
An 8-bit signed value.
Definition: vx_types.h:96
A vx_parameter.
Definition: vx_types.h:385
The memory type enumeration.
Definition: vx_types.h:571
The unsupported border mode policy for immediate mode functions. Read-Write.
Definition: vx_types.h:848
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:722
When scaling, this rounds to nearest even output value.
Definition: vx_types.h:1422
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:898
vx_tensor_attribute_e
tensor Data attributes.
Definition: vx_types.h:1168
vx_int32 threshold
The minimum number of intersections to detect a line.
Definition: vx_types.h:1559
vx_parameter_state_e
The parameter state type.
Definition: vx_types.h:1322
vx_parameter_attribute_e
The parameter attributes list.
Definition: vx_types.h:930
A threshold with 2 values (upper/lower). Use with Canny Edge Detection.
Definition: vx_types.h:1057
Queries a parameter for its state. A value in vx_parameter_state_e is returned. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:938
Indicates that the supplied parameter is in an invalid format.
Definition: vx_types.h:424
Graph attribute states.
Definition: vx_types.h:578
vx_status(* 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:1799
Queries the context for it&#39;s implementation name. Read-only. Use a vx_char[VX_MAX_IMPLEMENTATION_NAME...
Definition: vx_types.h:809
comparison (equal).
Definition: vx_types.h:990
Any available target. An OpenVX implementation must support at least one target associated with this ...
Definition: vx_types.h:775
Stop executing the graph.
Definition: vx_types.h:605
The performance measurement structure. The time or durations are in units of nano seconds...
Definition: vx_types.h:1538
Indicates the number of elements in the LUT. Read-only. Use a vx_size.
Definition: vx_types.h:1024
Results are saturated to the bit depth of the output operand.
Definition: vx_types.h:700
Indicates that the given graph has failed verification due to an insufficient number of required para...
Definition: vx_types.h:434
The total size of the matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1083
Use to extract the GREEN channel, no matter the byte or packing order.
Definition: vx_types.h:1207
minimum of two scalars.
Definition: vx_types.h:1012
Returns the number of explicitly declared parameters on the graph. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:686
vx_int32 block_height
The histogram block height of type VX_TYPE_INT32. Must be divisible by cell_height.
Definition: vx_types.h:1707
arithmetic multiplication.
Definition: vx_types.h:1006
The output image format the threshold was created for. Read-only. Use a vx_enum parameter. Will contain a vx_df_image_e.
Definition: vx_types.h:1069
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:1045
struct _vx_graph * vx_graph
An opaque reference to a graph.
Definition: vx_types.h:208
vx_target_e
The Target Enumeration.
Definition: vx_types.h:773
A vx_coordinates3d_t.
Definition: vx_types.h:349
For memory allocated through OpenVX, this is the import type.
Definition: vx_types.h:1225
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:738
vx_float32 orientation
Initialized to 0 by corner detectors.
Definition: vx_types.h:1640
Matrix Multiply Parameters.
Definition: vx_types.h:1590
Restricted range of the unit of the channel based on the space given.
Definition: vx_types.h:1316
Indicates the number of node parameters, including optional parameters that are not passed...
Definition: vx_types.h:912
Cross pattern matrix.
Definition: vx_types.h:1285
vx_uint8 U8
VX_DF_IMAGE_U8
Definition: vx_types.h:1688
vx_graph_attribute_e
The graph attributes list.
Definition: vx_types.h:677
vx_float32 start_y
y index of line start
Definition: vx_types.h:1578
Indicates that the link is not possible as specified. The parameters are incompatible.
Definition: vx_types.h:425
Indicates that the supplied type parameter is incorrect.
Definition: vx_types.h:421
Use to extract the Cr/V/Value channel, no matter the byte or packing order.
Definition: vx_types.h:1217
maximum of two scalars.
Definition: vx_types.h:1014
Unsupported Border Mode Policy List.
Definition: vx_types.h:577
vx_context_attribute_e
A list of context attributes.
Definition: vx_types.h:797
struct _vx_node * vx_node
An opaque reference to a kernel node.
Definition: vx_types.h:201
Indicates that the supplied parameter is from another scope and cannot be used in the current scope...
Definition: vx_types.h:418
A vx_int32.
Definition: vx_types.h:332
vx_round_policy_e
The Round Policy Enumeration.
Definition: vx_types.h:1418
Queries a parameter for its type, vx_type_e is returned. Read-only. The size of the parameter is impl...
Definition: vx_types.h:936
vx_color_space_e
The image color space list used by the VX_IMAGE_SPACE attribute of a vx_image.
Definition: vx_types.h:1295
Disables recording information for graph debugging.
Definition: vx_types.h:649
Returns the number of nodes in a graph. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:679
A Khronos defined object base index.
Definition: vx_types.h:369
Indicates the total number of the consecutive values of the distribution interval.
Definition: vx_types.h:1040
A vx_scalar. when needed to be completely generic for kernel validation.
Definition: vx_types.h:393
Indicates a termination after matching against the value of eplison provided to the function...
Definition: vx_types.h:1367
Continue executing the graph with no changes.
Definition: vx_types.h:603
uintptr_t vx_map_id
Holds the address of a variable where the map/unmap functions return a map identifier.
Definition: vx_types.h:164
A vx_uint32.
Definition: vx_types.h:333
vx_matrix_attribute_e
The matrix attributes.
Definition: vx_types.h:1075
uint64_t vx_uint64
A 64-bit unsigned value.
Definition: vx_types.h:91
local binary pattern
Definition: vx_types.h:1432
The graph either has been scheduled and not completed, or is being executed.
Definition: vx_types.h:667
Queries the image uniform value if any. Read-only. Use a vx_pixel_value_t parameter.
Definition: vx_types.h:965
The floating-point 2D Coordinates structure.
Definition: vx_types.h:1666
For nodes that support this behavior, a constant value is filled-in when accessing out-of-bounds pixe...
Definition: vx_types.h:1342
vx_uint32 end_y
The End Y coordinate.
Definition: vx_types.h:1652
vx_bool transpose_input1
if True the matrix is transposed before the operation, otherwise the matrix is used as is ...
Definition: vx_types.h:1592
struct _vx_matrix * vx_matrix
The Matrix Object. An MxN matrix of some unit type.
Definition: vx_types.h:242
Threshold Type List.
Definition: vx_types.h:568
struct _vx_scalar * vx_scalar
An opaque reference to a scalar.
Definition: vx_types.h:172
The graph has been verified and has not been executed or scheduled for execution yet.
Definition: vx_types.h:665
Queries the context for the number of active references. Read-only. Use a vx_uint32 parameter...
Definition: vx_types.h:807
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1660
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:752
A vx_graph.
Definition: vx_types.h:382
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:767
vx_termination_criteria_e
The termination criteria list.
Definition: vx_types.h:1363
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:1524
Queries an image for its height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:950
vx_convolution_attribute_e
The convolution attributes.
Definition: vx_types.h:1097
struct _vx_lut * vx_lut
The Look-Up Table (LUT) Object.
Definition: vx_types.h:229
Channel Name.
Definition: vx_types.h:566
Queries if an image is uniform. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:963
vx_meta_valid_rect_attribute_e
The meta valid rectangle attributes.
Definition: vx_types.h:1183
vx_bool transpose_input2
if True the matrix is transposed before the operation, otherwise the matrix is used as is ...
Definition: vx_types.h:1594
Border Mode List.
Definition: vx_types.h:569
The maximum width or height of a convolution matrix. Read-only. Use a vx_size parameter. Each vendor must support centered kernels of size w X h, where both w and h are odd numbers, 3 <= w <= n and 3 <= h <= n, where n is the value of the VX_CONTEXT_CONVOLUTION_MAX_DIMENSION attribute. n is an odd number that should not be smaller than 9. w and h may or may not be equal to each other. All combinations of w and h meeting the conditions above must be supported. The behavior of vxCreateConvolution is undefined for values larger than the value returned by this attribute.
Definition: vx_types.h:828
A vx_uint16.
Definition: vx_types.h:331
Queries a kernel for the number of parameters the kernel supports. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:866
vx_uint32 z
The Z coordinate.
Definition: vx_types.h:1677
Use to extract the RED channel, no matter the byte or packing order.
Definition: vx_types.h:1205
Output values are determined by averaging the source pixels whose areas fall under the area of the de...
Definition: vx_types.h:1262
A vx_enum. Equivalent in size to a vx_int32.
Definition: vx_types.h:338
vx_lut_attribute_e
The Look-Up Table (LUT) attribute list.
Definition: vx_types.h:1020
A vx_uint8.
Definition: vx_types.h:329