00001
00002
00003
00004
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