;
; ttv200x.inf  -- This file contains installation information for TOSHIBA PCI TV Tuner
;                 An MPEG2 WDM capture driver that requires hardware
;               
;; Copyright (c) 2004 TOSHIBA

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%PROV%
CatalogFile=ttv200x.cat
DriverVer=10/07/2004,1.0.1.10

[DestinationDirs]
TTV200X.CopyDrivers=10,system32\drivers
TTV200X.CopyDrivers.NT=12
TTV200X.CopyFilters=11
TTV200X.CopyFilters.NT=11

[SourceDisksFiles]
ttv200x.sys=1
TVRating.dll=1

[SourceDisksNames]
1=p2.InstallDisk,,

[Manufacturer]
%MANUFAC%=TOSHIBA

;---------------------------------------------------------------
;              TOSHIBA PCI TV Tuner
;
;                 M P E G 2  C A P 
;---------------------------------------------------------------

[TOSHIBA]
%TTV200X.DeviceDesc%	=	TTV200X.Device,PCI\VEN_4444&DEV_0016&SUBSYS_00011179

[TTV200X.Device.NT]
Include			=    	ks.inf, kscaptur.inf, ksfilter.inf, wdmaudio.inf
Needs			=      	KS.Registration,KSCAPTUR.Registration.NT,MSPCLOCK.Installation,wdmaudio.Registration.NT
AddReg	      		= 	TTV200X.AddReg, TTV200XPinNameRegistration
CopyFiles		=	TTV200X.CopyDrivers.NT,TTV200X.CopyFilters.NT
RegisterDlls		=	TvRating.RegDLL

[TTV200X.Device.NT.Services]
AddService 		= 	ttv200x,0x00000002,TTV200X.ServiceInstall.NT

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

[TTV200X.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,0,ttv200x.sys
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01
HKR,,FriendlyName,,%TTV200X.DeviceDesc%
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE1-19D3-11d3-BD75-00500473F96A},,,
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE3-19D3-11d3-BD75-00500473F96A},,,
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE4-19D3-11d3-BD75-00500473F96A},,,
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_IVAC_PROPERTIES%\PropertyPages\{A2574AE2-19D3-11d3-BD75-00500473F96A},,,
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,OutType,0x00010001,10
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,Bitrate,0x00010001,1600
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,InType,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,VideoRes,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,TVFormat,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,AudioDataRate,0x00010001,12
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,GOPSize,0x00010001,0x0f03
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,ClosedGOP,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,SamplingRate,0x00010001,1
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,AudioOutputMode,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,AudioCRC,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,BitrateMode,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,BitratePeak,0x00010001,22500
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,TVChannel,0x00010001,3
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,TVType,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,TrickMode,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,InverseTelecine,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,OldEncoderBitrateInterface,0x00010001,1

; Encoder SRB size and number
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EncoderFrameSize,0x00010001,32768
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EncoderNumberFrames,0x00010001,32

;Procamp defaults
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,HueValue,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,BrightnessValue,0x00010001,136
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,ContrastValue,0x00010001,72
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,SaturationValue,0x00010001,71
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,SharpnessValue,0x00010001,82

HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,DownloadFWAtBootTime,0x00010001,1
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,SubDeviceId,0x00010001,0x71448
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EncPauseBuffSize,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EncCheckVSync,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,RegisterSeperateFilters,0x00010001,1
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,AudMode,0x00010001,2
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,CurrentPgm,0x00010001,16
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,CpChoice,0x00010001,1

;prefilter settings
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,FltDnrMode,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,FltDnrSpatFltLevel,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,FltDnrTempFltLevel,0x00010001,8
	
;set initial SCR value
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,SetInitialSCR,0x00010001,1
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,InitialSCR,0x00010001,27027

;disable vsync events 
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,DisableEventNotification,0x00010001,1

HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EnableVIMProtection,0x00010001,0
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,StopCaptureBeforeChannelChange,0x00010001,0

;YUV and PCM timestamps
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,YUVTimestamps,0x00010001,3
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,PCMTimeStamps,0x00010001,3

; Enable Multi graph support
HKLM,System\CurrentControlSet\Services\ttv200x\Parameters,EnableMultiGraphSupport,0x00010001,1

[TTV200X.CopyDrivers]
ttv200x.sys

[TTV200X.CopyFilters]
TVRating.dll

[TTV200X.CopyDrivers.NT]
ttv200x.sys

[TTV200X.CopyFilters.NT]
TVRating.dll

[TTV200X.KnownFiles]
ttv200x.sys=safe

[TvRating.RegDLL]
11,,TVRating.dll,1

[TTV200X.Device.NT.Interfaces]
AddInterface={a799a800-a46d-11d0-a18c-00a02401dcd4},"TOSHIBA WDM Capture",VideoTvTuner,
AddInterface={a799a801-a46d-11d0-a18c-00a02401dcd4},"TOSHIBA WDM Capture",VideoCrossbar,
AddInterface={65e8773d-8f56-11d0-a3b9-00a0c9223196},"TOSHIBA WDM Capture",VideoCapture,
AddInterface={a799a802-a46d-11d0-a18c-00a02401dcd4},"TOSHIBA WDM Capture",VideoTvAudio,
AddInterface={7A5DE1D3-01A1-452c-B481-4FA2B96271E8},"TOSHIBA WDM Encoder",VideoEncoder,

[VideoTvAudio]
AddReg=VideoTvAudio.AddReg

[VideoDecoder]
AddReg=VideoDecoder.AddReg

[VideoCapture]
AddReg=VideoCapture.AddReg

[VideoTvTuner]
AddReg=VideoTvTuner.AddReg

