Vuo
1.1.1
|
VuoQTCapture implementation.
Classes | |
class | OnDevicesChangedListener |
A singleton class that listens for changes in available video input devices. More... | |
Functions | |
void | VuoQTCapture_removeOnDevicesChangedCallback (VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice)) |
Remove an output trigger from the OnDevicesChangedListener TriggerSet. | |
void | VuoQTCapture_addOnDevicesChangedCallback (VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice)) |
Add an output trigger to the OnDevicesChangedListener TriggerSet to be fired when available input devices changes. | |
NSString * | VuoQTCapture_getVendorNameForUniqueID (NSString *uniqueID) |
Given a uniqueID string (e.g., 0x1a11000005ac8510 , from -[QTCaptureDevice uniqueID] ), searches the IORegistry to find a matching FireWire or USB device, and returns the Vendor Name string. | |
VuoList_VuoVideoInputDevice | VuoQTCapture_getInputDevices (void) |
Returns a list of all available video capture devices. | |
void | VuoQTCapture_free (VuoQTCapture movie) |
Forward declaration of destructor method. | |
VuoQTCapture | VuoQTCapture_make (VuoVideoInputDevice inputDevice, VuoOutputTrigger(receivedFrame, VuoVideoFrame)) |
Creates a new VuoQTCapture instance for receiving video frames from inputDevice . | |
void | VuoQtCapture_setInputDevice (VuoQTCapture movie, VuoVideoInputDevice inputDevice) |
Change the device input. | |
void | VuoQTCapture_startListening (VuoQTCapture movie) |
Begins receiving frames. | |
void | VuoQTCapture_stopListening (VuoQTCapture movie) |
Stops receiving frames (starts ignoring/dropping them). | |
VuoBoolean | VuoQTCapture_isInitialized (VuoQTCapture movie) |
Returns true if QT has been initialized, false otherwise. | |
void | VuoQTCapture_setCallback (VuoQTCapture movie, VuoOutputTrigger(receivedFrame, VuoVideoFrame)) |
Set the image callback. | |
Variables | |
static OnDevicesChangedListener * | deviceListener |
A static reference to the OnDevicesChangedListener singleton. | |
void VuoQTCapture_addOnDevicesChangedCallback | ( | VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice) | ) |
Add an output trigger to the OnDevicesChangedListener TriggerSet to be fired when available input devices changes.
void VuoQTCapture_free | ( | VuoQTCapture | movie | ) |
Forward declaration of destructor method.
Destructor.
VuoList_VuoVideoInputDevice VuoQTCapture_getInputDevices | ( | void | ) |
Returns a list of all available video capture devices.
Return the available input devices at this moment.
NSString * VuoQTCapture_getVendorNameForUniqueID | ( | NSString * | uniqueID | ) |
Given a uniqueID
string (e.g., 0x1a11000005ac8510
, from -[QTCaptureDevice uniqueID]
), searches the IORegistry to find a matching FireWire or USB device, and returns the Vendor Name string.
VuoBoolean VuoQTCapture_isInitialized | ( | VuoQTCapture | movie | ) |
Returns true if QT has been initialized, false otherwise.
Did VuoQTCapture_make() initialize the capture session properly?
VuoQTCapture VuoQTCapture_make | ( | VuoVideoInputDevice | inputDevice, |
VuoOutputTrigger(receivedFrame, VuoVideoFrame) | |||
) |
Creates a new VuoQTCapture instance for receiving video frames from inputDevice
.
Create a new VuoQTCapture device.
void VuoQTCapture_removeOnDevicesChangedCallback | ( | VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice) | ) |
Remove an output trigger from the OnDevicesChangedListener TriggerSet.
void VuoQTCapture_setCallback | ( | VuoQTCapture | movie, |
VuoOutputTrigger(receivedFrame, VuoVideoFrame) | |||
) |
Set the image callback.
void VuoQtCapture_setInputDevice | ( | VuoQTCapture | movie, |
VuoVideoInputDevice | inputDevice | ||
) |
Change the device input.
void VuoQTCapture_startListening | ( | VuoQTCapture | movie | ) |
Begins receiving frames.
Begin listening for video frames on the selected input device.
void VuoQTCapture_stopListening | ( | VuoQTCapture | movie | ) |
Stops receiving frames (starts ignoring/dropping them).
|
static |
A static reference to the OnDevicesChangedListener singleton.