Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Member Functions | List of all members
Rx::LFR::ICudaDataImages Class Referenceabstract

Detailed Description

CUDA data: Images.

Public Member Functions

virtual void Download (EImage::ID eImgID, Interop::Runtime28::IImage *pxImage) const =0
 
virtual void Download (EImage::ID eImgID, CRxImage &xImage) const =0
 
virtual void Free (EImage::ID eImgID)=0
 Frees memory used by image defined by eImgID. This invalidates the image. More...
 
virtual void FreeAll ()=0
 Frees the memory used by all images. This invalidates all images. More...
 
virtual size_t GetDevicePointerPitch (EImage::ID eImgID) const =0
 Gets device pointer pitch. More...
 
virtual void * GetImageDevicePointer (EImage::ID eImgID) const =0
 Gets the CUDA device pointer to the data of the image defined by the given ID. More...
 
virtual const CRxImageFormatGetImageFormat (EImage::ID eImgID) const =0
 Gets the image format of the image defined by the given ID. More...
 
virtual bool IsValid (EImage::ID eImgID) const =0
 
virtual void Upload (EImage::ID eImgID, const Interop::Runtime28::IImage *pxImage)=0
 
virtual void Upload (EImage::ID eImgID, const CRxImage &xImage)=0
 

Protected Member Functions

 ICudaDataImages ()
 
virtual ~ICudaDataImages ()
 

Constructor & Destructor Documentation

Rx::LFR::ICudaDataImages::ICudaDataImages ( )
inlineprotected
virtual Rx::LFR::ICudaDataImages::~ICudaDataImages ( )
inlineprotectedvirtual

Member Function Documentation

virtual void Rx::LFR::ICudaDataImages::Download ( EImage::ID  eImgID,
Interop::Runtime28::IImage pxImage 
) const
pure virtual
virtual void Rx::LFR::ICudaDataImages::Download ( EImage::ID  eImgID,
CRxImage xImage 
) const
pure virtual
virtual void Rx::LFR::ICudaDataImages::Free ( EImage::ID  eImgID)
pure virtual

Frees memory used by image defined by eImgID. This invalidates the image.

Parameters
eImgIDThe image ID.
virtual void Rx::LFR::ICudaDataImages::FreeAll ( )
pure virtual

Frees the memory used by all images. This invalidates all images.

virtual size_t Rx::LFR::ICudaDataImages::GetDevicePointerPitch ( EImage::ID  eImgID) const
pure virtual

Gets device pointer pitch.

Parameters
eImgIDThe image ID.
Returns
The device pointer pitch.
virtual void* Rx::LFR::ICudaDataImages::GetImageDevicePointer ( EImage::ID  eImgID) const
pure virtual

Gets the CUDA device pointer to the data of the image defined by the given ID.

The pointer maps to the memory on a CUDA device and cannot be used on the host.

Parameters
eImgIDThe image ID.
Returns
The image device pointer.
virtual const CRxImageFormat& Rx::LFR::ICudaDataImages::GetImageFormat ( EImage::ID  eImgID) const
pure virtual

Gets the image format of the image defined by the given ID.

Parameters
eImgIDThe image ID.
Returns
The image format.
virtual bool Rx::LFR::ICudaDataImages::IsValid ( EImage::ID  eImgID) const
pure virtual
virtual void Rx::LFR::ICudaDataImages::Upload ( EImage::ID  eImgID,
const Interop::Runtime28::IImage pxImage 
)
pure virtual
virtual void Rx::LFR::ICudaDataImages::Upload ( EImage::ID  eImgID,
const CRxImage xImage 
)
pure virtual