source: trunk/essentials/dev-lang/python/Lib/plat-irix6/SV.py@ 3314

Last change on this file since 3314 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 3.1 KB
Line 
1NTSC_XMAX = 640
2NTSC_YMAX = 480
3PAL_XMAX = 768
4PAL_YMAX = 576
5BLANKING_BUFFER_SIZE = 2
6
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
26# 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
31
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)
39SOURCE1 = 0
40SOURCE2 = 1
41SOURCE3 = 2
42COLOR = (_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