Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / vdevicev4l2jpeg.h
blob0efcb5bcfca51ca6eade2ef102f91fd86385594c
1 #ifndef VDEVICEV4L2JPEG_H
2 #define VDEVICEV4L2JPEG_H
5 #ifdef HAVE_CONFIG_H
6 #include "config.h"
7 #endif
8 #ifdef HAVE_VIDEO4LINUX2
9 #include "condition.inc"
10 #include "mutex.inc"
11 #include "vdevicebase.h"
12 #include <linux/types.h>
13 #include <linux/videodev2.h>
14 #include "videodevice.inc"
15 #include "vdevicev4l2jpeg.inc"
16 #include "vdevicev4l2.inc"
20 class VDeviceV4L2JPEG : public VDeviceBase
22 public:
23 VDeviceV4L2JPEG(VideoDevice *device);
24 ~VDeviceV4L2JPEG();
26 int initialize();
27 int open_input();
28 int close_all();
29 int get_best_colormodel(Asset_GC asset);
30 int read_buffer(VFrame *frame);
32 VDeviceV4L2Thread *thread;
35 #endif
36 #endif
40 // Local Variables:
41 // mode: C++
42 // c-file-style: "linux"
43 // End: