LiVES 1.3.11-svn
|
00001 // LiVES - videodev input 00002 // (c) G. Finch 2010 <salsaman@xs4all.nl> 00003 // released under the GNU GPL 3 or later 00004 // see file COPYING or www.gnu.org for details 00005 00006 #ifdef HAVE_UNICAP 00007 00008 #include <unicap/unicap.h> 00009 00010 typedef struct { 00011 unicap_handle_t handle; 00012 int fileno; 00013 int buffer_type; 00014 volatile int buffer_ready; 00015 unicap_data_buffer_t buffer1; 00016 unicap_data_buffer_t buffer2; 00017 int current_palette; 00018 int YUV_sampling; 00019 int YUV_subspace; 00020 int YUV_clamping; 00021 gboolean is_really_grey; 00022 } lives_vdev_t; 00023 00024 00025 #define MAX_DEVICES 1024 00026 #define MAX_FORMATS 1024 00027 00028 void on_open_vdev_activate (GtkMenuItem *, gpointer); 00029 gboolean weed_layer_set_from_lvdev (weed_plant_t *layer, file *sfile, gdouble timeoutsecs); 00030 void lives_vdev_free(lives_vdev_t *); 00031 00032 00033 #endif 00034