CodeVis.com SourceForge.net Logo

CVVidCapture Class Reference

#include <CVVidCapture.h>

Inheritance diagram for CVVidCapture:

CVVidCaptureDSWin32 List of all members.

Detailed Description

CVVidCapture provides the pure interface for derived video capture classses, and also provides some basic functionality for all video capture classes.

You *must* derive a class from it, and cannot simply instantiate it.

To use any CVVidCapture object, instantiated the desired derived type. The ideal way to do this is to go through CVPlatform, like this:
CVVidCapture* vidCap = CVPlatform::GetPlatform()->AcquireVideoCapture();

Call Init() to to initialize the capture library as needed.

Successful initialization, you can call EnumDevices() to enumerate the available video capture devices.

Once you've decided which capture device to use, call Connect() with the desired device name to connect to it. Now you can read and modify any of the camera properties and video modes.

When you're ready to receive images, either call Grab() for a single- shot grab, or setup a callback and call StartImageCap().

If you are using Grab(), be sure to call CVImage::ReleaseImage() on the grabbed image when done.

If you are doing a continuous capture, then the images are automatically released after the callback returns. However, if you want to keep the image around (for example, to place it on a queue for later processing outside of the callback), you may call CVImage::AddRef() on the image and it will not be deleted. Just make sure to call CVImage::ReleaseImage() later when done with that image.

Always check the incoming status code in the callbacks prior to attempting to access the data. If the status code is a failed result, the data is not present!

Call Stop() to end a continuous capture. Do NOT call Stop() from within a callback or it will deadlock. You still need to call Stop() when you're done to clean up even if you've aborted by returning false from the callback.

To clean up, call Disconnect() to disconnect from the device, then Uninit().

Make sure to delete the CVVidCapture object when done. If you used CVPlatform to create it, just call CVPlatform::Release() on the CVVidCapture*, like this:

CVPlatform::GetPlatform()->Release(vidCap);

RCSfile
CVVidCapture.h,v
Date
2004/03/01 18:31:06
Revision
1.7
Author
mikeellison

Definition at line 111 of file CVVidCapture.h.

Public Types

Public Member Functions

Protected Types

Protected Member Functions

Protected Attributes


Member Typedef Documentation

typedef bool(* CVVidCapture::CVVIDCAP_CALLBACK)( CVRES status, CVImage* imagePtr, void* userParam )
 

CVVIDCAP_CALLBACK is the callback definition for continuous captures using the image class.

First, check the status code - if it's a successful status code, (e.g. if CVSUCCESS(status) returns true), then the imagePtr is valid. Otherwise, some sort of error has occurred - most likely, the camera has been disconnected.

imagePtr will be the captured image in the format type requested when the capture was started. It will be released by CVVidCapture when the callback returns - however, you may call AddRef() to add a reference to the image and keep it around outside of the callback if you want - just make sure to free it when done and be aware of memory limitations vs. number of frames captured.

Returning true continues the capture, returning false aborts it. You'll still have to call CVVidCapture::Stop() from another thread (e.g. outside the callback), but no more callbacks will be received after an abort and the processing will halt.

Do NOT call Stop() from within a callback or it will cause a deadlock. Instead, return false from the callback to cause an abort, then call Stop() from your main thread.

Parameters:
status - Status of the capture (CVRES_VIDCAP_OK, CVRES_VIDCAP_CAPTURE_ERROR)
imagePtr - ptr to image containing current frame of status is CVRES_VIDCAP_OK
userParam - user defined value (suggested: this*)
Returns:
bool - true continues capture, false halts it.
See also:
StartImageCap()

Definition at line 149 of file CVVidCapture.h.


Member Enumeration Documentation

enum CVVidCapture::CAMERA_PROPERTY
 

CAMERA_PROPERTY contains the identifiers for camera settings that we can control. These match up with DirectShow's VideoProcAmpProperty enum.

Used with CVVidCapture::GetPropertyInfo(), CVVidCapture::SetProperty(), and CVVidCapture::GetPropertyName().

Later we may want to use these on other platforms, so duplicating it here for now. If you add or remove properties, look for usage of CAMERAPROP_NUMPROPS in child classes and modify as needed.

Also make sure to update kCVVidCapture_Prop_Names at the end of the file when changing this.

