;------------------------------------------------------------------------
;
;   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) 1999-2000 Conexant Systems, Inc.
;       All Rights Reserved.
;       ---------------------------------------------------------------
;
;   File Revision Id:
;
;       $Header:cx88enc.inf, 68, 6/19/2002 11:12:44 PM, CM Build$
;
;   Abstract:
;
;       This is the MPEG encoder driver inf file.
;
;------------------------------------------------------------------------

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider="Conexant"
DriverVer=08/08/2005,2.1.59.4
CatalogFile.ntx86=cx88enc.cat

[Manufacturer]
"Conexant"=Conexant

[SourceDisksNames]
1="Conexant Cx23880 Drivers",,,""

[SourceDisksFiles]
cx88enc.sys=1
prxypage.ax=1
cpnotify.ax=1


[Conexant]
;First blackbird boards
%BLACKBIRD.DeviceDesc%=BLACKBIRD,       	PCI\VEN_14F1&DEV_8802&SUBSYS_084017DE
%BLACKBIRD.DeviceDesc%=BLACKBIRD,       	PCI\VEN_14F1&DEV_8802&SUBSYS_03051421
%BLACKBIRD_NTSC.DeviceDesc%=BLACKBIRD_NTSC, PCI\VEN_14F1&DEV_8802&SUBSYS_084217DE
%BLACKBIRD_NTSC.DeviceDesc%=BLACKBIRD_NTSC, PCI\VEN_14F1&DEV_8802&SUBSYS_084417DE
%BLACKBIRD_PAL.DeviceDesc%=BLACKBIRD_PAL,   PCI\VEN_14F1&DEV_8802&SUBSYS_084117DE
%BLACKBIRD_PAL.DeviceDesc%=BLACKBIRD_PAL,   PCI\VEN_14F1&DEV_8802&SUBSYS_084317DE

[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

[BLACKBIRD_NTSC]
Include=    ks.inf, kscaptur.inf
Needs=      KS.Registration, KSCAPTUR.Registration.NT
AddReg=     CX88ENC.AddReg,BLACKBIRD.AddReg
CopyFiles=  CX88ENC.CopyDrivers,DSFilters.CopyFiles
RegisterDlls=DSFilters.RegFiles

[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


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

[CX88ENC.CopyDrivers]
cx88enc.sys

[DSFilters.CopyFiles]
prxypage.ax
cpnotify.ax

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

[CX88ENC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,cx88enc.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%,,,

;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

;
; Driver Configuration Registry Entries
;

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

; ResumeDisable
HKR,"DriverData","OptimizingResumeDisable",0x00010001,   0x01,0x00,0x00,0x00


[BLACKBIRD_NTSC.AddReg]
; DRM disable
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x00,0x00,0x00,0x00

; ResumeDisable
HKR,"DriverData","OptimizingResumeDisable",0x00010001,   0x01,0x00,0x00,0x00


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

; DRM disable
HKR,"DriverData","EncoderMVDRM",0x00010001,   0x00,0x00,0x00,0x00

; ResumeDisable
HKR,"DriverData","OptimizingResumeDisable",0x00010001,   0x01,0x00,0x00,0x00


;
; Interfaces installation
;

;
; BLACKBIRD
;

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

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

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

[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

;
; Services installation
;

;
; BLACKBIRD
;

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

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

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

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

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------
[Strings]
BLACKBIRD.DeviceDesc     =    "Conexant 2388x MPEG Encoder"
BLACKBIRD_NTSC.DeviceDesc =   "Conexant 2388x MPEG Encoder (NTSC)"
BLACKBIRD_PAL.DeviceDesc =    "Conexant 2388x MPEG Encoder (PAL)"
BlackbirdFriendlyName    =    "Conexant 2388x MPEG Encoder"

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 TS"

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

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

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}"

