;
; Copyright (c) 2012-2020 Qualcomm Technologies, Inc. All Rights Reserved.
;
; Qualcomm Proprietary and Confidential.
; Export of this technology or software is regulated by the U.S. Government.
; Diversion contrary to U.S. law prohibited.
;
;
;Module Name:
;    qccamavs6490.inf
;
;Abstract:
;    Qualcomm pin centric Camera AVStream mini driver (qccamavs6490.sys) installation file.
;
;

;---------------------------------------------------------------
;                       D D I n s t a l l
;---------------------------------------------------------------
[Version]
Signature   = "$WINDOWS NT$"
Class       = Extension
ClassGUID={e2f84ce7-8efa-411c-aa69-97454ca4cb57}
ExtensionId   = {871674d5-1b8c-46c9-9ee2-fc30ab759d41}
Provider    = %QC%
Catalogfile = qccamavscls_extension6490.cat
DriverVer = 10/02/2025,1.0.4444.9300
PnpLockdown=1

[Manufacturer]
%QC%=Qualcomm,NTARM64.10.0...16299

[Qualcomm.NTARM64.10.0...16299]
%qccamavs.DeviceDesc%=QCCamAvs,VIDEO\QCOM_AVStream_6490

[DestinationDirs]
DefaultDestDir   = 13
PostDeviceMFT.Files  = 13

[SourceDisksNames]
1 = %qccamavs.DiskName%

[SourceDisksFiles]
QcPDMFT6490.dll = 1,

[PostDeviceMFT.Files]
QcPDMFT6490.dll


[QCCamAvs.NT]
CopyFiles = PostDeviceMFT.Files


[QCCamAvs.NT.HW]
AddReg = DMFTRegistration1


[DMFTRegistration1]
; system32
HKLM, SOFTWARE\Classes\CLSID\{0E313280-3169-4F41-A329-9E854169634F},                    ,%REG_SZ%,"MFT1"
HKLM, SOFTWARE\Classes\CLSID\{0E313280-3169-4F41-A329-9E854169634F}\InprocServer32,     ,%REG_EXPAND_SZ%,"%13%\QcPDMFT6490.dll"
HKLM, SOFTWARE\Classes\CLSID\{0E313280-3169-4F41-A329-9E854169634F}\InprocServer32,     ThreadingModel,,"Both"


[QCCamAvs.NT.Interfaces]
AddInterface = %KSCATEGORY_VIDEO_CAMERA%,  "%BackSensor.RefGuid%",  BackSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_VIDEO_CAMERA%,  "%FrontSensor.RefGuid%", FrontSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_SENSOR_CAMERA%, "%AuxSensor.RefGuid%",   AuxSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_CAPTURE%,       "%BackSensor.RefGuid%",  BackSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_CAPTURE%,       "%FrontSensor.RefGuid%", FrontSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_VIDEO%,         "%BackSensor.RefGuid%",  BackSensor.CaptureInterface.NT,
AddInterface = %KSCATEGORY_VIDEO%,         "%FrontSensor.RefGuid%", FrontSensor.CaptureInterface.NT,

[BackSensor.CaptureInterface.NT]
AddReg=QCCamAvs.Reg.BackSensor

[FrontSensor.CaptureInterface.NT]
AddReg=QCCamAvs.Reg.FrontSensor

[AuxSensor.CaptureInterface.NT]
AddReg=QCCamAvs.Reg.AuxSensor

;---------------------------------------------------------------
;              B a c k   S e n s o r   A d d R e g
;---------------------------------------------------------------
[QCCamAvs.Reg.BackSensor]

HKR,,CameraDeviceMftClsidChain,0x00010000,%DMFT.CLSID%,%DMFT1.CLSID%
;---------------------------------------------------------------
;             F r o n t   S e n s o r   A d d R e g
;---------------------------------------------------------------
[QCCamAvs.Reg.FrontSensor]

HKR,,CameraDeviceMftClsid,,%DMFT.CLSID%
;---------------------------------------------------------------
;             A u x   S e n s o r   A d d R e g
;---------------------------------------------------------------
[QCCamAvs.Reg.AuxSensor]

HKR,,CameraDeviceMftClsid,,%DMFT.CLSID%
;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------
[Strings]
; non-localizable
DMFT.CLSID               = "{4C2331F0-66BE-4177-9841-2FCBA8CCF5CA}"
DMFT1.CLSID               = "{0E313280-3169-4F41-A329-9E854169634F}"
KSCATEGORY_VIDEO_CAMERA  = "{E5323777-F976-4F5B-9B55-B94699C46E44}"
KSCATEGORY_CAPTURE       = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO         = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
CAMERA_DEVICES_CLSID     = "{CA3E7AB9-B4C3-4AE6-8251-579EF933890F}"
KSCATEGORY_SENSOR_CAMERA = "{24E552D7-6523-47F7-A647-D3465BF1F5CA}"
REG_SZ           = 0x00000000
REG_EXPAND_SZ    = 0x00020000

;localizable
QC = "Qualcomm"
qccamavs.DeviceDesc      = "Qualcomm(R) Spectra(TM) 395 ISP Camera AVStream Device"
qccamavs.DiskName        = "Qualcomm Camera Driver"
BackSensor.FriendlyName  = "QC Back Camera"
FrontSensor.FriendlyName = "QC Front Camera"
AuxSensor.FriendlyName   = "QC Auxiliary Camera"


; Define the sensor reference GUIDs. These must match those advertised in the driver's
; KSFILTER_DESCRIPTOR.ReferenceGUID field
BackSensor.RefGuid="{5584F823-3830-4CFD-947F-78DE17A8B14C}"
FrontSensor.RefGuid="{4FAEAFD4-041B-4E46-85FD-400473891182}"
AuxSensor.RefGuid="{193F2ACD-143D-4440-A3C4-0A2B8E5539E0}"

