45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
#ifndef CAD9434C_3708_4C44_8A9D_2E146CFECEAC
|
|
#define CAD9434C_3708_4C44_8A9D_2E146CFECEAC
|
|
/*
|
|
*******************************************************************************
|
|
* INCLUDE
|
|
*******************************************************************************
|
|
*/
|
|
#include "Component.h"
|
|
#include "CodecID.h"
|
|
#include "ChannelLayout.h"
|
|
#include "CodecProfile.h"
|
|
#include "BitrateControl.h"
|
|
#include "GOPMode.h"
|
|
#include "SampleFormat.h"
|
|
#include "VideoScanMode.h"
|
|
|
|
namespace Video
|
|
{
|
|
namespace Core
|
|
{
|
|
/*
|
|
*******************************************************************************
|
|
* CLASS DECLARE
|
|
*******************************************************************************
|
|
*/
|
|
class VideoComponent: public Component
|
|
{
|
|
public:
|
|
using Ptr = Poco::AutoPtr<VideoComponent>;
|
|
|
|
public:
|
|
VideoComponent(const std::string& name);
|
|
virtual ~VideoComponent();
|
|
virtual void reset() {};
|
|
|
|
public:
|
|
CONFIGURABLE_DECLARE_PARAMETER(Width, uint32_t);
|
|
CONFIGURABLE_DECLARE_PARAMETER(Height, uint32_t);
|
|
CONFIGURABLE_DECLARE_PARAMETER(FrameRate, int);
|
|
CONFIGURABLE_DECLARE_PARAMETER(VideoScanMode, VideoScanMode);
|
|
CONFIGURABLE_DECLARE_PARAMETER(SignalLost, bool);
|
|
};
|
|
}
|
|
}
|
|
#endif
|