Helper functions to easily incorporate uvcc into QT-kit projects.
CFStringRef uvccCamQTUniqueID |
( |
uvccCam * |
cam | ) |
|
The QT-kit unique id of the cam, as [QTCaptureDevice uniqueID]. Note that returned CFStringRef (NSString*) must be released.
- Parameters
-
- Returns
- CFStringRef to id or NULL on error
int uvccGetCamWithQTUniqueID |
( |
CFStringRef |
uId, |
|
|
uvccCam ** |
cam |
|
) |
| |
Get cam with QT-kit unique id. Cam needs to be released by uvccReleaseCam().
- Parameters
-
uId | QT-kit id |
cam | cam pointer to set |
- Returns
- 0 on success != 0 otherwise