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