The OpenVX Specification  r31169
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Framework: Directives

Detailed Description

Defines the Directives Interface.

Directives are messages given the OpenVX implementation that it must support. (These are required, i.e., non-optional.)

Enumerations

enum  vx_directive_e {
  VX_DIRECTIVE_DISABLE_LOGGING = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_DIRECTIVE << 12)) + 0x0,
  VX_DIRECTIVE_ENABLE_LOGGING = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_DIRECTIVE << 12)) + 0x1
}
 These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or features. Directives are not optional and usually are vendor-specific, by defining a vendor range of directives and starting their enumeration from there. More...
 

Functions

vx_status VX_API_CALL vxDirective (vx_reference reference, vx_enum directive)
 Provides a generic API to give platform-specific directives to the implementations. More...
 

Enumeration Type Documentation

These enumerations are given to the vxDirective API to enable/disable platform optimizations and/or features. Directives are not optional and usually are vendor-specific, by defining a vendor range of directives and starting their enumeration from there.

See also
vxDirective
Enumerator
VX_DIRECTIVE_DISABLE_LOGGING 

Disables recording information for graph debugging.

VX_DIRECTIVE_ENABLE_LOGGING 

Enables recording information for graph debugging.

Definition at line 587 of file vx_types.h.

Function Documentation

vx_status VX_API_CALL vxDirective ( vx_reference  reference,
vx_enum  directive 
)

Provides a generic API to give platform-specific directives to the implementations.

Parameters
[in]referenceThe reference to the object to set the directive on. This could be vx_context, vx_graph, vx_node, vx_image, vx_array, or any other reference.
[in]directiveThe directive to set.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSNo error.
VX_ERROR_INVALID_REFERENCEIf context or reference is invalid.
VX_ERROR_NOT_SUPPORTEDIf the directive is not supported.