27 #ifndef __VIDEO_FRAME_TRANSFER_H__ 28 #define __VIDEO_FRAME_TRANSFER_H__ 30 #include "GLExtensions.h" 57 static bool initialize(
unsigned width,
unsigned height, GLuint captureTexture, GLuint playbackTexture);
65 static bool isNvidiaDvpAvailable();
66 static bool isAMDPinnedMemoryAvailable();
67 static bool initializeMemoryLocking(
unsigned memSize);
70 unsigned long mMemSize;
72 static bool mInitialized;
74 static unsigned mWidth;
75 static unsigned mHeight;
76 static GLuint mCaptureTexture;
85 static uint32_t mBufferAddrAlignment;
86 static uint32_t mBufferGpuStrideAlignment;
87 static uint32_t mSemaphoreAddrAlignment;
88 static uint32_t mSemaphoreAllocSize;
89 static uint32_t mSemaphorePayloadOffset;
90 static uint32_t mSemaphorePayloadSize;
bool performFrameTransfer()
VideoFrameTransfer(unsigned long memSize, void *address, Direction direction)
PhidgetLCD_Font int * width
void waitForTransferComplete()
PhidgetLCD_Font int int * height
static void beginTextureInUse(Direction direction)
static bool checkFastMemoryTransferAvailable()
static bool initialize(unsigned width, unsigned height, GLuint captureTexture, GLuint playbackTexture)
static void endTextureInUse(Direction direction)