ContextGuard is a wrapper for vx_context.
void VX_CALLBACK 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.
vx_status VX_API_CALL vxReleaseContext(vx_context *context)
Releases the OpenVX object context.
struct _vx_context * vx_context
An opaque reference to the implementation context.
ContextGuard & operator=(const ContextGuard &)=delete
vx_context VX_API_CALL vxCreateContext()
Creates a vx_context.