Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CLinux1394Capture Class Reference

#include <Linux1394Capture.h>

Inheritance diagram for CLinux1394Capture:
Inheritance graph
[legend]

Classes

struct  TCameraInfo
 

Public Member Functions

bool CaptureBayerPatternImage (CByteImage **ppImages)
 
bool CaptureImage (CByteImage **ppImages)
 
 CLinux1394Capture (int nCameras, VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, FrameRate frameRate=e30fps)
 
 CLinux1394Capture (VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, FrameRate frameRate=e30fps, int nNumberUIDs=0,...)
 
 CLinux1394Capture (int nCameras, VideoMode mode, int nFormat7PacketSize=-1, int nFormat7MinX=0, int nFormat7MinY=0, int nFormat7Width=640, int nFormat7Height=480, ColorMode colorMode=CVideoCaptureInterface::eBayerPatternToRGB24, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG)
 
 CLinux1394Capture (VideoMode mode, int nFormat7PacketSize=-1, int nFormat7MinX=0, int nFormat7MinY=0, int nFormat7Width=640, int nFormat7Height=480, ColorMode colorMode=CVideoCaptureInterface::eBayerPatternToRGB24, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, int nNumberUIDs=0,...)
 
void CloseCamera ()
 
int GetHeight ()
 
int GetNumberOfCameras ()
 
CByteImage::ImageType GetType ()
 
int GetWidth ()
 
bool OpenCamera ()
 
void SetExposure (unsigned int nValue)
 
void SetGain (unsigned int nValue)
 
void SetShutter (unsigned int nValue)
 
 ~CLinux1394Capture ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual bool SetExposureTime (int nExposureInUS)
 
virtual ~CVideoCaptureInterface ()
 

Private Member Functions

std::string CamUIDToString (unsigned int nLow, unsigned int nHigh)
 
void ConvertYUV411 (CByteImage *pInput, CByteImage *pOutput)
 
int GetDCFrameRateMode (FrameRate frameRate)
 
bool InitCameraMode ()
 
bool ListCameras ()
 
bool OpenCamera (int nCamera)
 
void YUVToRGB (int y, int u, int v, unsigned char *output)
 

Private Attributes

int height
 
const ImageProcessor::BayerPatternType m_bayerPatternType
 
bool m_bFormat7Mode
 
bool m_bUseUIDs
 
const ColorMode m_colorMode
 
FrameRate m_frameRate
 
const VideoMode m_mode
 
int m_nCameras
 
int m_nFormat7Height
 
int m_nFormat7MinX
 
int m_nFormat7MinY
 
int m_nFormat7PacketSize
 
int m_nFormat7Width
 
int m_nMode
 
int m_nOpenedCameras [MAX_CAMERAS]
 
int m_nPorts
 
CByteImagem_pTempImage
 
CByteImagem_pTempImageHeader
 
std::string m_sCameraUID [MAX_CAMERAS]
 
int m_video_mode
 
int width
 

Static Private Attributes

static TCameraInfo m_CameraInfo [MAX_CAMERAS]
 
static dc1394_cameracapture m_cameras [MAX_CAMERAS]
 
static raw1394handle_t m_handles [MAX_CAMERAS]
 
static int m_nInstances = 0
 
static int m_nOverallCameras = 0
 
static nodeid_t * m_pCameraNodes [MAX_PORTS]
 
static CLinux1394Capturem_pCameraOpener [MAX_CAMERAS]
 

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 85 of file Linux1394Capture.h.

Constructor & Destructor Documentation

CLinux1394Capture::CLinux1394Capture ( int  nCameras,
VideoMode  mode,
ColorMode  colorMode,
ImageProcessor::BayerPatternType  bayerPatternType = ImageProcessor::eBayerRG,
FrameRate  frameRate = e30fps 
)
CLinux1394Capture::CLinux1394Capture ( VideoMode  mode,
ColorMode  colorMode,
ImageProcessor::BayerPatternType  bayerPatternType = ImageProcessor::eBayerRG,
FrameRate  frameRate = e30fps,
int  nNumberUIDs = 0,
  ... 
)
CLinux1394Capture::CLinux1394Capture ( int  nCameras,
VideoMode  mode,
int  nFormat7PacketSize = -1,
int  nFormat7MinX = 0,
int  nFormat7MinY = 0,
int  nFormat7Width = 640,
int  nFormat7Height = 480,
ColorMode  colorMode = CVideoCaptureInterface::eBayerPatternToRGB24,
ImageProcessor::BayerPatternType  bayerPatternType = ImageProcessor::eBayerRG 
)
CLinux1394Capture::CLinux1394Capture ( VideoMode  mode,
int  nFormat7PacketSize = -1,
int  nFormat7MinX = 0,
int  nFormat7MinY = 0,
int  nFormat7Width = 640,
int  nFormat7Height = 480,
ColorMode  colorMode = CVideoCaptureInterface::eBayerPatternToRGB24,
ImageProcessor::BayerPatternType  bayerPatternType = ImageProcessor::eBayerRG,
int  nNumberUIDs = 0,
  ... 
)
CLinux1394Capture::~CLinux1394Capture ( )

Definition at line 264 of file Linux1394Capture.cpp.

Member Function Documentation

std::string CLinux1394Capture::CamUIDToString ( unsigned int  nLow,
unsigned int  nHigh 
)
private

Definition at line 865 of file Linux1394Capture.cpp.

bool CLinux1394Capture::CaptureBayerPatternImage ( CByteImage **  ppImages)

