;***********************************************************************
; G2.INI
;***********************************************************************

[VCP]                                         ; section for everyone

;; vcx_dwH323TxVidIoSize          = 2048
;; vcx_dwH323TxRtpVidDataCount    = 24;
;; vcx_dwH323TxRtpVidTriggerCount = 23;
;; vcx_fH323AlertMask             = 0xFFFFFFFF
;; vcx_bH261SendVidRamp           = 0

vcx_dwVidClockFreq 	           = 33 
lib_bH263EncAlignGobSc         = 0
;
; DRAM CONTROL
;
vcx_dwVidDramRefreshXpos   = 0xC00   ; 0xC00 for 2M, 0x400 for 1M 	
vcx_dwVidDramRefreshYpos   = 0x0
vcx_dwVidDramRefreshDelta  = 0x1FF   ; 0x200 - 0x01
vcx_dwVidDramRefreshTime   = 0xE9    ; 256-(clock*ref_period/SQRT(mem_size))/8
vcx_dwVidDramControl       = 0x0       ; 0x355 for 1Meg
                                       ; 0x255 for 2Meg
                                       ; 0x395 for 4Meg
                                       ; 0 for driver controlled

bEncExtraGrabFrame         = 1       ; 0 for 1Meg, 0/1 for 2Meg

dbg_dwDecBuffSize          = 7872      ; HUF_DMA_SIZE*HUF_BUF_MULTIPLIER
dbg_dwEncBuffSize          = 5904      ; HUF_DMA_SIZE*(HUF_BUF_MULTIPLIER+4)
dbg_dwVidScnMargin         = 80        ; what line to start replacing screen 

vcx_bH263Enc               = 0         ;
vcx_bH263Dec               = 0         ;

vcx_colorOsdBg             = 0x66112200 ; 0xYYUUVVxx
vcx_colorOsdFg             = 0x11885500 ; 0xYYUUVVxx
vcx_colorSqcifBorder       = 0x80000000 ; 0xYYUUVVxx

vcx_aoOsdWriteString       = "Hello"   ;
vcx_fVidScnStripeEnable    = 0

vcx_fH261AlertMask         = 0xFFFFFFFF

vcx_dwH261DecPip           = 0        ; 0==off, 1==on
vcx_vVidPipPos[0]:4        = 2
vcx_vVidPipPos[1]:4        = 16

vcx_dwH261EncBitrate            = 262144    ; 256*1024
vcx_dwH261EncCif                = 1
vcx_dwH261EncFrameRateIndexCif  = 2   ; max fps = (30 fps / index)      
vcx_dwH261EncFrameRateIndexQcif = 2   ; max fps = (30 fps / index)      
vcx_dwH261EncMaxQuantCif        = 5  ; 1 - 31 large=fast/poorer quality
vcx_dwH261EncMaxQuantQcif       = 5  ; 1 - 31 large=fast/poorer quality
vcx_dwH261EncRateBuffer         = 0   ; 0==fixed quant, 1==bitrate controlled
vcx_dwH261EncStuffing           = 0   ; 1==enable stuffing at mb level
vcx_dwH261EncTnr                = 0   ; 1==enable noise reduction (1030BB VCP)
vcx_dwH261EncTnrLevel           = 240 ; 0..255 (last frame pel contribution)
vcx_dwH261EncTnrRange           = 10  ; 0..62  (acceptable diff range)
vcx_dwH261IntraTRDiff           = 5   ; 
vcx_wH26xEncThresholdRate       = 100 ; 0..256

vcx_bBchOn                      = 0   ; 0 for no BCH

vcx_dwH261ByteAlignPSC          = 1   ; Add MBS to byte align frames on PSC
;vcx_dwH261EncIFramePeriod      = 0   ; intra frame period setting (setting equal to 0
                                      ; means no forced periodic I frames). 
                                      ; note: not implemented in h26x based ucode yet
 

