r1014: Enable horizontal scrolling with the mouse wheel by pressing Ctrl.
[cinelerra_cv/ct.git] / cinelerra / vdevicev4l2jpeg.h
blob5b01378e4db7b692e85fa55ad29ab39d774d68da
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 *asset);
30 int read_buffer(VFrame *frame);
32 VDeviceV4L2Thread *thread;
35 #endif
36 #endif