|
|
VisionWorks Toolkit ReferenceApril 8, 2016 | 1.4 Release |
Adds various extensions to the vx_kernel object.
This section describes different extensions and features to the standard Object: Kernel.
vxLoadKernels function supports relative and absolute paths to libraries, for example:
"C:\\folder\\my_module.dll" - absolute path on Windows.folder/libmy_module.so - relative path on Linux. Enumerations | |
| enum | nvx_mutability_e { NVX_MUTABLE_INIT = VX_ENUM_BASE(VX_ID_NVIDIA, NVX_ENUM_MUTABILITY) + 0x0, NVX_METADATA_IMMUTABLE_INIT = VX_ENUM_BASE(VX_ID_NVIDIA, NVX_ENUM_MUTABILITY) + 0x1, NVX_IMMUTABLE_INIT = VX_ENUM_BASE(VX_ID_NVIDIA, NVX_ENUM_MUTABILITY) + 0x2 } |
| Defines the mutability state of custom kernel parameter. More... | |
Functions | |
| vx_status | nvxSetKernelParameterMutability (vx_kernel kernel, vx_uint32 index, vx_enum mutability) |
| Allows users to set the mutability of the custom kernel. By default, kernel parameters are set to NVX_MUTABLE_INIT. More... | |
| enum nvx_mutability_e |
Defines the mutability state of custom kernel parameter.
Allows users to set the mutability of the custom kernel. By default, kernel parameters are set to NVX_MUTABLE_INIT.
| [in] | kernel | The reference to the kernel added with vxAddKernel. |
| [in] | index | The index of the parameter to add. |
| [in] | mutability | The mutability of the parameter with regard to the kernel initialization function. This must be a value from nvx_mutability_e. |
vx_status_e enumerated value. | VX_SUCCESS | Parameter is successfully set on kernel. |
| VX_ERROR_INVALID_REFERENCE | The value passed as kernel was not a vx_kernel. |
vxAddKernel