IVT
CV4LCapture Class Reference

#include <V4LCapture.h>

Inheritance diagram for CV4LCapture:
CVideoCaptureInterface

Public Member Functions

 CV4LCapture (const char *pDeviceName="/dev/video0", int nChannel=0, CVideoCaptureInterface::VideoMode videoMode=CVideoCaptureInterface::e640x480)
 
 ~CV4LCapture ()
 
bool OpenCamera ()
 
void CloseCamera ()
 
bool CaptureImage (CByteImage **ppImages)
 
int GetWidth ()
 
int GetHeight ()
 
CByteImage::ImageType GetType ()
 
int GetNumberOfCameras ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual ~CVideoCaptureInterface ()
 
virtual bool SetExposureTime (int nExposureInUS)
 

Additional Inherited Members

- Public Types inherited from CVideoCaptureInterface
enum  VideoMode {
  e320x240, e640x480, e800x600, e768x576,
  e1024x768, e1280x960, e1600x1200, eNone
}
 
enum  ColorMode { eRGB24, eBayerPatternToRGB24, eGrayScale, eYUV411ToRGB24 }
 
enum  FrameRate {
  e60fps, e30fps, e15fps, e7_5fps,
  e3_75fps, e1_875fps
}
 

Detailed Description

Definition at line 66 of file V4LCapture.h.

Constructor & Destructor Documentation

CV4LCapture::CV4LCapture ( const char *  pDeviceName = "/dev/video0",
int  nChannel = 0,
CVideoCaptureInterface::VideoMode  videoMode = CVideoCaptureInterface::e640x480 
)

Definition at line 66 of file V4LCapture.cpp.

CV4LCapture::~CV4LCapture ( )

Definition at line 78 of file V4LCapture.cpp.

Member Function Documentation

bool CV4LCapture::CaptureImage ( CByteImage **  ppImages)
virtual

Implements CVideoCaptureInterface.

Definition at line 258 of file V4LCapture.cpp.

void CV4LCapture::CloseCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 295 of file V4LCapture.cpp.

int CV4LCapture::GetHeight ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 82 of file V4LCapture.h.

int CV4LCapture::GetNumberOfCameras ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 84 of file V4LCapture.h.

CByteImage::ImageType CV4LCapture::GetType ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 83 of file V4LCapture.h.

int CV4LCapture::GetWidth ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 81 of file V4LCapture.h.

bool CV4LCapture::OpenCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 87 of file V4LCapture.cpp.


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