docs-6.2.1/amd_openvx/openvx/include/VX/vx_types.h Source File#
vx_types.h
Go to the documentation of this file.
526 #define VX_DF_IMAGE(a,b,c,d) ((vx_uint32)(vx_uint8)(a) | ((vx_uint32)(vx_uint8)(b) << 8U) | ((vx_uint32)(vx_uint8)(c) << 16U) | ((vx_uint32)(vx_uint8)(d) << 24U))
533 #define VX_ATTRIBUTE_BASE(vendor, object) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(object) << 8)))
540 #define VX_KERNEL_BASE(vendor, lib) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(lib) << 12)))
550 #define VX_ENUM_BASE(vendor, id) ((vx_int32)(((vx_uint32)(vendor) << 20) | ((vx_uint32)(id) << 12)))
595 };
835 VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION = VX_ATTRIBUTE_BASE(VX_ID_KHRONOS, VX_TYPE_CONTEXT) + 0x9,
1075 };
1183 };
1359 VX_BORDER_POLICY_DEFAULT_TO_UNDEFINED = VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_BORDER_POLICY) + 0x0,
1445 };
1468 };
1777 typedef vx_status(VX_CALLBACK *vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1788 typedef vx_status(VX_CALLBACK *vx_kernel_initialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1799 typedef vx_status(VX_CALLBACK *vx_kernel_deinitialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num);
1815 typedef vx_status(VX_CALLBACK *vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[]);
1848 typedef vx_status(VX_CALLBACK *vx_kernel_image_valid_rectangle_f)(vx_node node, vx_uint32 index, const vx_rectangle_t* const input_valid[], vx_rectangle_t* const output_valid[]);
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
Definition: vx_types.h:1745
vx_pixel_value_t constant_value
For the mode VX_BORDER_CONSTANT, this union contains the value of out-of-bound pixels.
Definition: vx_types.h:1751
vx_int32 line_length
The minimum number of points that can form a line. Line segments shorter than that are rejected.
Definition: vx_types.h:1576
vx_float32 theta_max
Optional restriction on theta. The max allowed value.
Definition: vx_types.h:1580
vx_int32 threshold
The minimum number of intersections to detect a line.
Definition: vx_types.h:1574
vx_int32 line_gap
The maximum allowed gap between points on the same line to link them.
Definition: vx_types.h:1578
vx_float32 theta
Angle resolution of the parameter in radians.
Definition: vx_types.h:1572
vx_float32 theta_min
Optional restriction on theta. The min allowed value.
Definition: vx_types.h:1582
vx_float32 rho
Distance resolution of the parameter in pixels.
Definition: vx_types.h:1570
The addressing image patch structure is used by the Host only to address pixels in an image patch....
Definition: vx_types.h:1533
vx_uint32 step_x
Step of X dimension in pixels.
Definition: vx_types.h:1540
vx_uint16 step_y
Step of Y dimension in pixels.
Definition: vx_types.h:1541
vx_int32 stride_y
Stride in Y dimension in bytes.
Definition: vx_types.h:1537
vx_int32 stride_x
Stride in X dimension in bytes.
Definition: vx_types.h:1536
vx_uint32 scale_y
Scale of Y dimension. For sub-sampled planes this is the scaling factor of the dimension of the plane...
Definition: vx_types.h:1539
vx_uint32 scale_x
Scale of X dimension. For sub-sampled planes this is the scaling factor of the dimension of the plane...
Definition: vx_types.h:1538
vx_uint16 stride_x_bits
Stride in X dimension in bits. Used when stride_x is not an integer number of bytes.
Definition: vx_types.h:1542
vx_uint32 dim_y
Height of patch in Y dimension in pixels.
Definition: vx_types.h:1535
vx_uint32 dim_x
Width of patch in X dimension in pixels.
Definition: vx_types.h:1534
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
Definition: vx_types.h:1623
vx_enum enumeration
The kernel enumeration value from vx_kernel_e (or an extension thereof).
Definition: vx_types.h:1628
vx_char name[VX_MAX_KERNEL_NAME]
The kernel name in dotted hierarchical format. e.g. "org.khronos.openvx.sobel_3x3".
Definition: vx_types.h:1634
vx_float32 strength
The strength of the keypoint. Its definition is specific to the corner detector.
Definition: vx_types.h:1653
vx_float32 orientation
Initialized to 0 by corner detectors.
Definition: vx_types.h:1655
vx_int32 tracking_status
A zero indicates a lost point. Initialized to 1 by corner detectors.
Definition: vx_types.h:1656
vx_float32 scale
Initialized to 0 by corner detectors.
Definition: vx_types.h:1654
vx_float32 error
A tracking method specific error. Initialized to 0 by corner detectors.
Definition: vx_types.h:1657
The performance measurement structure. The time or durations are in units of nano seconds.
Definition: vx_types.h:1553
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
Definition: vx_types.h:1663
vx_bool transpose_input3
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1611
vx_bool transpose_input1
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1607
vx_bool transpose_input2
if True the matrix is transposed before the operation, otherwise the matrix is used as is
Definition: vx_types.h:1609
vx_float32 threshold
The threshold for the maximum L2-norm value for a histogram bin. It is used as part of block normaliz...
Definition: vx_types.h:1735
vx_int32 block_height
The histogram block height of type VX_TYPE_INT32. Must be divisible by cell_height.
Definition: vx_types.h:1723
vx_int32 window_width
The feature descriptor window width of type VX_TYPE_INT32
Definition: vx_types.h:1729
vx_int32 num_bins
The histogram size of type VX_TYPE_INT32.
Definition: vx_types.h:1727
vx_int32 cell_width
The histogram cell width of type VX_TYPE_INT32.
Definition: vx_types.h:1717
vx_int32 window_stride
The feature descriptor window stride of type VX_TYPE_INT32
Definition: vx_types.h:1733
vx_int32 block_width
The histogram block width of type VX_TYPE_INT32. Must be divisible by cell_width.
Definition: vx_types.h:1721
vx_int32 cell_height
The histogram cell height of type VX_TYPE_INT32.
Definition: vx_types.h:1719
vx_int32 window_height
The feature descriptor window height of type VX_TYPE_INT32
Definition: vx_types.h:1731
vx_int32 block_stride
The histogram block stride within the window of type VX_TYPE_INT32. Must be an integral number of cel...
Definition: vx_types.h:1725
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
Definition: vx_types.h:1699
vx_uint8 RGBX[4]
VX_DF_IMAGE_RGBX format in the R,G,B,X order
Definition: vx_types.h:1701
vx_uint8 RGB[3]
VX_DF_IMAGE_RGB format in the R,G,B order
Definition: vx_types.h:1700
#define VX_MAX_KERNEL_NAME
Defines the length of a kernel name string to be added to OpenVX, including the trailing zero.
Definition: vx.h:41
struct _vx_convolution * vx_convolution
The Convolution Object. A user-defined convolution kernel of MxM elements.
Definition: vx_types.h:264
vx_parameter_attribute_e
The parameter attributes list.
Definition: vx_types.h:933
@ VX_PARAMETER_DIRECTION
Queries a parameter for its direction value on the kernel with which it is associated....
Definition: vx_types.h:937
@ VX_PARAMETER_INDEX
Queries a parameter for its index value on the kernel with which it is associated....
Definition: vx_types.h:935
@ VX_PARAMETER_REF
Use to extract the reference contained in the parameter. Read-only. Use a vx_reference parameter.
Definition: vx_types.h:943
@ VX_PARAMETER_TYPE
Queries a parameter for its type, vx_type_e is returned. Read-only. The size of the parameter is impl...
Definition: vx_types.h:939
@ VX_PARAMETER_META_FORMAT
Use to extract the meta format contained in the parameter. Read-only. Use a vx_meta_format parameter.
Definition: vx_types.h:945
@ VX_PARAMETER_STATE
Queries a parameter for its state. A value in vx_parameter_state_e is returned. Read-only....
Definition: vx_types.h:941
struct _vx_coordinates2df_t vx_coordinates2df_t
The floating-point 2D Coordinates structure.
struct _vx_imagepatch_addressing_t vx_imagepatch_addressing_t
The addressing image patch structure is used by the Host only to address pixels in an image patch....
@ VX_MATRIX_PATTERN
The pattern of the matrix. See vx_pattern_e . Read-only. Use a vx_enum parameter. If the matrix was c...
Definition: vx_types.h:1096
@ VX_MATRIX_SIZE
The total size of the matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1088
@ VX_MATRIX_TYPE
The value type of the matrix. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1082
@ VX_MATRIX_COLUMNS
The N dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1086
@ VX_MATRIX_ORIGIN
The origin of the matrix with a default value of [floor(VX_MATRIX_COLUMNS/2), floor(VX_MATRIX_ROWS/2)...
Definition: vx_types.h:1091
@ VX_MATRIX_ROWS
The M dimension of the matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1084
struct _vx_context * vx_context
An opaque reference to the implementation context.
Definition: vx_types.h:218
vx_border_policy_e
The unsupported border mode policy list.
Definition: vx_types.h:1357
@ VX_BORDER_POLICY_DEFAULT_TO_UNDEFINED
Use VX_BORDER_UNDEFINED instead of unsupported border modes.
Definition: vx_types.h:1359
@ VX_BORDER_POLICY_RETURN_ERROR
Return VX_ERROR_NOT_SUPPORTED for unsupported border modes.
Definition: vx_types.h:1361
struct _vx_reference * vx_reference
A generic opaque reference to any object within OpenVX.
Definition: vx_types.h:145
vx_status(VX_CALLBACK * vx_kernel_validate_f)(vx_node node, const vx_reference parameters[], vx_uint32 num, vx_meta_format metas[])
The user-defined kernel node parameters validation function. The function only needs to fill in the m...
Definition: vx_types.h:1815
vx_threshold_attribute_e
The threshold attributes.
Definition: vx_types.h:1068
@ VX_THRESHOLD_OUTPUT_FORMAT
The output image format the threshold was created for. Read-only. Use a vx_enum parameter....
Definition: vx_types.h:1074
@ VX_THRESHOLD_INPUT_FORMAT
The input image format the threshold was created for. Read-only. Use a vx_enum parameter....
Definition: vx_types.h:1072
@ VX_THRESHOLD_TYPE
The value type of the threshold. Read-only. Use a vx_enum parameter. Will contain a vx_threshold_type...
Definition: vx_types.h:1070
@ VX_BORDER_REPLICATE
For nodes that support this behavior, a replication of the nearest edge pixels value is given for out...
Definition: vx_types.h:1351
@ VX_BORDER_CONSTANT
For nodes that support this behavior, a constant value is filled-in when accessing out-of-bounds pixe...
Definition: vx_types.h:1347
@ VX_BORDER_UNDEFINED
No defined border mode behavior is given.
Definition: vx_types.h:1343
vx_meta_valid_rect_attribute_e
The meta valid rectangle attributes.
Definition: vx_types.h:1188
@ VX_VALID_RECT_CALLBACK
Valid rectangle callback during output parameter validation. Write-only.
Definition: vx_types.h:1190
@ VX_DF_IMAGE_IYUV
A 3 plane of 8-bit 4:2:0 sampled Y, U, V planes. This uses the BT709 full range by default.
Definition: vx_types.h:736
@ VX_DF_IMAGE_U1
A single plane of unsigned 1-bit data packed eight pixels per byte. The least significant bit is the ...
Definition: vx_types.h:745
@ VX_DF_IMAGE_U16
A single plane of unsigned 16-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:755
@ VX_DF_IMAGE_S32
A single plane of unsigned 32-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:770
@ VX_DF_IMAGE_UYVY
A single plane of 32-bit macro pixel of U0, Y0, V0, Y1 bytes. This uses the BT709 full range by defau...
Definition: vx_types.h:728
@ VX_DF_IMAGE_U32
A single plane of unsigned 32-bit data. The range of data is not specified, as it may be extracted fr...
Definition: vx_types.h:765
@ VX_DF_IMAGE_S16
A single plane of signed 16-bit data. The range of data is not specified, as it may be extracted from...
Definition: vx_types.h:760
@ VX_DF_IMAGE_YUYV
A single plane of 32-bit macro pixel of Y0, U0, Y1, V0 bytes. This uses the BT709 full range by defau...
Definition: vx_types.h:732
@ VX_DF_IMAGE_NV21
A 2-plane YUV format of Luma (Y) and interleaved VU data at 4:2:0 sampling. This uses the BT709 full ...
Definition: vx_types.h:724
@ VX_DF_IMAGE_RGB
A single plane of 24-bit pixel as 3 interleaved 8-bit units of R then G then B data....
Definition: vx_types.h:711
@ VX_DF_IMAGE_NV12
A 2-plane YUV format of Luma (Y) and interleaved UV data at 4:2:0 sampling. This uses the BT709 full ...
Definition: vx_types.h:720
@ VX_DF_IMAGE_U8
A single plane of unsigned 8-bit data. The range of data is not specified, as it may be extracted fro...
Definition: vx_types.h:750
@ VX_DF_IMAGE_RGBX
A single plane of 32-bit pixel as 4 interleaved 8-bit units of R then G then B data,...
Definition: vx_types.h:716
@ VX_DF_IMAGE_YUV4
A 3 plane of 8 bit 4:4:4 sampled Y, U, V planes. This uses the BT709 full range by default.
Definition: vx_types.h:740
vx_color_space_e
The image color space list used by the VX_IMAGE_SPACE attribute of a vx_image.
Definition: vx_types.h:1300
@ VX_COLOR_SPACE_DEFAULT
All images in VX are by default BT.709.
Definition: vx_types.h:1311
@ VX_COLOR_SPACE_BT601_625
Use to indicate that the BT.601 coefficients and BTU primaries are used for conversions.
Definition: vx_types.h:1306
@ VX_COLOR_SPACE_BT601_525
Use to indicate that the BT.601 coefficients and SMPTE C primaries are used for conversions.
Definition: vx_types.h:1304
@ VX_COLOR_SPACE_BT709
Use to indicate that the BT.709 coefficients are used for conversions.
Definition: vx_types.h:1308
@ VX_COLOR_SPACE_NONE
Use to indicate that no color space is used.
Definition: vx_types.h:1302
struct _vx_threshold * vx_threshold
The Threshold Object. A thresholding object contains the types and limit values of the thresholding r...
Definition: vx_types.h:258
vx_action_e
A return code enumeration from a vx_nodecomplete_f during execution.
Definition: vx_types.h:601
@ VX_ACTION_CONTINUE
Continue executing the graph with no changes.
Definition: vx_types.h:603
@ VX_TENSOR_DATA_TYPE
tensor Data element data type. vx_type_e
Definition: vx_types.h:1180
@ VX_TENSOR_FIXED_POINT_POSITION
fixed point position when the input element type is integer.
Definition: vx_types.h:1182
vx_status(VX_API_CALL * vx_publish_kernels_f)(vx_context context)
The type of the vxPublishKernels entry function of modules loaded by vxLoadKernels and unloaded by vx...
Definition: vx_types.h:1760
struct _vx_delay * vx_delay
The delay object. This is like a ring buffer of objects that is maintained by the OpenVX implementati...
Definition: vx_types.h:226
vx_distribution_attribute_e
The distribution attribute list.
Definition: vx_types.h:1039
@ VX_DISTRIBUTION_DIMENSIONS
Indicates the number of dimensions in the distribution. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1041
@ VX_DISTRIBUTION_SIZE
Indicates the total size of the distribution in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1052
@ VX_DISTRIBUTION_OFFSET
Indicates the start of the values to use (inclusive). Read-only. Use a vx_int32 parameter.
Definition: vx_types.h:1043
@ VX_DISTRIBUTION_WINDOW
Indicates the width of a bin. Equal to the range divided by the number of bins. If the range is not a...
Definition: vx_types.h:1050
@ VX_DISTRIBUTION_RANGE
Indicates the total number of the consecutive values of the distribution interval.
Definition: vx_types.h:1045
@ VX_DISTRIBUTION_BINS
Indicates the number of bins. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1047
vx_channel_range_e
The image channel range list used by the VX_IMAGE_RANGE attribute of a vx_image.
Definition: vx_types.h:1317
@ VX_CHANNEL_RANGE_RESTRICTED
Restricted range of the unit of the channel based on the space given.
Definition: vx_types.h:1321
@ VX_CHANNEL_RANGE_FULL
Full range of the unit of the channel.
Definition: vx_types.h:1319
struct _vx_object_array * vx_object_array
The ObjectArray Object. ObjectArray is a strongly-typed container of OpenVX data-objects.
Definition: vx_types.h:280
vx_bool_e
A Boolean value. This allows 0 to be FALSE, as it is in C, and any non-zero to be TRUE.
Definition: vx_types.h:301
struct _vx_parameter * vx_parameter
An opaque reference to a single parameter.
Definition: vx_types.h:197
uint32_t vx_df_image
Used to hold a VX_DF_IMAGE code to describe the pixel format and color space.
Definition: vx_types.h:162
@ VX_TARGET_VENDOR_BEGIN
Start of Vendor specific target enumerates.
Definition: vx_types.h:782
@ VX_TARGET_STRING
Target, explicitly specified by its (case-insensitive) name string.
Definition: vx_types.h:780
@ VX_TARGET_ANY
Any available target. An OpenVX implementation must support at least one target associated with this ...
Definition: vx_types.h:778
struct _vx_kernel * vx_kernel
An opaque reference to the descriptor of a kernel.
Definition: vx_types.h:190
vx_pattern_e
An enumeration of matrix patterns. See vxCreateMatrixFromPattern and vxCreateMatrixFromPatternAndOri...
Definition: vx_types.h:1286
@ VX_PATTERN_OTHER
Matrix with any pattern other than above.
Definition: vx_types.h:1294
vx_type_e
The type enumeration lists all the known types in OpenVX.
Definition: vx_types.h:328
@ VX_TYPE_KHRONOS_OBJECT_START
A Khronos defined object base index.
Definition: vx_types.h:369
@ VX_TYPE_VENDOR_STRUCT_START
A vendor-defined struct base index.
Definition: vx_types.h:368
@ VX_TYPE_SCALAR
A vx_scalar. when needed to be completely generic for kernel validation.
Definition: vx_types.h:393
@ VX_TYPE_KHRONOS_STRUCT_MAX
A value for comparison between Khronos defined structs and user structs.
Definition: vx_types.h:372
@ VX_TYPE_HOUGH_LINES_PARAMS
A vx_hough_lines_p_t.
Definition: vx_types.h:362
@ VX_TYPE_KHRONOS_OBJECT_END
A value for comparison between Khronos defined objects and vendor structs.
Definition: vx_types.h:376
@ VX_TYPE_VENDOR_STRUCT_END
A value for comparison between vendor structs and Khronos defined objects.
Definition: vx_types.h:375
@ VX_TYPE_VENDOR_OBJECT_START
A vendor defined object base index.
Definition: vx_types.h:370
@ VX_TYPE_TENSOR_MATRIX_MULTIPLY_PARAMS
A vx_tensor_matrix_multiply_params_t.
Definition: vx_types.h:364
@ VX_TYPE_USER_STRUCT_END
A value for comparison between user structs and vendor structs.
Definition: vx_types.h:374
@ VX_TYPE_VENDOR_OBJECT_END
A value used for bound checking of vendor objects.
Definition: vx_types.h:377
@ VX_TYPE_INVALID
An invalid type value. When passed an error must be returned.
Definition: vx_types.h:329
@ VX_TYPE_USER_STRUCT_START
A user-defined struct base index.
Definition: vx_types.h:367
vx_scalar_operation_e
A type of operation in which both operands are scalars.
Definition: vx_types.h:985
@ VX_SCALAR_OP_LESSEQ
comparison (less than or equal to).
Definition: vx_types.h:1001
@ VX_SCALAR_OP_GREATEREQ
comparison (greater than or equal to).
Definition: vx_types.h:1005
size_t vx_size
A wrapper of size_t to keep the naming convention uniform.
Definition: vx_types.h:157
struct _vx_remap * vx_remap
The remap table Object. A remap table contains per-pixel mapping of output pixels to input pixels.
Definition: vx_types.h:270
@ VX_CONVERT_POLICY_WRAP
Results are the least significant bits of the output operand, as if stored in two's complement binary...
Definition: vx_types.h:696
@ VX_CONVERT_POLICY_SATURATE
Results are saturated to the bit depth of the output operand.
Definition: vx_types.h:698
vx_direction_e
An indication of how a kernel will treat the given parameter.
Definition: vx_types.h:611
vx_status(VX_CALLBACK * vx_kernel_image_valid_rectangle_f)(vx_node node, vx_uint32 index, const vx_rectangle_t *const input_valid[], vx_rectangle_t *const output_valid[])
A user-defined callback function to set the valid rectangle of an output image.
Definition: vx_types.h:1848
vx_lut_attribute_e
The Look-Up Table (LUT) attribute list.
Definition: vx_types.h:1025
@ VX_LUT_SIZE
Indicates the total size of the LUT in bytes. Read-only. Uses a vx_size.
Definition: vx_types.h:1031
@ VX_LUT_TYPE
Indicates the value type of the LUT. Read-only. Use a vx_enum.
Definition: vx_types.h:1027
@ VX_LUT_OFFSET
Indicates the index of the input value = 0. Read-only. Uses a vx_uint32.
Definition: vx_types.h:1033
@ VX_LUT_COUNT
Indicates the number of elements in the LUT. Read-only. Use a vx_size.
Definition: vx_types.h:1029
struct _vx_matrix * vx_matrix
The Matrix Object. An MxN matrix of some unit type.
Definition: vx_types.h:245
vx_channel_e
The channel enumerations for channel extractions.
Definition: vx_types.h:1199
@ VX_CHANNEL_B
Use to extract the BLUE channel, no matter the byte or packing order.
Definition: vx_types.h:1214
@ VX_CHANNEL_G
Use to extract the GREEN channel, no matter the byte or packing order.
Definition: vx_types.h:1212
@ VX_CHANNEL_Y
Use to extract the LUMA channel, no matter the byte or packing order.
Definition: vx_types.h:1218
@ VX_CHANNEL_V
Use to extract the Cr/V/Value channel, no matter the byte or packing order.
Definition: vx_types.h:1222
@ VX_CHANNEL_A
Use to extract the ALPHA channel, no matter the byte or packing order.
Definition: vx_types.h:1216
@ VX_CHANNEL_R
Use to extract the RED channel, no matter the byte or packing order.
Definition: vx_types.h:1210
@ VX_CHANNEL_U
Use to extract the Cb/U channel, no matter the byte or packing order.
Definition: vx_types.h:1220
vx_status(VX_CALLBACK * vx_kernel_initialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the kernel initializer. If the host code requires a call to initialize data once all t...
Definition: vx_types.h:1788
@ VX_DELAY_TYPE
The type of objects in the delay. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1395
@ VX_DELAY_SLOTS
The number of items in the delay. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1397
@ VX_KERNEL_LOCAL_DATA_SIZE
The local data area allocated with each kernel when it becomes a node. Read-write....
Definition: vx_types.h:883
@ VX_KERNEL_ENUM
Queries the enum of the kernel. Not settable. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:877
@ VX_KERNEL_NAME
Queries the name of the kernel. Not settable. Read-only. Use a vx_char[VX_MAX_KERNEL_NAME] array (not...
Definition: vx_types.h:873
@ VX_KERNEL_PARAMETERS
Queries a kernel for the number of parameters the kernel supports. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:869
struct _vx_tensor_t * vx_tensor
The multidimensional data object (Tensor).
Definition: vx_types.h:287
vx_action(VX_CALLBACK * vx_nodecomplete_f)(vx_node node)
A callback to the client after a particular node has completed.
Definition: vx_types.h:460
@ VX_ENUM_BORDER_POLICY
Unsupported Border Mode Policy List.
Definition: vx_types.h:577
@ VX_NODE_STATUS
Queries the status of node execution. Read-only. Use a vx_status parameter.
Definition: vx_types.h:891
@ VX_NODE_PARAMETERS
Indicates the number of node parameters, including optional parameters that are not passed....
Definition: vx_types.h:915
@ VX_NODE_LOCAL_DATA_SIZE
Indicates the size of the kernel local memory area. Read-only. Can be written only at user-node (de)i...
Definition: vx_types.h:906
@ VX_NODE_IS_REPLICATED
Indicates whether the node is replicated. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:919
@ VX_NODE_PERFORMANCE
Queries the performance of the node execution. The accuracy of timing information is platform depende...
Definition: vx_types.h:897
@ VX_NODE_BORDER
Gets or sets the border mode of the node. Read-write. Use a vx_border_t structure with a default valu...
Definition: vx_types.h:901
@ VX_NODE_LOCAL_DATA_PTR
Indicates the pointer kernel local memory area. Read-Write. Can be written only at user-node (de)init...
Definition: vx_types.h:911
@ VX_NODE_VALID_RECT_RESET
Indicates the behavior with respect to the valid rectangle. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:927
@ VX_NODE_REPLICATE_FLAGS
Indicates the replicated parameters. Read-only. Use a vx_bool* parameter.
Definition: vx_types.h:923
vx_status(VX_CALLBACK * vx_kernel_deinitialize_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the kernel deinitializer. If the host code requires a call to deinitialize data during...
Definition: vx_types.h:1799
@ VX_IMAGE_IS_UNIFORM
Queries if an image is uniform. Read-only. Use a vx_bool parameter.
Definition: vx_types.h:968
@ VX_IMAGE_RANGE
Queries an image for its channel range (see vx_channel_range_e). Read-only. Use a vx_enum parameter.
Definition: vx_types.h:963
@ VX_IMAGE_PLANES
Queries an image for its number of planes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:959
@ VX_IMAGE_WIDTH
Queries an image for its width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:953
@ VX_IMAGE_MEMORY_TYPE
Queries memory type if created using vxCreateImageFromHandle. If vx_image was not created using vxCre...
Definition: vx_types.h:966
@ VX_IMAGE_FORMAT
Queries an image for its format. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:957
@ VX_IMAGE_UNIFORM_VALUE
Queries the image uniform value if any. Read-only. Use a vx_pixel_value_t parameter.
Definition: vx_types.h:970
@ VX_IMAGE_HEIGHT
Queries an image for its height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:955
@ VX_IMAGE_SPACE
Queries an image for its color space (see vx_color_space_e). Read-write. Use a vx_enum parameter.
Definition: vx_types.h:961
int32_t vx_enum
Sets the standard enumeration type size to be a fixed quantity.
Definition: vx_types.h:152
vx_reference_attribute_e
The reference attributes list.
Definition: vx_types.h:788
@ VX_REFERENCE_COUNT
Returns the reference count of the object. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:790
@ VX_REFERENCE_NAME
Used to query the reference for its name. Read-write. Use a *vx_char parameter.
Definition: vx_types.h:794
@ VX_REFERENCE_TYPE
Returns the vx_type_e of the reference. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:792
vx_object_array_attribute_e
The ObjectArray object attributes.
Definition: vx_types.h:1164
@ VX_OBJECT_ARRAY_ITEMTYPE
The type of the ObjectArray items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1166
@ VX_OBJECT_ARRAY_NUMITEMS
The number of items in the ObjectArray. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1168
#define VX_ENUM_BASE(vendor, id)
Defines the manner in which to combine the Vendor and Object IDs to get the base value of the enumera...
Definition: vx_types.h:550
struct _vx_perf_t vx_perf_t
The performance measurement structure. The time or durations are in units of nano seconds.
vx_termination_criteria_e
The termination criteria list.
Definition: vx_types.h:1368
@ VX_TERM_CRITERIA_ITERATIONS
Indicates a termination after a set number of iterations.
Definition: vx_types.h:1370
@ VX_TERM_CRITERIA_EPSILON
Indicates a termination after matching against the value of eplison provided to the function.
Definition: vx_types.h:1372
@ VX_TERM_CRITERIA_BOTH
Indicates that both an iterations and eplison method are employed. Whichever one matches first causes...
Definition: vx_types.h:1376
@ VX_CONTEXT_CONVOLUTION_MAX_DIMENSION
The maximum width or height of a convolution matrix. Read-only. Use a vx_size parameter....
Definition: vx_types.h:831
@ VX_CONTEXT_REFERENCES
Queries the context for the number of active references. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:810
@ VX_CONTEXT_EXTENSIONS_SIZE
Queries the number of bytes in the extensions string. Read-only. Use a vx_size parameter.
Definition: vx_types.h:814
@ VX_CONTEXT_IMMEDIATE_BORDER
The border mode for immediate mode functions.
Definition: vx_types.h:840
@ VX_CONTEXT_EXTENSIONS
Retrieves the extensions string. Read-only. This is a space-separated string of extension names....
Definition: vx_types.h:820
@ VX_CONTEXT_VENDOR_ID
Queries the unique vendor ID. Read-only. Use a vx_uint16.
Definition: vx_types.h:802
@ VX_CONTEXT_NONLINEAR_MAX_DIMENSION
The dimension of the largest nonlinear filter supported. See vxNonLinearFilterNode.
Definition: vx_types.h:857
@ VX_CONTEXT_MODULES
Queries the context for the number of active modules. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:808
@ VX_CONTEXT_UNIQUE_KERNELS
Queries the context for the number of unique kernels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:806
@ VX_CONTEXT_IMPLEMENTATION
Queries the context for it's implementation name. Read-only. Use a vx_char[VX_MAX_IMPLEMENTATION_NAME...
Definition: vx_types.h:812
@ VX_CONTEXT_UNIQUE_KERNEL_TABLE
Returns the table of all unique the kernels that exist in the context. Read-only. Use a vx_kernel_inf...
Definition: vx_types.h:846
@ VX_CONTEXT_MAX_TENSOR_DIMS
tensor Data maximal number of dimensions supported by the implementation.
Definition: vx_types.h:859
@ VX_CONTEXT_VERSION
Queries the OpenVX Version Number. Read-only. Use a vx_uint16
Definition: vx_types.h:804
@ VX_CONTEXT_IMMEDIATE_BORDER_POLICY
The unsupported border mode policy for immediate mode functions. Read-Write.
Definition: vx_types.h:851
@ VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION
The maximum window dimension of the OpticalFlowPyrLK kernel. The value of this attribute shall be equ...
Definition: vx_types.h:835
vx_enum vx_action
The formal typedef of the response from the callback.
Definition: vx_types.h:451
struct _vx_kernel_info_t vx_kernel_info_t
The Kernel Information Structure. This is returned by the Context to indicate which kernels are avail...
@ VX_THRESHOLD_TYPE_RANGE
A threshold with 2 values (upper/lower). Use with Canny Edge Detection.
Definition: vx_types.h:1062
@ VX_THRESHOLD_TYPE_BINARY
A threshold with only 1 value.
Definition: vx_types.h:1060
struct _vx_rectangle_t vx_rectangle_t
The rectangle data structure that is shared with the users. The area of the rectangle can be computed...
uintptr_t vx_map_id
Holds the address of a variable where the map/unmap functions return a map identifier.
Definition: vx_types.h:167
vx_hint_e
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or featur...
Definition: vx_types.h:623
@ VX_HINT_PERFORMANCE_HIGH_SPEED
Indicates the user preference for highest performance over low power consumption.
Definition: vx_types.h:635
@ VX_HINT_PERFORMANCE_DEFAULT
Indicates to the implementation that user do not apply any specific requirements for performance.
Definition: vx_types.h:627
@ VX_HINT_PERFORMANCE_LOW_POWER
Indicates the user preference is low power consumption versus highest performance.
Definition: vx_types.h:631
vx_pyramid_attribute_e
The pyramid object attributes.
Definition: vx_types.h:1120
@ VX_PYRAMID_FORMAT
The vx_df_image_e format of the image. Read-only. Use a vx_df_image parameter.
Definition: vx_types.h:1130
@ VX_PYRAMID_SCALE
The scale factor between each level of the pyramid. Read-only. Use a vx_float32 parameter.
Definition: vx_types.h:1124
@ VX_PYRAMID_WIDTH
The width of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1126
@ VX_PYRAMID_HEIGHT
The height of the 0th image in pixels. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1128
@ VX_PYRAMID_LEVELS
The number of levels of the pyramid. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1122
@ VX_GRAPH_STATE_VERIFIED
The graph has been verified and has not been executed or scheduled for execution yet.
Definition: vx_types.h:663
@ VX_GRAPH_STATE_ABANDONED
The graph execution was abandoned.
Definition: vx_types.h:667
@ VX_GRAPH_STATE_UNVERIFIED
The graph should be verified before execution.
Definition: vx_types.h:661
@ VX_GRAPH_STATE_COMPLETED
The graph execution is completed and the graph is not scheduled for execution.
Definition: vx_types.h:669
@ VX_GRAPH_STATE_RUNNING
The graph either has been scheduled and not completed, or is being executed.
Definition: vx_types.h:665
@ VX_ERROR_INVALID_NODE
Indicates that the supplied node could not be created.
Definition: vx_types.h:419
@ VX_ERROR_NO_MEMORY
Indicates that an internal or implicit allocation failed. Typically catastrophic. After detection,...
Definition: vx_types.h:430
@ VX_ERROR_NOT_SUPPORTED
Indicates that the requested set of parameters produce a configuration that cannot be supported....
Definition: vx_types.h:435
@ VX_STATUS_MIN
Indicates the lower bound of status codes in VX. Used for bounds checks only.
Definition: vx_types.h:412
@ VX_ERROR_INVALID_TYPE
Indicates that the supplied type parameter is incorrect.
Definition: vx_types.h:421
@ VX_ERROR_INVALID_FORMAT
Indicates that the supplied parameter is in an invalid format.
Definition: vx_types.h:424
@ VX_ERROR_OPTIMIZED_AWAY
Indicates that the object refered to has been optimized out of existence.
Definition: vx_types.h:429
@ VX_ERROR_INVALID_PARAMETERS
Indicates that the supplied parameter information does not match the kernel contract.
Definition: vx_types.h:428
@ VX_ERROR_INVALID_DIMENSION
Indicates that the supplied parameter is too big or too small in dimension.
Definition: vx_types.h:423
@ VX_ERROR_NOT_IMPLEMENTED
Indicates that the requested kernel is missing.
Definition: vx_types.h:436
@ VX_ERROR_INVALID_LINK
Indicates that the link is not possible as specified. The parameters are incompatible.
Definition: vx_types.h:425
@ VX_ERROR_INVALID_SCOPE
Indicates that the supplied parameter is from another scope and cannot be used in the current scope.
Definition: vx_types.h:418
@ VX_ERROR_INVALID_REFERENCE
Indicates that the reference provided is not valid.
Definition: vx_types.h:426
@ VX_ERROR_INVALID_VALUE
Indicates that the supplied parameter has an incorrect value.
Definition: vx_types.h:422
@ VX_ERROR_NOT_ALLOCATED
Indicates to the system that the parameter must be allocated by the system.
Definition: vx_types.h:433
@ VX_ERROR_REFERENCE_NONZERO
Indicates that an operation did not complete due to a reference count being non-zero.
Definition: vx_types.h:414
@ VX_FAILURE
Indicates a generic error code, used when no other describes the error.
Definition: vx_types.h:437
@ VX_ERROR_MULTIPLE_WRITERS
Indicates that the graph has more than one node outputting to the same data object....
Definition: vx_types.h:415
@ VX_ERROR_GRAPH_SCHEDULED
Indicates that the supplied graph already has been scheduled and may be currently executing.
Definition: vx_types.h:417
@ VX_ERROR_INVALID_MODULE
This is returned from vxLoadKernels when the module does not contain the entry point.
Definition: vx_types.h:427
@ VX_ERROR_NOT_COMPATIBLE
Indicates that the attempt to link two parameters together failed due to type incompatibilty.
Definition: vx_types.h:432
@ VX_ERROR_INVALID_GRAPH
Indicates that the supplied graph has invalid connections (cycles).
Definition: vx_types.h:420
@ VX_ERROR_NOT_SUFFICIENT
Indicates that the given graph has failed verification due to an insufficient number of required para...
Definition: vx_types.h:434
@ VX_ERROR_NO_RESOURCES
Indicates that an internal or implicit resource can not be acquired (not memory). This is typically c...
Definition: vx_types.h:431
@ VX_ERROR_GRAPH_ABANDONED
Indicates that the graph is stopped due to an error or a callback that abandoned execution.
Definition: vx_types.h:416
@ VX_COMPARE_CCORR_NORM
cross correlation normalized distance
Definition: vx_types.h:1467
#define VX_ATTRIBUTE_BASE(vendor, object)
Defines the manner in which to combine the Vendor and Object IDs to get the base value of the enumera...
Definition: vx_types.h:533
struct _vx_border_t vx_border_t
Use with the enumeration VX_NODE_BORDER to set the border mode behavior of a node that supports borde...
vx_directive_e
These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or f...
Definition: vx_types.h:645
@ VX_DIRECTIVE_DISABLE_LOGGING
Disables recording information for graph debugging.
Definition: vx_types.h:647
@ VX_DIRECTIVE_ENABLE_LOGGING
Enables recording information for graph debugging.
Definition: vx_types.h:649
@ VX_DIRECTIVE_ENABLE_PERFORMANCE
Enables performance counters for the context.
Definition: vx_types.h:653
@ VX_DIRECTIVE_DISABLE_PERFORMANCE
Disables performance counters for the context. By default performance counters are disabled.
Definition: vx_types.h:651
struct _vx_array * vx_array
The Array Object. Array is a strongly-typed container for other data structures.
Definition: vx_types.h:275
vx_non_linear_filter_e
An enumeration of non-linear filter functions.
Definition: vx_types.h:1273
@ VX_NONLINEAR_FILTER_MEDIAN
Nonlinear median filter.
Definition: vx_types.h:1275
struct _vx_tensor_matrix_multiply_params_t vx_tensor_matrix_multiply_params_t
Matrix Multiply Parameters.
#define VX_DF_IMAGE(a, b, c, d)
Converts a set of four chars into a uint32_t container of a VX_DF_IMAGE code.
Definition: vx_types.h:526
vx_status(VX_CALLBACK * vx_kernel_f)(vx_node node, const vx_reference *parameters, vx_uint32 num)
The pointer to the Host side kernel.
Definition: vx_types.h:1777
@ VX_ROUND_POLICY_TO_ZERO
When scaling, this truncates the least significant values that are lost in operations.
Definition: vx_types.h:1425
@ VX_ROUND_POLICY_TO_NEAREST_EVEN
When scaling, this rounds to nearest even output value.
Definition: vx_types.h:1427
struct _vx_meta_format * vx_meta_format
This object is used by output validation functions to specify the meta data of the expected output da...
Definition: vx_types.h:323
vx_convolution_attribute_e
The convolution attributes.
Definition: vx_types.h:1102
@ VX_CONVOLUTION_ROWS
The number of rows of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1104
@ VX_CONVOLUTION_SIZE
The total size of the convolution matrix in bytes. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1114
@ VX_CONVOLUTION_SCALE
The scale of the convolution matrix. Read-write. Use a vx_uint32 parameter.
Definition: vx_types.h:1112
@ VX_CONVOLUTION_COLUMNS
The number of columns of the convolution matrix. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1106
vx_interpolation_type_e
The image reconstruction filters supported by image resampling operations.
Definition: vx_types.h:1259
@ VX_INTERPOLATION_AREA
Output values are determined by averaging the source pixels whose areas fall under the area of the de...
Definition: vx_types.h:1267
@ VX_INTERPOLATION_BILINEAR
Output values are defined by bilinear interpolation between the pixels whose centers are closest to t...
Definition: vx_types.h:1264
@ VX_INTERPOLATION_NEAREST_NEIGHBOR
Output values are defined to match the source pixel whose center is nearest to the sample position.
Definition: vx_types.h:1261
@ VX_SCALAR_TYPE
Queries the type of atomic that is contained in the scalar. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:978
union _vx_pixel_value_t vx_pixel_value_t
Union that describes the value of a pixel for any image format. Use the field corresponding to the im...
@ VX_ARRAY_CAPACITY
The maximal number of items that the Array can hold. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1156
@ VX_ARRAY_ITEMSIZE
Queries an array item size. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1158
@ VX_ARRAY_NUMITEMS
The number of items in the Array. Read-only. Use a vx_size parameter.
Definition: vx_types.h:1154
@ VX_ARRAY_ITEMTYPE
The type of the Array items. Read-only. Use a vx_enum parameter.
Definition: vx_types.h:1152
struct _vx_pyramid * vx_pyramid
The Image Pyramid object. A set of scaled images.
Definition: vx_types.h:251
vx_accessor_e
The memory accessor hint flags. These enumeration values are used to indicate desired system behavior...
Definition: vx_types.h:1406
@ VX_READ_ONLY
The memory shall be treated by the system as if it were read-only. If the User writes to this memory,...
Definition: vx_types.h:1410
@ VX_READ_AND_WRITE
The memory shall be treated by the system as if it were readable and writeable.
Definition: vx_types.h:1417
@ VX_WRITE_ONLY
The memory shall be treated by the system as if it were write-only. If the User reads from this memor...
Definition: vx_types.h:1414
@ VX_PARAMETER_STATE_OPTIONAL
The parameter may be unspecified. The kernel takes care not to deference optional parameters until it...
Definition: vx_types.h:1335
@ VX_PARAMETER_STATE_REQUIRED
Default. The parameter must be supplied. If not set, during Verify, an error is returned.
Definition: vx_types.h:1331
void(VX_CALLBACK * vx_log_callback_f)(vx_context context, vx_reference ref, vx_status status, const vx_char string[])
The log callback function.
Definition: vx_types.h:1853
struct _vx_distribution * vx_distribution
The Distribution object. This has a user-defined number of bins over a user-defined range (within a u...
Definition: vx_types.h:239
@ VX_MEMORY_TYPE_HOST
The default memory type to import from the Host.
Definition: vx_types.h:1233
@ VX_MEMORY_TYPE_NONE
For memory allocated through OpenVX, this is the import type.
Definition: vx_types.h:1230
@ VX_REMAP_SOURCE_HEIGHT
The source height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1140
@ VX_REMAP_SOURCE_WIDTH
The source width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1138
@ VX_REMAP_DESTINATION_HEIGHT
The destination height. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1144
@ VX_REMAP_DESTINATION_WIDTH
The destination width. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:1142
#define VX_CALLBACK
Defines calling convention for user callbacks.
Definition: vx_types.h:63
vx_status(VX_API_CALL * vx_unpublish_kernels_f)(vx_context context)
The type of the vxUnpublishKernels entry function of modules loaded by vxLoadKernels and unloaded by ...
Definition: vx_types.h:1768
@ VX_GRAPH_PERFORMANCE
Returns the overall performance of the graph. Read-only. Use a vx_perf_t parameter....
Definition: vx_types.h:682
@ VX_GRAPH_STATE
Returns the state of the graph. See vx_graph_state_e enum.
Definition: vx_types.h:686
@ VX_GRAPH_NUMPARAMETERS
Returns the number of explicitly declared parameters on the graph. Read-only. Use a vx_uint32 paramet...
Definition: vx_types.h:684
@ VX_GRAPH_NUMNODES
Returns the number of nodes in a graph. Read-only. Use a vx_uint32 parameter.
Definition: vx_types.h:677