LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
videodev.h
Go to the documentation of this file.
1 // LiVES - videodev input
2 // (c) G. Finch 2010 - 2013 <salsaman@gmail.com>
3 // released under the GNU GPL 3 or later
4 // see file COPYING or www.gnu.org for details
5 
6 #ifdef HAVE_UNICAP
7 
8 #include <unicap/unicap.h>
9 
10 typedef struct {
11  unicap_handle_t handle;
12  int fileno;
13  int buffer_type;
14  volatile int buffer_ready;
15  unicap_data_buffer_t buffer1;
16  unicap_data_buffer_t buffer2;
17  int current_palette;
18  int YUV_sampling;
19  int YUV_subspace;
20  int YUV_clamping;
21  boolean is_really_grey;
22 } lives_vdev_t;
23 
24 
25 #define MAX_DEVICES 1024
26 #define MAX_FORMATS 1024
27 
28 void on_open_vdev_activate(LiVESMenuItem *, livespointer);
29 boolean weed_layer_set_from_lvdev(weed_plant_t *layer, lives_clip_t *sfile, double timeoutsecs);
30 void lives_vdev_free(lives_vdev_t *);
31 
32 
33 #endif
34 
corresponds to one clip in the GUI
Definition: main.h:474