vcx_dwH261EncIntraRefresh       = 1   ; 1==enable periodic intra blocks
vcx_dwH261EncIntraRefreshForce  = 0   ; 1==for all intra blocks 
vcx_dwH261EncIntraRefreshForcePeriodicCount = 300 ; if != 0, x/30 == keyframe interval in secs
vcx_dwH261EncIntraQuant         = 10  ; Quant for the intra frame
vcx_dwH261EncLimitQuantDiff     = 1   ; G2==1 limit quant diff to +/- 2
vcx_dwH261EncFixQuant           = 1   ; G2==1 use vcx_dwH261EncIntraQuant
vcx_dwH261EncReplaceDCCoeff     = 0   ; G2==0 / H26X==1
vcx_dwTrueNtscHeightCif         = 1   ; G2==1 / H26X==0
vcx_dwTrueNtscHeightQcif        = 0   ; G2==0 / H26X==0
vcx_dwH261EncIntraQuantNext     = 4   ; Quant for the next frame
vcx_dwH261EncUseIntraQuantNext  = 1   ; G2==1 Use vcx_dwH261EncIntraQuantNext var
o1k_dwH263RateControl           = 1   ; G2==1 use G2 control 
o1k_dwH263EncAlwaysUpdateCam	= 1   ; update camera whenever enc is updated

;
; G2 RATE CONTROL
;
; General parameters
o1k_dwH263RateControlMode            = 3
o1k_dwH263RateControlInterval        = 1
o1k_dwH263RateControlUpdateRate      = 3
o1k_dwH263RateControlTargetFramerate = 1500

; Normal Video
o1k_dwH263RateControlFPSThreshold0   = 120
o1k_dwH263RateControlQuantMax0       = 15
o1k_dwH263RateControlQuantMin0       = 4
o1k_dwH263RateControlQuantUpGain0    = 2
o1k_dwH263RateControlQuantDownGain0  = 2

; Smoothest Motion
o1k_dwH263RateControlFPSThreshold1   = 120
o1k_dwH263RateControlQuantMax1       = 25
o1k_dwH263RateControlQuantMin1       = 8
o1k_dwH263RateControlQuantUpGain1    = 5
o1k_dwH263RateControlQuantDownGain1  = 3

; Sharpest Image
o1k_dwH263RateControlFPSThreshold2   = 120
o1k_dwH263RateControlQuantMax2       = 6
o1k_dwH263RateControlQuantMin2       = 4
o1k_dwH263RateControlQuantUpGain2    = 1
o1k_dwH263RateControlQuantDownGain2  = 2

; Slideshow
o1k_dwH263RateControlFPSThreshold3   = 120
o1k_dwH263RateControlQuantMax3       = 4
o1k_dwH263RateControlQuantMin3       = 4
o1k_dwH263RateControlQuantUpGain3    = 0
o1k_dwH263RateControlQuantDownGain3  = 0

; Low Bitrates, Normal & Smoothest
o1k_dwH263RateControlQuantMin28      = 12
o1k_dwH263RateControlQuantMin56      = 10
o1k_dwH263RateControlQuantMin150     = 8

; Low Bitrates, Sharpest
o1k_dwH263RateControlQuantMax28      = 12
o1k_dwH263RateControlQuantMax56      = 10
o1k_dwH263RateControlQuantMax150     = 8

; Low Bitrates, Slideshow
o1k_dwH263RateControlQuantSlide28    = 9
o1k_dwH263RateControlQuantSlide56    = 7
o1k_dwH263RateControlQuantSlide150   = 5

;
; G2 timestamping
;
o1k_dwH263LastTimestampTR = 0
o1k_dwH263TRInterval = 300
o1k_dwH263TenBitTR = 1

;
; AUDIO PARAMS
;   
vcx_h261_audio                  = 1   ; 1/0 : enable/audio
vcx_dwOspreyAudioCheckCount     = 10000

; The variable vcp_swap_endian is for audio and effects the
; endian of PCM-16 audio. A value of 0 provides audio in the
; same format as /dev/audio on a Sun. A value of 1 swaps the
; the bytes of PCM16 and is the endian format for PCs
vcp_swap_endian = 1   

;
; SCREEN
;

