saa7111.h

来自「driver wdk」· C头文件 代码 · 共 43 行

H
43
字号
//
//File name: saa7111.h
//This file contains interface to control video decoder SAA7111
#ifndef _SAA7111_H
#define _SAA7111_H 
BOOLEAN ReInit7111(PDEVICE_EXTENSION pDE, int nChannel);

//Set and get brightness, contrast, saturation and hue of video output
void SetVideoParameter(PDEVICE_EXTENSION pDE,PAVE2K_VIDEO_PARAMETER pVideoParameter, ULONG nChannel);
void GetVideoParameter(PDEVICE_EXTENSION pDE,PAVE2K_VIDEO_PARAMETER pVideoParameter, ULONG nChannel);
void SetVideoSource(PDEVICE_EXTENSION pDE, ULONG VideoSource, ULONG nChannel);
int GetVideoType(PDEVICE_EXTENSION pDE, int nChannel);
void SetVideoGain(PDEVICE_EXTENSION pDE, ULONG nChannel, ULONG Gain);
//Set video source: CVBS or S-Video
#define VIDEOSOURCE_CVBS		0
#define VIDEOSOURCE_SVIDEO		1

//Get video signal type: NTSC or PAL
#define VIDEOTYPE_UNKNOWN	-1
#define VIDEOTYPE_NONE		0
#define VIDEOTYPE_NTSC		1
#define VIDEOTYPE_PAL		2

//OSD function
void InitOSD(PDEVICE_EXTENSION pDE, int bClear);
ULONG SetOSD(PDEVICE_EXTENSION pDE, int nMode, unsigned char *pName, unsigned char *pHanLib);
int SetMaskWindow(PDEVICE_EXTENSION pDE);
int AdjustOSDOffset(PDEVICE_EXTENSION pDE);

//row 15/column 17
#define OSDEN	0x80
#define BSEN	0x40
#define SHADOW	0x20
#define WENCLR	0x04
#define RAMCLR	0x02

//row 15/column 18
#define FBKGP	0x40
#define DWE		0x10
#define HSP		0x08
#define VSP		0x04

#endif

⌨️ 快捷键说明

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