[Version]
LayoutFile=LAYOUT.INF, layout1.inf, layout2.inf
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Philips%
; _OEM_  Enter name of .cat file from WHQL, containing the digital signature.
; _OEM_  The catalog file has to be in the same location as the INF file.
CatalogFile=cap7134.cat
DriverVer=02/18/2003, 1.4.9.0

[Manufacturer]
%Philips%=Philips

[DestinationDirs]
Cap7134.CopyDrivers = 10,system32\drivers
KSUpdate.Dll = 11

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
cap7134.sys=1
34api.dll=1
34com.dll=1
Prop7134.dll=1

[Philips]
%Cap7130.DeviceDescEZMaker%=Cap7130.Device,PCI\VEN_1131&DEV_7130&SUBSYS_10FF1461 ;AVerDVD EZMaker

[Cap7130.Device]
Include=      ks.inf, kscaptur.inf, ksfilter.inf
Needs=        KS.Registration, KSCAPTUR.Registration
AddReg=       Cap713x.AddRegProteus, Cap713x.AddReg, Prop7134.AddReg, 34COM.AddReg
CopyFiles=    Cap7134.CopyDrivers, KSUpdate.Dll
KnownFiles=   Cap7134.KnownFiles

[Cap7130.Device.NT]
Include=      ks.inf, kscaptur.inf, ksfilter.inf
Needs=        KS.Registration, KSCAPTUR.Registration.NT
AddReg=       Cap713x.AddRegProteus, Cap713x.AddReg
RegisterDlls= Prop7134.Register, 34COM.Register
CopyFiles=    Cap7134.CopyDrivers, KSUpdate.Dll

[Cap713x.AddRegProteus]
HKR, "Decoder", "Tuner Channel",0x00010001,1
HKR, "Decoder", "CVBS Channel",0x00010001,3
HKR, "Decoder", "CVBS Channel2",0x00010001,2
HKR, "Decoder", "SVHS Channel",0x00010001,6
HKR, "Decoder", "SVHS Channel2",0x00010001,7
; _OEM_  Insert the appropriate preferred video standard here.
; _OEM_  If no video standard can be detected (e.g. if no
; _OEM_  video source is connected), this standard is assumed:
; _OEM_     KS_AnalogVideo_PAL_B    = 0x00000010
; _OEM_     KS_AnalogVideo_NTSC_M   = 0x00000001
; _OEM_     KS_AnalogVideo_NTSC_M_J = 0x00000002
; _OEM_     see Windows DDK for other video standards
HKR, "Decoder", "Preferred Video Standard",0x00010001,0x00000001    ; KS_AnalogVideo_NTSC_M
; _OEM_  Insert the default VBI sampling frequency and line length here.
HKR, "Decoder", "VBI Sampling Frequency",0x00010001,27000000
HKR, "Decoder", "VBI Pitch",0x00010001,1440

;Common registry entries for SAA7134 and SAA7130
[Cap713x.AddReg]
; 34 Proteus Board Settings
; maps user setting to hardware input (1=SIF, 2=Analog1, 3=Analog2)  
HKR, "BoardSetting", "Tuner",0x00010001,3
HKR, "BoardSetting", "Composite1",0x00010001,2
HKR, "BoardSetting", "SVideo1",0x00010001,2
HKR, "BoardSetting", "Composite2",0x00010001,3
HKR, "BoardSetting", "SVideo2",0x00010001,3
HKR, "BoardSetting", "FM",0x00010001,3

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Cap7134.sys
HKR,,PageOutWhenUnopened,3,0
HKR,,DontSuspendIfStreamsAreRunning,3,00
HKR, "Parameters", "VideoTunerEnabled",0x00010001,0
HKR, "Parameters", "SVideoEnabled",0x00010001,1
HKR, "Parameters", "CompositeEnabled",0x00010001,1
HKR, "Parameters", "FMSupported",0x00010001,0

; _OEM_  Delete this line if there is no tuner or replace
; _OEM_  "PhTVTune" with the appropriate tuner driver name.
; Since AVerDVD EZMaker has no tuner, we delete the line below.
;HKR, "ENUM\Device1",pnpid,,"AVerTVTune"