See also:
GetPropertyInfo(), SetProperty(), GetPropertyName()
Enumeration values:
CAMERAPROP_BRIGHT 
CAMERAPROP_CONTRAST 
CAMERAPROP_HUE 
CAMERAPROP_SAT 
CAMERAPROP_SHARP 
CAMERAPROP_GAMMA 
CAMERAPROP_COLOR 
CAMERAPROP_WHITEBALANCE 
CAMERAPROP_BACKLIGHT 
CAMERAPROP_GAIN 
CAMERAPROP_NUMPROPS 

Definition at line 169 of file CVVidCapture.h.

Referenced by CVDevGetProperty(), and CVDevSetProperty().

enum CVVidCapture::VIDCAP_STATES [protected]
 

VIDCAP_STATES enumerates the states the video capture may be in or was previously in before being stopped.

Right now this is used to know when we need to reconfigure the capture driver for buffering.

Enumeration values:
VIDCAP_UNCONNECTED 
VIDCAP_SINGLE_SHOT_MODE 
VIDCAP_CONTINUOUS_MODE 

Definition at line 230 of file CVVidCapture.h.


Constructor & Destructor Documentation

CVVidCapture::CVVidCapture  ) 
 

Definition at line 177 of file CVVidCapture.cpp.

References fConnected, fCurMode, fDeviceList, fDeviceName, fInitialized, fLastState, fModeList, fNumDevices, fStarted, and VIDCAP_UNCONNECTED.

CVVidCapture::~CVVidCapture  )  [virtual]
 

Definition at line 193 of file CVVidCapture.cpp.

References ClearDeviceList(), CVTrace, Disconnect(), fConnected, fInitialized, fModeList, fStarted, Stop(), and Uninit().


Member Function Documentation

CVRES CVVidCapture::AddMode VIDCAP_MODE addMode  )  [virtual]
 

AddMode adds a video mode to the list

Parameters:
addMode - Video capture mode to add to internal list
Returns:
CVRES result code
See also:
GetNumSupportedModes(), GetModeInfo(), VIDCAP_MODE

CVRes.h, CVResVidCap.h

Definition at line 533 of file CVVidCapture.cpp.

References CVRES, CVRES_OUT_OF_MEMORY, CVRES_SUCCESS, fModeList, and CVVidCapture::VIDCAP_MODE::NextMode.

void CVVidCapture::ClearDeviceList  )  [virtual]
 

ClearDeviceList() clears the list of available devices, if any. Some platforms may need to override this for cleanup if they store extra info in the VIDCAP_DEVICE struct.

Reimplemented in CVVidCaptureDSWin32.

Definition at line 226 of file CVVidCapture.cpp.

References CVVidCapture::VIDCAP_DEVICE::DeviceString, fDeviceList, fNumDevices, and CVVidCapture::VIDCAP_DEVICE::NextDevice.

Referenced by ~CVVidCapture().

void CVVidCapture::ClearModes  )  [protected, virtual]
 

ClearModes() - clears the mode list. You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

See also:
GetNumSupportedModes(), GetModeInfo(), AddMode()

Reimplemented in CVVidCaptureDSWin32.

Definition at line 514 of file CVVidCapture.cpp.

References fModeList, and CVVidCapture::VIDCAP_MODE::NextMode.

virtual CVRES CVVidCapture::Connect int  devIndex  )  [pure virtual]
 

Init() must be called prior to Connect(). Connect() must set fConnected to true on success.

Parameters:
devIndex - Index of device in device list.
Returns:
CVRES result code.
See also:
RefreshDeviceList(), GetNumDevices(), GetDeviceInfo()

Init(), Disconnect(), CVRes.h, CVResVidCap.h

Implemented in CVVidCaptureDSWin32.

Referenced by CVDevConnect(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), and TestIt().

CVRES CVVidCapture::Disconnect  )  [virtual]
 

Disconnect from a previously connected capture device. Should only be called if a previous CVVidCapture::Connect() was successful.

Must set fConnected to false on success. Must also set fLastState to VIDCAP_UNCONNECTED

Returns:
CVRES result code.
See also:
Connect(), CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 319 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NOT_CONNECTED, fConnected, fLastState, and VIDCAP_UNCONNECTED.

Referenced by CVDevDisconnect(), CVidCapGuiTestDlg::OnDestroy(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), TestIt(), and ~CVVidCapture().

CVRES CVVidCapture::GetCurrentMode VIDCAP_MODE curMode  )  [virtual]
 

GetCurrentMode() retrieves the current or last-used video capture mode.

You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

Parameters:
curMode - set to current mode on return
Returns:
CVRES result code
See also:
GetNumSupportedModes(), GetModeInfo(), SetMode()

