新增TC4000视频卡测试
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
#ifndef VIDEOCARD_COMMON_DEFINE_H
|
||||
#define VIDEOCARD_COMMON_DEFINE_H
|
||||
|
||||
#define MIN_VAMP_BRIGHTNESS_UNITS 0
|
||||
#define MAX_VAMP_BRIGHTNESS_UNITS 255
|
||||
|
||||
#define MIN_VAMP_CONTRAST_UNITS -128
|
||||
#define MAX_VAMP_CONTRAST_UNITS 127
|
||||
|
||||
#define MIN_VAMP_HUE_UNITS -128
|
||||
#define MAX_VAMP_HUE_UNITS 127
|
||||
|
||||
#define MIN_VAMP_SATURATION_UNITS -128
|
||||
#define MAX_VAMP_SATURATION_UNITS 127
|
||||
|
||||
#define MIN_VAMP_SHARPNESS_UNITS -8
|
||||
#define MAX_VAMP_SHARPNESS_UNITS 7
|
||||
|
||||
|
||||
//视频制式
|
||||
typedef enum
|
||||
{
|
||||
VideoStandard_None = 0x00000000,
|
||||
VideoStandard_NTSC_M = 0x00000001,
|
||||
VideoStandard_NTSC_M_J = 0x00000002,
|
||||
VideoStandard_NTSC_433 = 0x00000004,
|
||||
VideoStandard_PAL_B = 0x00000010,
|
||||
VideoStandard_PAL_D = 0x00000020,
|
||||
VideoStandard_PAL_H = 0x00000080,
|
||||
VideoStandard_PAL_I = 0x00000100,
|
||||
VideoStandard_PAL_M = 0x00000200,
|
||||
VideoStandard_PAL_N = 0x00000400,
|
||||
VideoStandard_PAL_60 = 0x00000800,
|
||||
VideoStandard_SECAM_B = 0x00001000,
|
||||
VideoStandard_SECAM_D = 0x00002000,
|
||||
VideoStandard_SECAM_G = 0x00004000,
|
||||
VideoStandard_SECAM_H = 0x00008000,
|
||||
VideoStandard_SECAM_K = 0x00010000,
|
||||
VideoStandard_SECAM_K1 = 0x00020000,
|
||||
VideoStandard_SECAM_L = 0x00040000,
|
||||
VideoStandard_SECAM_L1 = 0x00080000,
|
||||
} VideoStandard;
|
||||
|
||||
typedef enum
|
||||
{ //@enum Field frequency
|
||||
FIELD_FREQ_50HZ = 0, //@emem source is 50 Hz (PAL)
|
||||
FIELD_FREQ_60HZ = 1, //@emem source is 60 Hz (NTSC)
|
||||
FIELD_FREQ_0HZ = 2, //@emem source is 0 Hz (NO SIGNL)
|
||||
FIELD_FREQ_50HZ_NULL = 3,
|
||||
FIELD_FREQ_60HZ_NULL = 4
|
||||
}eFieldFrequency;
|
||||
|
||||
typedef enum { //@enum Decoder control types
|
||||
BRIGHTNESS = 0, //@emem control for brightness
|
||||
CONTRAST = 1, //@emem control for contrast
|
||||
SATURATION = 2, //@emem control for saturation
|
||||
HUE = 3, //@emem control for hue
|
||||
SHARPNESS = 4 //@emem control for sharpness
|
||||
}COLORCONTROL;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
LONG cfHeight; //字符高度
|
||||
LONG cfWidth; //字符宽度
|
||||
LONG cfWeight; //字符粗细
|
||||
LONG cfSpacing; //字符间距
|
||||
BOOL cfItalic; //斜体
|
||||
BOOL cfUnderline; //下划线
|
||||
BOOL cfStrikeOut; //删除线
|
||||
BOOL bTransparent; //透明
|
||||
COLORREF cfBkColor; //背景色
|
||||
COLORREF cfTextColor; //前景色
|
||||
TCHAR cfFaceName[32]; //字体名
|
||||
|
||||
}OSDPARAM;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user