Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
DMAFDWrapper Class Reference

#include <DMAFDWrapper.h>

Collaboration diagram for DMAFDWrapper:
Collaboration graph

Public Member Functions

virtual ~DMAFDWrapper ()
 
int getFd () const
 
EGLImageKHR getEGLImage () const
 
EGLDisplay getEGLDisplay () const
 
void * getHostPtr ()
 
void * getHostPtrY ()
 
void * getHostPtrU ()
 
void * getHostPtrV ()
 
void * getHostPtrUV ()
 
void * getCudaPtr () const
 
int getIndex () const
 
const void * getClientData () const
 
void setClientData (const void *clientData)
 

Static Public Member Functions

static DMAFDWrappercreate (int index, int width, int height, NvBufferColorFormat colorFormat, NvBufferLayout layout, EGLDisplay eglDisplay)
 

Public Attributes

int tempFD
 

Private Member Functions

 DMAFDWrapper (int index, EGLDisplay EGLDisplay)
 

Private Attributes

int m_fd
 
EGLImageKHR eglImage
 
CUgraphicsResource pResource
 
CUeglFrame eglFrame
 
EGLDisplay eglDisplay
 
void * hostPtr
 
void * hostPtrU
 
void * hostPtrV
 
uint8_t * cudaPtr
 
const int index
 
const void * clientData
 

Constructor & Destructor Documentation

◆ ~DMAFDWrapper()

DMAFDWrapper::~DMAFDWrapper ( )
virtual
Here is the call graph for this function:

◆ DMAFDWrapper()

DMAFDWrapper::DMAFDWrapper ( int index,
EGLDisplay EGLDisplay )
private
Here is the caller graph for this function:

Member Function Documentation

◆ create()

DMAFDWrapper * DMAFDWrapper::create ( int index,
int width,
int height,
NvBufferColorFormat colorFormat,
NvBufferLayout layout,
EGLDisplay eglDisplay )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getClientData()

const void * DMAFDWrapper::getClientData ( ) const

◆ getCudaPtr()

void * DMAFDWrapper::getCudaPtr ( ) const

◆ getEGLDisplay()

EGLDisplay DMAFDWrapper::getEGLDisplay ( ) const
inline

◆ getEGLImage()

EGLImageKHR DMAFDWrapper::getEGLImage ( ) const
inline

◆ getFd()

int DMAFDWrapper::getFd ( ) const
inline
Here is the caller graph for this function:

◆ getHostPtr()

void * DMAFDWrapper::getHostPtr ( )
Here is the caller graph for this function:

◆ getHostPtrU()

void * DMAFDWrapper::getHostPtrU ( )
Here is the caller graph for this function:

◆ getHostPtrUV()

void * DMAFDWrapper::getHostPtrUV ( )
Here is the call graph for this function:

◆ getHostPtrV()

void * DMAFDWrapper::getHostPtrV ( )

◆ getHostPtrY()

void * DMAFDWrapper::getHostPtrY ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIndex()

int DMAFDWrapper::getIndex ( ) const

◆ setClientData()

void DMAFDWrapper::setClientData ( const void * clientData)

Member Data Documentation

◆ clientData

const void* DMAFDWrapper::clientData
private

◆ cudaPtr

uint8_t* DMAFDWrapper::cudaPtr
private

◆ eglDisplay

EGLDisplay DMAFDWrapper::eglDisplay
private

◆ eglFrame

CUeglFrame DMAFDWrapper::eglFrame
private

◆ eglImage

EGLImageKHR DMAFDWrapper::eglImage
private

◆ hostPtr

void* DMAFDWrapper::hostPtr
private

◆ hostPtrU

void* DMAFDWrapper::hostPtrU
private

◆ hostPtrV

void* DMAFDWrapper::hostPtrV
private

◆ index

const int DMAFDWrapper::index
private

◆ m_fd

int DMAFDWrapper::m_fd
private

◆ pResource

CUgraphicsResource DMAFDWrapper::pResource
private

◆ tempFD

int DMAFDWrapper::tempFD

The documentation for this class was generated from the following files: