The OpenVX Specification
r31169
|
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... | |
enum vx_directive_e |
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.
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.
vx_status VX_API_CALL vxDirective | ( | vx_reference | reference, |
vx_enum | directive | ||
) |
Provides a generic API to give platform-specific directives to the implementations.
[in] | reference | The 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] | directive | The directive to set. |
vx_status_e
enumeration. VX_SUCCESS | No error. |
VX_ERROR_INVALID_REFERENCE | If context or reference is invalid. |
VX_ERROR_NOT_SUPPORTED | If the directive is not supported. |