;////////////////////////////////////////////////////////////////////////////////
;//
;//                           (C) nVidia Inc 2003 - 2004
;//      All rights are reserved.  Reproduction in whole or in part is prohibited
;//      without the written consent of the copyright owner.
;//
;////////////////////////////////////////////////////////////////////////////////

[Version]
Signature="$Chicago$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%DVxplore.Provider%
CatalogFile=LsiDvx.cat
DriverVer=09/08/2004,1.2.0.45
;LayoutFile=Layout.inf, Layout1.inf, Layout2.inf

[ControlFlags]
;;ExcludeFromSelect=*

[Manufacturer]
%DVxplore.Manufacturer% = DVXplore

; **********
; Device IDs
; **********

[DVXplore]

%DVxplore.DeviceDesc% = DVxplore_PAL.Install,  PCI\VEN_123F&DEV_8120&SUBSYS_01E110DE
%DVxplore.DeviceDesc% = DVxplore_NTSC.Install, PCI\VEN_123F&DEV_8120&SUBSYS_01E210DE
%DVxplore.DeviceDesc% = DVxplore_PAL.Install,  PCI\VEN_123F&DEV_8120&SUBSYS_01E310DE
%DVxplore.DeviceDesc% = DVxplore_NTSC.Install, PCI\VEN_123F&DEV_8120&SUBSYS_024810DE
%DVxplore.DeviceDesc% = DVxplore_PAL.Install,  PCI\VEN_123F&DEV_8120&SUBSYS_024910DE

; *************************
; Install Section for 2K/XP
; *************************

[DVxplore_NTSC.Install.NT]
Include = ks.inf, kscaptur.inf, ksfilter.inf
Needs = KS.Registration, KSCAPTUR.Registration.NT
AddReg = DVxplore_ALL.AddReg, DVxplore_NTSC.AddReg, DVxplore.PinNames
RegisterDlls = DVxplore.RegisterFilters
CopyFiles = DVxplore.CopyFiles, Filters.CopyFiles, MicroCode.CopyFiles
DelFiles = DVxplore.DelList

[DVxplore_PAL.Install.NT]
Include = ks.inf, kscaptur.inf, ksfilter.inf
Needs = KS.Registration, KSCAPTUR.Registration.NT
AddReg = DVxplore_ALL.AddReg, DVxplore_PAL.AddReg, DVxplore.PinNames
RegisterDlls = DVxplore.RegisterFilters
CopyFiles = DVxplore.CopyFiles, Filters.CopyFiles, MicroCode.CopyFiles
DelFiles = DVxplore.DelList

; *****************************
; File Copying/Handling Section
; *****************************

[DestinationDirs]
;;DefaultDestDir = 10,system32\drivers
DVxplore.CopyFiles = 10,system32\drivers
Filters.CopyFiles = 11
MicroCode.CopyFiles = 10,system32\drivers

[DVxplore.DelList]
DVxplore.sys
DvxMpg2p.ux
DvxMpg2n.ux

[DVxplore.CopyFiles]
DVxplore.sys

[MicroCode.CopyFiles]
DvxMpg2n.ux
DvxMpg2p.ux

[Filters.CopyFiles]
;LSIMuxer.ax
;LsAudEnc.ax
LSIReg.dll
nvaudenc.ax
nvmux.ax
nvtvrat.dll

; ********************************
; Registry Entries for ALL Devices
; ********************************

[DVxplore_ALL.AddReg]

;HKCR,%NVIDIA_KEY%,"0",,"6110-7E1A-239D-5B91-67A1-5FC6"

HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"LSIReg",,"RunDLL32.exe %11%\LSIReg.dll,RegisterCategories"

;0-Teletext mode, 1-Transparent mode, 2-Television mode
HKLM,Software\Microsoft\Teletext,"EnableTeletext",0x10001,0

