;------------------------------------------------------------------------
;   A88EncBB.inf
;      
;       This file contains installation inforamtion for encoder driver 
;       of AVerMedia's TV tuenr card with Cx23416 as H/W MPEG-II 
;       encoder.
;
;   Copyright and Disclaimer:
;       
;       This software is provided "as is" without warranty of any kind,
;       either expressed or implied, including but not limited to the
;       implied warranties of merchantability and/or fitness for a
;       particular purpose.
;       
;       Copyright (c) 2001-2003 AVerMedia Technologies, Inc.
;       All Rights Reserved.
;       
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="AVerMedia"
DriverVer=03/03/2005,1.0.6.14
CatalogFile=A88EncBB.cat

[Manufacturer]
"AVerMedia"=AVerMedia

[SourceDisksNames]
1="AVerMedia M150 H/W MPEG Card Drivers",,,""

[SourceDisksFiles]
A88EncBB.sys=1
prxypage.ax=1
cpnotify.ax=1
msvcr70.dll=1
msvcr70d.dll=1
msvcp70.dll=1
msvcp70d.dll=1

[AVerMedia]
; M150 Models
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C0111461 ;NTSC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C0111461 ;NTSC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C1111461 ;NTSC, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C1111461 ;NTSC, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C1161461 ;NTSC-J, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C1161461 ;NTSC-J, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C00E1461 ;NTSC-J
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C00E1461 ;NTSC-J
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C00B1461 ;PAL 4-in-1
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C00B1461 ;PAL 4-in-1
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C10B1461 ;PAL 4-in-1, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C10B1461 ;PAL 4-in-1, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C1151461 ;Russia, FIC
%BLACKBIRD.DeviceDesc%=BLACKBIRD_PAL,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C1151461 ;Russia, FIC

; M183 Models
%BLACKBIRD.DeviceDesc%=M183,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C2111461 ;M183, NTSC
%BLACKBIRD.DeviceDesc%=M183,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C2111461 ;M183, NTSC
%BLACKBIRD.DeviceDesc%=M183,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C2161461 ;M183, NTSC-J
%BLACKBIRD.DeviceDesc%=M183,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C2161461 ;M183, NTSC-J
%BLACKBIRD.DeviceDesc%=M183_PAL,  	PCI\VEN_14F1&DEV_8802&SUBSYS_C20B1461 ;M183, PAL
%BLACKBIRD.DeviceDesc%=M183_PAL,  	PCI\VEN_14F1&DEV_8812&SUBSYS_C20B1461 ;M183, PAL

; M15F Models
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802&SUBSYS_C30C1461 ;M15F, NTSC-J
%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812&SUBSYS_C30C1461 ;M15F, NTSC-J

; For Debugging
;%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8802
;%BLACKBIRD.DeviceDesc%=BLACKBIRD,  		PCI\VEN_14F1&DEV_8812

;-------------------------------------------------------------------------------
; M150 NTSC
;-------------------------------------------------------------------------------
[BLACKBIRD]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     CX88ENC.AddReg,BLACKBIRD.AddReg
CopyFiles=  CX88ENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls = DSFilters.RegFiles
Reboot

[BLACKBIRD.AddReg]
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x00,0x00,0x00,0x00

