;////////////////////////////////////////////////////////////////////////////////
;//
;//                           (C) Pinnacle Systems GmbH 2005-2007
;//      All rights are reserved.  Reproduction in whole or in part is prohibited
;//      without the written consent of the copyright owner.
;//
;//      Pinnacle Systems, Inc. reserves the right to make changes without notice at any time.
;//      Pinnacle Systems, Inc. makes no warranty, expressed, implied or statutory, including
;//      but not limited to any implied warranty of merchantibility of fitness
;//      for any particular purpose, or that the use will not infringe any
;//      third party patent, copyright or trademark. 
;//      Pinnacle Systems, Inc. must not be liable for any loss or damage arising from its use.
;//
;////////////////////////////////////////////////////////////////////////////////

;----------------------------------------------------------------------------------------------------
;
; PCTV713xi64.inf  -- This file contains installation information for
;                   "Pinnacle Systems PCTV 100i"
;                   "Pinnacle Systems PCTV 110i"
;                   "Pinnacle Systems PCTV 300i"
;                   "Pinnacle Systems PCTV 310i"
;                   "Pinnacle Systems PCTV MCE"
;
; Copyright(c) 2005-2007 Pinnacle Systems GmbH, Braunschweig, Germany, Alle Rechte vorbehalten
; Copyright 2004, Philips Semiconductors GmbH
;----------------------------------------------------------------------------------------------------

[Version]
signature         = "$CHICAGO$"
Class             = Media                                 
ClassGUID         = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider          = %Vendor%
CatalogFile       = PCTV713xi.cat
DriverVer         = 11/22/2006,1.3.3.5
DriverPackageType = PlugAndPlay
DriverPackageDisplayName="PCTV 100i,110i,300i,310i, MCE" 

[Manufacturer]
%Vendor% = Pinnacle, NTamd64

[Pinnacle.NTamd64]
%100iPAL.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7133&SUBSYS_002B11BD         ; PCTV 100i PAL
%100iNTSC.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7134&SUBSYS_002B11BD        ; PCTV 100i NTSC
%110i.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7133&SUBSYS_002E11BD            ; PCTV 110i
%300i.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7134&SUBSYS_002D11BD            ; PCTV 300i
%310i.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7133&SUBSYS_002F11BD            ; PCTV 310i
%MCEi.DeviceDesc%=713xi64,PCI\VEN_1131&DEV_7133&SUBSYS_003F11BD            ; PCTV MCE PCI

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,


[SourceDisksFiles]
3xHybr64.sys           = 1
34CoInstaller.dll      = 1


[DestinationDirs]
SectionX64.CopyDll.NTAMD64    = 11
SectionX64.CopyDriver.NTAMD64 = 10,system32\drivers


[SectionX64.CopyDll.NTAMD64]


[SectionX64.CopyDriver.NTAMD64]
3xHybr64.sys

;======================================
;
;       Initialization Entries
;
;======================================

;******** SAA7134 x64 ***
[713xi64.CoInstallers]
CopyFiles     = SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.DllAddReg.NTAMD64

[713xi64]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX64.CopyDriver.NTAMD64, SectionX64.CopyDll.NTAMD64
AddReg        = SectionX64.AddReg.NTAMD64, 713xi.AddReg

[713xi64.Services]
AddService    = %SERVICE_NAME_X64%, 0x00000002, SectionX64.ServiceInstall.NTAMD64

;******** GENERAL x64 ***
[SectionX64.ServiceInstall.NTAMD64]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybr64.sys


;======================================
;
;           Registry Entries
;
;======================================
; [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]...]

;
;******** General DLL Registry Entries ***
;

[SectionX64.DllAddReg.NTAMD64]

;
;******** General Driver Registry Entries ***
;
[SectionX64.AddReg.NTAMD64]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybr64.sys

; --- Registry Entries For Audio Capture ---

HKR,,Driver,,3xHybr64.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"

HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"Philips Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"Philips Audio Capture Device"

