CVD::SGI::RawSGIVideo Class Reference

#include <sgi-video.h>

List of all members.

Public Member Functions

unsigned char * current_frame () const
 Pointer to most recently retrieved frame.
int frame_number () const
 Sequence number of frame captured.
float frame_rate () const
 Frames per second of capture.
int frame_size () const
 Number of bytes in a frame.
unsigned long long frame_time () const
 Time at which frame was captured.
unsigned char * next_frame ()
 Get data pointer to the next frame.
 RawSGIVideo (bool use_frames=false)
void start ()
 Start capturing.
void stop ()
 Stop capturing.
int x_size () const
 Width of images returned by the buffer.
int y_size () const
 Height of images returned by the buffer.
 ~RawSGIVideo ()

Private Attributes

DMbuffer buf [2]
DMbufferpool buff
VLNode drain
int frame_no
int frame_number_div
int locked_buffer
unsigned char * my_current_frame
int my_frame_number
float my_frame_rate
int my_frame_size
unsigned long long my_timestamp
int my_x_size
int my_y_size
VLNode source
bool started
VLServer svr
VLPath vid_in

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.


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)
CVD::SGI::RawSGIVideo::~RawSGIVideo (  ) 

Member Function Documentation

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

Pointer to most recently retrieved frame.

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

Sequence number of frame captured.

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

Frames per second of capture.

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

Number of bytes in a frame.

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

Time at which frame was captured.

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

Get data pointer to the next frame.

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

Start capturing.

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

Stop capturing.

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.


Member Data Documentation

DMbuffer CVD::SGI::RawSGIVideo::buf[2] [private]

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

DMbufferpool CVD::SGI::RawSGIVideo::buff [private]

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

VLNode CVD::SGI::RawSGIVideo::drain [private]

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

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

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

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

unsigned char* CVD::SGI::RawSGIVideo::my_current_frame [private]

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

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

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

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

unsigned long long CVD::SGI::RawSGIVideo::my_timestamp [private]

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

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

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

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

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

VLServer CVD::SGI::RawSGIVideo::svr [private]

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

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:14:00 2013