[VideoCrossbar]
AddReg=VideoXBar.AddReg

[VideoEncoder]
AddReg=VideoEncoder.AddReg

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

[VideoDecoder.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TTV200X.Decoder%
HKR,,Merit,1,00,00,40,00

[VideoCapture.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TTV200X.Capture%

[VideoEncoder.AddReg]
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%
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
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,
;; for Media Center Edtion 2005
HKR,Interfaces\{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c},,,
HKR,Capabilities,,,
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001,1

HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TTV200X.Encoder%
HKR,,Merit,1,00,00,40,00

[VideoTvTuner.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%TTV200X.TvTuner%
    
[VideoXBar.AddReg]
HKR,,CLSID,,{71F96460-78F3-11d0-A18C-00A0C9118956}
HKR,,FriendlyName,,%TTV200X.Crossbar%


[TTV200XPinNameRegistration]
HKLM,%MediaCategories%\%GUID.PINNAME_MPEG2_VIDEO%,Name,,%Pin.p2Video%
HKLM,%MediaCategories%\%GUID.PINNAME_VBI%,Name,,%Pin.p2VBI%
HKLM,%MediaCategories%\%GUID.PINNAME_Index%,Name,,%Pin.p2Index%
HKLM,%MediaCategories%\%GUID.PINNAME_VBI_OUT%,Name,,%Pin.p2VBIReinsert%
HKLM,%MediaCategories%\%GUID.PINNAME_MPEG2_DEC_VIDEO%,Name,,%Pin.p2VideoDec%
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_VIDEO_IN%,Name,,%Pin.p2AnalogVideoIn%
HKLM,%MediaCategories%\%GUID.PINNAME_ANALOG_AUDIO_IN%,Name,,%Pin.p2AnalogAudioIn%
HKLM,%MediaCategories%\%GUID.PINNAME_LINE_21%,Name,,%Pin.p2Line21%
HKLM,%MediaCategories%\%GUID.PINNAME_AUDIO_PCM%,Name,,%Pin.p2AudioPCM%
HKLM,%MediaCategories%\%GUID.PINNAME_VIDEO_YUV%,Name,,%Pin.p2VideoYUV%

; Proxy filter's friendly name
;HKLM,SOFTWARE\%RegistryCompanyName%\ivac15\1.00.000, "PCIFriendlyName",, %TTV200X.Capture%
;HKLM,SOFTWARE\%RegistryCompanyName%\ivac15\1.00.000, "PCIDecFriendlyName",, %TTV200X.Decoder%



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

[Strings]

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

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


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

PROV			=	"TOSHIBA"
MANUFAC			=	"TOSHIBA"
TTV200X.DeviceDesc	= 	"TOSHIBA PCI TV Tuner type W"
TTV200X.Capture		=    	"TOSHIBA PCI TV Tuner MPEG Encoder"
TTV200X.TvTuner		=    	"TOSHIBA PCI TV Tuner TV Tuner"
TTV200X.Crossbar	=   	"TOSHIBA PCI TV Tuner Crossbar"	
TTV200X.TvAudio		=    	"TOSHIBA PCI TV Tuner TV Audio"
TTV200X.InstallDisk	=	"TOSHIBA PCI TV Tuner install disk"
TTV200X.Encoder		=    	"TOSHIBA PCI TV Tuner Encoder"

; For the pinname
MediaCategories		=	"SYSTEM\CurrentControlSet\Control\MediaCategories"
ActiveMovieCategories	=	"CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"

GUID.PROPERTY_SET_IVAC_PROPERTIES	=	"{d2185a40-0398-11d3-a53e-00a0c9ef506a}"
GUID.PINNAME_MPEG2_VIDEO		=	"{4A548B66-AB0F-4bab-BF35-9B8DF814618B}"
GUID.PINNAME_VBI			=	"{d5b95261-c8e3-11d3-a541-00a0c9ef506a}"
GUID.PINNAME_Index			=	"{6e8aa6a9-1dee-11d5-a437-00e0294170dd}"
GUID.PINNAME_MPEG2_DEC_VIDEO		=	"{3e4035c1-6d25-11d4-a435-00e0294170dd}"
GUID.PINNAME_VBI_OUT			=	"{FE5BBAA5-2D07-4d35-BACA-E0ADDA5AD751}"

GUID.PINNAME_ANALOG_VIDEO_IN		=	"{41C38A94-B29F-4adc-855E-D5C8024ACAA4}"
GUID.PINNAME_ANALOG_AUDIO_IN 		=	"{04394D28-52A7-4c46-AED0-65D62CC64DA6}"
GUID.PINNAME_VIDEO_YUV 			=  	"{46E70DC8-C91C-4e27-9194-0A92787B225D}"
GUID.PINNAME_AUDIO_PCM 			=  	"{4DE7B8BD-66AF-409d-B1CA-1221C6C52B46}"

GUID.PINNAME_LINE_21 			=	"{FB6C4284-0353-11d1-905F-0000C0CC16BA}"

Pin.p2Video		=	"Video/Muxed Out"
Pin.p2VBI		=	"VBI"
Pin.p2Index		=	"Index"
Pin.p2VideoDec		= 	"Video/Muxed In"
Pin.p2AnalogVideoIn	=  	"Analog Video In"
Pin.p2AnalogAudioIn	=  	"Analog Audio In"
Pin.p2VBIReinsert	=	"VBI Reinsertion"
Pin.p2Line21		=	"VBI Line 21"
Pin.p2AudioPCM		=	"Audio PCM"
Pin.p2VideoYUV		=	"Video YUV"


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"
