2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
33 lines
771 B
C++
33 lines
771 B
C++
#ifndef __GDeviceWriter_H__
|
|
#define __GDeviceWriter_H__
|
|
|
|
#include <QObject>
|
|
|
|
#include "../GIOParams.h"
|
|
#include "./SDI/DeckLinkManager.h"
|
|
|
|
class GDeviceWriter : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GDeviceWriter();
|
|
virtual ~GDeviceWriter();
|
|
|
|
void Init(eGDeviceType eDeviceType, const QString& strDeviceName, int nChannel, GFrameFormat varFrameFormat);
|
|
bool Start();
|
|
void Stop();
|
|
bool WriteData(byte* pFrameData);
|
|
private:
|
|
bool m_bInit;
|
|
|
|
// 视频采集相关参数
|
|
eGDeviceType m_eDeviceType;
|
|
QString m_strDeviceName;
|
|
int m_nChannel;
|
|
GFrameFormat m_varFrameFormat;
|
|
|
|
void* m_pOutputCard;
|
|
};
|
|
|
|
#endif // !__GDeviceWriter_H__
|