52 lines
1.3 KiB
C++
52 lines
1.3 KiB
C++
#ifndef D5B26384_2A3D_4FBE_95FD_606CBAD0DA82
|
|
#define D5B26384_2A3D_4FBE_95FD_606CBAD0DA82
|
|
/*
|
|
*******************************************************************************
|
|
* INCLUDE
|
|
*******************************************************************************
|
|
*/
|
|
#include "VideoComponent.h"
|
|
#include "GeometryTypes.h"
|
|
#include "util/FactoryManager.h"
|
|
|
|
namespace Video
|
|
{
|
|
namespace Core
|
|
{
|
|
/*
|
|
*******************************************************************************
|
|
* CLASS DEFINE
|
|
*******************************************************************************
|
|
*/
|
|
class VideoProcessorSelector
|
|
{
|
|
public:
|
|
static int select()
|
|
{
|
|
return 0;
|
|
}
|
|
};
|
|
|
|
class VideoProcessor: public VideoComponent, public ::Util::FactoryManager<VideoProcessor, int, VideoProcessorSelector>
|
|
{
|
|
public:
|
|
using Ptr = Poco::AutoPtr<VideoProcessor>;
|
|
|
|
public:
|
|
VideoProcessor(const std::string& name);
|
|
virtual ~VideoProcessor();
|
|
|
|
public:
|
|
CONFIGURABLE_DECLARE_PARAMETER(Rotation, int);
|
|
|
|
CONFIGURABLE_DECLARE_PARAMETER(Crop, Rect);
|
|
|
|
CONFIGURABLE_DECLARE_PARAMETER(Mirror, bool);
|
|
|
|
CONFIGURABLE_DECLARE_PARAMETER(Flip, bool);
|
|
|
|
CONFIGURABLE_DECLARE_PARAMETER(VideoDirection, int);
|
|
};
|
|
}
|
|
}
|
|
#endif
|