![]() |
The OpenVX Specification
dba1aa3
|
Defines the Hints Interface.
Hints are messages given to the OpenVX implementation that it may support. (These are optional.)
Enumerations | |
| enum | vx_hint_e { VX_HINT_PERFORMANCE_DEFAULT = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_HINT << 12)) + 0x1, VX_HINT_PERFORMANCE_LOW_POWER = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_HINT << 12)) + 0x2, VX_HINT_PERFORMANCE_HIGH_SPEED = ((( VX_ID_KHRONOS ) << 20) | ( VX_ENUM_HINT << 12)) + 0x3 } |
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or features. Hints are optional and usually are vendor-specific. More... | |
Functions | |
| vx_status VX_API_CALL | vxHint (vx_reference reference, vx_enum hint, const void *data, vx_size data_size) |
| Provides a generic API to give platform-specific hints to the implementation. More... | |
| enum vx_hint_e |
These enumerations are given to the vxHint API to enable/disable platform optimizations and/or features. Hints are optional and usually are vendor-specific.
vxHint Definition at line 625 of file vx_types.h.
| vx_status VX_API_CALL vxHint | ( | vx_reference | reference, |
| vx_enum | hint, | ||
| const void * | data, | ||
| vx_size | data_size | ||
| ) |
Provides a generic API to give platform-specific hints to the implementation.
| [in] | reference | The reference to the object to hint at. This could be vx_context, vx_graph, vx_node, vx_image, vx_array, or any other reference. |
| [in] | hint | A vx_hint_e hint to give to a vx_context. This is a platform-specific optimization or implementation mechanism. |
| [in] | data | Optional vendor specific data. |
| [in] | data_size | Size of the data structure data. |
vx_status_e enumeration. | VX_SUCCESS | No errors; any other value indicates failure. |
| VX_ERROR_INVALID_REFERENCE | reference is not a valid vx_reference reference. |
| VX_ERROR_NOT_SUPPORTED | If the hint is not supported. |