;;#############################################################################
;;## WFPVRENC.INF for Windows 98/ME/2000/XP WDM Drivers                      ##
;;## Copyright @2000-2006 Leadtek Research Inc.                              ##
;;## WinFast PVR2000 WDM MPEG Encoder Driver                                 ##
;;#############################################################################
[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Ldtk%
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
DriverVer=05/12/2005,5.13.22.6104
CatalogFile.ntx86=wfpvrenc.cat

[Manufacturer]
%Ldtk%=Leadtek

[SourceDisksNames]
1=%DiskId%,,0

[SourceDisksFiles]
wfpvrenc.sys=1
wfbbprxy.ax=1
wfbbcpno.ax=1

[Leadtek]
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_6630107D
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_6638107D
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_663B107D
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_663C107D
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_6632107D
%PVR2000_PAL.DeviceDesc%=PVR2000_PAL,       PCI\VEN_14F1&DEV_8802&SUBSYS_6635107D

%PVR2000_NTSC.DeviceDesc%=PVR2000_NTSC,     PCI\VEN_14F1&DEV_8802&SUBSYS_6631107D
%PVR2000_NTSC.DeviceDesc%=PVR2000_NTSC,     PCI\VEN_14F1&DEV_8802&SUBSYS_6637107D
%PVR2000_NTSC.DeviceDesc%=PVR2000_NTSC,     PCI\VEN_14F1&DEV_8802&SUBSYS_663D107D
%PVR2000_NTSC.DeviceDesc%=PVR2000_NTSC,     PCI\VEN_14F1&DEV_8802&SUBSYS_6633107D
%PVR2000_NTSC.DeviceDesc%=PVR2000_NTSC,     PCI\VEN_14F1&DEV_8802&SUBSYS_6634107D

%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_6639107D
%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_663A107D
%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_663E107D
%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_6636107D
%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_663F107D
%PVR2000_NTSC_J.DeviceDesc%=PVR2000_NTSC_J, PCI\VEN_14F1&DEV_8802&SUBSYS_6640107D

[PVR2000_PAL]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT
AddReg=     WFPVRENC.AddReg,PVR2000_PAL.AddReg
CopyFiles=  WFPVRENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles

[PVR2000_NTSC]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT
AddReg=     WFPVRENC.AddReg,PVR2000_NTSC.AddReg
CopyFiles=  WFPVRENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles

[PVR2000_NTSC_J]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration,KSCAPTUR.Registration.NT
AddReg=     WFPVRENC.AddReg,PVR2000_NTSC_J.AddReg
CopyFiles=  WFPVRENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles

[DestinationDirs]
WFPVRENC.CopyDrivers=10,system32\drivers
DSFilters.CopyFiles=11

[WFPVRENC.CopyDrivers]
wfpvrenc.sys

[DSFilters.CopyFiles]
wfbbprxy.ax
wfbbcpno.ax

[DSFilters.RegFiles]
11,,wfbbcpno.ax, 1

[WFPVRENC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,wfpvrenc.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01

;Register the name of the 656 pin
HKLM,%MediaCategories%\%GUID.PINNAME_656_IN%,Name,,%PinName.656_IN%
HKLM,%MediaCategories%\%GUID.PINNAME_I2S_IN%,Name,,%PinName.I2S_IN%

;Name of the MPEG output pin.
HKLM,%MediaCategories%\%TPPinID%,Display,1, 00,00,00,00
HKLM,%MediaCategories%\%TPPinID%,Name,,%TPpinName%

;Add the property pages

HKCR,CLSID\%GUID.General_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.General_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.General_Properties%,,,

HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Video_Properties%,,,

HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Audio_Properties%,,,

HKCR,CLSID\%GUID.MPEG_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.MPEG_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.MPEG_Properties%,,,

HKCR,CLSID\%GUID.Diagnostic_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.Diagnostic_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Diagnostic_Properties%,,,

HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,,,wfbbprxy.ax
HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Noise_Properties%,,,

;Register the encoder and multiplexer classes with Direct X
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,CLSID,,%GUID.Encoder%
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,FriendlyName,,%Category_Encoders%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,CLSID,,%GUID.Multiplexer%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,FriendlyName,,%Category_Multiplexers%

;Register the names of the encoder and multiplexer nodes
HKLM,%MediaCategories%\%GUID.Encoder%,Name,,%Node.Encoder%
HKLM,%MediaCategories%\%GUID.Encoder%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%GUID.Multiplexer%,Name,,%Node.Multiplexer%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Display,1,00,00,00,00

;
; Driver Configuration Registry Entries
;
[PVR2000_PAL.AddReg]
HKR,"DriverData","EncoderDefaultResolution",0x00010001,   0x03,0x00,0x00,0x00
HKR,"DriverData","EncoderDefaultFrameRate",0x00010001,   0x01,0x00,0x00,0x00
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x01,0x00,0x00,0x00

[PVR2000_NTSC.AddReg]
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x01,0x00,0x00,0x00

[PVR2000_NTSC_J.AddReg]
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x01,0x00,0x00,0x00

;
; Interfaces installation
;
[PVR2000_PAL.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",PVR2000_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",PVR2000_Interface,

[PVR2000_NTSC.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",PVR2000_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",PVR2000_Interface,

[PVR2000_NTSC_J.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",PVR2000_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",PVR2000_Interface,


[PVR2000_Interface]
AddReg=PVR2000_Interface.AddReg

[PVR2000_Interface.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%PVR2000FriendlyName%
;Add an interface for Microsoft's video bit rate property set
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,

;
; Services installation
;
[PVR2000_PAL.Services]
AddService = WFPVRENC,2,PVR2000.ServiceInstall

[PVR2000_NTSC.Services]
AddService = WFPVRENC,2,PVR2000.ServiceInstall

[PVR2000_NTSC_J.Services]
AddService = WFPVRENC,2,PVR2000.ServiceInstall

[PVR2000.ServiceInstall]
DisplayName   = %PVR2000_PAL.DeviceDesc%
ServiceType   = 1
StartType     = 2
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\wfpvrenc.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------
[Strings]
Ldtk                       =  "Leadtek Research Inc."
DiskId                     =  "WinFast PVR2000 MPEG Encoder"
PVR2000_PAL.DeviceDesc     =  "WinFast PVR2000 MPEG Encoder(PAL)"
PVR2000_NTSC.DeviceDesc    =  "WinFast PVR2000 MPEG Encoder(NTSC)"
PVR2000_NTSC_J.DeviceDesc  =  "WinFast PVR2000 MPEG Encoder(NTSC-J)"
PVR2000FriendlyName        =  "WinFast PVR2000 MPEG Encoder"

MediaCategories            =  "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaSets                  =  "System\CurrentControlSet\Control\MediaSets"
ActiveMovieCategories      =  "CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"
TPPinID                    =  "{1649D2C1-435E-11d3-A94B-00A0C9D8B34E}"
TPPinName                  =  "MPEG-2 TS"
GUID.PINNAME_656_IN        =  "{DFD530C7-36D9-47ff-B838-9A11D215B140}"
PinName.656_IN             =  "656"
GUID.PINNAME_I2S_IN        =  "{DF77FE27-FA59-47d7-BFC4-955DE7A32794}"
PinName.I2S_IN             =  "I2S"
GUID.IVAC_PROPERTIES       =  "{d2185a40-0398-11d3-a53e-00a0c9ef506a}"
GUID.Encoder               =  "{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer           =  "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"
Category_Encoders          =  "WDM Streaming Encoder Devices"
Category_Multiplexers      =  "WDM Streaming Multiplexer Devices"
Node.Encoder               =  "Encoder"
Node.Multiplexer           =  "Multiplexer"
GUID.General_Properties    =  "{1CC63210-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Video_Properties      =  "{1CC63211-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Audio_Properties      =  "{1CC63212-AB37-4d6e-9D72-79C02C381CBC}"
GUID.MPEG_Properties       =  "{1CC63213-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Diagnostic_Properties =  "{1CC63214-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Noise_Properties      =  "{1CC63215-AB37-4d6e-9D72-79C02C381CBC}"
