Improve modules code and add a requirements variable
This commit is contained in:
1 parent
61ad53a23a
commit
945d0334c1
5 files changed
+32
-26
No files matched your search
@@ -36,12 +36,13 @@ static PlaYUVerModuleDefinition FrameDifferenceDef =
|
||||
"Measurements",
|
||||
"FrameDifference",
|
||||
"Measure the difference between two images (Y plane)",
|
||||
true, };
|
||||
MODULE_REQUIRES_TWOFRAMES | MODULE_REQUIRES_NEW_WINDOW,
|
||||
};
|
||||
|
||||
FrameDifference::FrameDifference()
|
||||
{
|
||||
m_pcFrameDifference = NULL;
|
||||
m_cModuleDef = FrameDifferenceDef;
|
||||
setModuleDefinition( FrameDifferenceDef );
|
||||
}
|
||||
|
||||
Void FrameDifference::create( PlaYUVerFrame* Input )
|
||||
|
||||
Reference in new issue
Block a user