Add filter frame lib. initial commit

This commit is contained in:
2014-02-08 22:45:27 +00:00
parent 4513f764a8
commit 65858b2192
6 changed files with 165 additions and 11 deletions
+2
View File
@@ -70,6 +70,8 @@ INCLUDE( cmake/LibFFmpeg.cmake )
# PlaYUVer modules build
######################################################################################
SET( MODULES_DIR ${SRC_DIR}/modules )
FILE( GLOB ModuleCMakeFiles cmake/Module*.cmake )
INCLUDE( ${ModuleCMakeFiles} )
######################################################################################
# Create config.h
+6
View File
@@ -0,0 +1,6 @@
######################################################################################
# Filter frame module
######################################################################################
INCLUDE_DIRECTORIES( ${MODULES_DIR} )
ADD_LIBRARY( ModuleFilterFrame ${MODULES_DIR}/FilterFrame.cpp )
+1 -11
View File
@@ -54,17 +54,7 @@ private:
};
class PlaYUVerModuleIf
{
public:
virtual Void create();
virtual Void process();
virtual Void close();
virtual ~PlaYUVerModuleIf() {}
};
} // NAMESPACE
#endif // __PLAYUVERFRAME_H__
#endif // __MODULESHANDLE_H__
+48
View File
@@ -0,0 +1,48 @@
/* This file is a part of plaYUVer project
* Copyright (C) 2014 by plaYUVer developers
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
* \file FilterFrame.cpp
* \brief Filter frame module
*/
#include <cstdio>
#include "FilterFrame.h"
#include "PlaYUVerFrame.h"
namespace plaYUVer
{
FilterFrame::FilterFrame()
{
}
FilterFrame::~FilterFrame()
{
}
PlaYUVerFrame* process( PlaYUVerFrame* InputFrame )
{
}
} // NAMESPACE
+54
View File
@@ -0,0 +1,54 @@
/* This file is a part of plaYUVer project
* Copyright (C) 2014 by plaYUVer developers
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
* \file FilterFrame.h
* \brief Filter frame module
*/
#ifndef __FILTERFRAME_H__
#define __FILTERFRAME_H__
#include "config.h"
#include <iostream>
#include <cstdio>
#include "TypeDef.h"
#include "PlaYUVerFrame.h"
#include "PlaYUVerModuleIf.h"
namespace plaYUVer
{
class FilterFrame : public PlaYUVerModuleIf
{
public:
FilterFrame();
~FilterFrame();
PlaYUVerFrame* process( PlaYUVerFrame* InputFrame );
private:
};
} // NAMESPACE
#endif // __FILTERFRAME_H__
+54
View File
@@ -0,0 +1,54 @@
/* This file is a part of plaYUVer project
* Copyright (C) 2014 by plaYUVer developers
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
* \file PlaYUVerModuleIf.h
* \brief PlaYUVer modules interface
*/
#ifndef __PLAYUVERMODULESIF_H__
#define __PLAYUVERMODULESIF_H__
#include "config.h"
#include <iostream>
#include <cstdio>
#include "TypeDef.h"
#include "PlaYUVerFrame.h"
namespace plaYUVer
{
class PlaYUVerModuleIf
{
public:
virtual Void create();
virtual Void process();
virtual PlaYUVerFrame* process( PlaYUVerFrame* InputFrame );
virtual Void close();
virtual ~PlaYUVerModuleIf() {}
};
} // NAMESPACE
#endif // __PLAYUVERMODULESIF_H__