;>>> decoder defaults for tuner input
HKR, "Decoder\SRC0", "Video Standard",0x00010001,0x20
HKR, "Decoder\SRC0", "Brightness",0x00010001,0x80
HKR, "Decoder\SRC0", "Contrast",0x00010001,0x44
HKR, "Decoder\SRC0", "Saturation",0x00010001,0x40
HKR, "Decoder\SRC0", "HUE",0x00010001,0x00
HKR, "Decoder\SRC0", "Sharpness",0x00010001,0x00
HKR, "Decoder\SRC0", "Y-Filter",0x00010001,0x01
HKR, "Decoder\SRC0", "C-Filter",0x00010001,0x01
HKR, "Decoder\SRC0", "C-Bypass",0x00010001,0x00
;>>>  decoder defaults for composite 1 source
HKR, "Decoder\SRC1", "Video Standard",0x00010001,0x20
HKR, "Decoder\SRC1", "Brightness",0x00010001,0x80
HKR, "Decoder\SRC1", "Contrast",0x00010001,0x44
HKR, "Decoder\SRC1", "Saturation",0x00010001,0x40
HKR, "Decoder\SRC1", "HUE",0x00010001,0x00
HKR, "Decoder\SRC1", "Sharpness",0x00010001,0x00

HKR, "Decoder\SRC1", "Y-Filter",0x00010001,0x01
HKR, "Decoder\SRC1", "C-Filter",0x00010001,0x01
HKR, "Decoder\SRC1", "C-Bypass",0x00010001,0x00

;>>>  decoder defaults for composite 2 source
HKR, "Decoder\SRC2", "Video Standard",0x00010001,0x20
HKR, "Decoder\SRC2", "Brightness",0x00010001,0x80
HKR, "Decoder\SRC2", "Contrast",0x00010001,0x44
HKR, "Decoder\SRC2", "Saturation",0x00010001,0x40
HKR, "Decoder\SRC2", "HUE",0x00010001,0x00
HKR, "Decoder\SRC2", "Sharpness",0x00010001,0x00

HKR, "Decoder\SRC2", "Y-Filter",0x00010001,0x01
HKR, "Decoder\SRC2", "C-Filter",0x00010001,0x01
HKR, "Decoder\SRC2", "C-Bypass",0x00010001,0x00
;>>>  decoder defaults for SVHS source
HKR, "Decoder\SRC3", "Video Standard",0x00010001,0x20
HKR, "Decoder\SRC3", "Brightness",0x00010001,0x80
HKR, "Decoder\SRC3", "Contrast",0x00010001,0x44
HKR, "Decoder\SRC3", "Saturation",0x00010001,0x40
HKR, "Decoder\SRC3", "HUE",0x00010001,0x00
HKR, "Decoder\SRC3", "Sharpness",0x00010001,0x00

HKR, "Decoder\SRC3", "Y-Filter",0x00010001,0x00
HKR, "Decoder\SRC3", "C-Filter",0x00010001,0x00
HKR, "Decoder\SRC3", "C-Bypass",0x00010001,0x01
;>>>  decoder defaults for SVHS 2 source (Copy of SRC3 settings)
HKR, "Decoder\SRC4", "Video Standard",0x00010001,0x20
HKR, "Decoder\SRC4", "Brightness",0x00010001,0x80
HKR, "Decoder\SRC4", "Contrast",0x00010001,0x44
HKR, "Decoder\SRC4", "Saturation",0x00010001,0x40
HKR, "Decoder\SRC4", "HUE",0x00010001,0x00
HKR, "Decoder\SRC4", "Sharpness",0x00010001,0x00
HKR, "Decoder\SRC4", "Y-Filter",0x00010001,0x00
HKR, "Decoder\SRC4", "C-Filter",0x00010001,0x00
HKR, "Decoder\SRC4", "C-Bypass",0x00010001,0x01        

[Cap7134.CopyDrivers]
Cap7134.sys

[Cap7134.KnownFiles]
Cap7134.sys=safe