VIDCAP_MODE, CVRes.h, CVResVidCap.h

Definition at line 486 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NOT_CONNECTED, fConnected, and fCurMode.

Referenced by TestIt().

CVRES CVVidCapture::GetDeviceInfo int  index,
VIDCAP_DEVICE deviceInfo
[virtual]
 

GetDeviceInfo() retrieves the video capture device info for a specified index from the enumeration.

You must have called Init() previously. If it has been some time since calling init, refresh the device list with RefreshDeviceList() prior to getting the number of devices and device info.

Parameters:
index - index into device list to retrieve information on.
deviceInfo - video capture device information. Set on return.
Returns:
CVRES result code
See also:
VIDCAP_DEVICE, GetNumDevices(), RefreshDeviceList(), Connect()

CVRes.h, CVResVidCap.h

Definition at line 264 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_INVALID_DEVICE_INDEX, CVRES_VIDCAP_NO_DEVICES, CVRES_VIDCAP_NOT_INITIALIZED, fDeviceList, fInitialized, fNumDevices, and CVVidCapture::VIDCAP_DEVICE::NextDevice.

Referenced by CVGetDeviceName(), CVidCapGuiTestDlg::RefreshDevices(), and TestIt().

CVRES CVVidCapture::GetDeviceName char *  nameBuffer,
int &  maxLength
 

GetDeviceName() retrieve the device name into a buffer/ The buffer must already be created.

Parameters:
nameBuffer - buffer to copy device name into
maxLength - maximum length of the nameBuffer, set to the length of the device name on return.
Returns:
CVRES result code
See also:
Connect(), EnumDevices(), CVRes.h, CVResVidCap.h

Definition at line 602 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NAME_BUFFER_TOO_SMALL, and fDeviceName.

Referenced by TestIt().

const char * CVVidCapture::GetFormatModeName VIDCAP_FORMAT  format  ) 
 

GetFormatModeName() retrieves the video format mode name from the enumeration value.

Parameters:
format - video format of camera
Returns:
const char* - ptr to const string describing video format

Definition at line 586 of file CVVidCapture.cpp.

References kVIDCAP_FORMAT_NAMES, and VIDCAP_NUM_FORMATS.

Referenced by CVDevGetFormatName(), CVidCapGuiTestDlg::RefreshModeList(), and TestIt().

CVRES CVVidCapture::GetModeInfo int  index,
VIDCAP_MODE modeInfo
[virtual]
 

GetModeInfo() retrieves the video capture mode for a specified index from the enumeration. You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

Parameters:
index - index into mode list to retrieve information on.
modeInfo - video mode information. Set on return.
Returns:
CVRES result code
See also:
VIDCAP_MODE, GetNumSupportedModes(), SetMode(), GetCurrentMode()

CVRes.h, CVResVidCap.h

Definition at line 428 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_MODE_NOT_SUPPORTED, CVRES_VIDCAP_NOT_CONNECTED, fConnected, fModeList, and CVVidCapture::VIDCAP_MODE::NextMode.

Referenced by CVDevGetModeInfo(), CVidCapGuiTestDlg::RefreshModeList(), and TestIt().

CVRES CVVidCapture::GetNumDevices int &  numDevices  )  [virtual]
 

GetNumDevices() returns the number of devices available.

The device list is build on Init(), and can be refreshed by calling RefreshDeviceList(). It is recommended that RefreshDeviceList() be called each time you enumerate through the devices, as devices may be added or removed.

Parameters:
numDevices - set to total number of available devices
Returns:
CVRES result code
See also:
RefreshDeviceList()

CVRes.h, CVResVidCap.h

Definition at line 248 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NOT_INITIALIZED, fInitialized, and fNumDevices.

Referenced by CVGetNumDevices(), CVidCapGuiTestDlg::RefreshDevices(), and TestIt().

CVRES CVVidCapture::GetNumSupportedModes int &  numModes  )  [virtual]
 

GetNumSupportedModes() retrieves the number of modes available on the currently connected image capture device.

You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

Parameters:
numModes - set to total number of available modes on return
Returns:
CVRES result code
See also:
VIDCAP_MODE, GetModeInfo(), SetMode(), GetCurrentMode()

CVRes.h, CVResVidCap.h

Definition at line 403 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NOT_CONNECTED, fConnected, fModeList, and CVVidCapture::VIDCAP_MODE::NextMode.