vcx_dwVidDispSrc              = 0      ; 0==decode, 1==decode annexD
                                       ; 2==encode, 3==encode ref 
                                       ; 4==encode annexD

; =================================================================
; =================================================================

;***********************************************************************

[VIDIN.NTSC]    ; Settings for NTSC video input source

vcx_dwVideoNTSC       =	1
vcx_dwH261EncNTSC     = 1
vcx_dwH261DecNTSC     = 1

; NTSC CAMERA SETTINGS

vcx_dwVidCamFifoStartUVCif    = 22     ; 8x8: 22
vcx_dwVidCamFifoStartUVQcif   = 11     ; 8x8: 11
vcx_dwVidCamFifoStartYCif     = 44     ; 8x8: 44
vcx_dwVidCamFifoStartYQcif    = 22     ; 8x8: 22
vcx_dwVidCamHstart            = 140    ; 
vcx_dwVidCamHendCif           = 840    ; 
vcx_dwVidCamHendQcif          = 836    ; 
vcx_dwVidCamMode0Cif          = 0x01ed ; 7 tap filter with uv skew
vcx_dwVidCamMode0Qcif         = 0x01ed ; 7 tap filter with uv skew
vcx_dwVidCamRatioCif          = 0x2000
vcx_dwVidCamRatioQcif         = 0x4000
vcx_dwVidCamVstart            = 17
vcx_dwVidCamVend              = 258
vcx_dwVidCamVertirq           = 8

;***********************************************************************

[VIDIN.PAL]    ; Settings for PAL video input source

vcx_dwVideoNTSC       = 0
vcx_dwH261EncNTSC     = 0
vcx_dwH261DecNTSC     = 0

vcx_dwVidCamFifoStartUVCif    = 22     ; 8x8: 22
vcx_dwVidCamFifoStartUVQcif   = 11     ; 8x8: 11
vcx_dwVidCamFifoStartYCif     = 44     ; 8x8: 44
vcx_dwVidCamFifoStartYQcif    = 22     ; 8x8: 22
vcx_dwVidCamHstart            = 154    ; Anything <150 has color problems at left edge
vcx_dwVidCamHendCif           = 854    ; 
vcx_dwVidCamHendQcif          = 850    ; 
vcx_dwVidCamMode0Cif          = 0x11ed ; 3 tap filter with uv skew
vcx_dwVidCamMode0Qcif         = 0x11ed ; 3 tap filter with uv skew
vcx_dwVidCamRatioCif          = 0x2000
vcx_dwVidCamRatioQcif         = 0x4000
vcx_dwVidCamVstart            = 21     ; Anything <16 has junk at top of image
vcx_dwVidCamVend              = 310
vcx_dwVidCamVertirq           = 8

;***********************************************************************

[VIDOUT.PCI]

;
; Video output to PCI defines a video timing window to the VPIC.
; We want CIF to move as CIF and QCIF to move as QCIF. This differs
; from 8x8 in that they always scale up to CIF.
;

vcx_bVidScnPCIYouMe        = 1         ; 1=local, 2=remote, 3=both
;; vcx_bVidUpsideDown      = 0         ; 1==invert image

vcx_dwVidScnCounterCtl        = 0x11
vcx_dwVidScnHsyncWidth        = 2
vcx_dwVidScnInterlaceMode     = 0      ; scn_misc1 == x | 0x400
vcx_dwVidScnMisc0             = 0x18
vcx_dwVidScnOutputcntl        = 0x2180;0x2010

;
; 352/  8==44 4==88 2=176
;
;
; 0x2c48 == (88 << 7) | (144 >> 1)
; 0x1624 == (44 << 7) | (72 >> 1)
;
; 0x1817 == (48 << 7) | (46 >> 1)
; 0x0d0c == (26 << 7) | (24 >> 1)
;
; 0x0b12 == (22 << 7) | (36 >> 1)
; 
; 
vcx_dwVidScnYStartstopCif     = 0x2c48; SCL 0x2c2c ; 8x8: ((88 << 7) | (88 >> 1))   ; ok1 0x2c48
vcx_dwVidScnUVStartstopCif    = 0x1624; SCL 0x1616 ; 8x8: ((44 << 7) | (44 >> 1))   ; o1k 0x1624