Definition at line 655 of file Linux1394Capture.cpp.

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

Implements CVideoCaptureInterface.

Definition at line 589 of file Linux1394Capture.cpp.

void CLinux1394Capture::CloseCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 419 of file Linux1394Capture.cpp.

void CLinux1394Capture::ConvertYUV411 ( CByteImage pInput,
CByteImage pOutput 
)
private

Definition at line 528 of file Linux1394Capture.cpp.

int CLinux1394Capture::GetDCFrameRateMode ( FrameRate  frameRate)
private

Definition at line 759 of file Linux1394Capture.cpp.

int CLinux1394Capture::GetHeight ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 115 of file Linux1394Capture.h.

int CLinux1394Capture::GetNumberOfCameras ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 117 of file Linux1394Capture.h.

CByteImage::ImageType CLinux1394Capture::GetType ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 693 of file Linux1394Capture.cpp.

int CLinux1394Capture::GetWidth ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 114 of file Linux1394Capture.h.

bool CLinux1394Capture::InitCameraMode ( )
private

Definition at line 444 of file Linux1394Capture.cpp.

bool CLinux1394Capture::ListCameras ( )
private

Definition at line 774 of file Linux1394Capture.cpp.

bool CLinux1394Capture::OpenCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 291 of file Linux1394Capture.cpp.

bool CLinux1394Capture::OpenCamera ( int  nCamera)
private

Definition at line 380 of file Linux1394Capture.cpp.

void CLinux1394Capture::SetExposure ( unsigned int  nValue)

Definition at line 727 of file Linux1394Capture.cpp.

void CLinux1394Capture::SetGain ( unsigned int  nValue)

Definition at line 711 of file Linux1394Capture.cpp.

void CLinux1394Capture::SetShutter ( unsigned int  nValue)

Definition at line 743 of file Linux1394Capture.cpp.

void CLinux1394Capture::YUVToRGB ( int  y,
int  u,
int  v,
unsigned char *  output 
)
private

Definition at line 563 of file Linux1394Capture.cpp.

Member Data Documentation

int CLinux1394Capture::height
private

Definition at line 150 of file Linux1394Capture.h.

const ImageProcessor::BayerPatternType CLinux1394Capture::m_bayerPatternType
private

Definition at line 161 of file Linux1394Capture.h.

bool CLinux1394Capture::m_bFormat7Mode
private

Definition at line 170 of file Linux1394Capture.h.

bool CLinux1394Capture::m_bUseUIDs
private

Definition at line 164 of file Linux1394Capture.h.

CLinux1394Capture::TCameraInfo CLinux1394Capture::m_CameraInfo
staticprivate

Definition at line 185 of file Linux1394Capture.h.

dc1394_cameracapture CLinux1394Capture::m_cameras
staticprivate

Definition at line 180 of file Linux1394Capture.h.

const ColorMode CLinux1394Capture::m_colorMode
private

Definition at line 157 of file Linux1394Capture.h.

FrameRate CLinux1394Capture::m_frameRate
private

Definition at line 159 of file Linux1394Capture.h.

raw1394handle_t CLinux1394Capture::m_handles
staticprivate

Definition at line 179 of file Linux1394Capture.h.

const VideoMode CLinux1394Capture::m_mode
private

Definition at line 155 of file Linux1394Capture.h.

int CLinux1394Capture::m_nCameras
private

Definition at line 153 of file Linux1394Capture.h.

int CLinux1394Capture::m_nFormat7Height
private

Definition at line 175 of file Linux1394Capture.h.

int CLinux1394Capture::m_nFormat7MinX
private

Definition at line 172 of file Linux1394Capture.h.

int CLinux1394Capture::m_nFormat7MinY
private

Definition at line 173 of file Linux1394Capture.h.

int CLinux1394Capture::m_nFormat7PacketSize
private

Definition at line 171 of file Linux1394Capture.h.

int CLinux1394Capture::m_nFormat7Width
private

Definition at line 174 of file Linux1394Capture.h.

int CLinux1394Capture::m_nInstances = 0
staticprivate

Definition at line 189 of file Linux1394Capture.h.

int CLinux1394Capture::m_nMode
private

Definition at line 147 of file Linux1394Capture.h.

int CLinux1394Capture::m_nOpenedCameras[MAX_CAMERAS]
private

Definition at line 166 of file Linux1394Capture.h.

int CLinux1394Capture::m_nOverallCameras = 0
staticprivate

Definition at line 184 of file Linux1394Capture.h.

int CLinux1394Capture::m_nPorts
private

Definition at line 146 of file Linux1394Capture.h.

nodeid_t * CLinux1394Capture::m_pCameraNodes
staticprivate

Definition at line 181 of file Linux1394Capture.h.

CLinux1394Capture * CLinux1394Capture::m_pCameraOpener
staticprivate

Definition at line 186 of file Linux1394Capture.h.

CByteImage* CLinux1394Capture::m_pTempImage
private

Definition at line 144 of file Linux1394Capture.h.

CByteImage* CLinux1394Capture::m_pTempImageHeader
private

Definition at line 143 of file Linux1394Capture.h.

std::string CLinux1394Capture::m_sCameraUID[MAX_CAMERAS]
private

Definition at line 163 of file Linux1394Capture.h.

int CLinux1394Capture::m_video_mode
private

Definition at line 168 of file Linux1394Capture.h.

int CLinux1394Capture::width
private

Definition at line 149 of file Linux1394Capture.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