The OpenVX Specification  2b213f9
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
vx_types.h
1 /*
2  * Copyright (c) 2012-2016 The Khronos Group Inc.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and/or associated documentation files (the
6  * "Materials"), to deal in the Materials without restriction, including
7  * without limitation the rights to use, copy, modify, merge, publish,
8  * distribute, sublicense, and/or sell copies of the Materials, and to
9  * permit persons to whom the Materials are furnished to do so, subject to
10  * the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included
13  * in all copies or substantial portions of the Materials.
14  *
15  * MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
16  * KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
17  * SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
18  * https://www.khronos.org/registry/
19  *
20  * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26  * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
27  */
28 
29 #ifndef _OPENVX_TYPES_H_
30 #define _OPENVX_TYPES_H_
31 
37 #include <stdint.h>
38 #include <stddef.h>
39 
61 #ifndef VX_API_ENTRY
62 #define VX_API_ENTRY
63 #endif
64 #ifndef VX_API_CALL
65 #if defined(_WIN32)
66 #define VX_API_CALL __stdcall
67 #else
68 #define VX_API_CALL
69 #endif
70 #endif
71 #ifndef VX_CALLBACK
72 #if defined(_WIN32)
73 #define VX_CALLBACK __stdcall
74 #else
75 #define VX_CALLBACK
76 #endif
77 #endif
78 
82 typedef char vx_char;
83 
87 typedef uint8_t vx_uint8;
88 
92 typedef uint16_t vx_uint16;
93 
97 typedef uint32_t vx_uint32;
98 
102 typedef uint64_t vx_uint64;
103 
107 typedef int8_t vx_int8;
108 
112 typedef int16_t vx_int16;
113 
117 typedef int32_t vx_int32;
118 
122 typedef int64_t vx_int64;
123 
124 typedef uint32_t vx_bitfield;
125 
126 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
127 
131 typedef hfloat vx_float16;
132 #endif
133 
137 typedef float vx_float32;
138 
142 typedef double vx_float64;
143 
153 typedef struct _vx_reference *vx_reference;
154 
160 typedef int32_t vx_enum;
161 
165 typedef size_t vx_size;
166 
170 typedef uint32_t vx_df_image;
171 
175 typedef uintptr_t vx_map_id;
176 
183 typedef struct _vx_scalar *vx_scalar;
184 
190 typedef struct _vx_image *vx_image;
191 
198 typedef struct _vx_kernel *vx_kernel;
199 
205 typedef struct _vx_parameter *vx_parameter;
206 
212 typedef struct _vx_node *vx_node;
213 
219 typedef struct _vx_graph *vx_graph;
220 
226 typedef struct _vx_context *vx_context;
227 
234 typedef struct _vx_delay *vx_delay;
235 
240 typedef struct _vx_lut *vx_lut;
241 
247 typedef struct _vx_distribution *vx_distribution;
248 
253 typedef struct _vx_matrix *vx_matrix;
254 
259 typedef struct _vx_pyramid *vx_pyramid;
260 
266 typedef struct _vx_threshold *vx_threshold;
267 
272 typedef struct _vx_convolution *vx_convolution;
273 
278 typedef struct _vx_remap *vx_remap;
279 
283 typedef struct _vx_array *vx_array;
284 
288 typedef struct _vx_object_array *vx_object_array;
289 
301 typedef enum _vx_bool_e {
306 } vx_bool;
307 
317 typedef struct _vx_meta_format* vx_meta_format;
318 
322 enum vx_type_e {
324  VX_TYPE_CHAR = 0x001,
325  VX_TYPE_INT8 = 0x002,
326  VX_TYPE_UINT8 = 0x003,
327  VX_TYPE_INT16 = 0x004,
328  VX_TYPE_UINT16 = 0x005,
329  VX_TYPE_INT32 = 0x006,
330  VX_TYPE_UINT32 = 0x007,
331  VX_TYPE_INT64 = 0x008,
332  VX_TYPE_UINT64 = 0x009,
335  VX_TYPE_ENUM = 0x00C,
336  VX_TYPE_SIZE = 0x00D,
338 #if defined(EXPERIMENTAL_PLATFORM_SUPPORTS_16_FLOAT)
339  VX_TYPE_FLOAT16 = 0x00F,
340 #endif
341  VX_TYPE_BOOL = 0x010,
343  /* add new scalar types here */
344 
367  VX_TYPE_GRAPH = 0x802,
368  VX_TYPE_NODE = 0x803,
369  VX_TYPE_KERNEL = 0x804,
371  VX_TYPE_DELAY = 0x806,
372  VX_TYPE_LUT = 0x807,
376  VX_TYPE_MATRIX = 0x80B,
378  VX_TYPE_SCALAR = 0x80D,
379  VX_TYPE_ARRAY = 0x80E,
380  VX_TYPE_IMAGE = 0x80F,
381  VX_TYPE_REMAP = 0x810,
382  VX_TYPE_ERROR = 0x811,
386  /* \todo add new object types here */
387 
388 };
389 
396  /* add new codes here */
422 };
423 
429 
435 
444 
449 #define VX_VENDOR_MASK (0xFFF00000)
450 
456 #define VX_TYPE_MASK (0x000FFF00)
457 
462 #define VX_LIBRARY_MASK (0x000FF000)
463 
467 #define VX_KERNEL_MASK (0x00000FFF)
468 
472 #define VX_ATTRIBUTE_ID_MASK (0x000000FF)
473 
477 #define VX_ENUM_TYPE_MASK (0x000FF000)
478 
482 #define VX_ENUM_MASK (0x00000FFF)
483 
487 #define VX_VENDOR(e) (((vx_uint32)e & VX_VENDOR_MASK) >> 20)
488 
492 #define VX_TYPE(e) (((vx_uint32)e & VX_TYPE_MASK) >> 8)
493 
497 #define VX_ENUM_TYPE(e) (((vx_uint32)e & VX_ENUM_TYPE_MASK) >> 12)
498 
502 #define VX_LIBRARY(e) (((vx_uint32)e & VX_LIBRARY_MASK) >> 12)
503 
509 #define VX_DF_IMAGE(a,b,c,d) ((a) | (b << 8) | (c << 16) | (d << 24))
510 
516 #define VX_ATTRIBUTE_BASE(vendor, object) (((vendor) << 20) | (object << 8))
517 
523 #define VX_KERNEL_BASE(vendor, lib) (((vendor) << 20) | (lib << 12))
524 
533 #define VX_ENUM_BASE(vendor, id) (((vendor) << 20) | (id << 12))
534 
539 enum vx_enum_e {
541  VX_ENUM_ACTION = 0x01,
542  VX_ENUM_HINT = 0x02,
552  VX_ENUM_BORDER = 0x0C,
559  VX_ENUM_TARGET = 0x13,
564 };
565 
575 };
576 
587 };
588 
594 enum vx_hint_e {
607 };
608 
625 };
626 
641 };
642 
658 };
659 
670 };
671 
678  VX_DF_IMAGE_VIRT = VX_DF_IMAGE('V','I','R','T'),
682  VX_DF_IMAGE_RGB = VX_DF_IMAGE('R','G','B','2'),
687  VX_DF_IMAGE_RGBX = VX_DF_IMAGE('R','G','B','A'),
691  VX_DF_IMAGE_NV12 = VX_DF_IMAGE('N','V','1','2'),
695  VX_DF_IMAGE_NV21 = VX_DF_IMAGE('N','V','2','1'),
699  VX_DF_IMAGE_UYVY = VX_DF_IMAGE('U','Y','V','Y'),
703  VX_DF_IMAGE_YUYV = VX_DF_IMAGE('Y','U','Y','V'),
707  VX_DF_IMAGE_IYUV = VX_DF_IMAGE('I','Y','U','V'),
711  VX_DF_IMAGE_YUV4 = VX_DF_IMAGE('Y','U','V','4'),
716  VX_DF_IMAGE_U8 = VX_DF_IMAGE('U','0','0','8'),
721  VX_DF_IMAGE_U16 = VX_DF_IMAGE('U','0','1','6'),
726  VX_DF_IMAGE_S16 = VX_DF_IMAGE('S','0','1','6'),
731  VX_DF_IMAGE_U32 = VX_DF_IMAGE('U','0','3','2'),
736  VX_DF_IMAGE_S32 = VX_DF_IMAGE('S','0','3','2'),
737 };
738 
749 };
750 
761 };
762 
825 };
826 
849 };
850 
893 };
894 
909 };
910 
932 };
933 
940 };
941 
954 };
955 
973 };
974 
983 };
984 
1003 };
1004 
1022 };
1023 
1040 };
1041 
1056 };
1057 
1070 };
1071 
1084 };
1085 
1094 };
1095 
1102 };
1103 
1119 
1134 };
1135 
1142 
1145 };
1146 
1179 };
1180 
1191 };
1192 
1205 };
1206 
1219 
1222 };
1223 
1232 };
1233 
1246 };
1247 
1262 };
1263 
1272 };
1273 
1287 };
1288 
1298 };
1299 
1308 };
1309 
1328 };
1329 
1338 };
1339 
1340 #if defined(_WIN32) || defined(UNDER_CE)
1341 #if defined(_WIN64)
1342 
1345 #define VX_FMT_REF "%I64u"
1346 
1349 #define VX_FMT_SIZE "%I64u"
1350 #else
1351 
1354 #define VX_FMT_REF "%lu"
1355 
1358 #define VX_FMT_SIZE "%lu"
1359 #endif
1360 #else
1361 
1364 #define VX_FMT_REF "%p"
1365 
1368 #define VX_FMT_SIZE "%zu"
1369 #endif
1370 
1373 #define VX_SCALE_UNITY (1024u)
1374 
1394 typedef struct _vx_imagepatch_addressing_t {
1404 
1408 #define VX_IMAGEPATCH_ADDR_INIT {0u, 0u, 0, 0, 0u, 0u, 0u, 0u}
1409 
1413 typedef struct _vx_perf_t {
1422 } vx_perf_t;
1423 
1427 #define VX_PERF_INIT {0ul, 0ul, 0ul, 0ul, 0ul, 0ul}
1428 
1433 typedef struct _vx_kernel_info_t {
1439 
1446 
1450 #define VX_SCALE_PYRAMID_HALF (0.5f)
1451 
1455 #define VX_SCALE_PYRAMID_ORB ((vx_float32)0.8408964f)
1456 
1460 typedef struct _vx_keypoint_t {
1468 } vx_keypoint_t;
1469 
1473 typedef struct _vx_rectangle_t {
1478 } vx_rectangle_t;
1479 
1483 typedef struct _vx_coordinates2d_t {
1487 
1491 typedef struct _vx_coordinates3d_t {
1496 
1501 typedef union _vx_pixel_value_t {
1502  vx_uint8 RGB[3];
1503  vx_uint8 RGBX[4];
1504  vx_uint8 YUV[3];
1510  vx_uint8 reserved[16];
1512 
1520 typedef struct _vx_border_t {
1527 } vx_border_t;
1528 
1536 
1542 typedef vx_status(VX_API_CALL *vx_unpublish_kernels_f)(vx_context context);
1543 
1551 typedef vx_status(VX_CALLBACK *vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1552 
1563 
1574 
1589 typedef vx_status(VX_CALLBACK *vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[]);
1590 
1622 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[]);
1623 
1627 typedef void (VX_CALLBACK *vx_log_callback_f)(vx_context context,
1628  vx_reference ref,
1629  vx_status status,
1630  const vx_char string[]);
1631 
1637 };
1638 
1639 #endif
Indicates the replicated parameters. Read-only. Use a vx_bool* parameter.
Definition: vx_types.h:888
Output values are defined by bilinear interpolation between the pixels whose centers are closest to t...
Definition: vx_types.h:1175
struct _vx_image * vx_image
An opaque reference to an image.
Definition: vx_types.h:190
Interpolation Types.
Definition: vx_types.h:544
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:234
The value of the higher threshold. Read-write. Use a vx_int32 parameter.
Definition: vx_types.h:996
vx_uint64 avg
Holds the average of the durations.
Definition: vx_types.h:1418
vx_bool
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
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:1627
vx_threshold_type_e
The Threshold types.
Definition: vx_types.h:978
The M dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1012
A vx_delay.
Definition: vx_types.h:371
The "false" value.
Definition: vx_types.h:303
vx_int32 y
The y coordinate.
Definition: vx_types.h:1462
Indicates the value type of the LUT. Read-only. Use a vx_enum.
Definition: vx_types.h:947
Action Codes.
Definition: vx_types.h:541
vx_int32 x
The x coordinate.
Definition: vx_types.h:1461
The number of items in the delay. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1307
Results are the least significant bits of the output operand, as if stored in two's complement binary...
Definition: vx_types.h:667
Enables performance counters for the context.
Definition: vx_types.h:624
vx_non_linear_filter_e
An enumeration of non-linear filter functions.
Definition: vx_types.h:1184
The Khronos Group.
Definition: vx_vendors.h:37
A vendor-defined struct base index.
Definition: vx_types.h:353
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:848
A vx_threshold.
Definition: vx_types.h:375
The parameter is an input only.
Definition: vx_types.h:582
Indicates that the attempt to link two parameters together failed due to type incompatibilty.
Definition: vx_types.h:415
A vx_reference.
Definition: vx_types.h:365
vx_pyramid_attribute_e
The pyramid object attributes.
Definition: vx_types.h:1045
vx_uint16 U16
VX_DF_IMAGE_U16
Definition: vx_types.h:1506
Indicates that an operation did not complete due to a reference count being non-zero.
Definition: vx_types.h:397
Used by formats with unknown channel types.
Definition: vx_types.h:1112
A vx_int16.
Definition: vx_types.h:327
The 2D Coordinates structure.
Definition: vx_types.h:1483
uint16_t vx_uint16
A 16-bit unsigned value.
Definition: vx_types.h:92
vx_uint64 beg
Holds the first measurement in a set.
Definition: vx_types.h:1415
vx_reference_attribute_e
The reference attributes list.
Definition: vx_types.h:754
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:1551
Use to extract the reference contained in the parameter. Read-only. Use a vx_reference parameter...
Definition: vx_types.h:908
The type of the Array items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1077
Use to indicate that the BT.601 coefficients and BTU primaries are used for conversions.
Definition: vx_types.h:1216
Color Space.
Definition: vx_types.h:546
Indicates that the supplied parameter has an incorrect value.
Definition: vx_types.h:405
uint8_t vx_uint8
An 8-bit unsigned value.
Definition: vx_types.h:87
struct _vx_array * vx_array
The Array Object. Array is a strongly-typed container for other data structures.
Definition: vx_types.h:283
vx_int16 S16
VX_DF_IMAGE_S16
Definition: vx_types.h:1507
Parameter Direction.
Definition: vx_types.h:540
The type of reference contained in the delay. Read-only. Use a vx_enum parameter. ...
Definition: vx_types.h:1305
The default memory type to import from the Host.
Definition: vx_types.h:1144
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:1400
vx_uint32 step_y
Step of Y dimension in pixels.
Definition: vx_types.h:1402
Queries an image for its total number of bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:928
Indicates the behavior with respect to the valid rectangle. Read-only. Use a vx_bool parameter...
Definition: vx_types.h:892
Queries an image for its color space (see vx_color_space_e). Read-write. Use a vx_enum parameter...
Definition: vx_types.h:924
Indicates the total size of the distribution in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:972
Indicates that an internal or implicit resource can not be acquired (not memory). This is typically c...
Definition: vx_types.h:414
Queries memory type if created using vxCreateImageFromHandle. If vx_image was not created using vxCre...
Definition: vx_types.h:931
vx_uint32 U32
VX_DF_IMAGE_U32
Definition: vx_types.h:1508
Indicates the lower bound of status codes in VX. Used for bounds checks only.
Definition: vx_types.h:395
int16_t vx_int16
A 16-bit signed value.
Definition: vx_types.h:112
size_t vx_size
A wrapper of size_t to keep the naming convention uniform.
Definition: vx_types.h:165
A vx_pyramid.
Definition: vx_types.h:374
A square matrix (rows = columns = size)
Definition: vx_types.h:1202
Indicates that the supplied node could not be created.
Definition: vx_types.h:402
Indicates that the reference provided is not valid.
Definition: vx_types.h:409
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:695
Indicates that the supplied graph already has been scheduled and may be currently executing...
Definition: vx_types.h:400
vx_enum_e
The set of supported enumerations in OpenVX.
Definition: vx_types.h:539
A threshold with only 1 value.
Definition: vx_types.h:980
Color Space Range.
Definition: vx_types.h:547
The keypoint data structure.
Definition: vx_types.h:1460
Comparison Values.
Definition: vx_types.h:553
Returns the state of the graph. See vx_graph_state_e enum.
Definition: vx_types.h:657
int32_t vx_enum
Sets the standard enumeration type size to be a fixed quantity.
Definition: vx_types.h:160
Used by formats with unknown channel types.
Definition: vx_types.h:1116
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1484
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:266
A vx_int64.
Definition: vx_types.h:331
vx_memory_type_e
An enumeration of memory import types.
Definition: vx_types.h:1139
The border mode for immediate mode functions.
Definition: vx_types.h:806
Enables recording information for graph debugging.
Definition: vx_types.h:620
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:247
vx_distribution_attribute_e
The distribution attribute list.
Definition: vx_types.h:959
Full range of the unit of the channel.
Definition: vx_types.h:1229
Indicates the user preference is low power consumption versus highest performance.
Definition: vx_types.h:602
No error.
Definition: vx_types.h:421
Indicates whether the node is replicated. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:884
Nonlinear Dilate.
Definition: vx_types.h:1190
Target.
Definition: vx_types.h:559
Parameter State.
Definition: vx_types.h:548
struct _vx_parameter * vx_parameter
An opaque reference to a single parameter.
Definition: vx_types.h:205
int32_t vx_int32
A 32-bit signed value.
Definition: vx_types.h:117
A value used for bound checking of vendor objects.
Definition: vx_types.h:362
The vx_df_image_e format of the image. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:1055
vx_remap_attribute_e
The remap object attributes.
Definition: vx_types.h:1061
For nodes that support this behavior, a replication of the nearest edge pixels value is given for out...
Definition: vx_types.h:1261
A vx_meta_format.
Definition: vx_types.h:383
The addressing image patch structure is used by the Host only to address pixels in an image patch...
Definition: vx_types.h:1394
vx_object_array_attribute_e
The ObjectArray object attributes.
Definition: vx_types.h:1089
vx_status_e
The enumeration of all status codes.
Definition: vx_types.h:394
The "true" value.
Definition: vx_types.h:305
vx_border_policy_e
The unsupported border mode policy list.
Definition: vx_types.h:1267
The maximal number of items that the Array can hold. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1081
vx_channel_range_e
The image channel range list used by the VX_IMAGE_RANGE attribute of a vx_image.
Definition: vx_types.h:1227
int64_t vx_int64
A 64-bit signed value.
Definition: vx_types.h:122
vx_map_flag_e
The Map/Unmap operation enumeration.
Definition: vx_types.h:1635
The scale factor between each level of the pyramid. Read-only. Use a vx_float32 parameter.
Definition: vx_types.h:1049
The 3D Coordinates structure.
Definition: vx_types.h:1491
vx_pattern_e
An enumeration of matrix patterns. See vxCreateMatrixFromPattern
Definition: vx_types.h:1196
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:731
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:1573
The dimension of the largest nonlinear filter supported. See vxNonLinearFilterNode.
Definition: vx_types.h:824
The type of the ObjectArray items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1091
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:653
char vx_char
An 8 bit ASCII character.
Definition: vx_types.h:82
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:716
vx_uint64 max
Holds the maximum of the durations.
Definition: vx_types.h:1421
Used by formats with unknown channel types.
Definition: vx_types.h:1114
float vx_float32
A 32-bit float value.
Definition: vx_types.h:137
This is returned from vxLoadKernels when the module does not contain the entry point.
Definition: vx_types.h:410
Used to query the reference for its name. Read-write. Use a * vx_char parameter.
Definition: vx_types.h:760
Indicates that the object refered to has been optimized out of existence.
Definition: vx_types.h:412
Matrix pattern enumeration.
Definition: vx_types.h:563
The source height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1065
Output values are defined to match the source pixel whose center is nearest to the sample position...
Definition: vx_types.h:1172
vx_float32 strength
The strength of the keypoint. Its definition is specific to the corner detector.
Definition: vx_types.h:1463
Use to extract the Cb/U channel, no matter the byte or packing order.
Definition: vx_types.h:1131
vx_type_e
The type enumeration lists all the known types in OpenVX.
Definition: vx_types.h:322
The L2 normalization.
Definition: vx_types.h:1297
Indicates the number of dimensions in the distribution. Read-only. Use a vx_size parameter.
Definition: vx_types.h:961
A vx_float64.
Definition: vx_types.h:334
vx_enum mode
See vx_border_e.
Definition: vx_types.h:1522
The value of the lower threshold. Read-write. Use a vx_int32 parameter.
Definition: vx_types.h:994
Hint Values.
Definition: vx_types.h:542
A vx_float32.
Definition: vx_types.h:333
vx_enum vx_status
A formal status type with known fixed size.
Definition: vx_types.h:428
Queries the performance of the node execution. The accuracy of timing information is platform depende...
Definition: vx_types.h:862
Use to extract the BLUE channel, no matter the byte or packing order.
Definition: vx_types.h:1125
Use to indicate that the BT.601 coefficients and SMPTE C primaries are used for conversions.
Definition: vx_types.h:1214
#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:533
Indicates the total size of the LUT in bytes. Read-only. Uses a vx_size.
Definition: vx_types.h:951
struct _vx_context * vx_context
An opaque reference to the implementation context.
Definition: vx_types.h:226
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:317
A vx_matrix.
Definition: vx_types.h:376
The parameter may be unspecified. The kernel takes care not to deference optional parameters until it...
Definition: vx_types.h:1245
Convert Policy.
Definition: vx_types.h:550
Indicates the user preference for highest performance over low power consumption. ...
Definition: vx_types.h:606
Matrix with any pattern othern than above.
Definition: vx_types.h:1204
Valid rectangle callback during output parameter validation. Write-only.
Definition: vx_types.h:1101
The value of the single threshold. Read-write. Use a vx_int32 parameter.
Definition: vx_types.h:992
vx_convert_policy_e
The Conversion Policy Enumeration.
Definition: vx_types.h:663
vx_uint32 start_x
The Start X coordinate.
Definition: vx_types.h:1474
struct _vx_reference * vx_reference
A generic opaque reference to any object within OpenVX.
Definition: vx_types.h:153
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:703
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1493
Start of Vendor specific target enumerates.
Definition: vx_types.h:748
vx_float32 scale
Initialized to 0 by corner detectors.
Definition: vx_types.h:1464
The graph execution was abandoned.
Definition: vx_types.h:638
The number of items in the Array. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1079
A vx_distribution.
Definition: vx_types.h:373
The number of items in the ObjectArray. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1093
The scale of the convolution matrix. Read-write. Use a vx_uint32 parameter.
Definition: vx_types.h:1037
vx_directive_e
These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or f...
Definition: vx_types.h:616
A vx_object_array.
Definition: vx_types.h:384
A value for comparison between Khronos defined objects and vendor structs.
Definition: vx_types.h:361
Indicates to the system that the parameter must be allocated by the system.
Definition: vx_types.h:416
Target, explicitly specified by its (case-insensitive) name string.
Definition: vx_types.h:746
The total size of the convolution matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1039
vx_float32 error
A tracking method specific error. Initialized to 0 by corner detectors.
Definition: vx_types.h:1467
Queries the OpenVX Version Number. Read-only. Use a vx_uint16
Definition: vx_types.h:770
The number of levels of the pyramid. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1047
vx_int32 stride_x
Stride in X dimension in bytes.
Definition: vx_types.h:1397
Indicates that both an iterations and eplison method are employed. Whichever one matches first causes...
Definition: vx_types.h:1286
Queries an image for its channel range (see vx_channel_range_e). Read-only. Use a vx_enum parameter...
Definition: vx_types.h:926
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:170
The destination height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1069
Nonlinear median filter.
Definition: vx_types.h:1186
All images in VX are by default BT.709.
Definition: vx_types.h:1221
Indicates the index of the input value = 0. Read-only. Uses a vx_uint32.
Definition: vx_types.h:953
A vx_lut.
Definition: vx_types.h:372
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:682
A norm type.
Definition: vx_types.h:556
The number of rows of the convolution matrix. Read-only. Use a vx_size parameter. ...
Definition: vx_types.h:1029
vx_direction_e
An indication of how a kernel will treat the given parameter.
Definition: vx_types.h:580
Queries an array item size. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1083
A virtual image of no defined type.
Definition: vx_types.h:678
A vx_remap.
Definition: vx_types.h:381
vx_int32 S32
VX_DF_IMAGE_S32
Definition: vx_types.h:1509
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:1526
Queries an image for its width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:916
vx_threshold_attribute_e
The threshold attributes.
Definition: vx_types.h:988
The parameter is both an input and output.
Definition: vx_types.h:586
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:1324
Box pattern matrix.
Definition: vx_types.h:1198
Indicates a termination after a set number of iterations.
Definition: vx_types.h:1280
Use to extract the ALPHA channel, no matter the byte or packing order.
Definition: vx_types.h:1127
vx_uint64 min
Holds the minimum of the durations.
Definition: vx_types.h:1419
Indicates the pointer kernel local memory area. Read-Write. Can be written only at user-node (de)init...
Definition: vx_types.h:876
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:1320
vx_uint32 dim_y
Height of patch in Y dimension in pixels.
Definition: vx_types.h:1396
The source width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1063
vx_node_attribute_e
The node attributes list.
Definition: vx_types.h:854
A value for comparison between Khronos defined structs and user structs.
Definition: vx_types.h:357
Indicates that the supplied graph has invalid connections (cycles).
Definition: vx_types.h:403
Queries the enum of the kernel. Not settable. Read-only. Use a vx_enum parameter. ...
Definition: vx_types.h:842
A single plane of 32-bit pixel as 4 interleaved 8-bit units of R then G then B data, then a don't care byte. This uses the BT709 full range by default.
Definition: vx_types.h:687
Rounding Policy.
Definition: vx_types.h:558
Retrieves the extensions string. Read-only. This is a space-separated string of extension names...
Definition: vx_types.h:786
The memory shall be treated by the system as if it were readable and writeable.
Definition: vx_types.h:1327
vx_hint_e
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or featur...
Definition: vx_types.h:594
The destination width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1067
Indicates the start of the values to use (inclusive). Read-only. Use a vx_int32 parameter.
Definition: vx_types.h:963
A value for comparison between vendor structs and Khronos defined objects.
Definition: vx_types.h:360
Non-linear function list.
Definition: vx_types.h:562
No Gap.
Definition: vx_types.h:1636
vx_border_e
The border mode list.
Definition: vx_types.h:1251
The graph should be verified before execution.
Definition: vx_types.h:632
A vx_uint64.
Definition: vx_types.h:332
A vx_context.
Definition: vx_types.h:366
Indicates the size of the kernel local memory area. Read-only. Can be written only at user-node (de)i...
Definition: vx_types.h:871
Use VX_BORDER_UNDEFINED instead of unsupported border modes.
Definition: vx_types.h:1269
vx_enum enumeration
The kernel enumeration value from vx_kernel_e (or an extension thereof).
Definition: vx_types.h:1438
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:1589
#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:516
No defined border mode behavior is given.
Definition: vx_types.h:1253
Indicates that the requested set of parameters produce a configuration that cannot be supported...
Definition: vx_types.h:418
vx_delay_attribute_e
The delay attribute list.
Definition: vx_types.h:1303
The value of the TRUE threshold (default value is 255). Read-write. Use a vx_int32 parameter...
Definition: vx_types.h:998
The value type of the matrix. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1010
Indicates that the supplied parameter is too big or too small in dimension.
Definition: vx_types.h:406
vx_uint32 step_x
Step of X dimension in pixels.
Definition: vx_types.h:1401
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:398
A user-defined struct base index.
Definition: vx_types.h:352
Indicates that the requested kernel is missing.
Definition: vx_types.h:419
Directive Values.
Definition: vx_types.h:543
Overflow Policies.
Definition: vx_types.h:545
When scaling, this truncates the least significant values that are lost in operations.
Definition: vx_types.h:1335
vx_image_attribute_e
The image attributes list.
Definition: vx_types.h:914
double vx_float64
A 64-bit float value (aka double).
Definition: vx_types.h:142
vx_accessor_e
The memory accessor hint flags. These enumeration values are used to indicate desired system behavior...
Definition: vx_types.h:1316
A vx_kernel.
Definition: vx_types.h:369
The origin of the matrix with a default value of [floor(VX_MATRIX_COLUMNS/2), floor(VX_MATRIX_ROWS/2)...
Definition: vx_types.h:1019
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:1562
struct _vx_pyramid * vx_pyramid
The Image Pyramid object. A set of scaled images.
Definition: vx_types.h:259
Queries the type of atomic that is contained in the scalar. Read-only. Use a vx_enum parameter...
Definition: vx_types.h:939
Queries the number of bytes in the extensions string. Read-only. Use a vx_size parameter.
Definition: vx_types.h:780
Queries the name of the kernel. Not settable. Read-only. Use a vx_char[VX_MAX_KERNEL_NAME] array (not...
Definition: vx_types.h:838
Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection...
Definition: vx_types.h:413
Indicates to the implementation that user do not apply any specific requirements for performance...
Definition: vx_types.h:598
Queries the status of node execution. Read-only. Use a vx_status parameter.
Definition: vx_types.h:856
Indicates that the supplied parameter information does not match the kernel contract.
Definition: vx_types.h:411
vx_norm_type_e
A normalization type.
Definition: vx_types.h:1293
vx_uint32 x
The X coordinate.
Definition: vx_types.h:1492
An accessor flag type.
Definition: vx_types.h:557
vx_array_attribute_e
The array object attributes.
Definition: vx_types.h:1075
A vx_char.
Definition: vx_types.h:324
Indicates the number of bins. Read-only. Use a vx_size parameter.
Definition: vx_types.h:967
Queries an image for its format. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:920
A value for comparison between user structs and vendor structs.
Definition: vx_types.h:359
struct _vx_kernel * vx_kernel
An opaque reference to the descriptor of a kernel.
Definition: vx_types.h:198
Return VX_ERROR_NOT_SUPPORTED for unsupported border modes.
Definition: vx_types.h:1271
vx_uint32 start_y
The Start Y coordinate.
Definition: vx_types.h:1475
Queries an image for its number of planes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:922
Use to indicate that the BT.709 coefficients are used for conversions.
Definition: vx_types.h:1218
vx_uint32 dim_x
Width of patch in X dimension in pixels.
Definition: vx_types.h:1395
vx_action_e
A return code enumeration from a vx_nodecomplete_f during execution.
Definition: vx_types.h:570
vx_uint64 tmp
Holds the last measurement.
Definition: vx_types.h:1414
vx_int32 tracking_status
A zero indicates a lost point. Initialized to 1 by corner detectors.
Definition: vx_types.h:1466
The number of columns of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1031
#define VX_API_CALL
Defines calling convention for OpenVX API.
Definition: vx_types.h:68
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
Definition: vx_types.h:1501
Nonlinear Erode.
Definition: vx_types.h:1188
A termination criteria.
Definition: vx_types.h:555
An invalid type value. When passed an error must be returned.
Definition: vx_types.h:323
A vx_array.
Definition: vx_types.h:379
An error object which has no type.
Definition: vx_types.h:382
A vx_rectangle_t.
Definition: vx_types.h:347
vx_action(* vx_nodecomplete_f)(vx_node node)
A callback to the client after a particular node has completed.
Definition: vx_types.h:443
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:699
Queries the unique vendor ID. Read-only. Use a vx_uint16.
Definition: vx_types.h:768
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
Definition: vx_types.h:1473
vx_uint64 num
Holds the number of measurements.
Definition: vx_types.h:1420
A vx_int8.
Definition: vx_types.h:325
A vx_keypoint_t.
Definition: vx_types.h:348
vx_int32 stride_y
Stride in Y dimension in bytes.
Definition: vx_types.h:1398
#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:509
The pattern of the matrix. See vx_pattern_e . Read-only. Use a vx_enum parameter. ...
Definition: vx_types.h:1021
vx_uint64 sum
Holds the summation of durations.
Definition: vx_types.h:1417
The N dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1014
vx_channel_e
The channel enumerations for channel extractions.
Definition: vx_types.h:1110
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:711
vx_enum vx_action
The formal typedef of the response from the callback.
Definition: vx_types.h:434
vx_uint64 end
Holds the last measurement in a set.
Definition: vx_types.h:1416
A vx_bool.
Definition: vx_types.h:341
Used by formats with unknown channel types.
Definition: vx_types.h:1118
Indicates that the graph is stopped due to an error or a callback that abandoned execution.
Definition: vx_types.h:399
vx_uint32 end_x
The End X coordinate.
Definition: vx_types.h:1476
Indicates a generic error code, used when no other describes the error.
Definition: vx_types.h:420
A vendor defined object base index.
Definition: vx_types.h:355
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
Definition: vx_types.h:1433
A vx_coordinates2d_t.
Definition: vx_types.h:349
Returns the table of all unique the kernels that exist in the context. Read-only. Use a vx_kernel_inf...
Definition: vx_types.h:812
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
Definition: vx_types.h:1520
A vx_size.
Definition: vx_types.h:336
Queries the context for the number of active modules. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:774
#define VX_CALLBACK
Defines calling convention for user callbacks.
Definition: vx_types.h:75
The L1 normalization.
Definition: vx_types.h:1295
A floating value for comparison between OpenVX scalars and OpenVX structs.
Definition: vx_types.h:345
vx_df_image_e
Based on the VX_DF_IMAGE definition.
Definition: vx_types.h:676
A vx_image.
Definition: vx_types.h:380
struct _vx_object_array * vx_object_array
The ObjectArray Object. ObjectArray is a strongly-typed container of OpenVX data-objects.
Definition: vx_types.h:288
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:902
The maximum window dimension of the OpticalFlowPyrLK kernel. The value of this attribute shall be equ...
Definition: vx_types.h:801
The parameter is an output only.
Definition: vx_types.h:584
vx_scalar_attribute_e
The scalar attributes list.
Definition: vx_types.h:937
Use to indicate that no color space is used.
Definition: vx_types.h:1212
The graph execution is completed and the graph is not scheduled for execution.
Definition: vx_types.h:640
vx_interpolation_type_e
The image reconstruction filters supported by image resampling operations.
Definition: vx_types.h:1170
The height of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1053
vx_kernel_attribute_e
The kernel attributes list.
Definition: vx_types.h:830
struct _vx_convolution * vx_convolution
The Convolution Object. A user-defined convolution kernel of MxM elements.
Definition: vx_types.h:272
Default. The parameter must be supplied. If not set, during Verify, an error is returned.
Definition: vx_types.h:1241
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:726
A vx_node.
Definition: vx_types.h:368
#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:45
Use to extract the LUMA channel, no matter the byte or packing order.
Definition: vx_types.h:1129
Queries the context for the number of unique kernels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:772
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:278
A vx_df_image.
Definition: vx_types.h:337
uint32_t vx_uint32
A 32-bit unsigned value.
Definition: vx_types.h:97
The width of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1051
Disables performance counters for the context. By default performance counters are disabled...
Definition: vx_types.h:622
A vx_convolution.
Definition: vx_types.h:377
vx_graph_state_e
The Graph State Enumeration.
Definition: vx_types.h:630
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:900
The value type of the threshold. Read-only. Use a vx_enum parameter. Will contain a vx_threshold_type...
Definition: vx_types.h:990
int8_t vx_int8
An 8-bit signed value.
Definition: vx_types.h:107
A vx_parameter.
Definition: vx_types.h:370
The memory type enumeration.
Definition: vx_types.h:554
The unsupported border mode policy for immediate mode functions. Read-only.
Definition: vx_types.h:818
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:691
When scaling, this rounds to nearest even output value.
Definition: vx_types.h:1337
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:866
vx_parameter_state_e
The parameter state type.
Definition: vx_types.h:1237
vx_parameter_attribute_e
The parameter attributes list.
Definition: vx_types.h:898
A threshold with 2 values (upper/lower). Use with Canny Edge Detection.
Definition: vx_types.h:982
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:906
Indicates that the supplied parameter is in an invalid format.
Definition: vx_types.h:407
Graph attribute states.
Definition: vx_types.h:561
Queries the context for it's implementation name. Read-only. Use a vx_char[VX_MAX_IMPLEMENTATION_NAME...
Definition: vx_types.h:778
Any available target. An OpenVX implementation must support at least one target associated with this ...
Definition: vx_types.h:744
Stop executing the graph.
Definition: vx_types.h:574
The performance measurement structure. The time or durations are in units of nano seconds...
Definition: vx_types.h:1413
Indicates the number of elements in the LUT. Read-only. Use a vx_size.
Definition: vx_types.h:949
Results are saturated to the bit depth of the output operand.
Definition: vx_types.h:669
Indicates that the given graph has failed verification due to an insufficient number of required para...
Definition: vx_types.h:417
The value of the FALSE threshold (default value is 0). Read-write. Use a vx_int32 parameter...
Definition: vx_types.h:1000
The total size of the matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1016
Use to extract the GREEN channel, no matter the byte or packing order.
Definition: vx_types.h:1123
Returns the number of explicitly declared parameters on the graph. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:655
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:970
struct _vx_graph * vx_graph
An opaque reference to a graph.
Definition: vx_types.h:219
The data type of the threshold's value. Read-only. Use a vx_enum parameter. Will contain a vx_type_e...
Definition: vx_types.h:1002
vx_target_e
The Target Enumeration.
Definition: vx_types.h:742
A vx_coordinates3d_t.
Definition: vx_types.h:350
For memory allocated through OpenVX, this is the import type.
Definition: vx_types.h:1141
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:707
vx_float32 orientation
Initialized to 0 by corner detectors.
Definition: vx_types.h:1465
Restricted range of the unit of the channel based on the space given.
Definition: vx_types.h:1231
Indicates the number of node parameters, including optional parameters that are not passed...
Definition: vx_types.h:880
Cross pattern matrix.
Definition: vx_types.h:1200
vx_uint8 U8
VX_DF_IMAGE_U8
Definition: vx_types.h:1505
vx_graph_attribute_e
The graph attributes list.
Definition: vx_types.h:646
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:1622
Indicates that the link is not possible as specified. The parameters are incompatible.
Definition: vx_types.h:408
Indicates that the supplied type parameter is incorrect.
Definition: vx_types.h:404
Use to extract the Cr/V/Value channel, no matter the byte or packing order.
Definition: vx_types.h:1133
Unsupported Border Mode Policy List.
Definition: vx_types.h:560
vx_context_attribute_e
A list of context attributes.
Definition: vx_types.h:766
struct _vx_node * vx_node
An opaque reference to a kernel node.
Definition: vx_types.h:212
Indicates that the supplied parameter is from another scope and cannot be used in the current scope...
Definition: vx_types.h:401
A vx_int32.
Definition: vx_types.h:329
vx_round_policy_e
The Round Policy Enumeration.
Definition: vx_types.h:1333
Queries a parameter for its type, vx_type_e is returned. Read-only. The size of the parameter is impl...
Definition: vx_types.h:904
vx_color_space_e
The image color space list used by the VX_IMAGE_SPACE attribute of a vx_image.
Definition: vx_types.h:1210
Disables recording information for graph debugging.
Definition: vx_types.h:618
Returns the number of nodes in a graph. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:648
A Khronos defined object base index.
Definition: vx_types.h:354
Returns the vx_type_e of the reference. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:758
Indicates the total number of the consecutive values of the distribution interval.
Definition: vx_types.h:965
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:1535
A vx_scalar. when needed to be completely generic for kernel validation.
Definition: vx_types.h:378
Indicates a termination after matching against the value of eplison provided to the function...
Definition: vx_types.h:1282
Continue executing the graph with no changes.
Definition: vx_types.h:572
uintptr_t vx_map_id
Holds the address of a variable where the map/unmap functions return a map identifier.
Definition: vx_types.h:175
A vx_uint32.
Definition: vx_types.h:330
vx_matrix_attribute_e
The matrix attributes.
Definition: vx_types.h:1008
uint64_t vx_uint64
A 64-bit unsigned value.
Definition: vx_types.h:102
The graph either has been scheduled and not completed, or is being executed.
Definition: vx_types.h:636
For nodes that support this behavior, a constant value is filled-in when accessing out-of-bounds pixe...
Definition: vx_types.h:1257
vx_uint32 end_y
The End Y coordinate.
Definition: vx_types.h:1477
struct _vx_matrix * vx_matrix
The Matrix Object. An MxN matrix of some unit type.
Definition: vx_types.h:253
Threshold Type List.
Definition: vx_types.h:551
struct _vx_scalar * vx_scalar
An opaque reference to a scalar.
Definition: vx_types.h:183
The graph has been verified and has not been executed or scheduled for execution yet.
Definition: vx_types.h:634
Returns the reference count of the object. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:756
Queries the context for the number of active references. Read-only. Use a vx_uint32 parameter...
Definition: vx_types.h:776
vx_uint32 y
The Y coordinate.
Definition: vx_types.h:1485
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:721
A vx_graph.
Definition: vx_types.h:367
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:736
vx_termination_criteria_e
The termination criteria list.
Definition: vx_types.h:1278
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:1399
Queries an image for its height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:918
vx_convolution_attribute_e
The convolution attributes.
Definition: vx_types.h:1027
struct _vx_lut * vx_lut
The Look-Up Table (LUT) Object.
Definition: vx_types.h:240
Channel Name.
Definition: vx_types.h:549
vx_meta_valid_rect_attribute_e
The meta valid rectangle attributes.
Definition: vx_types.h:1099
Border Mode List.
Definition: vx_types.h:552
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:797
A vx_uint16.
Definition: vx_types.h:328
Queries a kernel for the number of parameters the kernel supports. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:834
vx_uint32 z
The Z coordinate.
Definition: vx_types.h:1494
Use to extract the RED channel, no matter the byte or packing order.
Definition: vx_types.h:1121
Output values are determined by averaging the source pixels whose areas fall under the area of the de...
Definition: vx_types.h:1178
A vx_enum. Equivalent in size to a vx_int32.
Definition: vx_types.h:335
vx_lut_attribute_e
The Look-Up Table (LUT) attribute list.
Definition: vx_types.h:945
A vx_uint8.
Definition: vx_types.h:326