00001 #ifndef _SCENECHANGEDETECTORBASE_H_ 00002 #define _SCENECHANGEDETECTORBASE_H_ 00003 00004 #include <QObject> 00005 00006 class SceneChangeDetectorBase : public QObject 00007 { 00008 Q_OBJECT 00009 00010 public: 00011 SceneChangeDetectorBase(unsigned int w, unsigned int h) : 00012 width(w), height(h) {} 00013 00014 virtual void processFrame(unsigned char *frame) = 0; 00015 00016 signals: 00017 void haveNewInformation(unsigned int framenum, bool scenechange, 00018 float debugValue = 0.0); 00019 00020 protected: 00021 virtual ~SceneChangeDetectorBase() {} 00022 00023 protected: 00024 unsigned int width, height; 00025 }; 00026 00027 #endif 00028 00029 /* vim: set expandtab tabstop=4 shiftwidth=4: */ 00030
1.6.3