Public Member Functions | Private Attributes | List of all members
CV4LCapture Class Reference

#include <V4LCapture.h>

Inheritance diagram for CV4LCapture:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

int bufferIndex
 
int channelNumber0
 
int depth
 
int height
 
int m_nChannel
 
int m_nDeviceHandle
 
std::string m_sDeviceName
 
CVideoCaptureInterface::VideoMode m_videoMode
 
video_mbuf memoryBuffer
 
char * memoryMap
 
video_mmap * mmaps
 
int width
 

Additional Inherited Members

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

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.

Member Data Documentation

int CV4LCapture::bufferIndex
private

Definition at line 101 of file V4LCapture.h.

int CV4LCapture::channelNumber0
private

Definition at line 99 of file V4LCapture.h.

int CV4LCapture::depth
private

Definition at line 100 of file V4LCapture.h.

int CV4LCapture::height
private

Definition at line 90 of file V4LCapture.h.

int CV4LCapture::m_nChannel
private

Definition at line 94 of file V4LCapture.h.

int CV4LCapture::m_nDeviceHandle
private

Definition at line 93 of file V4LCapture.h.

std::string CV4LCapture::m_sDeviceName
private

Definition at line 92 of file V4LCapture.h.

CVideoCaptureInterface::VideoMode CV4LCapture::m_videoMode
private

Definition at line 89 of file V4LCapture.h.

video_mbuf CV4LCapture::memoryBuffer
private

Definition at line 96 of file V4LCapture.h.

char* CV4LCapture::memoryMap
private

Definition at line 98 of file V4LCapture.h.

video_mmap* CV4LCapture::mmaps
private

Definition at line 97 of file V4LCapture.h.

int CV4LCapture::width
private

Definition at line 90 of file V4LCapture.h.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28