00001 #ifndef VDEVICEV4L2JPEG_H 00002 #define VDEVICEV4L2JPEG_H 00003 00004 00005 #ifdef HAVE_CONFIG_H 00006 #include "config.h" 00007 #endif 00008 #ifdef HAVE_VIDEO4LINUX2 00009 #include "condition.inc" 00010 #include "mutex.inc" 00011 #include "vdevicebase.h" 00012 #include <linux/types.h> 00013 #include <linux/videodev2.h> 00014 #include "videodevice.inc" 00015 #include "vdevicev4l2jpeg.inc" 00016 #include "vdevicev4l2.inc" 00017 00018 00019 00020 class VDeviceV4L2JPEG : public VDeviceBase 00021 { 00022 public: 00023 VDeviceV4L2JPEG(VideoDevice *device); 00024 ~VDeviceV4L2JPEG(); 00025 00026 int initialize(); 00027 int open_input(); 00028 int close_all(); 00029 int get_best_colormodel(Asset *asset); 00030 int read_buffer(VFrame *frame); 00031 00032 VDeviceV4L2Thread *thread; 00033 }; 00034 00035 #endif 00036 #endif 00037 00038
1.5.5