; add audio input and output pinnames
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_CAP_PIN%,"Name",,"~Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_CAP_PIN%,"Name",,"~Capture"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_PRE_PIN%,"Name",,"~Preview"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_AES_PIN%,"Name",,"MPEG Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_VES_PIN%,"Name",,"MPEG Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_PS_PIN%,"Name",, "MPEG2 Program"


;
;******** Board - Specific Registry Entries ***
;
[713xi.AddReg]

; Prefix will be displayed in front of the device name on every filter
HKR, "Parameters","Prefix",,%PHILIPS_CUSTOM_TUNERNAME%

; Reduces second pair of video/audio inputs
HKR, "Parameters","SmallXBar",0x00010001,0x01

; Enable alternativ V-Sync
HKR, "GPIO", "EnableGPIO22VSync",0x00010001,1

; Auto remove 60Hz formats under MCE in 50Hz countries
HKR, "Parameters", "AutoRemove60HzStd",0x00010001,1

; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
HKR, "Audio", "FM Radio IF",0x00010001,0x729555

; Setting FM radio lock level
HKR, "Parameters", "FmLockLevel",0x00010001,0x0927C0

; GPIO Audio Configuration
HKR, "Audio", "I2S Output", 0x00010001,0x00000000
HKR, "Audio", "I2S2 Output", 0x00010001,0x00000000

; LNA Switch off level
HKR, "Parameters","TDA8275A_LNA_LVL_TV",0x00010001,0x0000001C
HKR, "Parameters","TDA8275A_LNA_LVL1_TV",0x00010001,0x00000021
HKR, "Parameters","TDA8275A_LNA_LVL2_TV",0x00010001,0x0000001B
HKR, "Parameters","TDA8275A_LNA_LVL_DVBT",0x00010001,0x00000008


;======================================
;
;           Strings Defines
;
;======================================

[Strings]
;-------------------------------
; Capture Filter Pin Name GUIDs
;-------------------------------
AVSTREAM_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
AVSTREAM_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
AVSTREAM_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"
AVSTREAM_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
AVSTREAM_ANLG_VIDEO_CAP_PIN  = "{16FFBD0A-F770-4692-A2FF-DD394DFE9564}"
AVSTREAM_ANLG_VIDEO_PRE_PIN  = "{A19F6121-9CF7-4081-8053-256668FCBE1F}"
AVSTREAM_ANLG_AUDIO_CAP_PIN  = "{BA9E27B1-CF44-490e-8EAB-5F662E5FFE74}"
AVSTREAM_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
AVSTREAM_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
AVSTREAM_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"


;--------------------
; System Defines
;--------------------
Vendor="Pinnacle Systems"

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



DRIVER_NAME_X64               = "3xHybr64.sys"

;--- Catalog file (signature) names for 32/64 bit OS ---
SIGNATURE_NAME_X64            = "PCTV713xi.cat"



;--- Service names linked to the driver binary ---
SERVICE_NAME_X64              = "3xHybr64"
SERVICE_DESCRIPTION           = "PCTV 713xi BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "Pinnacle PCTV 100i-110i-300i-310i-MCE"

;--- General names ---
PROVIDER                      = "Pinnacle Systems"
INSTALLATION_DISK             = "Pinnacle PCTV 100-110i-300i-310i-MCE installation disk"



;*** Specific Names ***
;-----------------
PHILIPS.AudioDeviceDesc       = "PCTV 713xi Audio Capture Device"

PHILIPS_CUSTOM_TUNERNAME      = "PCTV 713xi"


100iPAL.DeviceDesc   = "Pinnacle PCTV 100i Stereo PAL Capture Device"
100iNTSC.DeviceDesc  = "Pinnacle PCTV 100i Stereo NTSC Capture Device"
110i.DeviceDesc      = "Pinnacle PCTV 110i Capture Device"
300i.DeviceDesc      = "Pinnacle PCTV 300i PAL Stereo DVB-T Capture Device"
310i.DeviceDesc      = "Pinnacle PCTV 310i PAL Stereo DVB-T Capture Device"
MCEi.DeviceDesc      = "Pinnacle PCTV MCE Stereo DVB-T Capture Device"
