CVD::DVBuffer3< pixel_T > Class Template Reference

#include <dvbuffer3.h>

Inheritance diagram for CVD::DVBuffer3< pixel_T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DVBuffer3 (unsigned int nCamNumber=0, ImageRef irSize=ImageRef(-1,-1), float fFPS=-1.0, ImageRef irOffset=ImageRef(-1,-1), bool verbose=0, bool bus_reset=0, int format7_mode=-1)
virtual bool frame_pending ()
double frame_rate ()
 What is the (expected) frame rate of this video buffer, in frames per second?
virtual VideoFrame< pixel_T > * get_frame ()
virtual void put_frame (VideoFrame< pixel_T > *f)
virtual void seek_to (double)
ImageRef size ()
 The size of the VideoFrames returned by this buffer.
virtual ~DVBuffer3 ()

Detailed Description

template<class pixel_T>
class CVD::DVBuffer3< pixel_T >

A video buffer from a Firewire (IEEE 1394) camera. This can use both v1.x and v2.0 series of libdc1394. For v2 it selects the video mode as described for RawDVBuffer3 above. For v1 this just wraps DVBuffer2.

Definition at line 176 of file dvbuffer3.h.


Constructor & Destructor Documentation

template<class pixel_T >
CVD::DVBuffer3< pixel_T >::DVBuffer3 ( unsigned int  nCamNumber = 0,
ImageRef  irSize = ImageRef(-1,-1),
float  fFPS = -1.0,
ImageRef  irOffset = ImageRef(-1,-1),
bool  verbose = 0,
bool  bus_reset = 0,
int  format7_mode = -1 
) [inline]

Definition at line 179 of file dvbuffer3.h.

template<class pixel_T >
virtual CVD::DVBuffer3< pixel_T >::~DVBuffer3 (  )  [inline, virtual]

Definition at line 193 of file dvbuffer3.h.


Member Function Documentation

template<class pixel_T >
virtual bool CVD::DVBuffer3< pixel_T >::frame_pending (  )  [inline, virtual]

Is there a frame waiting in the buffer? This function does not block. See is_live and is_flushable.

Reimplemented from CVD::DV3::RawDVBuffer3.

Definition at line 204 of file dvbuffer3.h.

template<class pixel_T >
double CVD::DVBuffer3< pixel_T >::frame_rate (  )  [inline, virtual]

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

Reimplemented from CVD::DV3::RawDVBuffer3.

Definition at line 194 of file dvbuffer3.h.

template<class pixel_T >
virtual VideoFrame<pixel_T>* CVD::DVBuffer3< pixel_T >::get_frame (  )  [inline, virtual]

Reimplemented from CVD::DV3::RawDVBuffer3.

Definition at line 196 of file dvbuffer3.h.

template<class pixel_T >
virtual void CVD::DVBuffer3< pixel_T >::put_frame ( VideoFrame< pixel_T > *  f  )  [inline, 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< pixel_T >.

Definition at line 200 of file dvbuffer3.h.

template<class pixel_T >
virtual void CVD::DVBuffer3< pixel_T >::seek_to ( double   )  [inline, virtual]

Go to a particular point in the video buffer (only implemented in buffers of recorded video)

Parameters:
t The frame time in seconds

Reimplemented from CVD::RawVideoBuffer.

Definition at line 205 of file dvbuffer3.h.

template<class pixel_T >
ImageRef CVD::DVBuffer3< pixel_T >::size (  )  [inline, virtual]

The size of the VideoFrames returned by this buffer.

Reimplemented from CVD::DV3::RawDVBuffer3.

Definition at line 195 of file dvbuffer3.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