[Cap7130.Device.Interfaces]
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},"GLOBAL",VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"GLOBAL",TVAudio,

[Cap7130.Device.NT.Interfaces]
AddInterface={6994AD05-93EF-11D0-A3CC-00A0C9223196},%refGlobal%,VideoCapture
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,VideoCrossbar
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},%refGlobal%,TVAudio,

[KSUpdate.Dll]
34api.dll
34com.dll
Prop7134.dll      ; audio property dialog

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[TVAudio]
AddReg=TVAudio.AddReg

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%Cap7134.Capture%
HKLM,"Software\Philips Semiconductors\SAA7134","Country",,"germany"
HKLM,"Software\Philips Semiconductors\SAA7134\PhiViA","UseOverlaySurface",0x00010001,1
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","UseOverlaySurface",0x00010001,1
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_Height_50Hz",0x00010001,288
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_Height_60Hz",0x00010001,240
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_StartX_50Hz",0x00010001,10
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_StartY_50Hz",0x00010001,24
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_Width_50Hz",0x00010001,702
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_StartX_60Hz",0x00010001,10
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_StartY_60Hz",0x00010001,24
HKLM,"Software\Philips Semiconductors\SAA7134\VidCap","In_Width_60Hz",0x00010001,702
HKLM,SOFTWARE\Intel\Intercast\TVControl,TVControlDLL,,34TVCtrl.dll
HKLM,SOFTWARE\Intel\Intercast\Drivers,biBitCount,,16
HKLM,SOFTWARE\Intel\Intercast\Drivers,biCompression,,BI_RGB
HKLM,SOFTWARE\Intel\Intercast\Drivers,Capture Description,,%Cap7134.Capture%
HKCR,Intercast.Display,DisplayBitMask,,f
; Private Pin Names:
; MEDIATYPE_Audio:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{73647561-0000-0010-8000-00AA00389B71},"Name",0x00000000,"Audio"
; GUID_VSB_OUT:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{F3954424-34F6-11D1-821D-0000F8300212},"Name",0x00000000,"Transport In"
; MEDIUM_AUDIO_PHILDEC_ANALOGAUDIOIN:
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\{0482DEE1-7817-11cf-8a03-00aa006ecb65},"Name",0x00000000,"Analog Audio In"

[Prop7134.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"AudioProperties",,"%11%\Regsvr32 /s %11%\Prop7134.dll"

[34COM.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"COMInterface",,"%11%\Regsvr32 /s %11%\34com.dll"

[Prop7134.Register]
11,,Prop7134.dll,1 ;FLG_REGSVR_DLLREGISTER

[34COM.Register]
11,,34COM.dll,1 ;FLG_REGSVR_DLLREGISTER
   
[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%Cap7134.Crossbar%

[TVAudio.AddReg]
HKR,,CLSID,,{71F96462-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%Cap7134.TVAudio%

[Cap7130.Device.NT.Services]
AddService = Cap7134,0x00000002,Cap7134.ServiceInstall

[Cap7134.ServiceInstall]
DisplayName   = %Cap7130.DeviceDescProt%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\Cap7134.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

;----------------
; Non-Localizable
;----------------

SERVICE_KERNEL_DRIVER=1
SERVICE_ERROR_NORMAL=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3

refGlobal="GLOBAL"
refWave="WAVE"

;----------------
; Localizable
;----------------

Philips=                   "AVerMedia TECHNOLOGIES, Inc."
DiskName=                  "TVFM WDM Video Capture Install disk"
Cap7130.DeviceDescProt=    "TVFM 503 WDM Video Capture"
Cap7130.DeviceDescEZMaker= "AVerDVD EZMaker WDM Video Capture"
Cap7130.DeviceDescUnknown= "Unknown Boardconfiguration (EEPROM not programmed or missing) assume Philips Proteus (7130) WDM Video Capture"
Cap7134.Capture=           "Cap7134 Capture"
Cap7134.Crossbar=          "Cap7134 Crossbar"
Cap7134.TVAudio=           "Cap7134 TV Audio"

