|
|
VisionWorks Toolkit ReferenceApril 8, 2016 | 1.4 Release |
The NVXIO utility functions.
Definition in file Utility.hpp.
Go to the source code of this file.
Data Structures | |
| struct | nvxio::ContextGuard |
ContextGuard is a wrapper for vx_context. More... | |
Namespaces | |
| nvxio | |
| Contains API for image reading and rendering. | |
Macros | |
| #define | NVXIO_ASSERT(cond) |
| Checks a condition. More... | |
| #define | NVXIO_CHECK_REFERENCE(ref) NVXIO_ASSERT(ref != 0 && vxGetStatus((vx_reference)ref) == VX_SUCCESS) |
| Checks a reference. More... | |
| #define | NVXIO_CUDA_SAFE_CALL(cudaOp) |
| Performs a CUDA operation. More... | |
| #define | NVXIO_SAFE_CALL(vxOp) |
| Performs an NVX operation. More... | |
| #define | NVXIO_THROW_EXCEPTION(msg) |
Throws std::runtime_error exception. More... | |
Functions | |
| NVXIO_EXPORT void | nvxio::checkIfContextIsValid (vx_context context) |
| Checks whether the context is valid and throws an exception in case of failure. More... | |
| template<typename T , vx_size N> | |
| vx_size | nvxio::dimOf (T(&)[N]) |
Returns the size of an array (the N template argument). More... | |
| NVXIO_EXPORT std::vector < std::string > | nvxio::getSupportedFeatures () |
| Returns a vector of NVXIO supported features. More... | |
| template<typename T , typename... Args> | |
| std::unique_ptr< T > | nvxio::makeUP (Args &&...args) |
| make_unique function. More... | |
| NVXIO_EXPORT void | nvxio::printPerf (vx_graph graph, const char *label) |
| Prints performance information for the provided graph object. More... | |
| NVXIO_EXPORT void | nvxio::printPerf (vx_node node, const char *label) |
| Prints performance information for the provided node object. More... | |
| NVXIO_EXPORT void VX_CALLBACK | nvxio::stdoutLogCallback (vx_context context, vx_reference ref, vx_status status, const vx_char string[]) |
| The callback for OpenVX error logs, which prints messages to standard output. More... | |
Variables | |
| const vx_float64 | nvxio::PI = 3.1415926535897932 |
| Double-precision PI. More... | |
| const vx_float32 | nvxio::PI_F = 3.14159265f |
| Float-precision PI. More... | |