Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DPIImageBaseMeteor1BodyC::DPIImageBaseMeteor1BodyC(const StringC &,const type_info &,const ImageRectangleC &)
DPIImageBaseMeteor1BodyC::~DPIImageBaseMeteor1BodyC(void)
DPIImageBaseMeteor1BodyC::ParamName(VideoParamT) const
DPIImageBaseMeteor1BodyC::GetParam(VideoParamT) const
DPIImageBaseMeteor1BodyC::SetParam(VideoParamT,int)
DPIImageBaseMeteor1BodyC::DumpParam(ostream &) const
DPIImageBaseMeteor1BodyC::Open(const StringC &,const type_info &,const ImageRectangleC &)
DPIImageBaseMeteor1BodyC::Close(void)
DPIImageBaseMeteor1BodyC::NextFrame(void)
DPIImageBaseMeteor1BodyC
 
Base class for Meteor1 frame grabbers.
 
include "amma/Image/ImgIOMeteor1.hh"
User Level:Default
Library:VidIO
Example:exImgSeq.cc
Section:Image.Image IO
In Scope:std

Derived Classes:

Enumerated types:
enum VideoSourceTypeT { VidSrc_PAL = 1, VidSrc_SECAM = 2, VidSrc_NTSC = 3 } ;
Video source types.

enum VideoSourceT { VidSrc_DEV0 = 1, VidSrc_DEV1 = 2, VidSrc_DEV2 = 3, VidSrc_DEV3 = 4, VidSrc_SVIDEO = 5 } ;
Video source types.

enum VideoParamT { VP_HUE = 0, VP_CHROMA_GAIN, VP_BRIGHTNESS, VP_CHROMA_SAT, VP_CONTRAST, VP_END } ;

Variables:
ImageRectangleC maxRect;
Maximum size of grabber rectangle.

ImageRectangleC rect;
Requested size of grabber rectangle.

VideoSourceTypeT sourceType;

int bufFormat;
Format of buffer.

int bufFrames;
Number of frames in buffer.

int bufFrameSize;
Buffer frame size in bytes.

int outFormat;
Conversion to use when copying. 0=Plain copy.

bool useMemMap;
Use memory mapping ?

StringC devName;

int fd;

int fbfd;

char * mmbuf;
Memory mapped buffer.

int frameCount;

Methods:
DPIImageBaseMeteor1BodyC(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect)

~DPIImageBaseMeteor1BodyC()
Destructor.

const char * ParamName(VideoParamT pr) const
Get the name of each paramiter.

int GetParam(VideoParamT pr) const
Get paramiter value

BooleanT SetParam(VideoParamT pr,int val)
Setup paramiter value.

void DumpParam(ostream & out) const
Dump current settings to 'out'.

BooleanT Open(const StringC & dev,const type_info & npixType,const ImageRectangleC & nrect)
Open a meteor device.

BooleanT Close()
Close connection to meteor.

char * NextFrame()
Get next frame from grabber.
returns ptr to raw data. (this must be copied from the buffer, before next frame is retrieved.)


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001