;1-enStream, 2-enCache
HKLM,Software\Microsoft\Teletext\PageSieve,"RendererNormalTT",0x10001,1
HKLM,Software\Microsoft\Teletext\PageSieve,"PagerNormalTT",0x10001,2

HKR,VIDEOSOURCE1,"SourceName",0,"S-Video"
HKR,VIDEOSOURCE1,"InpFormatType",0x10001,0x0
HKR,VIDEOSOURCE1,"VideoType",0,"SVHS"
HKR,VIDEOSOURCE1,"Input1",0x10001,0x1
HKR,VIDEOSOURCE1,"SVHSInput2",0x10001,0x3
HKR,VIDEOSOURCE1,"ColorControlHardware",0x10001,0x1
HKR,VIDEOSOURCE1,"Bright",0x10001,7f,00,00,00
HKR,VIDEOSOURCE1,"Contrast",0x10001,3f,00,00,00
HKR,VIDEOSOURCE1,"Hue",0x10001,0x0
HKR,VIDEOSOURCE1,"Saturation",0x10001,3f,00,00,00

HKR,VIDEOSOURCE2,"SourceName",0,"TV Input"
HKR,VIDEOSOURCE2,"InpFormatType",0x10001,0x0
HKR,VIDEOSOURCE2,"VideoType",0,"Tuner"
HKR,VIDEOSOURCE2,"Input1",0x10001,0x2
HKR,VIDEOSOURCE2,"SVHSInput2",0x10001,ff,ff,ff,ff
HKR,VIDEOSOURCE2,"ColorControlHardware",0x10001,0x1
HKR,VIDEOSOURCE2,"Bright",0x10001,9f,00,00,00
HKR,VIDEOSOURCE2,"Contrast",0x10001,50,00,00,00
HKR,VIDEOSOURCE2,"Hue",0x10001,0x0
HKR,VIDEOSOURCE2,"Saturation",0x10001,3f,00,00,00

HKR,AUDIOSOURCE1,"SourceName",0,"Line Input"
HKR,AUDIOSOURCE1,"AudioType",0,"LineIn"
HKR,AUDIOSOURCE1,"InputSource",0x10001,0x1
HKR,AUDIOSOURCE1,"LeftGain",0x10001,0x00,00,00,00
HKR,AUDIOSOURCE1,"RightGain",0x10001,0x00,00,00,00
HKR,AUDIOSOURCE1,"LeftVolume",0x10001,0x1f,00,00,00
HKR,AUDIOSOURCE1,"RightVolume",0x10001,0x1f,00,00,00

HKR,AUDIOSOURCE2,"SourceName",0,"TV Input"
HKR,AUDIOSOURCE2,"AudioType",0,"Tuner"
HKR,AUDIOSOURCE2,"InputSource",0x10001,0x3
HKR,AUDIOSOURCE2,"LeftGain",0x10001,0x00,00,00,00
HKR,AUDIOSOURCE2,"RightGain",0x10001,0x00,00,00,00
HKR,AUDIOSOURCE2,"LeftVolume",0x10001,0x1f,00,00,00
HKR,AUDIOSOURCE2,"RightVolume",0x10001,0x1f,00,00,00

HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DVxplore.sys
HKR,,SelectVideoSource,0x10001,2
HKR,,SelectAudioSource,0x10001,2

HKR,FileNames,NTSCEncodeMicrocode,,\SystemRoot\system32\drivers\DvxMpg2n.ux
HKR,FileNames,PALEncodeMicrocode,,\SystemRoot\system32\drivers\DvxMpg2p.ux

HKR,Encode,"BitRate",0x10001, 40,54,89,00			;Default = 9.0Mbps
HKR,Encode,"PeakBitRate",0x10001, 60, F5, 90, 00 	;Default = 9.5Mbps	
HKR,Encode,"HorizontalSize",0x10001, d0,02,00,00
HKR,Encode,"VerticalSize",0x10001, e0,01,00,00
HKR,Encode,"IntraPictDistance",0x10001, 0f,00,00,00
HKR,Encode,"ReferencePictDistance",0x10001, 03,00,00,00

