Init the version 2 of module API. The process functions include a std vector and the create function signals if the module can be created with the chosen inputs

This commit is contained in:
jfmcarreira committed 2015-04-06 00:01:20 +01:00
1 parent 551b5d617d
commit 4508dcb178
10 files changed
+162 -70

No files matched your search

+3 -3
View File
@@ -34,7 +34,7 @@ namespace plaYUVer
class AbsoluteFrameDifference: public PlaYUVerModuleIf
{
REGISTER_CLASS_FACTORY( AbsoluteFrameDifference )
REGISTER_CLASS_FACTORY( AbsoluteFrameDifference )
private:
PlaYUVerFrame* m_pcFrameDifference;
@@ -44,8 +44,8 @@ public:
virtual ~AbsoluteFrameDifference()
{
}
Void create( PlaYUVerFrame* Input );
PlaYUVerFrame* process( PlaYUVerFrame* Input1, PlaYUVerFrame* Input2 );
Bool create( std::vector<PlaYUVerFrame*> apcFrameList );
PlaYUVerFrame* process( std::vector<PlaYUVerFrame*> apcFrameList );
Void destroy();
};