整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
45
video/core/VideoComponent.h
Normal file
45
video/core/VideoComponent.h
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue