#include <dvbuffer3.h>
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 () |
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.
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.
virtual CVD::DVBuffer3< pixel_T >::~DVBuffer3 | ( | ) | [inline, virtual] |
Definition at line 193 of file dvbuffer3.h.
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.
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.
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.
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.
f | The frame that you are finished with. |
Implements CVD::VideoBuffer< pixel_T >.
Definition at line 200 of file dvbuffer3.h.
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)
t | The frame time in seconds |
Reimplemented from CVD::RawVideoBuffer.
Definition at line 205 of file dvbuffer3.h.
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.