blob: 08fb91798a6aa26013accfd7fb8943bcba38b489 [file] [log] [blame]
Sjoerd Mullender099d9231992-08-04 13:47:11 +00001NTSC_XMAX = 640
2NTSC_YMAX = 480
3PAL_XMAX = 768
4PAL_YMAX = 576
Sjoerd Mullenderda3eee91992-09-03 13:08:04 +00005BLANKING_BUFFER_SIZE = 2
Sjoerd Mullender099d9231992-08-04 13:47:11 +00006
7MAX_SOURCES = 2
8
9# mode parameter for Bind calls
10IN_OFF = 0 # No Video
11IN_OVER = 1 # Video over graphics
12IN_UNDER = 2 # Video under graphics
13IN_REPLACE = 3 # Video replaces entire win
14
15# mode parameters for LoadMap calls. Specifies buffer, always 256 entries
16INPUT_COLORMAP = 0 # tuples of 8-bit RGB
17CHROMA_KEY_MAP = 1 # tuples of 8-bit RGB
18COLOR_SPACE_MAP = 2 # tuples of 8-bit RGB
19GAMMA_MAP = 3 # tuples of 24-bit red values
20
21# mode parameters for UseExclusive calls
22INPUT = 0
23OUTPUT = 1
24IN_OUT = 2
25
Sjoerd Mullenderda3eee91992-09-03 13:08:04 +000026# Format constants for the capture routines
27RGB8_FRAMES = 0 # noninterleaved 8 bit 3:2:3 RBG fields
28RGB32_FRAMES = 1 # 32-bit 8:8:8 RGB frames
29YUV411_FRAMES = 2 # interleaved, 8:2:2 YUV format
30YUV411_FRAMES_AND_BLANKING_BUFFER = 3
Sjoerd Mullender099d9231992-08-04 13:47:11 +000031
32#
33# sv.SetParam is passed variable length argument lists,
34# consisting of <name, value> pairs. The following
35# constants identify argument names.
36#
37_NAME_BASE = 1000
38SOURCE = (_NAME_BASE + 0)
Sjoerd Mullenderda3eee91992-09-03 13:08:04 +000039SOURCE1 = 0
40SOURCE2 = 1
41SOURCE3 = 2
Sjoerd Mullender099d9231992-08-04 13:47:11 +000042COLOR = (_NAME_BASE + 1)
43DEFAULT_COLOR = 0
44USER_COLOR = 1
45MONO = 2
46OUTPUTMODE = (_NAME_BASE + 2)
47LIVE_OUTPUT = 0
48STILL24_OUT = 1
49FREEZE = (_NAME_BASE + 3)
50DITHER = (_NAME_BASE + 4)
51OUTPUT_FILTER = (_NAME_BASE + 5)
52HUE = (_NAME_BASE + 6)
53GENLOCK = (_NAME_BASE + 7)
54GENLOCK_OFF = 0
55GENLOCK_ON = 1
56GENLOCK_HOUSE = 2
57BROADCAST = (_NAME_BASE + 8)
58NTSC = 0
59PAL = 1
60VIDEO_MODE = (_NAME_BASE + 9)
61COMP = 0
62SVIDEO = 1
63INPUT_BYPASS = (_NAME_BASE + 10)
64FIELDDROP = (_NAME_BASE + 11)
65SLAVE = (_NAME_BASE + 12)
66APERTURE_FACTOR = (_NAME_BASE + 13)
67AFACTOR_0 = 0
68AFACTOR_QTR = 1
69AFACTOR_HLF = 2
70AFACTOR_ONE = 3
71CORING = (_NAME_BASE + 14)
72COR_OFF = 0
73COR_1LSB = 1
74COR_2LSB = 2
75COR_3LSB = 3
76APERTURE_BANDPASS = (_NAME_BASE + 15)
77ABAND_F0 = 0
78ABAND_F1 = 1
79ABAND_F2 = 2
80ABAND_F3 = 3
81PREFILTER = (_NAME_BASE + 16)
82CHROMA_TRAP = (_NAME_BASE + 17)
83CK_THRESHOLD = (_NAME_BASE + 18)
84PAL_SENSITIVITY = (_NAME_BASE + 19)
85GAIN_CONTROL = (_NAME_BASE + 20)
86GAIN_SLOW = 0
87GAIN_MEDIUM = 1
88GAIN_FAST = 2
89GAIN_FROZEN = 3
90AUTO_CKILL = (_NAME_BASE + 21)
91VTR_MODE = (_NAME_BASE + 22)
92VTR_INPUT = 0
93CAMERA_INPUT = 1
94LUMA_DELAY = (_NAME_BASE + 23)
95VNOISE = (_NAME_BASE + 24)
96VNOISE_NORMAL = 0
97VNOISE_SEARCH = 1
98VNOISE_AUTO = 2
99VNOISE_BYPASS = 3
100CHCV_PAL = (_NAME_BASE + 25)
101CHCV_NTSC = (_NAME_BASE + 26)
102CCIR_LEVELS = (_NAME_BASE + 27)
103STD_CHROMA = (_NAME_BASE + 28)
104DENC_VTBYPASS = (_NAME_BASE + 29)
105FAST_TIMECONSTANT = (_NAME_BASE + 30)
106GENLOCK_DELAY = (_NAME_BASE + 31)
107PHASE_SYNC = (_NAME_BASE + 32)
108VIDEO_OUTPUT = (_NAME_BASE + 33)
109CHROMA_PHASEOUT = (_NAME_BASE + 34)
110CHROMA_CENTER = (_NAME_BASE + 35)
111YUV_TO_RGB_INVERT = (_NAME_BASE + 36)
Sjoerd Mullenderda3eee91992-09-03 13:08:04 +0000112SOURCE1_BROADCAST = (_NAME_BASE + 37)
113SOURCE1_MODE = (_NAME_BASE + 38)
114SOURCE2_BROADCAST = (_NAME_BASE + 39)
115SOURCE2_MODE = (_NAME_BASE + 40)
116SOURCE3_BROADCAST = (_NAME_BASE + 41)
117SOURCE3_MODE = (_NAME_BASE + 42)
Sjoerd Mullender099d9231992-08-04 13:47:11 +0000118SIGNAL_STD = (_NAME_BASE + 43)
119NOSIGNAL = 2
120SIGNAL_COLOR = (_NAME_BASE + 44)