CVD::O2Buffer Class Reference
[Video buffers]

#include <O2buffer.h>

Inheritance diagram for CVD::O2Buffer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool frame_pending ()
virtual double frame_rate ()
 What is the (expected) frame rate of this video buffer, in frames per second?
virtual O2VideoFrameget_frame ()
 Returns the next frame from the buffer. This function blocks until a frame is ready.
 O2Buffer ()
 Construct an O2Buffer.
virtual void put_frame (VideoFrame< Rgb8 > *f)
virtual ImageRef size ()
 The size of the VideoFrames returned by this buffer.
 ~O2Buffer ()

Private Attributes

long m_currentFrameNumber
ImageRef m_frameSize
O2VideoFramem_pFrame
SGI::RawSGIVideom_pVid

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 33 of file O2buffer.h.


Constructor & Destructor Documentation

CVD::O2Buffer::O2Buffer (  ) 

Construct an O2Buffer.

CVD::O2Buffer::~O2Buffer (  ) 

Member Function Documentation

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::RawVideoBuffer.

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

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

Implements CVD::RawVideoBuffer.

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< Rgb8 >.

virtual void CVD::O2Buffer::put_frame ( VideoFrame< Rgb8 > *  f  )  [virtual]

Tell the buffer that you are finished with this frame. Typically the VideoBuffer then destroys the frame.

Parameters:
f The frame that you are finished with.

Implements CVD::VideoBuffer< Rgb8 >.

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

The size of the VideoFrames returned by this buffer.

Implements CVD::RawVideoBuffer.


Member Data Documentation

Definition at line 44 of file O2buffer.h.

Definition at line 41 of file O2buffer.h.

Definition at line 43 of file O2buffer.h.

Definition at line 42 of file O2buffer.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:13:51 2013