Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
CLinux1394Capture Class Reference

#include <Linux1394Capture.h>

Inheritance diagram for CLinux1394Capture:
Inheritance graph
[legend]

List of all members.

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 ()

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]

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,
  ... 
)

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.

Definition at line 655 of file Linux1394Capture.cpp.

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

Implements CVideoCaptureInterface.

Definition at line 589 of file Linux1394Capture.cpp.

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 ( ) [inline, virtual]

Implements CVideoCaptureInterface.

Definition at line 115 of file Linux1394Capture.h.

int CLinux1394Capture::GetNumberOfCameras ( ) [inline, virtual]

Implements CVideoCaptureInterface.

Definition at line 117 of file Linux1394Capture.h.

Implements CVideoCaptureInterface.

Definition at line 693 of file Linux1394Capture.cpp.

int CLinux1394Capture::GetWidth ( ) [inline, virtual]

Implements CVideoCaptureInterface.

Definition at line 114 of file Linux1394Capture.h.

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

Definition at line 150 of file Linux1394Capture.h.

Definition at line 161 of file Linux1394Capture.h.

Definition at line 170 of file Linux1394Capture.h.

Definition at line 164 of file Linux1394Capture.h.

Definition at line 185 of file Linux1394Capture.h.

dc1394_cameracapture CLinux1394Capture::m_cameras [static, private]

Definition at line 180 of file Linux1394Capture.h.

Definition at line 157 of file Linux1394Capture.h.

Definition at line 159 of file Linux1394Capture.h.

raw1394handle_t CLinux1394Capture::m_handles [static, private]

Definition at line 179 of file Linux1394Capture.h.

Definition at line 155 of file Linux1394Capture.h.

Definition at line 153 of file Linux1394Capture.h.

Definition at line 175 of file Linux1394Capture.h.

Definition at line 172 of file Linux1394Capture.h.

Definition at line 173 of file Linux1394Capture.h.

Definition at line 171 of file Linux1394Capture.h.

Definition at line 174 of file Linux1394Capture.h.

int CLinux1394Capture::m_nInstances = 0 [static, private]

Definition at line 189 of file Linux1394Capture.h.

Definition at line 147 of file Linux1394Capture.h.

Definition at line 166 of file Linux1394Capture.h.

int CLinux1394Capture::m_nOverallCameras = 0 [static, private]

Definition at line 184 of file Linux1394Capture.h.

Definition at line 146 of file Linux1394Capture.h.

nodeid_t * CLinux1394Capture::m_pCameraNodes [static, private]

Definition at line 181 of file Linux1394Capture.h.

Definition at line 186 of file Linux1394Capture.h.

Definition at line 144 of file Linux1394Capture.h.

Definition at line 143 of file Linux1394Capture.h.

Definition at line 163 of file Linux1394Capture.h.

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 Thu Jun 6 2019 21:46:58