Referenced by CVDevGetNumModes(), CVidCapGuiTestDlg::RefreshModeList(), and TestIt().

CVRES CVVidCapture::GetPropertyInfo CAMERA_PROPERTY  property,
long *  curVal = 0,
long *  defVal = 0,
long *  minVal = 0,
long *  maxVal = 0,
long *  step = 0
[virtual]
 

GetPropertyInfo retrieves information about a specific camera property. It may return CVRES_VIDCAP_PROPERTY_NOT_SUPPORTED if the property is not support on the device or in the VidCapture framework.

All pointers may be NULL.

You must have a device connected from a successful call to Connect() to use this function.

Parameters:
property - ID of property (e.g. CAMERAPROP_BRIGHT)
curVal - ptr to receive current value of property.
defVal - ptr to receive default value of property.
minVal - ptr to receive minimum value of property.
maxVal - ptr to receive maximum value of property.
step - ptr to receive the minimum step distance between values.
Returns:
CVRES result code.
See also:
Init(), Connect(), SetProperty(), GetPropertyName()

CAMERA_PROPERTY, CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 353 of file CVVidCapture.cpp.

References CVRES, and CVRES_VIDCAP_PROPERTY_NOT_SUPPORTED.

Referenced by CVDevGetProperty(), CVidCapGuiTestDlg::InitSlider(), and TestIt().

CVRES CVVidCapture::GetPropertyName CAMERA_PROPERTY  property,
char *  nameBuffer,
int  maxLength
[virtual]
 

GetPropertyName() retrieves the name of the specified property. maxLength should be the maximum buffer length including a space for a null - use kCVVidCapture_MaxPropNameLen+1 for your buffer size. Name will be truncated to fit if necessary. You must have a device connected from a successful call to Connect() to use this function.

Parameters:
property - ID of property to retrieve the name of.
nameBuffer - preallocated buffer to hold property name
maxLength - length of the buffer, sans the terminating null.
Returns:
CVRES result code
See also:
GetPropertInfo(), SetProperty(), CAMERA_PROPERTY, Connect()

CVRes.h, CVResVidCap.h

Definition at line 378 of file CVVidCapture.cpp.

References CAMERAPROP_NUMPROPS, CVRES, CVRES_INVALID_PARAMETER, CVRES_SUCCESS, and kCVVidCapture_Prop_Names.

virtual CVRES CVVidCapture::Grab CVImage::CVIMAGE_TYPE  imageType,
CVImage *&  imagePtr
[pure virtual]
 

Grab() is a single shot synchronous grab.

Caller should pass an uninstantiated image ptr and the desired image type. imagePtr will be instantiated with the captured image on success.

Image must be deleted by caller when done by calling CVImage::ReleaseImage().

Parameters:
imageType - type of image to grab
imagePtr - uninstantiated image ptr. Set on return.
Returns:
CVRES result code.
See also:
StartImageCap(), StartRawCap(), Stop(), CVImage

CVRes.h, CVResVidCap.h

Implemented in CVVidCaptureDSWin32.

Referenced by CVDevGrabImage(), and TestIt().

virtual CVRES CVVidCapture::Init  )  [pure virtual]
 

Init must be called first before any other operations. Init() must set the fInitialized member to true on success.

Returns:
CVRES result code.
See also:
CVRes.h, CVResVidCap.h, CVVidCapture::Uninit()

Implemented in CVVidCaptureDSWin32.

Referenced by CVAcquireVidCap(), CVidCapGuiTestDlg::OnInitDialog(), and TestIt().

bool CVVidCapture::IsConnected  ) 
 

IsConnected() returns true if we've connected to a DirectShow compatible capture device.

Returns:
bool - true if connected, false if not.
See also:
Connect(), Disconnect()

Definition at line 574 of file CVVidCapture.cpp.

References fConnected.

Referenced by CVidCapGuiTestDlg::OnDestroy(), CVidCapGuiTestDlg::OnHScroll(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), and CVidCapGuiTestDlg::RefreshModeList().

bool CVVidCapture::IsInitialized  ) 
 

IsInitialized() returns true of the vidCapture class has been initialized.

Returns:
bool - true if initialized, false if not.
See also:
Init(), Uninit()

Definition at line 556 of file CVVidCapture.cpp.

References fInitialized.

Referenced by CVidCapGuiTestDlg::OnDestroy().

bool CVVidCapture::IsStarted  ) 
 

IsStarted() returns true if we're currently doing a continuous grab.

