CVD::O2Buffer Class Reference
[Video buffers]

#include <O2buffer.h>

Inheritance diagram for CVD::O2Buffer:

CVD::VideoBuffer< T >

List of all members.


Detailed Description

A video buffer to play live video on an SGI O2.

Provides 32-bit colour frames of type CVD::O2VideoFrame.

Definition at line 37 of file O2buffer.h.


Public Member Functions

 O2Buffer ()
virtual ImageRef size ()
virtual O2VideoFrameget_frame ()
virtual void put_frame (VideoFrame< Rgb8 > *f)
virtual bool frame_pending ()
virtual double frame_rate ()

Constructor & Destructor Documentation

CVD::O2Buffer::O2Buffer (  ) 

Construct an O2Buffer.


Member Function Documentation

virtual ImageRef CVD::O2Buffer::size (  )  [virtual]

The size of the VideoFrames returned by this buffer.

Implements CVD::VideoBuffer< T >.

virtual O2VideoFrame* CVD::O2Buffer::get_frame (  )  [virtual]

Returns the next frame from the buffer. This function blocks until a frame is ready.

Implements CVD::VideoBuffer< T >.

virtual bool CVD::O2Buffer::frame_pending (  )  [virtual]

Is there a frame waiting in the buffer? This function does not block.

See is_live and is_flushable.

Implements CVD::VideoBuffer< T >.

virtual double CVD::O2Buffer::frame_rate (  )  [virtual]

What is the (expected) frame rate of this video buffer, in frames per second?

Implements CVD::VideoBuffer< T >.


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