Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
VuoQTCapture.mm File Reference

Description

VuoQTCapture implementation.

Classes

class  OnDevicesChangedListener
 A singleton class that listens for changes in available video input devices. More...
 

Functions

static void VuoQTCapture_enableTethering ()
 Enable support for video capture from tethered iOS devices.
 
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 OnDevicesChangedListenerdeviceListener
 A static reference to the OnDevicesChangedListener singleton.
 

Function Documentation

void VuoQTCapture_addOnDevicesChangedCallback ( VuoOutputTrigger(devicesDidChange, VuoList_VuoVideoInputDevice )

Add an output trigger to the OnDevicesChangedListener TriggerSet to be fired when available input devices changes.

static void VuoQTCapture_enableTethering ( )
static

Enable support for video capture from tethered iOS devices.

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.

The returned string has a retain count +1, so the caller should release it.

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).

Variable Documentation

OnDevicesChangedListener* deviceListener
static

A static reference to the OnDevicesChangedListener singleton.