Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
DMAUtils.h
1#pragma once
2
3#include "nvbuf_utils.h"
4#include "EGL/egl.h"
5#include "cudaEGL.h"
6
7
8class Frame;
9class DMAUtils {
10public:
11 static uint8_t* getCudaPtrForFD(int fd, EGLImageKHR eglImage, CUgraphicsResource *pResource, CUeglFrame eglFrame, EGLDisplay eglDisplay);
12 static uint8_t* getCudaPtr(EGLImageKHR eglImage, CUgraphicsResource *pResource, CUeglFrame eglFrame, EGLDisplay eglDisplay);
13 static void freeCudaPtr(EGLImageKHR eglImage, CUgraphicsResource *pResource, EGLDisplay eglDisplay);
14};
Definition DMAUtils.h:9
static uint8_t * getCudaPtr(EGLImageKHR eglImage, CUgraphicsResource *pResource, CUeglFrame eglFrame, EGLDisplay eglDisplay)
Definition DMAUtils.cpp:13
static void freeCudaPtr(EGLImageKHR eglImage, CUgraphicsResource *pResource, EGLDisplay eglDisplay)
Definition DMAUtils.cpp:39
static uint8_t * getCudaPtrForFD(int fd, EGLImageKHR eglImage, CUgraphicsResource *pResource, CUeglFrame eglFrame, EGLDisplay eglDisplay)
Definition DMAUtils.cpp:4
Definition Frame.h:10