整理代码

This commit is contained in:
蒲爽 2026-09-28 21:33:04 +08:00
commit c7b4e178ec
364 changed files with 59691 additions and 0 deletions

View file

@ -0,0 +1,52 @@
#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