vcx_dwVidScnYStartstopQcif    = 0x1648; 0x1624; 0x1817; SCL 0x119b ; 8x8: (35 << 7) | 27            ; ok1 0x1817
vcx_dwVidScnUVStartstopQcif   = 0x0b24; 0x0b12; 0x0d0c; SCL 0x0a13 ; 8x8: (20 << 7) | 19            ; o1k 0x0d0c

vcx_dwVidScnUVWordsizeCif     = 44     ; 8x8: (352 / 8)
vcx_dwVidScnUVWordsizeQcif    = 22     ; 8x8: (176 / 8)
vcx_dwVidScnYWordsizeCif      = 87     ; 8x8: (352 / 4) - 1
vcx_dwVidScnYWordsizeQcif     = 43     ; 8x8: (176 / 4) - 1
vcx_dwVidScnVsyncWidth        = 3      ; 8x8: 3

vcx_dwVidScnIncvalCif         = 0x1000 ; 8x8: 0x800
vcx_dwVidScnIncvalQcif        = 0x1000 ; 8x8: 0x400

vcx_dwVidScnHstart            = 12; 10 
vcx_dwVidScnHend              = 367; 365   ; 10 + 352 834   ; SCL 365
vcx_dwVidScnHblankStart       = 400; 365   ; 8x8: 830
vcx_dwVidScnHblankStop        = 12; 10
vcx_dwVidScnHsyncPeriod       = 820

; vcx_dwVidScnVertsize    is NTSC/PAL dependent
vcx_dwVidScnVstart            =  12; 10
; vcx_dwVidScnVend        is NTSC/PAL dependent  
; vcx_dwVidScnVertirq     is NTSC/PAL dependent  
vcx_dwVidScnVblankStop        =  12; 10
; vcx_dwVidScnVblankStart is NTSC/PAL dependent

; these need to be changed for cif/qcif
vcx_dwVidDmaScaleValue        = 0x90   ;  8x8: 0x90
vcx_dwVidDmaScaleType         = 0      ;  8x8: 0 

; FOR VPIC 3511:
;  SCREEN 1 vcx_dwVidScnVsyncDelayedOdd  == vcx_dwVidScnHsyncPeriod
;  SCREEN2  vcx_dwVidScnVsyncDelayedEven == 1
vcx_dwVidScnVsyncDelayedOdd   = 1   ; 8x8: 858
vcx_dwVidScnVsyncDelayedEven  = 820; 858 ; SCL 410 ; 8x8: 20
vcx_dwVidScnVsyncPeriodOdd    = 820; 1024; 490 ; 8x8: 262
vcx_dwVidScnVsyncPeriodEven   = 820; 1024; 490 ; 8x8: 262

;
; DUAL DISPLAY VARS
; 

;
; GRAB
;
vcx_dwVidScnHendGrab           = 368; 365     ; 
vcx_dwVidScnHblankStartGrab    = 834     ; SCL 365     ;
vcx_dwVidScnIncvalCifGrab      = 0x1000  ;
vcx_dwVidScnIncvalQcifGrab     = 0x1000  ;
vcx_dwVidDmaScaleValueGrabCif  = 0x0x90  ;
vcx_dwVidDmaScaleTypeGrabCif   = 0       ;
vcx_dwVidDmaScaleValueGrabQcif = 0x20    ;
vcx_dwVidDmaScaleTypeGrabQcif  = 0x55    ;

;
; DISPLAY
;
vcx_dwVidScnHendDisp           = 368; 365     ; 
vcx_dwVidScnHblankStartDisp    = 834     ; SCL 365     ;
vcx_dwVidScnIncvalCifDisp      = 0x1000  ;
vcx_dwVidScnIncvalQcifDisp     = 0x1000  ;
vcx_dwVidDmaScaleValueDispCif  = 0x90    ;
vcx_dwVidDmaScaleTypeDispCif   = 0       ;
vcx_dwVidDmaScaleValueDispQcif = 0x20    ;
vcx_dwVidDmaScaleTypeDispQcif  = 0x55    ;