Returns:
bool - true if continuous capture has been started
See also:
StartImageCap(), Stop()

Definition at line 565 of file CVVidCapture.cpp.

References fStarted.

Referenced by CVidCapGuiTestDlg::OnDestroy(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), and CVidCapGuiTestDlg::OnSelchangeModelist().

virtual CVRES CVVidCapture::RefreshDeviceList  )  [pure virtual]
 

RefreshDeviceList() refreshes the list of devices available to VidCapture.

Returns:
CVRES result code

Implemented in CVVidCaptureDSWin32.

Referenced by CVidCapGuiTestDlg::RefreshDevices().

CVRES CVVidCapture::SetMode VIDCAP_MODE newMode  )  [virtual]
 

SetMode - sets the video mode for a connected camera. This version must be overridden in child classes. You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

Parameters:
newMode - new mode to use for connected device.
Returns:
CVRES result code
See also:
GetNumSupportedModes(), GetModeInfo(), GetCurrentMode()

VIDCAP_MODE, CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 502 of file CVVidCapture.cpp.

References CVRES, and CVRES_VIDCAP_MODE_NOT_SUPPORTED.

CVRES CVVidCapture::SetMode int  index  )  [virtual]
 

SetMode() sets the current capture mode to the one in the mode list that matches the specified index. You must have called Connect() already to enumerate the available modes for the connected device before calling this function.

Parameters:
index - index into mode list
Returns:
CVRES result code
See also:
GetNumSupportedModes(), GetModeInfo(), GetCurrentMode()

VIDCAP_MODE, CVRes.h, CVResVidCap.h

Definition at line 458 of file CVVidCapture.cpp.

References CVRES, CVRES_VIDCAP_MODE_NOT_SUPPORTED, CVRES_VIDCAP_NOT_CONNECTED, fConnected, fModeList, and CVVidCapture::VIDCAP_MODE::NextMode.

Referenced by CVDevGrabImage(), CVidCapGuiTestDlg::OnSelchangeModelist(), and TestIt().

CVRES CVVidCapture::SetProperty CAMERA_PROPERTY  property,
long  value
[virtual]
 

SetProperty() sets the specified property to the given value. Use GetPropertyInfo() to get the supported range and resolution of the property in use. You must have a device connected from a successful call to Connect() to use this function.

Parameters:
property - ID of property.
value - new value to set property to. Must be within range.
Returns:
CVRES result code
See also:
Connect(), GetPropertyInfo(), GetPropertyName(), CAMERA_PROPERTY

CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 368 of file CVVidCapture.cpp.

References CVRES, and CVRES_VIDCAP_PROPERTY_NOT_SUPPORTED.

Referenced by CVDevSetProperty(), CVidCapGuiTestDlg::OnSlider(), and TestIt().

virtual CVRES CVVidCapture::StartImageCap CVImage::CVIMAGE_TYPE  imageType,
CVVIDCAP_CALLBACK  callback,
void *  userParam
[pure virtual]
 

StartImageCap() starts continuous image capture until Stop() is called. Both Init() and Connect() must have been successfully called prior to calling StartImageCap().

imageType specifies the image type to return. callback must be a valid CVVIDCAP_CALLBACK callback, and is called for each image. Try not to do heavy processing within the callback.

Must set fStarted to true on success. Must also set fLastState to VIDCAP_CONTINUOUS_MODE

Parameters:
imageType - type of image to send to callback for each frame
callback - callback to be called on each frame
userParam - user defined value passed into callback
Returns:
CVRES result code.
See also:
StartRawCap(), Grab(), Stop(), CVImage

CVRes.h, CVResVidCap.h

Implemented in CVVidCaptureDSWin32.

Referenced by CVDevStartCap(), CVidCapGuiTestDlg::OnSelchangeModelist(), and TestIt().

CVRES CVVidCapture::Stop  )  [virtual]
 

Stop() stops an active image capture started with StartImageCap(). (In derived classes, must stop other forms of continuous capture as well such as CVVidCaptureDSWin32::StartRawCap()).

Do NOT call Stop() from within a callback or it will cause a deadlock. Instead, return false from the callback to cause an abort, then call Stop() from your main thread.

Must set fStarted to false on success.

Returns:
CVRES result code.
See also:
StartImageCapture(), CVVIDCAP_CALLBACK, CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 304 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_ALREADY_STOPPED, and fStarted.

