Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Contrib - Image IO - Video4Linux - DPIImageBaseV4LBodyC
 

  PUBLIC
DPIImageBaseV4LBodyC::DPIImageBaseV4LBodyC(const StringC &,const type_info &,const ImageRectangleC &,int)
DPIImageBaseV4LBodyC::DPIImageBaseV4LBodyC(const StringC &,const type_info &,bool,int)
DPIImageBaseV4LBodyC::~DPIImageBaseV4LBodyC(void)
DPIImageBaseV4LBodyC::Open(const StringC &,const type_info &,const ImageRectangleC &)
DPIImageBaseV4LBodyC::Open1(int,const type_info &,const ImageRectangleC &)
DPIImageBaseV4LBodyC::Close(void)
DPIImageBaseV4LBodyC::NextPre(void)
DPIImageBaseV4LBodyC::NextPost(void)
DPIImageBaseV4LBodyC::NextFrame(ImageC &)
DPIImageBaseV4LBodyC::NextFrame(ImageC &)
DPIImageBaseV4LBodyC::NextFrame(ImageC &)
DPIImageBaseV4LBodyC::NextFrame(ImageC &)
DPIImageBaseV4LBodyC::SetupPhilips(void)

   DPIImageBaseV4LBodyC   
 
Base class for Meteor1 frame grabbers.
 
include "Ravl/Image/ImgIOV4L.hh"
Source file:Contrib/V4L/ImgIOV4L.hh
User Level:Develop
Library:RavlImgIOV4L
In Scope:RavlImageN

Derived Classes: Enumerated types:
enum SourceTypeT { SOURCE_UNKNOWN, SOURCE_USBWEBCAM_PHILIPS } ;

Variables:
SourceTypeT sourceType;

ImageRectangleC maxRect;
Maximum size of grabber rectangle.

ImageRectangleC rect;
Requested size of grabber rectangle.

int palette;
Current palette mode.

int fd;

ByteT * buffer;

ByteT * buf_grey;

ByteT * buf_u;

ByteT * buf_v;

int bufLen;

bool half;
Attempt to get half size images?

bool memmap;
Use memory mapping.

SArray1dC frameOffsets;

int bufNo;

int channel;

Methods:
DPIImageBaseV4LBodyC(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect,int channel = - 1)
Constructor.

DPIImageBaseV4LBodyC(const StringC & dev,const type_info & npixType,bool half,int channel = - 1)
Constructor.

~DPIImageBaseV4LBodyC()
Destructor.

bool Open(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect)
Open a video for linux device.

bool Open1(int nfd,const type_info & npixType,const ImageRectangleC & nrect)
Open a video for linux 1 device.

bool Close()
Close connection to meteor.

bool NextPre()
Pre next frame capture.

bool NextPost()
Post next frame capture.

bool NextFrame(ImageC<ByteYUV422ValueC> & ret)
Get next YUV frame from grabber.

bool NextFrame(ImageC<ByteYUVValueC> & ret)
Get next YUV frame from grabber.

bool NextFrame(ImageC<ByteRGBValueC> & ret)
Get next RGB frame from grabber.

bool NextFrame(ImageC<ByteT> & ret)
Get next grey level frame from grabber.

bool SetupPhilips()
Setup a philips webcam.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002