;***********************************************************************

[VIDOUT.PCI.NTSC]   ; Settings for NTSC video out via PCI to host

vcx_dwVidScnVertsize          = 239    ;  8x8: 240 - 1
vcx_dwVidScnVend              = 258    ;  10 == 3, 8x8: 10 + 240 + 1
vcx_dwVidScnVertirq           = 259
vcx_dwVidScnVblankStart       = 259    ; SCL 235 ;  8x8: 11 /* must be >= Vstart */

vcx_dwVidScnVendGrab          = 258
vcx_dwVidScnVblankStartGrab   = 259
vcx_dwVidScnVendDisp          = 258
vcx_dwVidScnVblankStartDisp   = 259

;***********************************************************************

[VIDOUT.PCI.PAL]   ; Settings for PAL video out via PCI to host

vcx_dwVidScnVertsize          = 287    ;  8x8: 288 - 1
vcx_dwVidScnVend              = 310    ;  8x8: 10 + 288 + 1
vcx_dwVidScnVertirq           = 311
vcx_dwVidScnVblankStart       = 311    ;  8x8: 11 /* must be >= Vstart */

vcx_dwVidScnVendGrab          = 310
vcx_dwVidScnVblankStartGrab   = 311
vcx_dwVidScnVendDisp          = 310
vcx_dwVidScnVblankStartDisp   = 311

;***********************************************************************

[VIDOUT.BT]   ; Settings for analog video out via Brooktree D/A

vcx_bVidScnPCIYouMe        = 2         ; 1=local, 2=remote, 3=both
vcx_bVidUpsideDown         = 0         ; 1==invert image

vcx_dwVidScnCounterCtl        = 0x17
vcx_dwVidScnHsyncWidth        = 60
vcx_dwVidScnInterlaceMode     = 0      ; scn_misc1 == x | 0x400
vcx_dwVidScnMisc0             = 0x18
vcx_dwVidScnOutputcntl        = 0x2380
vcx_dwVidScnUVStartstopCif    = 0x1616 ; 8x8: ((44 << 7) | (44 >> 1))
vcx_dwVidScnUVStartstopQcif   = 0x0a13 ; 8x8: (20 << 7) | 19
vcx_dwVidScnUVWordsizeCif     = 44     ; 8x8: (352 / 8)
vcx_dwVidScnUVWordsizeQcif    = 22     ; 8x8: (176 / 8)
vcx_dwVidScnYStartstopCif     = 0x2c2c ; 8x8: ((88 << 7) | (88 >> 1))
vcx_dwVidScnYStartstopQcif    = 0x119b ; 8x8: (35 << 7) | 27
vcx_dwVidScnYWordsizeCif      = 87     ; 8x8: (352 / 4) - 1
vcx_dwVidScnYWordsizeQcif     = 43     ; 8x8: (176 / 4) - 1
vcx_dwVidScnVsyncWidth        = 3      ; 8x8: 3


vcx_dwVidScnIncvalCif         = 0x800
vcx_dwVidScnIncvalQcif        = 0x400


;***********************************************************************

[VIDOUT.BT.NTSC]    ; Settings for analog NTSC out with VCP as sync. master


vcx_dwVidScnHstart            = 131    ;  8x8: 140
vcx_dwVidScnHend              = 834    ;  8x8: 140 + 704 - 1;
vcx_dwVidScnHblankStart       = 833    ;  8x8: 830
vcx_dwVidScnHblankStop        = 134    ;  8x8: 134
vcx_dwVidScnHsyncPeriod       = 858    ;  8x8: 858
vcx_dwVidScnIncvalCif         = 0x800  ;  8x8: 0x800
vcx_dwVidScnIncvalQcif        = 0x400  ;  8x8: 0x400
vcx_dwVidScnVertsize          = 239    ;  8x8: 240 - 1
vcx_dwVidScnVstart            =  10    ;  8x8: 10
vcx_dwVidScnVend              = 251    ;  8x8: 10 + 240 + 1
vcx_dwVidScnVertirq           = 252    ;  8x8: 10+240+1+1 (ScnVend+1)
vcx_dwVidScnVblankStop        =  14    ;  8x8: 11 /* must be >= Vstart */
vcx_dwVidScnVblankStart       = 252    ;  8x8: 11 /* must be >= Vstart */
vcx_dwVidDmaScaleValue        = 0x90   ;  8x8: 0x90
vcx_dwVidDmaScaleType         = 0      ;  8x8: 0 

