CVD::V4L2Buffer_Base Class Reference
[Video buffers]

#include <v4l2buffer.h>

Inheritance diagram for CVD::V4L2Buffer_Base:

CVD::V4L2BufferT< T >

List of all members.


Detailed Description

A live video buffer from a the framegrabber (using the Video for Linux 2 API).

This provides 8-bit greyscale video frames of type CVD::V4L2Frame and throws exceptions of type CVD::Exceptions::V4L2Buffer

Definition at line 96 of file v4l2buffer.h.


Public Member Functions

 V4L2Buffer_Base (const char *devname, bool fields, V4L2BufferBlockMethod block, int input, int numbufs, unsigned long int pixtpe)
ImageRef size ()
V4L2FrameT< unsigned
char > * 
get_frame ()
void put_frame (VideoFrame< unsigned char > *f)
void put_frame (V4L2FrameT< unsigned char > *f)
bool frame_pending ()
double frame_rate ()

Constructor & Destructor Documentation

CVD::V4L2Buffer_Base::V4L2Buffer_Base ( const char *  devname,
bool  fields,
V4L2BufferBlockMethod  block,
int  input,
int  numbufs,
unsigned long int  pixtpe 
)

Construct a video buffer.

Parameters:
devname The device name
fields 
block Which buffer block method to use
input Which card input?
numbufs How many buffers?


Member Function Documentation

void CVD::V4L2Buffer_Base::put_frame ( VideoFrame< unsigned char > *  f  ) 

Tell the buffer that you are finished with this frame. Overloaded version of VideoBuffer<T>::put_frame().

Referenced by CVD::V4L2BufferT< T >::put_frame().

void CVD::V4L2Buffer_Base::put_frame ( V4L2FrameT< unsigned char > *  f  ) 

Tell the buffer that you are finished with this frame. Overloaded version of VideoBuffer<T>::put_frame().


The documentation for this class was generated from the following file:
Generated on Wed Feb 18 10:23:10 2009 for CVD by  doxygen 1.5.3