Referenced by CVDevStopCap(), CVidCapGuiTestDlg::OnDestroy(), CVidCapGuiTestDlg::OnSelchangeDevicelist(), CVidCapGuiTestDlg::OnSelchangeModelist(), TestIt(), and ~CVVidCapture().

CVRES CVVidCapture::Uninit  )  [virtual]
 

Uninit object before deletion (matches with CVVidCapture::Init()). Must set fInitialized to false on success.

Returns:
CVRES result code.
See also:
Init(), CVRes.h, CVResVidCap.h

Reimplemented in CVVidCaptureDSWin32.

Definition at line 337 of file CVVidCapture.cpp.

References CVRES, CVRES_SUCCESS, CVRES_VIDCAP_NOT_INITIALIZED, and fInitialized.

Referenced by CVidCapGuiTestDlg::OnDestroy(), TestIt(), and ~CVVidCapture().


Member Data Documentation

bool CVVidCapture::fConnected [protected]
 

Definition at line 631 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::Connect(), CVVidCaptureDSWin32::ConnectGraph(), CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), Disconnect(), CVVidCaptureDSWin32::DisconnectGraph(), GetCurrentMode(), GetModeInfo(), GetNumSupportedModes(), CVVidCaptureDSWin32::Grab(), IsConnected(), SetMode(), CVVidCaptureDSWin32::StartImageCap(), CVVidCaptureDSWin32::StartRawCap(), CVVidCaptureDSWin32::Stop(), CVVidCaptureDSWin32::Uninit(), and ~CVVidCapture().

VIDCAP_MODE CVVidCapture::fCurMode [protected]
 

Definition at line 640 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::ConnectGraph(), CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), GetCurrentMode(), and CVVidCaptureDSWin32::SetMode().

VIDCAP_DEVICE* CVVidCapture::fDeviceList [protected]
 

Definition at line 642 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::ClearDeviceList(), ClearDeviceList(), CVVidCaptureDSWin32::Connect(), CVVidCapture(), GetDeviceInfo(), and CVVidCaptureDSWin32::RefreshDeviceList().

char* CVVidCapture::fDeviceName [protected]
 

Definition at line 637 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::Connect(), CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), and GetDeviceName().

bool CVVidCapture::fInitialized [protected]
 

Definition at line 628 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::Connect(), CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), GetDeviceInfo(), GetNumDevices(), CVVidCaptureDSWin32::Grab(), CVVidCaptureDSWin32::Init(), IsInitialized(), CVVidCaptureDSWin32::RefreshDeviceList(), CVVidCaptureDSWin32::StartImageCap(), CVVidCaptureDSWin32::StartRawCap(), CVVidCaptureDSWin32::Stop(), CVVidCaptureDSWin32::Uninit(), Uninit(), and ~CVVidCapture().

VIDCAP_STATES CVVidCapture::fLastState [protected]
 

Definition at line 645 of file CVVidCapture.h.

Referenced by CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), Disconnect(), CVVidCaptureDSWin32::Grab(), CVVidCaptureDSWin32::StartImageCap(), and CVVidCaptureDSWin32::StartRawCap().

VIDCAP_MODE* CVVidCapture::fModeList [protected]
 

Definition at line 641 of file CVVidCapture.h.

Referenced by AddMode(), CVVidCaptureDSWin32::ClearModes(), ClearModes(), CVVidCapture(), GetModeInfo(), GetNumSupportedModes(), SetMode(), and ~CVVidCapture().

int CVVidCapture::fNumDevices [protected]
 

Definition at line 643 of file CVVidCapture.h.

Referenced by CVVidCaptureDSWin32::ClearDeviceList(), ClearDeviceList(), CVVidCaptureDSWin32::Connect(), CVVidCapture(), GetDeviceInfo(), GetNumDevices(), and CVVidCaptureDSWin32::RefreshDeviceList().

bool CVVidCapture::fStarted [protected]
 

Definition at line 634 of file CVVidCapture.h.

Referenced by CVVidCapture(), CVVidCaptureDSWin32::Disconnect(), CVVidCaptureDSWin32::Grab(), IsStarted(), CVVidCaptureDSWin32::StartImageCap(), CVVidCaptureDSWin32::StartRawCap(), CVVidCaptureDSWin32::Stop(), Stop(), and ~CVVidCapture().


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

Generated on Mon Mar 1 13:27:14 2004 for VidCapture Library by doxygen 1.3.3
CodeVis VidCapture 0.2 Copyright © 2003-2004 by Michael Ellison.