#include <QuicktimeCapture.h>
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 () | |
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 |
Definition at line 67 of file QuicktimeCapture.h.
CQuicktimeCapture::CQuicktimeCapture | ( | VideoMode | mode, |
const char * | pComponentName = 0 |
||
) |
Definition at line 57 of file QuicktimeCapture.cpp.
Definition at line 76 of file QuicktimeCapture.cpp.
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 | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 83 of file QuicktimeCapture.h.
int CQuicktimeCapture::GetNumberOfCameras | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 85 of file QuicktimeCapture.h.
CByteImage::ImageType CQuicktimeCapture::GetType | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 84 of file QuicktimeCapture.h.
int CQuicktimeCapture::GetWidth | ( | ) | [inline, virtual] |
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 | ||
) | [static, private] |
Definition at line 281 of file QuicktimeCapture.cpp.
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.
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.