vcx_dwVidScnVsyncDelayedOdd   = 429    ;  8x8: 858
vcx_dwVidScnVsyncDelayedEven  = 857    ;  8x8: 20 (or 858)
vcx_dwVidScnVsyncPeriodOdd    = 263    ;  8x8: 262
vcx_dwVidScnVsyncPeriodEven   = 262    ;  8x8: 262


;
; DUAL DISPLAY VARS
; 

;
; GRAB
;
vcx_dwVidScnHendGrab          = 834     ; 
vcx_dwVidScnHblankStartGrab   = 833     ;
vcx_dwVidScnVendGrab          = 251     ;
vcx_dwVidScnVblankStartGrab   = 252     ;
vcx_dwVidScnIncvalCifGrab     = 0x800   ;
vcx_dwVidScnIncvalQcifGrab    = 0x400   ;
vcx_dwVidDmaScaleValueGrab    = 0x90    ;
vcx_dwVidDmaScaleTypeGrab     = 0       ;

;
; DISPLAY
;
vcx_dwVidScnHendDisp          = 834     ; 
vcx_dwVidScnHblankStartDisp   = 833     ;
vcx_dwVidScnVendDisp          = 251     ;
vcx_dwVidScnVblankStartDisp   = 252     ;
vcx_dwVidScnIncvalCifDisp     = 0x800   ;
vcx_dwVidScnIncvalQcifDisp    = 0x400   ;
vcx_dwVidDmaScaleValueDisp    = 0x90    ;
vcx_dwVidDmaScaleTypeDisp     = 0       ;

;***********************************************************************

[VIDOUT.BT.PAL]    ; Settings for analog PAL out with VCP as sync. master

vcx_dwVidScnHstart            = 161    ;  8x8: 140
vcx_dwVidScnHend              = 864    ;  8x8: 140 + 704 - 1;
vcx_dwVidScnHblankStart       = 871    ;  8x8: 830
vcx_dwVidScnHblankStop        = 141    ;  8x8: 134
vcx_dwVidScnHsyncPeriod       = 868    ;  8x8: 858
vcx_dwVidScnIncvalCif         = 0x800  ;  8x8: 0x800
vcx_dwVidScnIncvalQcif        = 0x400  ;  8x8: 0x400
vcx_dwVidScnVertsize          = 287    ;  8x8: 240 - 1
vcx_dwVidScnVstart            =  13    ;  8x8: 10
vcx_dwVidScnVend              = 301    ;  8x8: 10 + 240 + 1
vcx_dwVidScnVertirq           = 302    ;  8x8: 10 + 240 + 1 + 1 (ScnVend+1)
vcx_dwVidScnVblankStop        =  14    ;  8x8: 11 /* must be >= Vstart */
vcx_dwVidScnVblankStart       = 301    ;  8x8: 11 /* must be >= Vstart */
vcx_dwVidDmaScaleValue        = 0x90   ;  8x8: 0x90
vcx_dwVidDmaScaleType         = 0      ;  8x8: 0 

vcx_dwVidScnVsyncDelayedOdd   =  20    ;  8x8: 858
vcx_dwVidScnVsyncDelayedEven  =  20    ;  8x8: 20 (or 858)
vcx_dwVidScnVsyncPeriodOdd    = 310    ;  8x8: 262
vcx_dwVidScnVsyncPeriodEven   = 310    ;  8x8: 262

;
; DUAL DISPLAY VARS
; 

