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

#include <QuicktimeCapture.h>

Inheritance diagram for CQuicktimeCapture:
Inheritance graph
[legend]

Public Member Functions

bool CaptureImage (CByteImage **ppImages)
 
void CloseCamera ()
 
 CQuicktimeCapture (VideoMode mode, const char *pComponentName=0)
 
int GetHeight ()
 
int GetNumberOfCameras ()
 
CByteImage::ImageType GetType ()
 
int GetWidth ()
 
bool OpenCamera ()
 
 ~CQuicktimeCapture ()
 
- Public Member Functions inherited from CVideoCaptureInterface
virtual bool SetExposureTime (int nExposureInUS)
 
virtual ~CVideoCaptureInterface ()
 

Private Member Functions

OSErr dataProc (SGChannel c, Ptr p, long length)
 

Static Private Member Functions

static pascal OSErr sDataProc (SGChannel c, Ptr p, long len, long *offset, long chRefCon, TimeValue time, short writeType, long refcon)
 

Private Attributes

SeqGrabComponent grabber
 
GWorldPtr gWorld
 
int height
 
ImageDescriptionHandle imgDesc
 
bool m_bImagePending
 
long m_lImageLength
 
const VideoMode m_mode
 
char * m_pBuffer
 
std::string m_sComponentName
 
Rect srcRect
 
SGChannel videoChannel
 
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 67 of file QuicktimeCapture.h.

Constructor & Destructor Documentation

CQuicktimeCapture::CQuicktimeCapture ( VideoMode  mode,
const char *  pComponentName = 0 
)

Definition at line 57 of file QuicktimeCapture.cpp.

CQuicktimeCapture::~CQuicktimeCapture ( )

Definition at line 76 of file QuicktimeCapture.cpp.

Member Function Documentation

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

Implements CVideoCaptureInterface.

Definition at line 240 of file QuicktimeCapture.cpp.

void CQuicktimeCapture::CloseCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 216 of file QuicktimeCapture.cpp.

OSErr CQuicktimeCapture::dataProc ( SGChannel  c,
Ptr  p,
long  length 
)
private

Definition at line 286 of file QuicktimeCapture.cpp.

int CQuicktimeCapture::GetHeight ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 83 of file QuicktimeCapture.h.

int CQuicktimeCapture::GetNumberOfCameras ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 85 of file QuicktimeCapture.h.

CByteImage::ImageType CQuicktimeCapture::GetType ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 84 of file QuicktimeCapture.h.

int CQuicktimeCapture::GetWidth ( )
inlinevirtual

Implements CVideoCaptureInterface.

Definition at line 82 of file QuicktimeCapture.h.

bool CQuicktimeCapture::OpenCamera ( )
virtual

Implements CVideoCaptureInterface.

Definition at line 86 of file QuicktimeCapture.cpp.

pascal OSErr CQuicktimeCapture::sDataProc ( SGChannel  c,
Ptr  p,
long  len,
long *  offset,
long  chRefCon,
TimeValue  time,
short  writeType,
long  refcon 
)
staticprivate

Definition at line 281 of file QuicktimeCapture.cpp.

Member Data Documentation

SeqGrabComponent CQuicktimeCapture::grabber
private

Definition at line 94 of file QuicktimeCapture.h.

GWorldPtr CQuicktimeCapture::gWorld
private

Definition at line 96 of file QuicktimeCapture.h.

int CQuicktimeCapture::height
private

Definition at line 104 of file QuicktimeCapture.h.

ImageDescriptionHandle CQuicktimeCapture::imgDesc
private

Definition at line 97 of file QuicktimeCapture.h.

bool CQuicktimeCapture::m_bImagePending
private

Definition at line 101 of file QuicktimeCapture.h.

long CQuicktimeCapture::m_lImageLength
private

Definition at line 99 of file QuicktimeCapture.h.

const VideoMode CQuicktimeCapture::m_mode
private

Definition at line 103 of file QuicktimeCapture.h.

char* CQuicktimeCapture::m_pBuffer
private

Definition at line 100 of file QuicktimeCapture.h.

std::string CQuicktimeCapture::m_sComponentName
private

Definition at line 106 of file QuicktimeCapture.h.

Rect CQuicktimeCapture::srcRect
private

Definition at line 107 of file QuicktimeCapture.h.

SGChannel CQuicktimeCapture::videoChannel
private

Definition at line 95 of file QuicktimeCapture.h.

int CQuicktimeCapture::width
private

Definition at line 104 of file QuicktimeCapture.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