The OpenVX Specification  a73e458
Context Attribute Constants

Detailed Description

A list of context attributes.

Macros

#define VX_CONTEXT_CONVOLUTION_MAX_DIMENSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x8))
 The maximum width or height of a convolution matrix [R01434]. Read-only [R01435]. 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 [R01436]. The behavior of vxCreateConvolution is undefined for values larger than the value returned by this attribute.
 
#define VX_CONTEXT_EXTENSIONS   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x7))
 Retrieves the extensions string [R01432]. Read-only [R01433]. This is a space-separated string of extension names. Each OpenVX official extension has a unique identifier, comprised of capital letters, numbers and the underscore character, prefixed with "KHR_", for example "KHR_NEW_FEATURE". Use a vx_char pointer allocated to the size returned from VX_CONTEXT_EXTENSIONS_SIZE.
 
#define VX_CONTEXT_EXTENSIONS_SIZE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x6))
 Queries the number of bytes in the extensions string [R01430]. Read-only [R01431]. Use a vx_size parameter.
 
#define VX_CONTEXT_IMPLEMENTATION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x5))
 Queries the context for it's implementation name [R01428]. Read-only [R01429]. Use a vx_char[VX_MAX_IMPLEMENTATION_NAME] array.
 
#define VX_CONTEXT_MODULES   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x3))
 Queries the context for the number of active modules [R01424]. Read-only [R01425]. Use a vx_uint32 parameter.
 
#define VX_CONTEXT_NONLINEAR_MAX_DIMENSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0xd))
 The dimension of the largest nonlinear filter supported [R01449]. See vxNonLinearFilterNode. More...
 
#define VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x9))
 The maximum window dimension of the OpticalFlowPyrLK kernel [R01437]. The value of this attribute shall be equal to or greater than '9' [R01438]. More...
 
#define VX_CONTEXT_REFERENCES   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x4))
 Queries the context for the number of active references [R01426]. Read-only [R01427]. Use a vx_uint32 parameter.
 
#define VX_CONTEXT_UNIQUE_KERNEL_TABLE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0xB))
 Returns the table of all unique the kernels that exist in the context [R01443]. Read-only [R01444]. Use a vx_kernel_info_t array. More...
 
#define VX_CONTEXT_UNIQUE_KERNELS   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x2))
 Queries the context for the number of unique kernels [R01422]. Read-only [R01423]. Use a vx_uint32 parameter.
 
#define VX_CONTEXT_VENDOR_ID   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x0))
 Queries the unique vendor ID [R01418]. Read-only [R01419]. Use a vx_uint16.
 
#define VX_CONTEXT_VERSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x1))
 Queries the OpenVX Version Numbe [R01420]r. Read-only [R01421]. Use a vx_uint16
 

Macro Definition Documentation

◆ VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION

#define VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0x9))

The maximum window dimension of the OpticalFlowPyrLK kernel [R01437]. The value of this attribute shall be equal to or greater than '9' [R01438].

See also
VX_KERNEL_OPTICAL_FLOW_PYR_LK. Read-only [R01439]. Use a vx_size parameter.

Definition at line 880 of file vx_types.h.

◆ VX_CONTEXT_UNIQUE_KERNEL_TABLE

#define VX_CONTEXT_UNIQUE_KERNEL_TABLE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0xB))

Returns the table of all unique the kernels that exist in the context [R01443]. Read-only [R01444]. Use a vx_kernel_info_t array.

Precondition
You must call vxQueryContext with VX_CONTEXT_UNIQUE_KERNELS to compute the necessary size of the array.

Definition at line 896 of file vx_types.h.

◆ VX_CONTEXT_NONLINEAR_MAX_DIMENSION

#define VX_CONTEXT_NONLINEAR_MAX_DIMENSION   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_CONTEXT, 0xd))

The dimension of the largest nonlinear filter supported [R01449]. See vxNonLinearFilterNode.

The implementation must support all dimensions (height or width, not necessarily the same) up to the value of this attribute [R01450]. The lowest value that must be supported for this attribute is 9 [R01451]. Read-only [R01452]. Use a vx_size parameter.

Definition at line 912 of file vx_types.h.