CVD::SGI::RawSGIVideo Class Reference

#include <sgi-video.h>

List of all members.


Detailed Description

Internal (non type-safe) class used by O2Buffer to do the actual interfacing with the SGI video hardware.

Definition at line 50 of file sgi-video.h.


Public Member Functions

 RawSGIVideo (bool use_frames=false)
void start ()
void stop ()
unsigned char * next_frame ()
int x_size () const
int y_size () const
int frame_size () const
float frame_rate () const
int frame_number () const
unsigned char * current_frame () const
unsigned long long frame_time () const

Constructor & Destructor Documentation

CVD::SGI::RawSGIVideo::RawSGIVideo ( bool  use_frames = false  ) 

Construct SGI video grabber.

Parameters:
use_frames Should the grabber use frames (true) or fields (false)


Member Function Documentation

void CVD::SGI::RawSGIVideo::start (  ) 

Start capturing.

void CVD::SGI::RawSGIVideo::stop (  ) 

Stop capturing.

unsigned char* CVD::SGI::RawSGIVideo::next_frame (  ) 

Get data pointer to the next frame.

int CVD::SGI::RawSGIVideo::x_size (  )  const

Width of images returned by the buffer.

int CVD::SGI::RawSGIVideo::y_size (  )  const

Height of images returned by the buffer.

int CVD::SGI::RawSGIVideo::frame_size (  )  const

Number of bytes in a frame.

float CVD::SGI::RawSGIVideo::frame_rate (  )  const

Frames per second of capture.

int CVD::SGI::RawSGIVideo::frame_number (  )  const

Sequence number of frame captured.

unsigned char* CVD::SGI::RawSGIVideo::current_frame (  )  const

Pointer to most recently retrieved frame.

unsigned long long CVD::SGI::RawSGIVideo::frame_time (  )  const

Time at which frame was captured.


The documentation for this class was generated from the following file:
Generated on Wed Feb 18 10:23:17 2009 for CVD by  doxygen 1.5.3