Provides the functionality for the user to post process images on an NVIDIA GPU device. More...
#include <SpinnakerGPU.h>
Public Member Functions | |
SpinnakerGPU () | |
Creates SpinnakerGPU context for managing cuda memory allocation and deallocation provided the host image dimensions. | |
~SpinnakerGPU () | |
Default destructor. | |
ImagePtr | Decompress (const ImagePtr &srcImage) const |
Decompresses the source image buffer and returns the result in a new image. | |
void | Decompress (const ImagePtr &srcImage, ImagePtr &destImage) const |
Decompresses the source image buffer and stores the result in the destination image. | |
Public Member Functions inherited from ISpinnakerGPU | |
virtual | ~ISpinnakerGPU (void) |
virtual ImagePtr | Decompress (const ImagePtr &srcImage) const =0 |
virtual void | Decompress (const ImagePtr &srcImage, ImagePtr &destImage) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from ISpinnakerGPU | |
ISpinnakerGPU () | |
ISpinnakerGPU (const ISpinnakerGPU &) | |
ISpinnakerGPU & | operator= (const ISpinnakerGPU &) |
Protected Attributes inherited from ISpinnakerGPU | |
SpinnakerGPUData * | m_pSpinnakerGPUData |
Provides the functionality for the user to post process images on an NVIDIA GPU device.
SpinnakerGPU | ( | ) |
Creates SpinnakerGPU context for managing cuda memory allocation and deallocation provided the host image dimensions.
NOTE: The library supports NVIDIA CUDA device with compute capability >= 3.5
~SpinnakerGPU | ( | ) |
Default destructor.
Decompresses the source image buffer and returns the result in a new image.
The destination image does not need to be configured in any way before the call is made.
srcImage | The source image from which to convert the image from. |
Implements ISpinnakerGPU.
Decompresses the source image buffer and stores the result in the destination image.
The destination image needs to be configured to have the correct buffer size before calling this function. See ResetImage() to setup the correct buffer size according to the decompressed pixel format.
srcImage | The source image from which to decompress the image from. |
destImage | The destination image in which the decompressed image data will be stored. |
Implements ISpinnakerGPU.