Add InterFrameVariance module

Now modules support variable number of inputs
This commit is contained in:
jfmcarreira committed 2016-12-20 18:21:33 +00:00
1 parent f42be2c25b
commit 57c81319b2
7 files changed
+184 -12

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ private:
QAction* m_pcModuleAction;
PlaYUVerModuleIf* m_pcModule;
VideoSubWindow* m_pcSubWindow[MAX_NUMBER_FRAMES];
VideoSubWindow* m_pcSubWindow[MODULE_REQUIRES_MAX_NUM_FRAMES];
VideoSubWindow* m_pcDisplaySubWindow;
@@ -93,7 +93,7 @@ public:
QList<VideoSubWindow*> getSubWindowList()
{
QList<VideoSubWindow*> arraySubWindows;
for( Int i = 0; i < MAX_NUMBER_FRAMES; i++ )
for( Int i = 0; i < MODULE_REQUIRES_MAX_NUM_FRAMES; i++ )
if( m_pcSubWindow[i] )
arraySubWindows.append( m_pcSubWindow[i] );
return arraySubWindows;