CVD 0.8
Public Member Functions
CVD::V4L2Buffer_Base Class Reference

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

#include <v4l2buffer.h>

Inheritance diagram for CVD::V4L2Buffer_Base:
CVD::V4L2BufferT< T >

List of all members.

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 ()

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.


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:
devnameThe device name
fields
blockWhich buffer block method to use
inputWhich card input?
numbufsHow many buffers?

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