CVD 0.8
Public Member Functions
CVD::O2Buffer Class Reference

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

#include <O2buffer.h>

Inheritance diagram for CVD::O2Buffer:
CVD::VideoBuffer< Rgb8 > CVD::RawVideoBuffer

List of all members.

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 ()

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.


Member Function Documentation

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:
fThe frame that you are finished with.

Implements CVD::VideoBuffer< Rgb8 >.

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.


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