; INTEL CONFIDENTIAL Copyright 2021 Intel Corporation All Rights Reserved.
;
; The source code contained or described herein and all documents related to the source code
; ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material
; remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets
; and proprietary and confidential information of Intel or its suppliers and licensors. The Material is
; protected by worldwide copyright and trade secret laws and treaty provisions. No part of the
; Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted,
; distributed, or disclosed in any way without Intel's prior express written permission.
;
; No license under any patent, copyright, trade secret or other intellectual property right is
; granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by
; implication, inducement, estoppel or otherwise. Any license under such intellectual property
; rights must be express and approved by Intel in writing.
;
;Abstract:
;    Extension INF file template for AVStream driver on OEM1 platform, please modify it to your own.
;
;Installation Notes:
;    Using Devcon: Type "devcon update iacamera64_externsion.inf VIDEO\INT9830" to install
;

[Version]
signature="$WINDOWS NT$"
Class=Extension
ClassGUID={e2f84ce7-8efa-411c-aa69-97454ca4cb57}
ExtensionId = {4D8BA5A4-B210-4DD0-8DB8-E011ECC1F416}
Provider=%PROVIDER_NAME%
DriverVer = 01/06/2023,63.22000.0.12
CatalogFile=iacamera64_ov02c10.cat
PnpLockdown=1

[Manufacturer]
%COMPANY_NAME%=Device, NTamd64

[Device.NTamd64]
%iacamera64.ExtensionDesc%=iacamera64,VIDEO\INT3480
;%iacamera64.ExtensionDesc%=iacamera64,VIDEO\INT3480&SUBSYS_ABCDEFFE

[iacamera64.NT]

[iacamera64.NT.Services]
AddService=camera, 0x00000020, iacamera64.ServiceInstall

[iacamera64.ServiceInstall]
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\iacamera64.sys
AddReg = SpecificParameter

[SpecificParameter]
HKR,, "EnablePreviewFpsThreshold", %REG_DWORD%, 0
HKR,, "EnableSensorOrient", %REG_DWORD%, 1

[iacamera64.NT.Interfaces]
AddInterface=%KSCATEGORY_VIDEO_CAMERA%, %FilterOV02C10%, iacamera64.AddInterfaceOV02C10,
AddInterface=%KSCATEGORY_CAPTURE%, %FilterOV02C10%, iacamera64.AddInterfaceOV02C10,
AddInterface=%KSCATEGORY_VIDEO%, %FilterOV02C10%, iacamera64.AddInterfaceOV02C10,

[iacamera64.AddInterfaceOV02C10]
AddReg=iacamera64.AddRegOV02C10
AddReg=iacamera64.AddRegOV02C10_Profile

[iacamera64.AddRegOV02C10]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%iacamera64.FriendlyNameOV02C10%
;HKR,,CameraDeviceMftClsid,,%IHV_DEVICE_PLUGIN%
;HKR,,CameraDeviceMftCLSIDChain, 0x00010000, %IHV_DEVICE_PLUGIN%
HKR,,FSSensorGroupId,0,%SENSORGROUP_ID%
HKR,,FSSensorGroupName,0,%SENSORGROUP_NAME%

;ECC
HKR, ExtPropControls\40, Disable, 0x00010001, 1
;VHDR (Poor Light Compensation)
HKR, ExtPropControls\30, Disable, 0x00010001, 1
;Face Framing
HKR, ExtPropControls\43, Disable, 0x00010001, 1
;Background Blur
HKR, ExtPropControls\41, Disable, 0x00010001, 1

;--------------------------------
;OV02C10 Camera Profile
;--------------------------------
[iacamera64.AddRegOV02C10_Profile]
; Profile version v2
HKR,,"OEMCameraProfileVersion",0x00010001,2
; Legacy Profile
HKR,"Profiles\KSCAMERAPROFILE_Legacy,0","MTF0",0,"Pin0:((RES==;FRT<=30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_Legacy,0","MTF1",0,"Pin1:((RES==;FRT<=30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_Legacy,0","MTF2",0,"Pin2:((RES==;FRT<=30,1;SUT!=P010))"

