global.h

来自「视频采集卡」· C头文件 代码 · 共 59 行

H
59
字号
#ifndef SAA7134_DEMO_GLOBAL
#define SAA7134_DEMO_GLOBAL

extern "C"
{
#include "sa7134Capture.h"
}

typedef struct OSD_INFO
{
	OSDPARAM	OSDParam;
	BOOL		cfEnableOSD;
	TCHAR		cfText[256];
	BOOL		cfTransparent;
	POINT		cfTopLeft;
}OSD_Info;

typedef struct DEVICE_INFO
{
	HWND			hWnd;
	BOOL			bOpen;
	BOOL			bDbClick;
	BOOL			bCapStart;
	DWORD			dwCard;
	DWORD			dwCapTime;
	DWORD			dwRealFrameRate;
	DWORD			dwFileNum;
	char			strCapDir[261];
	DWORD			dwDispWidth;
	DWORD			dwDispHeight;
	DWORD			dwDispPosX;
	DWORD			dwDispPosY;
	DWORD			dwCapHeight;
	DWORD			dwCapWeight;
	DWORD			dwFrameRate;
	DWORD			dwSwitchFreq;
	DWORD			dwBitRate;
	DWORD			dwKeyFrmInterval;
	CAPMODEL		enVidCapModel;
	MP4MODEL		enVidMpegModel;
	CAPMODEL		enAudCapModel;
	MP4MODEL		enAudMpegModel;
	DWORD			dwSharpness;
	DWORD			dwSaturation;
	DWORD			dwHue;
	DWORD			dwContrast;
	DWORD			dwBrightness;
	BOOL			bNetTrans;
	BOOL			bFrameRateReduction;
	BOOL			bMotionDetect;
	BOOL			bAudioOut;
	OSD_Info		stuOSDPARAM[2];
//	BOOL			bIOLowLevelIn;
//	BOOL			bFirstIoAlert;
}Device_Info;

const DWORD dwBackColor = RGB( 255, 255, 255 );
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?