HKR,AUDIO,"SamplingFrequency",0x10001, 44,AC,00,00

;
;Flag to notice the dynamic bit rate change support. 1=Yes, 0=NO
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001, 1

; **************************************
; Registry Entries for NTSC Devices Only
; **************************************

[DVxplore_NTSC.AddReg]

;HKR,BoardConfig,"BoardID",0x10001, 00,00,00,00

HKR,VIDEOSOURCE1,"DeviceType",,"SAA7133"
HKR,VIDEOSOURCE1,"System",0,"NTSC"

HKR,VIDEOSOURCE2,"DeviceType",,"SAA7133"
HKR,VIDEOSOURCE2,"System",0,"NTSC"

HKR,AUDIOSOURCE1,"DeviceType",0,"SAA7133"
HKR,AUDIOSOURCE2,"DeviceType",0,"SAA7133"

; *************************************
; Registry Entries for PAL Devices Only
; *************************************

[DVxplore_PAL.AddReg]

;HKR,BoardConfig,"BoardID",0x10001, 01,00,00,00

HKR,VIDEOSOURCE1,"DeviceType",,"SAA7134"
HKR,VIDEOSOURCE1,"System",0,"PAL"

HKR,VIDEOSOURCE2,"DeviceType",,"SAA7134"
HKR,VIDEOSOURCE2,"System",0,"PAL"

HKR,AUDIOSOURCE1,"DeviceType",0,"SAA7134"
HKR,AUDIOSOURCE2,"DeviceType",0,"SAA7134"


; ************************
; DirectShow Stuff Section
; ************************