; HighQualityPhoto Profile
HKR,"Profiles\KSCAMERAPROFILE_HighQualityPhoto,0","BlockedControls",0,"PHSEQ;VIDST"
HKR,"Profiles\KSCAMERAPROFILE_HighQualityPhoto,0","MTF0",0,"Pin0:((RES==;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_HighQualityPhoto,0","MTF1",0,"Pin1:(!)"
HKR,"Profiles\KSCAMERAPROFILE_HighQualityPhoto,0","MTF2",0,"Pin2:((RES==;FRT==30,1;SUT!=P010))"

; PhotoSequence Profile
; 16:9
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,0","MTF0",0,"Pin0:((RES==1920,1080;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,0","MTF1",0,"Pin1:(!)"
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,0","MTF2",0,"Pin2:((RES==1920,1080;FRT==30,1;SUT!=P010))"
; 4:3
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,1","MTF0",0,"Pin0:((RES==640,480;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,1","MTF1",0,"Pin1:(!)"
HKR,"Profiles\KSCAMERAPROFILE_PhotoSequence,1","MTF2",0,"Pin2:((RES==640,480;FRT==30,1;SUT!=P010))"

; VideoRecording Profile
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,0","BlockedControls",0,"VIDST"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,0","MTF0",0,"Pin0:((RES==;FRT<=30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,0","MTF1",0,"Pin1:((RES==;FRT<=30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,0","MTF2",0,"Pin2:(!)"

HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,1","BlockedControls",0,"VIDST"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,1","MTF0",0,"Pin0:((RES==1920,1080;FRT>=60,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,1","MTF1",0,"Pin1:((RES==1920,1080;FRT>=60,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoRecording,1","MTF2",0,"Pin2:(!)"

; VideoConferencing Profile
; 16:9
HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,0","MTF0",0,"Pin0:((RES==1920,1080;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,0","MTF1",0,"Pin1:((RES==1920,1080;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,0","MTF2",0,"Pin2:(!)"

HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,1","MTF0",0,"Pin0:((RES==1280,720;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,1","MTF1",0,"Pin1:((RES==1280,720;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_VideoConferencing,1","MTF2",0,"Pin2:(!)"

; BalancedVideoAndPhoto Profile
; 16:9
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,0","MTF0",0,"Pin0:((RES==1920,1080;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,0","MTF1",0,"Pin1:((RES==1920,1080;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,0","MTF2",0,"Pin2:((RES==1920,1080;FRT==30,1;SUT!=P010))"

HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,1","MTF0",0,"Pin0:((RES==1280,720;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,1","MTF1",0,"Pin1:((RES==1280,720;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,1","MTF2",0,"Pin2:((RES==1280,720;FRT==30,1;SUT!=P010))"

HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,2","MTF0",0,"Pin0:((RES==640,360;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,2","MTF1",0,"Pin1:((RES==640,360;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,2","MTF2",0,"Pin2:((RES==640,360;FRT==30,1;SUT!=P010))"
; 4：3
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,3","MTF0",0,"Pin0:((RES==640,480;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,3","MTF1",0,"Pin1:((RES==640,480;FRT==30,1;SUT!=P010))"
HKR,"Profiles\KSCAMERAPROFILE_BalancedVideoAndPhoto,3","MTF2",0,"Pin2:((RES==640,480;FRT==30,1;SUT!=P010))"

[Strings]
PROVIDER_NAME="Intel"
COMPANY_NAME="Intel Corporation"
iacamera64.ExtensionDesc="Intel(R) ADL AVStream Camera"
iacamera64.FriendlyName="Intel(R) ADL AVStream Camera"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_DWORD=0x00010001

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_VIDEO_CAMERA="{E5323777-F976-4f5b-9B55-B94699C46E44}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_SENSOR_CAMERA="{24E552D7-6523-47F7-A647-D3465BF1F5CA}"
IHV_DEVICE_PLUGIN="{A4996FA6-F083-4516-97D4-2B272F26E6A2}"

;Sensor Group
SENSORGROUP_ID="{CA374E48-8F00-4392-9254-E1AB5F5E8C81}"
SENSORGROUP_NAME="Samsung Camera Sensor Group"

iacamera64.FriendlyNameOV02C10="Camera Sensor OV02C10"
;FilterOV02C10="{166AEDBF-C272-4E94-BF47-F7235382AE33}"
FilterOV02C10="{D74668DE-6A64-4554-A819-B97C4ED9FFE5}"
