PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions
VideoFrameTransfer Class Reference

#include <src/PlusDataCollection/BlackMagic/VideoFrameTransfer.h>

Public Types

enum  Direction { CPUtoGPU, GPUtoCPU }
 

Public Member Functions

bool performFrameTransfer ()
 
 VideoFrameTransfer (unsigned long memSize, void *address, Direction direction)
 
void waitForTransferComplete ()
 
 ~VideoFrameTransfer ()
 

Static Public Member Functions

static void beginTextureInUse (Direction direction)
 
static bool checkFastMemoryTransferAvailable ()
 
static void endTextureInUse (Direction direction)
 
static bool initialize (unsigned width, unsigned height, GLuint captureTexture, GLuint playbackTexture)
 

Detailed Description

Definition at line 44 of file VideoFrameTransfer.h.

Member Enumeration Documentation

◆ Direction

Enumerator
CPUtoGPU 
GPUtoCPU 

Definition at line 47 of file VideoFrameTransfer.h.

Constructor & Destructor Documentation

◆ VideoFrameTransfer()

VideoFrameTransfer::VideoFrameTransfer ( unsigned long  memSize,
void *  address,
Direction  direction 
)

Definition at line 173 of file VideoFrameTransfer.cpp.

◆ ~VideoFrameTransfer()

VideoFrameTransfer::~VideoFrameTransfer ( )

Definition at line 235 of file VideoFrameTransfer.cpp.

Member Function Documentation

◆ beginTextureInUse()

void VideoFrameTransfer::beginTextureInUse ( Direction  direction)
static

Definition at line 337 of file VideoFrameTransfer.cpp.

◆ checkFastMemoryTransferAvailable()

bool VideoFrameTransfer::checkFastMemoryTransferAvailable ( )
static

Definition at line 74 of file VideoFrameTransfer.cpp.

◆ endTextureInUse()

void VideoFrameTransfer::endTextureInUse ( Direction  direction)
static

Definition at line 348 of file VideoFrameTransfer.cpp.

◆ initialize()

bool VideoFrameTransfer::initialize ( unsigned  width,
unsigned  height,
GLuint  captureTexture,
GLuint  playbackTexture 
)
static

Definition at line 79 of file VideoFrameTransfer.cpp.

◆ performFrameTransfer()

bool VideoFrameTransfer::performFrameTransfer ( )

Definition at line 254 of file VideoFrameTransfer.cpp.

◆ waitForTransferComplete()

void VideoFrameTransfer::waitForTransferComplete ( )

Definition at line 323 of file VideoFrameTransfer.cpp.


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