CVD 0.8
Public Member Functions
CVD::DVBuffer3< pixel_T > Class Template Reference

A video buffer from a Firewire (IEEE 1394) camera. More...

#include <dvbuffer3.h>

Inheritance diagram for CVD::DVBuffer3< pixel_T >:
CVD::VideoBuffer< pixel_T > CVD::DV3::RawDVBuffer3 CVD::RawVideoBuffer CVD::RawVideoBuffer

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)
double frame_rate ()
ImageRef size ()
virtual VideoFrame< pixel_T > * get_frame ()
virtual void put_frame (VideoFrame< pixel_T > *f)
virtual bool frame_pending ()
virtual void seek_to (double)

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.


Member Function Documentation

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

Implements CVD::VideoBuffer< pixel_T >.

Definition at line 200 of file dvbuffer3.h.

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 >
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:
tThe frame time in seconds

Reimplemented from CVD::RawVideoBuffer.

Definition at line 205 of file dvbuffer3.h.


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