[BLACKBIRD.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",BLACKBIRD_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",BLACKBIRD_Interface,

[BLACKBIRD.Services]
AddService = CX88ENC,2,BLACKBIRD.ServiceInstall

;-------------------------------------------------------------------------------
; M150 PAL
;-------------------------------------------------------------------------------
[BLACKBIRD_PAL]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     CX88ENC.AddReg,BLACKBIRD_PAL.AddReg
CopyFiles=  CX88ENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles
Reboot

[BLACKBIRD_PAL.AddReg]
HKR,"DriverData","EncoderDefaultResolution", 0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData","EncoderDefaultFrameRate",  0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","EncoderMVDRM",             0x00010001, 0x00,0x00,0x00,0x00

[BLACKBIRD_PAL.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",BLACKBIRD_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",BLACKBIRD_Interface,

[BLACKBIRD_PAL.Services]
AddService = CX88ENC,2,BLACKBIRD.ServiceInstall

; ------------------------------------------------------------------------------
; M183 NTSC
; ------------------------------------------------------------------------------
[M183]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     CX88ENC.AddReg,M183.AddReg
CopyFiles=  CX88ENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls = DSFilters.RegFiles
Reboot

[M183.AddReg]
HKR,"DriverData","EncoderMVDRM",      0x00010001,   0x00,0x00,0x00,0x00
HKR,"DriverData","EncoderMaxBitRate", 0x00010001,   0x80,0x8D,0x5B,0x00 ; 6M

[M183.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",BLACKBIRD_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",BLACKBIRD_Interface,

[M183.Services]
AddService = CX88ENC,2,BLACKBIRD.ServiceInstall

;-------------------------------------------------------------------------------
; M183 PAL
;-------------------------------------------------------------------------------
[M183_PAL]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     CX88ENC.AddReg, M183_PAL.AddReg
CopyFiles=  CX88ENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles
Reboot

[M183_PAL.AddReg]
HKR,"DriverData","EncoderDefaultResolution", 0x00010001, 0x03,0x00,0x00,0x00
HKR,"DriverData","EncoderDefaultFrameRate",  0x00010001, 0x01,0x00,0x00,0x00
HKR,"DriverData","EncoderMVDRM",             0x00010001, 0x00,0x00,0x00,0x00
HKR,"DriverData","EncoderMaxBitRate",        0x00010001, 0x80,0x8D,0x5B,0x00 ; 6M

[M183_PAL.Interfaces]
AddInterface=%GUID.Encoder%,"GLOBAL",BLACKBIRD_Interface,
AddInterface=%GUID.Multiplexer%,"GLOBAL",BLACKBIRD_Interface,

[M183_PAL.Services]
AddService = CX88ENC,2,BLACKBIRD.ServiceInstall

; ------------------------------------------------------------------------------
;  Common
; ------------------------------------------------------------------------------
[DestinationDirs]
CX88ENC.CopyDrivers=10,system32\drivers
DSFilters.CopyFiles=11

[CX88ENC.CopyDrivers]
A88EncBB.sys

[DSFilters.CopyFiles]
prxypage.ax
cpnotify.ax
msvcr70.dll,,,0x00000010
msvcr70d.dll,,,0x00000010
msvcp70.dll,,,0x00000010
msvcp70d.dll,,,0x00000010

[DSFilters.RegFiles]
11,,cpnotify.ax, 1

[CX88ENC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,A88EncBB.sys
HKR,,OkToHibernate,3,01
HKR,,PageOutWhenUnopened,3,00
HKR,,DontSuspendIfStreamsAreRunning,3,01

;Register the name of the 656 pin
HKLM,%MediaCategories%\%GUID.PINNAME_656_IN%,Name,,%PinName.656_IN%
HKLM,%MediaCategories%\%GUID.PINNAME_I2S_IN%,Name,,%PinName.I2S_IN%

;Name of the MPEG output pin.
HKLM,%MediaCategories%\%TPPinID%,Display,1, 00,00,00,00
HKLM,%MediaCategories%\%TPPinID%,Name,,%TPpinName%

;Add the property pages

HKCR,CLSID\%GUID.General_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.General_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.General_Properties%,,,

HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.Video_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Video_Properties%,,,

HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.Audio_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Audio_Properties%,,,

HKCR,CLSID\%GUID.MPEG_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.MPEG_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.MPEG_Properties%,,,

HKCR,CLSID\%GUID.Diagnostic_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.Diagnostic_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Diagnostic_Properties%,,,

HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,,,prxypage.ax
HKCR,CLSID\%GUID.Noise_Properties%\InprocServer32,ThreadingModel,,Both
HKLM,%MediaSets%\%GUID.IVAC_PROPERTIES%\PropertyPages\%GUID.Noise_Properties%,,,

HKLM,%MediaInterfaces%\{081D14BF-EE34-400b-B062-0C34A88B02B8},,,"Copy Protect Notification Filter"
HKLM,%MediaInterfaces%\{081D14BF-EE34-400b-B062-0C34A88B02B8},IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

;Register the encoder and multiplexer classes with Direct X
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%

;Register the names of the encoder and multiplexer nodes
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


[BLACKBIRD_Interface]
AddReg=BLACKBIRD_Interface.AddReg

[BLACKBIRD_Interface.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%BlackbirdFriendlyName%
;Add an interface for Microsoft's video bit rate property set
HKR,Interfaces\{B43C4EEC-8C32-4791-9102-508ADA5EE8E7},,,

HKR,Interfaces\{b05dabd9-56e5-4fdc-afa4-8a47e91f1c9c},,,

HKR,Capabilities,,,
HKR,Capabilities,"{BB4FAA02-596C-4129-8FB3-74E75421FA02}", 0x00010001,1

[BLACKBIRD.ServiceInstall]
DisplayName   = %BLACKBIRD.DeviceDesc%
ServiceType   = 1
StartType     = 2
ErrorControl  = 1
ServiceBinary = %10%\system32\drivers\A88EncBB.sys

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

[Strings]
BLACKBIRD.DeviceDesc     =    "AVerMedia AVerTV MPEG Encoder"
BLACKBIRD_PAL.DeviceDesc =    "AVerMedia AVerTV MPEG Encoder (PAL)"
BLACKBIRD_IR.DeviceDesc  =    "AVerMedia AVerTV MPEG Encoder with Remote"
BLACKBIRD_IR_PAL.DeviceDesc = "AVerMedia AVerTV MPEG Encoder with Remote (PAL)"
BLACKBIRDJ.DeviceDesc    =    "AVerMedia AVerTV MPEG Encoder (NTSC-J)"
BlackbirdFriendlyName    =    "AVerMedia AVerTV MPEG Encoder"

MediaInterfaces          =    "System\CurrentControlSet\Control\MediaInterfaces"
MediaCategories          =    "SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaSets                =    "System\CurrentControlSet\Control\MediaSets"
ActiveMovieCategories    =    "CLSID\{da4e3da0-d07d-11d0-bd50-00a0c911ce86}\Instance"

TPPinID                  =    "{1649D2C1-435E-11d3-A94B-00A0C9D8B34E}"
TPPinName                =    "MPEG-2 TS"

GUID.PINNAME_656_IN      =    "{DFD530C7-36D9-47ff-B838-9A11D215B140}"
PinName.656_IN           =    "MPEG Video"

GUID.PINNAME_I2S_IN      =    "{DF77FE27-FA59-47d7-BFC4-955DE7A32794}"
PinName.I2S_IN           =    "MPEG Audio"

GUID.IVAC_PROPERTIES     =    "{d2185a40-0398-11d3-a53e-00a0c9ef506a}"

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"

GUID.General_Properties  =    "{1CC63210-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Video_Properties    =    "{1CC63211-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Audio_Properties    =    "{1CC63212-AB37-4d6e-9D72-79C02C381CBC}"
GUID.MPEG_Properties     =    "{1CC63213-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Diagnostic_Properties  = "{1CC63214-AB37-4d6e-9D72-79C02C381CBC}"
GUID.Noise_Properties    =    "{1CC63215-AB37-4d6e-9D72-79C02C381CBC}"

