00001 #ifndef _SCENECHANGEDETECTORBASE_H_ 00002 #define _SCENECHANGEDETECTORBASE_H_ 00003 00004 #include "qobject.h" 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 ~SceneChangeDetectorBase() {}; 00014 00015 virtual void processFrame(unsigned char* frame) = 0; 00016 00017 signals: 00018 void haveNewInformation(unsigned int framenum, bool scenechange, 00019 float debugValue = 0.0); 00020 00021 protected: 00022 unsigned int width, height; 00023 }; 00024 00025 #endif 00026 00027 /* vim: set expandtab tabstop=4 shiftwidth=4: */ 00028
1.5.5