|
|
VisionWorks Toolkit ReferenceApril 8, 2016 | 1.4 Release |
Adds various extensions to the vx_delay object.
This section describes different extensions and features to the standard Object: Delay.
A custom user kernel can declare a delay object as a kernel input parameter. This feature is useful to create generic temporal filtering kernels. Delay objects are forbidden as bidirectional and output parameters.
The application can register delay auto-aging in graphs: see nvxRegisterAutoAging.
A delay sub-object is an object retrieved by calling vxGetReferenceFromDelay.
Any delay sub-object accessed with vxAccess<Object> must be committed with vxCommit<Object> prior to aging the delay; otherwise, the behavior is undefined.
Aging a delay does not shift sub-objects, but instead shifts only their data content in an efficient way, without any copy. In other words calling vxGetReferenceFromDelay with i as index parameter always returns a reference to the same sub-object and after calling vxAgeDelay, this sub-object gets automatically updated with the correct data.
Example Code