; ATIrt264.inf
; Copyright 2005, ATI Technologies Inc.

[Version]
CatalogFile=atirt264.cat
signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ATI%
DriverVer=06/13/2007, 6.14.10.1082

[SourceDisksNames]
1="ATI Drivers Release CD",,, 


[SourceDisksFiles]
atinavt2.SYS=1
ativmc01.cod=1
atinppt2.ax=1
atinpwt2.ax=1

[DestinationDirs]
ATIAVAIW.CopyDrivers=12
ATIAVAIW.CopyFilters=11
ATIAVAIW.CopyFilters.NTamd64=10,SysWOW64
DSPminicode.CopyDriver=12

[Manufacturer]
%ATI%=ATI.Mfg, NTamd64

[ATI.Mfg.NTamd64]
%ATIAVAIW.DeviceDesc%=ATIAVAIW,DISPLAY\ntativrv01
%ATIAVAIW.DeviceDesc%=ATIAVAIW,DISPLAY\ntativrv02
%ATIAVAIW.DeviceDesc%=ATIAVAIW,DISPLAY\ntativrv03


[ATIAVAIW.CopyDrivers]
atinavt2.sys

[ATIAVAIW.CopyFilters]
atinppt2.ax

[ATIAVAIW.CopyFilters.NTamd64]
atinpwt2.ax

[DSPminicode.CopyDriver]
ativmc01.cod

;
;*** initialisation and registry entries
;

;[DSPMinicode.Add.Reg]
;HKLM,Software\ATI Technologies\WDMCapture, DSP_Binary_AVST200,,ativmc01.cod

[ATIAVAIW.ntamd64]
Include=ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Registration.NT,bda.Installation.NT,wdmaudio.Registration.NT
CopyFiles=ATIAVAIW.CopyDrivers,ATIAVAIW.CopyFilters,ATIAVAIW.CopyFilters.NTamd64,DSPminicode.CopyDriver
;CopyFiles=ATIAVAIW.CopyDrivers,DSPminicode.CopyDriver
;AddReg=ATIAVAIW.AddReg,DSPminicode.Add.Reg,PropPages.AddReg
AddReg=ATIAVAIW.AddReg,PropPages.AddReg

[ATIAVAIW.ntamd64.Services]
AddService=ATIAVAIW, 0x00000002, ATIAVAIW.ServiceInstall