;
; GRAB
;
vcx_dwVidScnHendGrab          = 864     ; 
vcx_dwVidScnHblankStartGrab   = 861     ;
vcx_dwVidScnVendGrab          = 301     ;
vcx_dwVidScnVblankStartGrab   = 302     ;
vcx_dwVidScnIncvalCifGrab     = 0x800   ;
vcx_dwVidScnIncvalQcifGrab    = 0x400   ;
vcx_dwVidDmaScaleValueGrab    = 0x90    ;
vcx_dwVidDmaScaleTypeGrab     = 0       ;

;
; DISPLAY
;
vcx_dwVidScnHendDisp          = 864     ; 
vcx_dwVidScnHblankStartDisp   = 861     ;
vcx_dwVidScnVendDisp          = 301     ;
vcx_dwVidScnVblankStartDisp   = 302     ;
vcx_dwVidScnIncvalCifDisp     = 0x800   ;
vcx_dwVidScnIncvalQcifDisp    = 0x400   ;
vcx_dwVidDmaScaleValueDisp    = 0x90    ;
vcx_dwVidDmaScaleTypeDisp     = 0       ;

[STRIPES]

; =================================================================
; =================================================================

;
; STRIPES / ANNEXD
;
vcx_dwVidScnHstartTopStripe      = 134;
vcx_dwVidScnHstartMidStripe      = 140;
vcx_dwVidScnHstartBotStripe      = 134;
vcx_dwVidScnHstartAnnexD         = 140;
vcx_dwVidScnHblankStartTopStripe = 838;
vcx_dwVidScnHblankStartMidStripe = 830;
vcx_dwVidScnHblankStartBotStripe = 838;
vcx_dwVidScnHblankStartAnnexD    = 850;
vcx_dwVidScnHsyncPeriodTopStripe = 858;
vcx_dwVidScnHsyncPeriodMidStripe = 858;
vcx_dwVidScnHsyncPeriodBotStripe = 858;
vcx_dwVidScnHsyncPeriodAnnexD    = 858;
vcx_dwVidScnVertsizeTopStripe    = 239; 240 - 1;
vcx_dwVidScnVertsizeMidStripe    = 239; 240 - 1;
vcx_dwVidScnVertsizeBotStripe    = 239; 240 - 1;
vcx_dwVidScnVertsizeAnnexD       = 239; 240 - 1;
vcx_dwVidScnVstartTopStripe      = 10;
vcx_dwVidScnVstartMidStripe      = 60;
vcx_dwVidScnVstartBotStripe      = 200;
vcx_dwVidScnVstartAnnexD         = 10;
vcx_dwVidScnVblankStopTopStripe  = 11;   
vcx_dwVidScnVblankStopMidStripe  = 60;   
vcx_dwVidScnVblankStopBotStripe  = 201;  
vcx_dwVidScnVblankStopAnnexD     = 16;
vcx_dwVidScnHblankStopTopStripe  = 134;
vcx_dwVidScnHblankStopMidStripe  = 134;
vcx_dwVidScnHblankStopBotStripe  = 134;
vcx_dwVidScnHblankStopAnnexD     = 134;
vcx_dwVidScnVendTopStripe        = 60;
vcx_dwVidScnVendMidStripe        = 251; 10 + 240 + 1;
vcx_dwVidScnVendBotStripe        = 251; 10 + 240 + 1;
vcx_dwVidScnVendAnnexD           = 251; 10 + 240 + 1;
vcx_dwVidScnVblankStartTopStripe = 60;
vcx_dwVidScnVblankStartMidStripe = 252;
vcx_dwVidScnVblankStartBotStripe = 251;
vcx_dwVidScnVblankStartAnnexD    = 260;
vcx_dwVidDmaScaleValueTopStripe  = 0x00;
vcx_dwVidDmaScaleValueMidStripe  = 0x90;
vcx_dwVidDmaScaleValueBotStripe  = 0x00;
vcx_dwVidDmaScaleValueAnnexD     = 0x90;
vcx_dwVidDmaScaleTypeTopStripe   = 0;
vcx_dwVidDmaScaleTypeMidStripe   = 0;
vcx_dwVidDmaScaleTypeBotStripe   = 0;
vcx_dwVidDmaScaleTypeAnnexD      = 0;
