CVD 0.8
|
A video buffer to play live video on an SGI O2. More...
#include <O2buffer.h>
Public Member Functions | |
O2Buffer () | |
virtual ImageRef | size () |
virtual O2VideoFrame * | get_frame () |
virtual void | put_frame (VideoFrame< Rgb8 > *f) |
virtual bool | frame_pending () |
virtual double | frame_rate () |
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.
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.
f | The 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.