; Copyright 2003, ATI Technologies 

[Version]
signature="$CHICAGO$" ;all windows os
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ATI%
pnplockdown=1
DriverVer=09/04/2008,6.14.10.184

[Manufacturer]
%ATI%=ATI,NTx86...1

[ATI.NTx86...1]
%ATIAVPCI.DeviceDesc%		= ATIAVPCI, 	PCI\VEN_1002&DEV_4D53	;Rio vendor id and device PCIe id
%ATIAVPCI.DeviceDesc%		= ATIAVPCI, 	PCI\VEN_1002&DEV_4D52	;Rio vendor id and device PCI id

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
atinavrr.sys=3426
CTRL.s3=3426

[DestinationDirs]
ATIAVPCI.CopyDrivers=10,system32\drivers
;ATIAVPCI.CopyFilters=11
DSPminicode.CopyDriver=12

[ATIAVPCI.CopyDrivers]
atinavrr.sys

[ATIAVPCI.CopyFilters]
;atinpprr.ax

[DSPminicode.CopyDriver]
CTRL.s3

;
;*** initialisation and registry entries
;

[ATIAVPCI.NT]
Include=ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs=KS.Registration,KSCAPTUR.Registration.NT,BDA.Registration,bda.Installation.NT,wdmaudio.Registration
CopyFiles=ATIAVPCI.CopyDrivers,DSPminicode.CopyDriver
AddReg=ATIAVPCI.AddReg
AddProperty=ATIAVPCI.AddProp ; generic driver tag for in-box driver

[ATIAVPCI.AddProp]
GenericDriverInstalled,,,,1

[ATIAVPCI.NT.Services]
AddService=ATIAVPCI, 0x00000002, ATIAVPCI.ServiceInstall

[ATIAVPCI.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\atinavrr.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]...]


[ATIAVPCI.AddReg]
; audio capture registry entries

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

; add 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_IN_COMPOSITE_VIDEO_FRONT%,"Name",,"ATI XBAR Video Front Composite Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_SVIDEO_VIDEO_FRONT%,"Name",,"ATI XBAR Front SVideo Input"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%ATI_XBAR_IN_LINEIN_FRONT%,"Name",,"ATI XBAR Audio Front 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

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


[ATIAVPCI.Mpeg2Mux]
AddReg = ATIAVPCI.Mpeg2Mux.AddReg


[ATIAVPCI.Mpeg2Mux.AddReg]
HKR,Interfaces\%KSEncoder.CLSID%,,,
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVPCI.Mpeg2MuxName%
HKR,,Merit,1,00,00,40,00
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001,1

[ATIAVPCI.AnlgCapture]
AddReg=ATIAVPCI.AnlgCapture.AddReg

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

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

[ATIAVPCI.AnlgACapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVPCI.AnlgAudioCaptureName%

[ATIAVPCI.AnlgXBar]
AddReg=ATIAVPCI.AnlgXBar.AddReg

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

[ATIAVPCI.AnlgTVAudio]
AddReg=ATIAVPCI.AnlgTVAudio.AddReg

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

[ATIAVPCI.AnlgTuner]
AddReg=ATIAVPCI.AnlgTuner.AddReg

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

[ATIAVPCI.DgtlCapture]
AddReg=ATIAVPCI.DgtlCapture.AddReg

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

[ATIAVPCI.DgtlTuner]
AddReg=ATIAVPCI.DgtlTuner.AddReg

[ATIAVPCI.DgtlTuner.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%ATIAVPCI.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_IN_COMPOSITE_VIDEO_FRONT = "{C50A1A86-E2AB-491A-A920-0538AB38560B}"
ATI_XBAR_IN_SVIDEO_VIDEO_FRONT = "{9428A582-994B-4CA0-A638-7F6961500528}"
ATI_XBAR_IN_LINEIN_FRONT = "{F11EC308-F819-4D5B-9A01-C19F9ECD311F}"
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

;Our strings

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

;Our Friendly Names

ATIAVPCI.AnlgCaptureName = "ATI AVStream Analog Capture"
ATIAVPCI.AnlgXBarName    = "ATI AVStream Analog Xbar"
ATIAVPCI.AnlgTVAudioName = "ATI AVStream Analog TV Audio"
ATIAVPCI.AnlgTunerName   = "ATI AVStream Analog Tuner"
ATIAVPCI.DgtlCaptureName = "ATI BDA Digital Capture"
ATIAVPCI.DgtlTunerName   = "ATI BDA Digital Tuner"
ATIAVPCI.AnlgAudioCaptureName = "ATI AVStream Analog Audio Capture"
ATIAVPCI.Mpeg2MuxName	= "ATI AVStream MPEG2 Multiplexer"
ATIAVPCI.BoardType        = "T510 encoder"

;properties GUIDs
GUID.PROPERTY_SET_ASICFILTERS = "{50EC5D69-BD95-4d84-BF55-C573D02D1DAD}"
GUID.PROPERTY_SET_VIDEO_MPEGCOMPRESSOR = "{119511E7-4461-4d78-8841-5C4AE61EEF8A}"
GUID.PROPERTY_SET_AUDIO_MPEGCOMPRESSOR = "{5B5332F8-4684-49fb-8B71-5BF6ACEA41D6}"
GUID.PROPERTY_SET_BLUESCREEN = "{B267AB8C-C1DA-4f0b-9C28-40D180D7414F}"
GUID.PROPERTY_SET_BOARD_NUMBER = "{F6457EA5-5484-4e6b-BFBC-A07FB5B44F6E}"
GUID.PROPERTY_SET_PCDETECTION = "{6B5C9B91-438C-4707-9658-073A1AF2E0AF}"
GUID.PROPERTY_SET_PCPROTECTION = "{48085637-AD93-41d4-831F-8375B609D700}"

;property pages GUIDs
GUID.PROPERTY_PAGE_ASICFILTERS = "{DF3704D7-E0A9-4802-80AD-B0B27EF3BB5B}"
GUID.PROPERTY_PAGE_VIDEO_MPEGCOMPRESSOR = "{08DAC99A-6B17-4332-B990-0081A9B9A15E}"
GUID.PROPERTY_PAGE_AUDIO_MPEGCOMPRESSOR = "{09E23E26-ED19-415a-B1FA-4F832E9D091D}"
GUID.PROPERTY_PAGE_BOARD_NUMBER = "{08E6AA23-3C53-4f84-879A-41BE6F81B7B0}"
GUID.PROPERTY_PAGE_PC_DETECTION = "{47AA2D53-A207-41e4-B622-1815BCE30739}"

