[VCP]
stream  0x4102 = evpcode.2

;
; Encoder
;
vcx_dwMpgEncBitRate             =       2000000 ;Target bitrate
vcx_dwMpgEncMaxFrames           =       0x7FFFFFFF     ;Numbers of frames to encode
vcx_dwMpgEncMaxQuant            =       31      ;Max. Quant value allowed
vcx_dwMpgEncStateReq            =       2       ;Encoder state: 0 = NULL, 
						                        ;1 = IDLE, 2 = RUNNING
vcx_dwMpgEncTnr                 =       0       ;Temporal filter switch
vcx_dwMpgEncTnrRange            =       12      ;TNR control variable: 0 - 62
vcx_dwMpgEncTnrLevel            =       240     ;TNR control variable: 0 - 255
vcx_dwMpgEncRateBuffer          =       1       ;Rate buffering switch
vcx_dwMpgEncConstQuant          =       10       ;Quant value used only if 
					                        	;ratebuf is turned off
vcx_dwMpgEncRecon               =       0       ;Reconstructed image display
					                        	;switch.  Recommended to turn 
					                          	;off for high bitrates( > 5Mbps)
vcx_dwMpgEncPciBus              =       1       ;Switch to distinguish between
					                        	;PCI and ISA
vcx_dwMpgEncDumpDram            =       0       ;Switch to turn on raw image
					                        	;transfer from VCP to disk.
					                        	;encoder has to be in idle state
					                        	;NOTE: NOT WORKING YET!
vcx_dwMpgEncDumpDramPictNum     =       10      ;Number of images to transfer
vcx_dwMpgEncRefTime             =       0xc7    ;Dram refresh interval
vcx_dwMpgEncDramControl         =       0x355   ;Dram config (0x355/0x255 1/2 Megs)

vcx_dwMpgBuffSize               =       81920   ; multiples of 8K

;
; Camera
;
vcx_dwMpgEncCamHend                     =       776  
vcx_dwMpgEncCamHstart                   =       140  
vcx_dwMpgEncCamFifoStartY               =       44
vcx_dwMpgEncCamVstart                   =       15
vcx_dwMpgEncCamVend                     =       256
vcx_dwMpgEncCamVertirq                  =       257
vcx_dwMpgEncCamCounterCtl               =       3
vcx_dwMpgEncCamRatio                    =       0x1d17
vcx_dwMpgEncCamMode0                    =       0x01ed
vcx_dwMpgEncCamControl                  =       0x60
vcx_dwMpgEncCamFifoStartUV              =       22

;
; Screen.  SIF display.  
;
vcx_dwMpgEncScnHstart                   =       123
vcx_dwMpgEncScnHend                     =       828
vcx_dwMpgEncScnUVWordSize               =       44
vcx_dwMpgEncScnUVStartStop              =       5654
vcx_dwMpgEncScnYWordSize                =       87
vcx_dwMpgEncScnYStartStop               =       10536
vcx_dwMpgEncScnVertSize                 =       239
vcx_dwMpgEncScnVstart                   =       16
vcx_dwMpgEncScnVend                     =       257
vcx_dwMpgEncScnVertirq                  =       12
   
vcx_dwMpgEncScnMisc0                    =       0x18   ;  0x10
vcx_dwMpgEncScnOutputCntl               =       0x2380 ; 0x380
vcx_dwMpgEncScnIncval                   =       0x800
vcx_dwMpgEncScnCounterCntl              =       0x17
vcx_dwMpgEncScnClk1xmode                =       0x1

vcx_dwMpgEncScnHblankStart              =       850
vcx_dwMpgEncScnHblankStop               =       118
vcx_dwMpgEncScnVblankStart              =       260
vcx_dwMpgEncScnVblankStop               =       3

vcx_dwMpgEncScnHsyncwidth               =       60
vcx_dwMpgEncScnHsyncperiod              =       858
vcx_dwMpgEncScnVsyncperiod              =       262
vcx_dwMpgEncScnVsyncpixel               =       20
vcx_dwMpgEncScnVsyncwidth               =       3

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

vcx_dwMpgEncCamHend                     =       790  
vcx_dwMpgEncCamHstart                   =       154  
vcx_dwMpgEncCamVstart                   =       20
vcx_dwMpgEncCamVend                     =       261
vcx_dwMpgEncCamVertirq                  =       262
vcx_dwMpgEncCamMode0                    =       0x11ed

