SourceForge RSS feed   

unicap
 unicap_open  
 unicap_close  
 unicap_clone_handle  
 unicap_reenumerate_devices  
 unicap_enumerate_devices  
 unicap_get_device  
 unicap_reenumerate_formats  
 unicap_enumerate_formats  
 unicap_set_format  
 unicap_get_format  
 unicap_reenumerate_properties  
 unicap_enumerate_property  
 unicap_get_property  
 unicap_set_property  
 unicap_start_capture  
 unicap_stop_capture  
 unicap_queue_buffer  
 unicap_dequeue_buffer  
 unicap_wait_buffer  
 unicap_poll_buffer  
 unicap_void_device  
 unicap_void_format  
 unicap_void_property  
 unicap_lock_stream  
 unicap_unlock_stream  
 unicap_lock_properties  
 unicap_unlock_properties  
 unicap_device_t  
 unicap_property_t  
 unicap_format_t  
 unicap_data_buffer_t  
 unicap_rect_t  
 unicap_buffer_type_t  
 unicap_property_range_t  
 unicap_property_menu_t  
 unicap_property_value_list_t  
 unicap_property_type_enum_t  
 unicap_handle_t  
unicapgtk

 

unicap_status_t unicap_lock_stream ( unicap_handle_t handle );

Reserves exclusive access to the image stream of this device. When a device stream is locked, stream functions like unicap_queue_buffer and unicap_set_format may only be called with the handle that gathered the lock.

The lock works for all processes on the system but it is not guarranteed to work for processes running on remote computers ( eg. a lock aquired for a FireWire camera on one system is not seen by an application running on another computer on the same FireWire bus ).

handle :