[ATIAVAIW.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\atinavt2.sys
; [StartName=driver-object-name]
; [AddReg=add-registry-section[, add-registry-section] ...]
; [DelReg=del-registry-section[, del-registry-section] ...]
; [BitReg=bit-registry-section[,bit-registry-section] ...]
; [LoadOrderGroup=load-order-group-name]
; [Dependencies=depend-on-item-name[,depend-on-item-name]...]

[ATIAVAIW.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,atinavt2.sys


; audio capture registry entries

;HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
;HKR,,Driver,,atinavt2.SYS
;HKR,Drivers,SubClasses,,"wave"
;HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
;HKR,Drivers\wave\wdmaud.drv,Description,,"ATI audio capture device"

; add audio input and output pinnames

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_ANALOG_AUDIO_IN_PIN%,"Name",,"ATI Analog Audio Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_ANALOG_AUDIO_OUT_PIN%,"Name",,"ATI Analog Audio Output"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_CAP_AUDIO_IN_PIN%,"Name",,"ATI Audio Capture Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_CAP_AUDIO_OUT_PIN%,"Name",,"ATI Audio Capture Output"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_ANALOG_VIDEO_IN_PIN%,"Name",,"ATI Analog Video Input"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_MUX_VIDEO_YUV_IN_PIN%,"Name",,"ATI MUX Video YUV Input"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_MUX_AUDIO_PCM_IN_PIN%,"Name",,"ATI MUX Audio PCM Input"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_DECODER_VIDEO_YUV_OUT_PIN%,"Name",,"ATI Video Decoder YUV Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_DECODER_AUDIO_PCM_OUT_PIN%,"Name",,"ATI Audio Decoder PCM Output"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_TUNER_VIDEO%,"Name",,"ATI XBAR Video Tuner Input"

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_TUNER_AUDIO%,"Name",,"ATI XBAR Audio Tuner Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_COMPOSITE_VIDEO%,"Name",,"ATI XBAR Video Composite Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_SVIDEO_VIDEO%,"Name",,"ATI XBAR SVideo Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_LINEIN%,"Name",,"ATI XBAR Audio Line Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_OUT_VIDEO%,"Name",,"ATI XBAR Video Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_OUT_AUDIO%,"Name",,"ATI XBAR Audio Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_MUX_MPEG2_OUT%,"Name",,"ATI MUX MPEG2 Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_VBI_OUT%,"Name",,"ATI VBI Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_VIDEO_CAPTURE%,"Name",,"ATI Video Capture Output"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_VIDEO_PREVIEW%,"Name",,"ATI Video Preview Output"

; VIDEO board defaults
HKR, "Decoder", "Tuner Channel", 0x00010001, 3
HKR, "Decoder", "CVBS Channel",  0x00010001, 1
HKR, "Decoder", "SVHS Channel",  0x00010001, 8

;******** HKR, "Decoder", "Preferred Video Standard",0x00010001,1

;AUDIO board defaults
HKR, "BoardSetting", "Tuner",      0x00010001, 1
HKR, "BoardSetting", "Composite1", 0x00010001, 2
HKR, "BoardSetting", "SVideo1",    0x00010001, 3

;******** Firmware *********************
HKR, "BoardSetting", "DSP_Binary_AVST200", 0x00010000, "ativmc01.cod"

[ATIAVAIW.ntamd64.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%ATI_CAP_FILTER%,ATIAVAIW.AnlgCapture,0
AddInterface=%KSCATEGORY_VIDEO%,%ATI_CAP_FILTER%,ATIAVAIW.AnlgCapture,0
;AddInterface=%KSCATEGORY_AUDIO%,%ATI_CAP_FILTER%,ATIAVAIW.AnlgACapture,0
AddInterface=%KSCATEGORY_AUDIO_CAP%,%ATI_AUDIO_FILTER%,ATIAVAIW.AnlgACapture,0
AddInterface=%KSCATEGORY_CROSSBAR%,%ATI_XBAR_FILTER%,ATIAVAIW.AnlgXBar,0
AddInterface=%KSCATEGORY_TVAUDIO%,%ATI_TVAUDIO_FILTER%,ATIAVAIW.AnlgTVAudio,0
AddInterface=%KSCATEGORY_TVTUNER%,%ATI_TUNER_FILTER%,ATIAVAIW.AnlgTuner,0
AddInterface=%KSCATEGORY_BDA_RECEIVER_COMPONENT%,%ATI_BDA_CAP_FILTER%,ATIAVAIW.DgtlCapture,0
AddInterface=%KSCATEGORY_BDA_NETWORK_TUNER%,%ATI_BDA_TUNER_FILTER%,ATIAVAIW.DgtlTuner,0

[ATIAVAIW.AnlgCapture]
AddReg=ATIAVAIW.AnlgCapture.AddReg

[ATIAVAIW.AnlgCapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.AnlgCaptureName%
HKR,,BoardType,,%ATIAVAIW.BoardType%

;Name AnalogAudioCapture is too long for 98 SE.
[ATIAVAIW.AnlgACapture]
AddReg=ATIAVAIW.AnlgACapture.AddReg

; Audio Filter
[ATIAVAIW.AnlgACapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.AnlgAudioCaptureName%

[ATIAVAIW.AnlgXBar]
AddReg=ATIAVAIW.AnlgXBar.AddReg

[ATIAVAIW.AnlgXBar.AddReg]
HKR,,CLSID,,%KSXBar.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.AnlgXBarName%

[ATIAVAIW.AnlgTVAudio]
AddReg=ATIAVAIW.AnlgTVAudio.AddReg

[ATIAVAIW.AnlgTVAudio.AddReg]
HKR,,CLSID,,%KSTVAudio.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.AnlgTVAudioName%

[ATIAVAIW.AnlgTuner]
AddReg=ATIAVAIW.AnlgTuner.AddReg

[ATIAVAIW.AnlgTuner.AddReg]
HKR,,CLSID,,%KSTvTune.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.AnlgTunerName%

[ATIAVAIW.DgtlCapture]
AddReg=ATIAVAIW.DgtlCapture.AddReg

[ATIAVAIW.DgtlCapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.DgtlCaptureName%

[ATIAVAIW.DgtlTuner]
AddReg=ATIAVAIW.DgtlTuner.AddReg

[ATIAVAIW.DgtlTuner.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVAIW.DgtlTunerName%

;
;*** strings, GUIDs and names
;

[Strings]

; Proxy GUIDs

KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
KSEncoder.CLSID = "{B43C4EEC-8C32-4791-9102-508ADA5EE8E7}"

; Category GUIDs

KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_AUDIO_CAP              = "{33D9A762-90C8-11d0-BD43-00A0C911CE86}"
KSCATEGORY_CROSSBAR               = "{a799a801-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVAUDIO                = "{a799a802-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_TVTUNER                = "{a799a800-a46d-11d0-a18c-00a02401dcd4}"
KSCATEGORY_BDA_RECEIVER_COMPONENT = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
KSCATEGORY_BDA_NETWORK_TUNER      = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
KSCATEGORY_MULTIPLEXER			  = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

; Our Pin names GUIDs

ATI_ANALOG_AUDIO_IN_PIN  = "{5F5F15EE-BE2A-4724-BD8E-1C96C64052C5}"
ATI_ANALOG_AUDIO_OUT_PIN = "{97125624-0CAF-4d83-820C-7CB221D1DB7B}"
ATI_CAP_AUDIO_IN_PIN = "{37B21F5C-F3F9-4F52-844E-1FACB270BBF4}"
ATI_CAP_AUDIO_OUT_PIN = "{A5025814-17D8-4A8C-97CF-DE18D7F22A81}"

ATI_ANALOG_VIDEO_IN_PIN = "{4E442343-05D5-4ffd-B15E-EDFAA606044F}"

ATI_MUX_VIDEO_YUV_IN_PIN = "{0107bf79-8d8b-4fd3-8d51-7b415b7c23d8}"

ATI_MUX_AUDIO_PCM_IN_PIN = "{3d813b20-c5df-4f43-a7a3-fdaf68662091}"

ATI_DECODER_VIDEO_YUV_OUT_PIN = "{4577ba09-9ddf-4004-a2e7-885cdd8c6552}"
ATI_DECODER_AUDIO_PCM_OUT_PIN = "{07c80e21-a7d8-4cfe-ace8-8b1849917ad5}"

ATI_XBAR_IN_TUNER_VIDEO = "{34616BA9-67D6-46FF-A419-B463E4A04BC1}"

ATI_XBAR_IN_TUNER_AUDIO = "{9A4EF9CE-D1FB-4798-B43B-0538AEA48CBF}"
ATI_XBAR_IN_COMPOSITE_VIDEO = "{C50A1A86-E2AB-491A-A920-0538AB38560A}"
ATI_XBAR_IN_SVIDEO_VIDEO = "{9428A582-994B-4CA0-A638-7F6961500527}"
ATI_XBAR_IN_LINEIN = "{F11EC308-F819-4D5B-9A01-C19F9ECD311E}"
ATI_XBAR_OUT_VIDEO = "{AC7B7E51-BEC5-4E32-AC0A-12735574686B}"
ATI_XBAR_OUT_AUDIO = "{776222AA-DD71-481D-A8B3-2FEE195DC69F}"
ATI_MUX_MPEG2_OUT = "{BEB010D2-3BA3-459e-8925-C4C29AA02CB7}"
ATI_VBI_OUT = "{D979380F-806C-4c4c-B832-7F1453921736}"
ATI_VIDEO_CAPTURE = "{78D1318E-33C5-49b5-84CB-1A510B8D2687}"
ATI_VIDEO_PREVIEW = "{30FC0C49-127E-4be4-A747-BC0E43DE6E70}"

; Our Filter GUIDs

ATI_CAP_FILTER     = "{BC187864-4183-4DC5-9FE0-679A7A039975}"
ATI_AUDIO_FILTER = "{E64B8433-C25B-484C-9F2C-CA1719E85CB6}"
ATI_XBAR_FILTER    = "{39309DA7-B1C0-43A3-AAC3-6D6BFCBB75A9}"
ATI_TVAUDIO_FILTER = "{61E3C270-5102-4266-864D-BDE1E28E10E1}"
ATI_TUNER_FILTER   = "{E6223D77-45F9-4025-A86F-27BDDB4C8CA9}"
ATI_BDA_CAP_FILTER     = "{30CA4E99-F538-442E-ADE9-9BCE73DA67A3}"
ATI_BDA_TUNER_FILTER   = "{EEC5A519-643F-4A74-BC7F-5CE7D46FEFD5}"
ATI_MPEG2_MUX_FILTER   = "{6b2088b7-1e3b-4d3d-905f-2ff22040d5b2}"
; system defines

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3 

FLG_REGSVR_DLLREGISTER = 0x00000001


              
GUID.Encoder="{19689BF6-C384-48fd-AD51-90E58C79F70B}"
GUID.Multiplexer="{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"

CLSID_LegacyAMCat="{083863F1-70DE-11d0-BD40-00A0C911CE86}"
CLSID_ColorConv="{32EDFAC2-2540-11D6-919F-00A0CCA0F7C6}"  

Category_Encoders="WDM Streaming Encoder Devices"
Category_Multiplexers="WDM Streaming Multiplexer Devices"
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
ActiveMovieCategories="CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"

Node.Encoder="Encoder"
Node.Multiplexer="Multiplexer"


;Our strings

ATI="ATI Technologies"
ATIAVAIW.DeviceDesc      = "ATI T200 Unified AVStream Driver"
DiskId                   = "ATI T200 Unified AVStream Driver Disk"
DISPLAY_NAME             = "ATI T200 Unified AVStream service"
SERVICE_DESCRIPTION      = "ATI T200 Unified AVStream Driver"

;Our Friendly Names

ATIAVAIW.AnlgCaptureName      = "ATI T200 AVStream Analog Capture"
ATIAVAIW.AnlgXBarName         = "ATI T200 AVStream Analog Xbar"
ATIAVAIW.AnlgTVAudioName      = "ATI T200 AVStream Analog TV Audio"
ATIAVAIW.AnlgTunerName        = "ATI T200 AVStream Analog Tuner"
ATIAVAIW.AnlgAudioCaptureName = "ATI T200 AVStream Analog Audio Capture"
ATIAVAIW.DgtlTunerName	      = "ATI BDA Tuner"
ATIAVAIW.DgtlCaptureName      = "ATI AVStream BDA Capture"
ATIAVAIW.BoardType            = "T200 Decoder"


;properties GUIDs
GUID.PROPERTY_SET_BOARD_NUMBER = "{800D3D39-878E-4fad-887D-89D70AD70AD9}"
GUID.PROPERTY_SET_PCDETECTION = "{55449AB5-D0CA-4a8a-8512-6D4AF1019FBD}"
GUID.PROPERTY_SET_PCPROTECTION = "{33D22047-68D9-44e6-82BF-336B2A01F144}"

;property pages GUIDs
GUID.PROPERTY_PAGE_BOARD_NUMBER = "{017FDB13-2760-4e99-BAA9-9475BF3E7DD8}"
GUID.PROPERTY_PAGE_PC_DETECTION = "{55A82C02-AEED-4bee-B13C-276F24521AEF}"

[PropPages.AddReg]
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_BOARD_NUMBER%\PropertyPages\%GUID.PROPERTY_PAGE_BOARD_NUMBER%,,,"BoardNumberPropertySet"
HKLM,System\CurrentControlSet\Control\MediaSets\%GUID.PROPERTY_SET_PCDETECTION%\PropertyPages\%GUID.PROPERTY_PAGE_PC_DETECTION%,,,"PCDetectionPropertySet"


HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_BOARD_NUMBER%,,,"BoardNumberInterfaceT200"
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_BOARD_NUMBER%,IID,1,0C,7B,38,DC,7D,39,e1,44,8F,92,23,C0,D6,53,E7,24

HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_PCDETECTION%,,,"PCDetectionInterfaceT200"
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_PCDETECTION%,IID,1,7E,42,C6,DE,A9,E9,05,41,8D,5A,61,3C,56,2E,B6,BF

HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_PCPROTECTION%,,,"PCProtectionInterfaceT200"
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%GUID.PROPERTY_SET_PCPROTECTION%,IID,1,F2,36,D5,EE,3A,BE,61,4a,96,87,0E,1F,9B,D0,1E,4B


HKCR,CLSID\%GUID.PROPERTY_PAGE_BOARD_NUMBER%,,,"BoardNumberPropertySetT200"
HKCR,CLSID\%GUID.PROPERTY_PAGE_BOARD_NUMBER%\InprocServer32,,,atinppt2.ax
HKCR,CLSID\%GUID.PROPERTY_PAGE_BOARD_NUMBER%\InprocServer32,ThreadingModel,,Both

HKCR,CLSID\%GUID.PROPERTY_PAGE_PC_DETECTION%,,,"PCDetectionPropertySetT200"
HKCR,CLSID\%GUID.PROPERTY_PAGE_PC_DETECTION%\InprocServer32,,,atinppt2.ax
HKCR,CLSID\%GUID.PROPERTY_PAGE_PC_DETECTION%\InprocServer32,ThreadingModel,,Both


HKCR,CLSID\%GUID.PROPERTY_SET_BOARD_NUMBER%,,,"BoardNumberInterfaceT200"
HKCR,CLSID\%GUID.PROPERTY_SET_BOARD_NUMBER%\InprocServer32,,,atinppt2.ax
HKCR,CLSID\%GUID.PROPERTY_SET_BOARD_NUMBER%\InprocServer32,ThreadingModel,,Both

HKCR,CLSID\%GUID.PROPERTY_SET_PCDETECTION%,,,"PCDetectionInterfaceT200"
HKCR,CLSID\%GUID.PROPERTY_SET_PCDETECTION%\InprocServer32,,,atinppt2.ax
HKCR,CLSID\%GUID.PROPERTY_SET_PCDETECTION%\InprocServer32,ThreadingModel,,Both

HKCR,CLSID\%GUID.PROPERTY_SET_PCPROTECTION%,,,"PCProtectionInterfaceT200"
HKCR,CLSID\%GUID.PROPERTY_SET_PCPROTECTION%\InprocServer32,,,atinppt2.ax
HKCR,CLSID\%GUID.PROPERTY_SET_PCPROTECTION%\InprocServer32,ThreadingModel,,Both

;end of [PropPages.AddReg]
