00001 #ifndef INTGPANEL_HPP 00002 #define INTGPANEL_HPP 00003 00004 #include "CamPanel.h" 00005 00006 class CIntgPanel: public CCamPanel 00007 { 00008 Q_OBJECT 00009 private: 00010 CCamPanel *pYUVPanel, *pDiffPanel; 00011 int RefreshCountdown, Refreshes; 00012 00013 void Calculate(int n, void *dst, void *src); 00014 00015 protected slots: 00016 virtual void UpdatePanel(); 00017 00018 public: 00019 CIntgPanel(CCamPanel *yuv_panel, CCamPanel *diff_panel, 00020 const char *name = "intg.yuv", 00021 const char *desc = "YUV Integrator"); 00022 00023 void SetRefresh(int n); 00024 00025 public slots: 00026 }; 00027 00028 #endif