[DVxplore_NTSC.Install.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_DATATRANSFORM%,"Transform",VideoTransform,
AddInterface=%KSCATEGORY_ENCODER%,"Encoder",VideoEncoder,

[DVxplore_PAL.Install.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,"Capture",VideoCaptureTV,
AddInterface=%KSCATEGORY_CROSSBAR%,"Capture",VideoCrossbar,
AddInterface=%KSCATEGORY_TVTUNER%,"Capture",VideoTvTuner,
AddInterface=%KSCATEGORY_TVAUDIO%,"Capture",VideoTvAudio,
AddInterface=%KSCATEGORY_DATATRANSFORM%,"Transform",VideoTransform,
AddInterface=%KSCATEGORY_ENCODER%,"Encoder",VideoEncoder,

[VideoCaptureTV]
AddReg=VideoCaptureTV.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoTransform]
AddReg=VideoTransform.AddReg

[VideoEncoder]
AddReg=VideoEncoder.AddReg

[VideoCaptureTV.AddReg]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,FriendlyName,,%DVxplore.DeviceName%
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001, 1

[VideoTvTuner.AddReg]
HKR,,CLSID,,%ProxyTvTuner.CLSID%
HKR,,FriendlyName,,%DVxplore.TvTuner%

[VideoXBar.AddReg]
HKR,,CLSID,,%ProxyXBar.CLSID%
HKR,,FriendlyName,,%DVxplore.Crossbar%

[VideoTvAudio.AddReg]
HKR,,CLSID,,%ProxyTvAudio.CLSID%
HKR,,FriendlyName,,%DVxplore.TvAudio%

[VideoTransform.AddReg]
HKR,,CLSID,,%ProxyTransform.CLSID%
HKR,,FriendlyName,,%DVxplore.Transform%

[VideoEncoder.AddReg]
HKR,,CLSID,,%ProxyEncoder.CLSID%
HKR,,FriendlyName,,%DVxplore.Encoder%
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,	;IVideoEncoder
;HKR,Interfaces\{B05DABD9-56E5-4FDC-AFA4-8A47E91F1C9C},,,	;IVideoEncoderCodecAPI
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001, 1

HKCR,%ActiveMovieCategories%\%GUID.Encoder%,CLSID,,%GUID.Encoder%
HKCR,%ActiveMovieCategories%\%GUID.Encoder%,FriendlyName,,%Category_Encoders%

;The follwoing entries are not used. Delete after verification
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,CLSID,,%GUID.Multiplexer%
HKCR,%ActiveMovieCategories%\%GUID.Multiplexer%,FriendlyName,,%Category_Multiplexers%

HKCR,%ActiveMovieCategories%\%GUID.SWMultiplexer%,CLSID,,%GUID.SWMultiplexer%
HKCR,%ActiveMovieCategories%\%GUID.SWMultiplexer%,FriendlyName,,%Category_SWMultiplexers%
HKCR,%ActiveMovieCategories%\%GUID.SWMultiplexer%\"Capabilities", "{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001, 1


HKLM,%MediaCategories%\%GUID.Encoder%,Name,,%Node.Encoder%
HKLM,%MediaCategories%\%GUID.Encoder%,Display,1,00,00,00,00

;The follwoing entries are not used. Delete after verification
HKLM,%MediaCategories%\%GUID.Multiplexer%,Name,,%Node.Multiplexer%
HKLM,%MediaCategories%\%GUID.Multiplexer%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%GUID.SWMultiplexer%,Name,,%Node.SWMultiplexer%
HKLM,%MediaCategories%\%GUID.SWMultiplexer%,Display,1,00,00,00,00

[DVxplore.PinNames]
HKLM,%MediaCategories%\%GUID.DVxplore_VIDEO_OUT%,Name,,%Pin.DVxplore_VIDEO_OUT%
HKLM,%MediaCategories%\%GUID.DVxplore_AUDIO_OUT%,Name,,%Pin.DVxplore_AUDIO_OUT%
HKLM,%MediaCategories%\%GUID.DVxplore_VIDEO_IN%,Name,,%Pin.DVxplore_VIDEO_IN%
HKLM,%MediaCategories%\%GUID.DVxplore_AUDIO_IN%,Name,,%Pin.DVxplore_AUDIO_IN%
HKLM,%MediaCategories%\%GUID.DVxplore_VIDEO_VIRT_OUT%,Name,,%Pin.DVxplore_VIDEO_VIRT_OUT%
HKLM,%MediaCategories%\%GUID.DVxplore_VIDEO_VIRT_IN%,Name,,%Pin.DVxplore_VIDEO_VIRT_IN%
HKLM,%MediaCategories%\%GUID.DVxplore_AUDIO_ANALOG_IN%,Name,,%Pin.DVxplore_AUDIO_ANALOG_IN%
HKLM,%MediaCategories%\%GUID.DVxplore_VIDEO_PES%,Name,,%Pin.DVxplore_VIDEO_PES%

[DVxplore.RegisterFilters]
11,,nvaudenc.ax,1
11,,nvmux.ax,1
11,,nvtvrat.dll,1

; ****************
; Services Section
; ****************

[DVxplore_NTSC.Install.NT.Services]
AddService = DVxplore,0x00000002,DVxplore.ServiceInstall

[DVxplore_PAL.Install.NT.Services]
AddService = DVxplore,0x00000002,DVxplore.ServiceInstall

[DVxplore.ServiceInstall]
DisplayName = %DVxplore.DeviceDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\DVxplore.sys

[SourceDisksNames]
3333=%DVxplore.InstallationDir%,"DVxplore.sys",,

[SourceDisksFiles]
DVxplore.sys=3333
DvxMpg2n.ux=3333
DvxMpg2p.ux=3333
;LSIMuxer.ax=3333
;LsAudEnc.ax=3333
LSIReg.dll=3333
nvaudenc.ax=3333
nvmux.ax=3333
nvtvrat.dll=3333

; ***************
; Strings Section
; ***************

[Strings]

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

SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
;REG_EXPAND_SZ=0x00020000
;REG_DWORD=0x00010001

ProxyDecomp.CLSID  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
ProxyVidCap.CLSID  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
ProxyTvTuner.CLSID = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
ProxyXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
ProxyTvAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
ProxyTransform.CLSID  = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
ProxyEncoder.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

ActiveMovieCategories="CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"
NVIDIA_KEY="CLSID\{EAFD99D7-54B6-4e87-8C7C-6A3C85F8997C}\Instance"

GUID.Encoder="{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer="{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"
GUID.SWMultiplexer="{236C9559-ADCE-4736-BF72-BAB34E392196}"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
GUID.DVxplore_VIDEO_OUT = "{AAD4C0A5-692B-443e-BAF4-6E288E5D428E}"
GUID.DVxplore_AUDIO_OUT = "{D78DD56D-EEE2-4c0f-B369-40512ED2FB56}"
GUID.DVxplore_VIDEO_IN  = "{EFD29912-D8BF-4366-BCFF-7D0916622C26}"
GUID.DVxplore_AUDIO_IN  = "{6BD8D048-89CA-4466-884C-D4D14BD6F05C}"
GUID.DVxplore_VIDEO_VIRT_OUT  = "{ADC530BA-63EA-4ee7-924B-85FF9789AFFD}"
GUID.DVxplore_VIDEO_VIRT_IN  = "{58DB8749-FCB2-4a74-926B-54A803ACFE63}"
GUID.DVxplore_AUDIO_ANALOG_IN  = "{1A59C940-4EE4-4d00-B43D-8D4F9A81CDF5}"
GUID.DVxplore_VIDEO_PES  = "{3E402A60-2D28-11d2-A183-00A0C966EB76}"

;KSCATEGORY_DATADECOMPRESSOR = "{2721AE20-7E70-11D0-A5D6-28DB04C10000}"
KSCATEGORY_CAPTURE          = "{65e8773d-8f56-11d0-a3b9-00a0c9223196}"
KSCATEGORY_CROSSBAR         = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER          = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO          = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_DATATRANSFORM    = "{2EB07EA0-7E70-11D0-A5D6-28DB04C10000}"
KSCATEGORY_ENCODER          = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"

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

Pin.DVxplore_VIDEO_OUT = "Video Out"
Pin.DVxplore_AUDIO_OUT = "Audio Out"

Pin.DVxplore_VIDEO_IN = "Video In"
Pin.DVxplore_AUDIO_IN = "Audio In"

Pin.DVxplore_VIDEO_VIRT_OUT = "Video Virtual Out"
Pin.DVxplore_VIDEO_VIRT_IN = "Video Virtual In"

Pin.DVxplore_AUDIO_ANALOG_IN = "Analog Audio In"

Pin.DVxplore_VIDEO_PES = "Video Pes"

Category_Encoders = "WDM Streaming Encoder Devices"\

;The follwoing entry is not used
Category_Multiplexers = "WDM Streaming Multiplexer Devices"

Category_SWMultiplexers = "Software Multiplexer Devices"
Node.Encoder = "Encoder"

;Following entry not used
Node.Multiplexer = "Multiplexer"

Node.SWMultiplexer = "Multiplexer"

DVxplore.InstallationDir= "LSI Logic DVxplore Drivers"
DVxplore.Provider	= "LSI Logic, Inc."
DVxplore.Manufacturer	= "NVIDIA"

DVxplore.DeviceDesc = "NVTV"
DVxplore.DeviceName = "NVTV"

DVxplore_PAL_CATCH.DeviceDesc = "NVTV PAL"
DVxplore_NTSC_CATCH.DeviceDesc = "NVTV NTSC"

DVxplore_NTSC_FM.DeviceDesc = "NVTV NTSC/FM Device"
DVxplore_PAL_FM.DeviceDesc = "NVTV PAL/FM Device"

DVxplore.TvTuner = "NVTV Tuner"
DVxplore.Crossbar = "NVTV Crossbar"
DVxplore.TvAudio = "NVTV Audio"
DVxplore.Transform = "NVTV Transform"
DVxplore.Encoder = "NVTV Encoder"

