Spherical Video PTZ/User Guide/Quick Start Guide: Difference between revisions

Line 82: Line 82:




Please note that the Engine supports both '''CudaImages''' and '''Images''' for processing. However, if you choose to use an Image, the Engine will internally allocate a Cuda buffer and copy the Image content into it, potentially affecting the application performance. Take this pseudo-code snippet as an loop example of the engine's usage:
Please note that the Engine supports both '''CudaImages''' and '''Images''' for processing. However, if you choose to use an Image, the Engine will internally allocate a Cuda buffer and copy the Image content into it, potentially affecting the application performance. Consider the following pseudo-code snippet as an example of how to use the Engine in a loop:


<syntaxhighlight lang=cpp line>
<syntaxhighlight lang=cpp line>
102

edits