7#ifndef __PVCUDABUFFERCONVERTER_H__
8#define __PVCUDABUFFERCONVERTER_H__
11#include <PvCudaBuffer.h>
16class CudaBufferConverter;
155 bool aEnableCudaUVM );
166 bool aEnableCudaUVM );
168 PvBufferLib::CudaBufferConverter* mThis;
171 uint32_t mBlockSize = 16;
PvCudaBayerFilterType
Filter settings for PvBufferConverter::SetBayerFilter.
Definition PvCudaBufferConverter.h:35
@ PvCudaBayerFilterSimple
2x2 nearest neighbor used when converting from Bayer.
@ PvCudaBayerFilter3X3
3x3 kernel considered when converting from Bayer.
PvPixelType
Definition PvPixelType.h:51
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition PvBuffer.h:111
Used to convert a PvBuffer to another pixel type.
Definition PvCudaBufferConverter.h:68
PvResult Convert(const PvBuffer *aSource, PvCudaBuffer *aCudaDestination, bool aEnableCudaUVM)
Convert a PvBuffer from one format to another, with another PvBuffer to store the output.
PvResult SetCudaBayerFilter(PvCudaBayerFilterType aFilter)
Set the optional Bayer filtering for this converter.
PvCudaBufferConverter()
Constructor.
virtual ~PvCudaBufferConverter()
Destructor.
static bool IsConversionSupported(PvPixelType aSource, PvPixelType aDestination)
Test if a pixel type can be converted to another type.
PvCudaBayerFilterType GetCudaBayerFilter() const
Retrieves current optional Bayer filtering.
PvResult Convert(const PvBuffer *aSource, PvBuffer *aDestination, bool aEnableCudaUVM)
Convert a PvBuffer from one format to another, with another PvBuffer to store the output.
Represents a block of Cuda data in memory either on host, device side or both if using UVM.
Definition PvCudaBuffer.h:44
Result information.
Definition PvResult.h:30