;------------------------------------------------------------------------------
; V0350Vid.INF -- Creative Camera Model Number VF0350 installation
; Copyright (c) 2009 Creative Technology Ltd. All rights reserved.
;------------------------------------------------------------------------------

[Version]
Signature   =$Windows NT$
Class       =Image
ClassGuid   ={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider    =%szManufacturer%
LayoutFile  =layout.inf,layout1.inf,layout2.inf
CatalogFile =V0350Vid.cat
DriverVer   =07/06/2009,%szVersion%

[DestinationDirs]
DefaultDestDir       =11
Cam.CopyKnlDrv       =10,system32\drivers
Cam.CopyUserDrv      =11
Cam.CopyTwnFiles     =10,Twain_32\Creative\VF0350
Cam.CopyWinFiles     =10
Cam.AMD64.CopyKnlDrv       =10,system32\drivers
Cam.AMD64.CopyUserDrv      =11
Cam.AMD64.CopyWinFiles     =10
Cam.AMD64WOW.CopyUserDrivers      =10,SysWow64
Cam.CopyFilterDrv.NT=10,system32\drivers
Cam.CopyFilterDrv.NTAMD64=10,system32\drivers


[ControlFlags]
ExcludeFromSelect =*

[Manufacturer]
%szManufacturer% =Creative,NTAMD64

[Creative]
%szDeviceDescChat% =CtlCamChat,USB\VID_041E&PID_4060&MI_00
%szDeviceDescIM%   =CtlCamIM,USB\VID_041E&PID_4067&MI_00

[Creative.NTAMD64]
%szDeviceDescChat% =CtlCamChat.NTAMD64,USB\VID_041E&PID_4060&MI_00
%szDeviceDescIM%   =CtlCamIM.NTAMD64,USB\VID_041E&PID_4067&MI_00

[CtlCamChat]
;;blank, do not support Windows 98 & ME

[CtlCamChat.NT]
CopyFiles     =Cam.CopyKnlDrv,Cam.CopyUserDrv,Cam.CopyTwnFiles,Cam.CopyWinFiles,Cam.CopyFilterDrv.NT
AddReg        =Cam.Chat.AddReg,Cam.Custom.AddReg,Cam.Cfg.AddReg,Cam.Uns.AddReg.NT,Cam.Vfw.AddReg.NT.Chat
Include       =Ks.inf,Kscaptur.inf
Needs         =KS.Registration,KSCAPTUR.Registration.NT
DeviceType    =3
DeviceSubType =0
Capabilities  =0x1
DeviceData    =Cam.DeviceData.Chat
Events        =Cam.Events
ICMProfiles   ="sRGB Color Space Profile.icm"

[CtlCamChat.NTAMD64]
CopyFiles     =Cam.AMD64.CopyKnlDrv,Cam.AMD64.CopyUserDrv,Cam.CopyTwnFiles,Cam.AMD64.CopyWinFiles,Cam.AMD64WOW.CopyUserDrivers,Cam.CopyFilterDrv.NTAMD64
AddReg        =Cam.Chat.AddReg,Cam.Custom.AddReg,Cam.Cfg.AddReg,Cam.Uns.AddReg.NTAMD64,Cam.Vfw.AddReg.NT.Chat,CtlCam.AddReg.NTamd64
Include       =Ks.inf,Kscaptur.inf
Needs         =KS.Registration,KSCAPTUR.Registration.NT
DeviceType    =3
DeviceSubType =0
Capabilities  =0x1
DeviceData    =Cam.DeviceData.Chat
Events        =Cam.Events
ICMProfiles   ="sRGB Color Space Profile.icm"


[CtlCamIM]
;;blank, do not support Windows 98 & ME

[CtlCamIM.NT]
CopyFiles     =Cam.CopyKnlDrv,Cam.CopyUserDrv,Cam.CopyTwnFiles,Cam.CopyWinFiles,Cam.CopyFilterDrv.NT
AddReg        =Cam.IM.AddReg,Cam.Custom.AddReg,Cam.Cfg.AddReg,Cam.Uns.AddReg.NT,Cam.Vfw.AddReg.NT.IM
Include       =Ks.inf,Kscaptur.inf
Needs         =KS.Registration,KSCAPTUR.Registration.NT
DeviceType    =3
DeviceSubType =0
Capabilities  =0x1
DeviceData    =Cam.DeviceData.IM
Events        =Cam.Events
ICMProfiles   ="sRGB Color Space Profile.icm"

[CtlCamIM.NTAMD64]
CopyFiles     =Cam.AMD64.CopyKnlDrv,Cam.AMD64.CopyUserDrv,Cam.CopyTwnFiles,Cam.AMD64.CopyWinFiles,Cam.AMD64WOW.CopyUserDrivers,Cam.CopyFilterDrv.NTAMD64
AddReg        =Cam.IM.AddReg,Cam.Custom.AddReg,Cam.Cfg.AddReg,Cam.Uns.AddReg.NTAMD64,Cam.Vfw.AddReg.NT.IM,CtlCam.AddReg.NTamd64
Include       =Ks.inf,Kscaptur.inf
Needs         =KS.Registration,KSCAPTUR.Registration.NT
DeviceType    =3
DeviceSubType =0
Capabilities  =0x1
DeviceData    =Cam.DeviceData.IM
Events        =Cam.Events
ICMProfiles   ="sRGB Color Space Profile.icm"



[Cam.Chat.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%szVideoDriver%
HKR,,CreateFileName,,AUTO
HKR,,HardwareConfig,1,4
HKR,,CtProductName,,%szProductNameChat%
HKR,,CtAudioName,,%szAudioDevNameChat%
HKR,,CtConsoleFolder,,%szConsoleFolder%

HKLM,%CTConfigRegistry%,"Version",0,%szVersion%
HKLM,%MSUninstall%\%szUninstall%,"DisplayName",0,"%szUninstallDisplay% (%szVersion%)"

;HKLM,%CTConfigRegistry%,Reserved,0x00010001,0
;HKLM,%CTConfigRegistry%\Console,Reserved0,0x00010001,0

; NetMeeting config
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%szDeviceDescChat%,"DefaultFormat",0x00000000,"I420, 320x240x12"
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescChat%,"dwDialogs",0x00000001, 02, 00, 00, 00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescChat%,"dwImageSize",0x00000001, 40, 04, 40, 80
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescChat%,"dwNumColors",0x00000001, 28, 00, 00, 00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescChat%,"dwStreamingMode",0x00000001, 01


[Cam.IM.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%szVideoDriver%
HKR,,CreateFileName,,AUTO
HKR,,HardwareConfig,1,4
HKR,,CtProductName,,%szProductNameIM%
HKR,,CtAudioName,,%szAudioDevNameIM%
HKR,,CtConsoleFolder,,%szConsoleFolder%

HKLM,%CTConfigRegistry%,"Version",0,%szVersion%
HKLM,%MSUninstall%\%szUninstall%,"DisplayName",0,"%szUninstallDisplay% (%szVersion%)"

;HKLM,%CTConfigRegistry%,Reserved,0x00010001,0
;HKLM,%CTConfigRegistry%\Console,Reserved0,0x00010001,0

; NetMeeting config
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%szDeviceDescIM%,"DefaultFormat",0x00000000,"I420, 320x240x12"
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescIM%,"dwDialogs",0x00000001, 02, 00, 00, 00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescIM%,"dwImageSize",0x00000001, 40, 04, 40, 80
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescIM%,"dwNumColors",0x00000001, 28, 00, 00, 00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDescIM%,"dwStreamingMode",0x00000001, 01

[CtlCam.AddReg.NTamd64]
;HKLM,%CTConfigRegistryWow%,Version,,%VersionNumber%
HKLM,%CTConfigRegistryWow%,Version,,%szVersion%
 

; ------------------------- start of Vendor specific --------------------------

[Cam.Custom.AddReg]

HKR,,OkToHibernate,3,01


;
HKR,%CamSet%, StillSupportType, 0x10001, 2
HKR,%CamSet%, EnableAutoLaunch, 1, 57,23,ff
HKR,%CamSet%, DisableAutoLaunch, 1, 57,23,ff
HKR,%CamSet%, ClearSnapButton, 1, 57,03,02
HKR,%CamSet%, CheckAutoLaunch, 1, 57,10,10
HKR,%CamSet%, EnableAutoClose, 0x10001,1

HKR,%CamSet%, EnableSystem, 1, 5a,6d,FF, 53,9b,9f, 54,ff,ff, 5d,03,ff, 49,01,ff, \
48,00,ff, 72,ee,ff

HKR,%CamSet%, DisableSystem, 1, 53,9b,9b
HKR,%CamSet%, ResetUsb, 1, 71, 01, 01, 51,0f,ff, 51,0,ff
HKR,%CamSet%, SetUsbInit, 1, 71, 01, 01, 51,0f,ff, 51,00,ff, 22,00,ff
HKR,%CamSet%, SetUsbWork, 1, 71, 01, 01, 51,0f,ff, 51,00,ff, 22,1d,ff
HKR,%CamSet%, TurnOnLed, 1, 71,01,01
HKR,%CamSet%, TurnOffLed, 1, 71,00,01
HKR,%CamSet%, BlockStream, 1, 51,0f,ff
HKR,%CamSet%, StartStream, 1, 71, 01, 01, 51,00,ff
HKR,%CamSet%, BandwidthAllocateRule, 0x10001, 0

HKR,%CamSet%, IdleAltSetting, 0x10001, 0x0
HKLM,"Software\Creative Tech\Web Cameras\VF0470","PushModeEvent",,"Enable"


;this data is for check camera type, there are four data segment 
;1. I2C subAddress, 
;2. which register driver should read
;3. value mask
;4. register value
;HKR,%7670530Set%, OneChannelCheck,1, 55, 00, 80
HKR,%7670530Set%, VersionCheck,1, 42, 0a, ff, 76
HKR,%7670530Set%, MinorVersionCheck,1, 42, 0b, f0, 70
HKR,%7670530Set%, ResetCamera,1, 12, 80, ff
HKR,%7670530Set%, CameraName,,Ov7670530
HKR,%7670530Set%, SensorWidth,0x10001, 640
HKR,%7670530Set%, SensorHeight,0x10001, 480
;HKR,%7670530Set%, CurrentFormat,0x10001, 0x64048024
;HKR,%7670530Set%, CurrentFrameRate,0x10001, 15
HKR,%7670530Set%, CurrentFormat,0x10001, 0x32024024
HKR,%7670530Set%, CurrentFrameRate,0x10001, 30

;USB controller register setting, only the registers that need change should 
;set here, every three value form one group
;Index, Value, Mask

HKR,%7670530Set%,UsbSetting,1, 5d,03,ff, 53,9b,9b, 54,0f,ff, \
a2,20,ff, a3,18,ff, 37,00,ff, 55,02,ff, 59,04,ff,\
20,0c,ff, 21,38,ff, 22,1d,ff, 17,50,ff, 37,00,ff, 40,ff,ff, 46,00,ff,\
a0,3f,ff ; Steven suggested

;Index, Value, Mask
HKR,%7670530Set%,CameraSetting,1, \
12,80,ff,\
11,00,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
7a,24,ff,\
7b,04,ff,\
7c,07,ff,\
7d,10,ff,\
7e,28,ff,\
7f,36,ff,\
80,44,ff,\
81,52,ff,\
82,60,ff,\
83,6c,ff,\
84,78,ff,\
85,8c,ff,\
86,9e,ff,\
87,bb,ff,\
88,d2,ff,\
89,e5,ff,\
13,e0,ff,\
00,00,ff,\
10,00,ff,\
0d,40,ff,\
14,38,ff,\
a5,05,ff,\
ab,07,ff,\
24,95,ff,\
25,33,ff,\
26,e3,ff,\
9f,78,ff,\
a0,68,ff,\
a1,0b,ff,\
a6,d8,ff,\
a7,d8,ff,\
a8,f0,ff,\
a9,90,ff,\
aa,94,ff,\
13,e5,ff,\
0e,61,ff,\
0f,4b,ff,\
16,02,ff,\
21,02,ff,\
22,91,ff,\
29,07,ff,\
33,03,ff,\
35,0b,ff,\
37,1c,ff,\
38,71,ff,\
3c,78,ff,\
4d,40,ff,\
4e,20,ff,\
69,55,ff,\
6b,4a,ff,\
74,19,ff,\
8d,4f,ff,\
8e,00,ff,\
8f,00,ff,\
90,00,ff,\
91,00,ff,\
96,00,ff,\
9a,80,ff,\
b0,8c,ff,\
b1,0c,ff,\
b2,0e,ff,\
b3,82,ff,\
b8,0a,ff,\
43,14,ff,\
44,f0,ff,\
45,34,ff,\
46,58,ff,\
47,28,ff,\
48,3a,ff,\
59,88,ff,\
5a,88,ff,\
5b,44,ff,\
5c,67,ff,\
5d,49,ff,\
5e,0e,ff,\
6c,0a,ff,\
6d,55,ff,\
6e,11,ff,\
6f,9f,ff,\
6a,40,ff,\
01,40,ff,\
02,40,ff,\
13,e7,ff,\
4f,80,ff,\
50,80,ff,\
51,00,ff,\
52,22,ff,\
53,5e,ff,\
54,80,ff,\
58,9e,ff,\
41,08,ff,\
3f,00,ff,\
75,04,ff,\
76,e1,ff,\
4c,00,ff,\
77,01,ff,\
3d,c2,ff,\
4b,09,ff,\
c9,60,ff,\
41,18,ff,\
56,40,ff,\
34,11,ff,\
3b,c2,ff,\
a4,89,ff,\
96,00,ff,\
97,30,ff,\
98,20,ff,\
99,20,ff,\
9a,84,ff,\
9b,29,ff,\
9c,03,ff,\
9d,4c,ff,\
9e,3f,ff,\
78,04,ff,\
79,01,ff,\
c8,f0,ff,\
79,0f,ff,\
c8,20,ff,\
79,10,ff,\
c8,7e,ff,\
79,0b,ff,\
c8,01,ff,\
79,0c,ff,\
c8,07,ff,\
79,0d,ff,\
c8,20,ff,\
79,09,ff,\
c8,80,ff,\
79,02,ff,\
c8,c0,ff,\
79,03,ff,\
c8,40,ff,\
79,05,ff,\
c8,30,ff,\
79,26,ff,\
1e,01,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
0c,00,ff,\
3e,00,ff,\
73,f0,ff,\
2b,05,ff


HKR,%7670530Adj%,EnableLowLightControl,0x10001,0 ;ak 20061007 original 1
HKR,%7670530Adj%,ClockUpTh,0x10001,140
HKR,%7670530Adj%,ClockDownTh,0x10001,50
HKR,%7670530Adj%,CheckTime,0x10001,20
HKR,%7670530Adj%,ClockUpCamRegs,1, 2a,90,ff, 16,00,ff, 1e,00,ff
HKR,%7670530Adj%,ClockDownCamRegs,1, 2a,94,ff
HKR,%7670530Adj%,ExposureCheck,1,10,82

HKR,%7670530DP%,EnVideoYUVProc,0x10001,0
HKR,%7670530DP%,EnVideoRGBProc,0x10001,0
HKR,%7670530DP%,EnStillYUVProc,0x10001,0
HKR,%7670530DP%,EnStillRGBProc,0x10001,0
HKR,%7670530DP%,StillSharpness,0x10001,2   ; range  0 ~ 8
HKR,%7670530DP%,DisableAutoLFCheck,0x10001,0
HKR,%7670530DP%,EnableSwQC,0x10001,0

HKR,%7670530STIYUV%, UsbSetting,1, ff,00,ff

HKR,%7670530STIRAW%, UsbSetting,1, ff,00,ff

HKR,%7670530DP%, EnVideoYUVProc,0x10001,0
HKR,%7670530DP%, EnVideoRGBProc,0x10001,0
HKR,%7670530DP%, EnStillYUVProc,0x10001,0
HKR,%7670530DP%, EnStillRGBProc,0x10001,0
HKR,%7670530DP%, StillSharpness,0x10001,3   ; range  0 ~ 8
HKR,%7670530DP%, DisableAutoLFCheck,0x10001,1

;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 800 x 600
HKR, %7670530Vid800RGB24%, Tag, 0x10001, 0x80060024
HKR, %7670530Vid800RGB24%, UsbSetting, 1, \
10,28,ff, 11,3c,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid800RGB24%, CameraSetting, 1, \
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
a5,05,ff,\
ab,07,ff

HKR, %7670530Vid800RGB24%, Width, 0x10001, 800
HKR, %7670530Vid800RGB24%, Height, 0x10001, 600
HKR, %7670530Vid800RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid800RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid800RGB24%, MaxFrameRate, 0x10001, 15000
HKR, %7670530Vid800RGB24%, typFrameRate, 0x10001, 15000
HKR, %7670530Vid800RGB24%, MinFrameRate, 0x10001, 5000
HKR, %7670530Vid800RGB24%, Progressive, 0x10001, 1


;************* Frame Rate = 15fps (Normal: 8 MHz)
HKR, %7670530Vid800RGB24%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid800RGB24%\FrameRate3, CameraSetting, 1, \
11,01,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid800RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid800RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid800RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Normal: 8MHz)
HKR, %7670530Vid800RGB24%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid800RGB24%\FrameRate4, CameraSetting, 1, \
11,01,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid800RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid800RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid800RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Normal: 8MHz)
HKR, %7670530Vid800RGB24%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid800RGB24%\FrameRate5, CameraSetting, 1, \
11,01,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid800RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid800RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid800RGB24%\FrameRate5, QualityLevel, 0x10001, 1


;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 640 x 480
HKR, %7670530Vid640RGB24%, Tag, 0x10001, 0x64048024
HKR, %7670530Vid640RGB24%, UsbSetting, 1, \
10,28,ff, 11,3c,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid640RGB24%, CameraSetting, 1, \
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
a5,05,ff,\
ab,07,ff


HKR, %7670530Vid640RGB24%, Width, 0x10001, 640
HKR, %7670530Vid640RGB24%, Height, 0x10001, 480
HKR, %7670530Vid640RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid640RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid640RGB24%, MaxFrameRate, 0x10001, 15000
HKR, %7670530Vid640RGB24%, typFrameRate, 0x10001, 15000
HKR, %7670530Vid640RGB24%, MinFrameRate, 0x10001, 5000
HKR, %7670530Vid640RGB24%, Progressive, 0x10001, 1

;************* Frame Rate = 15fps (Normal: 8 MHz)
HKR, %7670530Vid640RGB24%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid640RGB24%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid640RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Normal: 8MHz)
HKR, %7670530Vid640RGB24%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid640RGB24%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid640RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Normal: 8MHz)
HKR, %7670530Vid640RGB24%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid640RGB24%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid640RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 640 x 480
HKR, %7670530Vid640I420%, Tag, 0x10001, 0x64048012
HKR, %7670530Vid640I420%, UsbSetting, 1, \
10,28,ff, 11,3c,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid640I420%, CameraSetting, 1, \
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
a5,05,ff,\
ab,07,ff

HKR, %7670530Vid640I420%, Width, 0x10001, 640
HKR, %7670530Vid640I420%, Height, 0x10001, 480
HKR, %7670530Vid640I420%, BitCount, 0x10001, 12
HKR, %7670530Vid640I420%, FourCC, 0x10001, 0x30323449
HKR, %7670530Vid640I420%, MaxFrameRate, 0x10001, 15000
HKR, %7670530Vid640I420%, typFrameRate, 0x10001, 15000
HKR, %7670530Vid640I420%, MinFrameRate, 0x10001, 5000
HKR, %7670530Vid640I420%, Progressive, 0x10001, 1

;************* Frame Rate = 15fps (Normal: 8MHz)
HKR, %7670530Vid640I420%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid640I420%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640I420%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid640I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Normal: 8MHz)
HKR, %7670530Vid640I420%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid640I420%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640I420%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid640I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Normal: 8MHz)
HKR, %7670530Vid640I420%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid640I420%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid640I420%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid640I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid640I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 352 x 288
HKR, %7670530Vid352RGB24%, Tag, 0x10001, 0x35228824
HKR, %7670530Vid352RGB24%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid352RGB24%, CameraSetting, 1,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
a5,02,ff,\
ab,03,ff

HKR, %7670530Vid352RGB24%, Width, 0x10001, 352
HKR, %7670530Vid352RGB24%, Height, 0x10001, 288
HKR, %7670530Vid352RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid352RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid352RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid352RGB24%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid352RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid352RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid352RGB24%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid352RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid352RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid352RGB24%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid352RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid352RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid352RGB24%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid352RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid352RGB24%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid352RGB24%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid352RGB24%\FrameRate3, QualityLevel, 0x10001, 1;

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid352RGB24%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid352RGB24%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid352RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid352RGB24%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid352RGB24%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid352RGB24%\FrameRate5, QualityLevel, 0x10001, 1;

;@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 352 x 288
HKR, %7670530Vid352I420%, Tag, 0x10001, 0x35228812
HKR, %7670530Vid352I420%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid352I420%, CameraSetting, 1, \
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff,\
a5,02,ff,\
ab,03,ff

HKR, %7670530Vid352I420%, Width, 0x10001, 352
HKR, %7670530Vid352I420%, Height, 0x10001, 288
HKR, %7670530Vid352I420%, BitCount, 0x10001, 12
HKR, %7670530Vid352I420%, FourCC, 0x10001, 0x30323449
HKR, %7670530Vid352I420%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid352I420%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid352I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid352I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid352I420%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid352I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid352I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid352I420%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid352I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid352I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid352I420%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid352I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid352I420%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid352I420%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid352I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid352I420%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid352I420%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid352I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid352I420%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid352I420%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
1e,01,ff,\
3a,04,ff,\
12,00,ff,\
17,13,ff,\
18,01,ff,\
32,b6,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,00,ff,\
3e,00,ff,\
70,3a,ff,\
71,35,ff,\
72,11,ff,\
73,f0,ff,\
a2,02,ff

HKR, %7670530Vid352I420%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid352I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid352I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 320 x 240
HKR, %7670530Vid320RGB24%, Tag, 0x10001, 0x32024024
HKR, %7670530Vid320RGB24%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid320RGB24%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,02,ff,\
ab,03,ff

HKR, %7670530Vid320RGB24%, Width, 0x10001, 320
HKR, %7670530Vid320RGB24%, Height, 0x10001, 240
HKR, %7670530Vid320RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid320RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid320RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid320RGB24%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid320RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid320RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid320RGB24%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid320RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid320RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid320RGB24%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid320RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid320RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid320RGB24%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid320RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid320RGB24%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid320RGB24%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid320RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid320RGB24%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid320RGB24%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid320RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid320RGB24%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid320RGB24%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid320RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 320 x 240
HKR, %7670530Vid320I420%, Tag, 0x10001, 0x32024012
HKR, %7670530Vid320I420%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid320I420%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,02,ff,\
ab,03,ff

HKR, %7670530Vid320I420%, Width, 0x10001, 320
HKR, %7670530Vid320I420%, Height, 0x10001, 240
HKR, %7670530Vid320I420%, BitCount, 0x10001, 12
HKR, %7670530Vid320I420%, FourCC, 0x10001, 0x30323449
HKR, %7670530Vid320I420%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid320I420%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid320I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid320I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid320I420%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid320I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid320I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid320I420%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid320I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid320I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid320I420%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid320I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid320I420%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid320I420%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid320I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid320I420%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid320I420%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid320I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid320I420%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid320I420%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid320I420%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %7670530Vid320I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid320I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 176 x 144
HKR, %7670530Vid176RGB24%, Tag, 0x10001, 0x17614424
HKR, %7670530Vid176RGB24%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid176RGB24%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,01,ff,\
ab,03,ff

HKR, %7670530Vid176RGB24%, Width, 0x10001, 176
HKR, %7670530Vid176RGB24%, Height, 0x10001, 144
HKR, %7670530Vid176RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid176RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid176RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid176RGB24%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid176RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid176RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid176RGB24%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate0, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid176RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid176RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid176RGB24%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate1, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid176RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid176RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid176RGB24%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate2, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid176RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid176RGB24%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid176RGB24%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate3, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid176RGB24%\FrameRate3, QualityLevel, 0x10001, 1;

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid176RGB24%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid176RGB24%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate4, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid176RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid176RGB24%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid176RGB24%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176RGB24%\FrameRate5, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid176RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 176 x 144
HKR, %7670530Vid176I420%, Tag, 0x10001, 0x17614412
HKR, %7670530Vid176I420%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid176I420%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,01,ff,\
ab,03,ff

HKR, %7670530Vid176I420%, Width, 0x10001, 176
HKR, %7670530Vid176I420%, Height, 0x10001, 144
HKR, %7670530Vid176I420%, BitCount, 0x10001, 12
HKR, %7670530Vid176I420%, FourCC, 0x10001, 0x30323449
HKR, %7670530Vid176I420%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid176I420%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid176I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid176I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid176I420%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate0, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid176I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid176I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid176I420%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate1, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid176I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid176I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid176I420%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate2, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid176I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid176I420%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid176I420%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate3, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid176I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid176I420%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid176I420%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate4, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid176I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid176I420%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid176I420%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid176I420%\FrameRate5, AlternateSetting, 0x10001, 1
HKR, %7670530Vid176I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid176I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 160 x 120
HKR, %7670530Vid160RGB24%, Tag, 0x10001, 0x16012024
HKR, %7670530Vid160RGB24%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid160RGB24%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,01,ff,\
ab,03,ff

HKR, %7670530Vid160RGB24%, Width, 0x10001, 160
HKR, %7670530Vid160RGB24%, Height, 0x10001, 120
HKR, %7670530Vid160RGB24%, BitCount, 0x10001, 24
HKR, %7670530Vid160RGB24%, FourCC, 0x10001, 0
HKR, %7670530Vid160RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid160RGB24%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid160RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid160RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid160RGB24%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate0, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid160RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid160RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid160RGB24%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate1, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid160RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid160RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid160RGB24%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate2, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid160RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid160RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %7670530Vid160RGB24%\FrameRate3, CameraSetting, 1, \
11,00,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate3, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid160RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid160RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %7670530Vid160RGB24%\FrameRate4, CameraSetting, 1, \
11,00,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate4, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid160RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid160RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %7670530Vid160RGB24%\FrameRate5, CameraSetting, 1, \
11,00,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160RGB24%\FrameRate5, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid160RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 160 x 120
HKR, %7670530Vid160I420%, Tag, 0x10001, 0x16012012
HKR, %7670530Vid160I420%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,11,ff, \
20,0c,ff, 25,03,ff, 26,00,ff
HKR, %7670530Vid160I420%, CameraSetting, 1, \
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff,\
a5,01,ff,\
ab,03,ff

HKR, %7670530Vid160I420%, Width, 0x10001, 160
HKR, %7670530Vid160I420%, Height, 0x10001, 120
HKR, %7670530Vid160I420%, BitCount, 0x10001, 12
HKR, %7670530Vid160I420%, FourCC, 0x10001, 0x30323449
HKR, %7670530Vid160I420%, MaxFrameRate, 0x10001, 30000
HKR, %7670530Vid160I420%, typFrameRate, 0x10001, 30000
HKR, %7670530Vid160I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %7670530Vid160I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid160I420%\FrameRate0, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate0, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %7670530Vid160I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %7670530Vid160I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid160I420%\FrameRate1, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate1, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %7670530Vid160I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %7670530Vid160I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid160I420%\FrameRate2, CameraSetting, 1, \
11,00,ff, 9d,99,ff, 9e,7f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate2, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %7670530Vid160I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %7670530Vid160I420%\FrameRate3, UsbSetting, 1, \
23,ff,ff
HKR, %7670530Vid160I420%\FrameRate3, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate3, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %7670530Vid160I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid160I420%\FrameRate4, UsbSetting, 1, \
23,1f,ff
HKR, %7670530Vid160I420%\FrameRate4, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate4, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %7670530Vid160I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %7670530Vid160I420%\FrameRate5, UsbSetting, 1, \
23,1b,ff
HKR, %7670530Vid160I420%\FrameRate5, CameraSetting, 1, \
11,01,ff, 9d,4c,ff, 9e,3f,ff,\
3a,04,ff,\
12,20,ff,\
32,80,ff,\
17,16,ff,\
18,04,ff,\
19,02,ff,\
1a,7a,ff,\
03,0a,ff,\
0c,04,ff,\
3e,19,ff,\
73,f1,ff

HKR, %7670530Vid160I420%\FrameRate5, AlternateSetting, 0x10001, 1
HKR, %7670530Vid160I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %7670530Vid160I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;****************************************************************************************************
;[OVT.7648.Properties]
;Standard properties
;PROPSETID_VIDCAP_VIDEOPROCAMP
;    KSPROPERTY_VIDEOPROCAMP_BRIGHTNESS,            // RW O		0
;    KSPROPERTY_VIDEOPROCAMP_CONTRAST,              // RW O		1
;    KSPROPERTY_VIDEOPROCAMP_HUE,                   // RW O		2
;    KSPROPERTY_VIDEOPROCAMP_SATURATION,            // RW O		3
;    KSPROPERTY_VIDEOPROCAMP_SHARPNESS,             // RW O		4
;    KSPROPERTY_VIDEOPROCAMP_GAMMA,                 // RW O		5
;    KSPROPERTY_VIDEOPROCAMP_COLORENABLE,           // RW O		6
;    KSPROPERTY_VIDEOPROCAMP_WHITEBALANCE,          // RW O		7 +++++++++++++
;    KSPROPERTY_VIDEOPROCAMP_BACKLIGHT_COMPENSATION,// RW O		8

HKR,%7670530Brit%,PropertyId,0x10001, 0
HKR,%7670530Brit%,MapMethod,0x10001, 1
HKR,%7670530Brit%,NumberOfValues,0x10001, 6
HKR,%7670530Brit%\0000,Value,0x10001, 0
HKR,%7670530Brit%\0000,CamRegisters,1, 55,e0,ff

HKR,%7670530Brit%\0001,Value,0x10001, 1
HKR,%7670530Brit%\0001,CamRegisters,1, 55,b0,ff

HKR,%7670530Brit%\0002,Value,0x10001, 2
HKR,%7670530Brit%\0002,CamRegisters,1, 55,00,ff

HKR,%7670530Brit%\0003,Value,0x10001, 3
HKR,%7670530Brit%\0003,CamRegisters,1, 55,28,ff

HKR,%7670530Brit%\0004,Value,0x10001, 4
HKR,%7670530Brit%\0004,CamRegisters,1, 55,50,ff

HKR,%7670530Brit%\0005,Value,0x10001, 5
HKR,%7670530Brit%\0005,CamRegisters,1, 55,78,ff

HKR,%7670530Brit%,DefaultValue,0x10001, 3
HKR,%7670530Brit%,MinValue,0x10001, 0
HKR,%7670530Brit%,MaxValue,0x10001, 5
HKR,%7670530Brit%,Step,0x10001, 1


;#####################################

HKR,%7670530Cntr%,PropertyId,0x10001, 1
HKR,%7670530Cntr%,MapMethod,0x10001,1
HKR,%7670530Cntr%,NumberOfValues,0x10001, 7

HKR,%7670530Cntr%\0000,Value,0x10001, 0
HKR,%7670530Cntr%\0000,CamRegisters,1, 56,20,ff

HKR,%7670530Cntr%\0001,Value,0x10001, 1
HKR,%7670530Cntr%\0001,CamRegisters,1, 56,30,ff

HKR,%7670530Cntr%\0002,Value,0x10001, 2
HKR,%7670530Cntr%\0002,CamRegisters,1, 56,40,ff

HKR,%7670530Cntr%\0003,Value,0x10001, 3
HKR,%7670530Cntr%\0003,CamRegisters,1, 56,50,ff

HKR,%7670530Cntr%\0004,Value,0x10001, 4
HKR,%7670530Cntr%\0004,CamRegisters,1, 56,60,ff

HKR,%7670530Cntr%\0005,Value,0x10001, 5
HKR,%7670530Cntr%\0005,CamRegisters,1, 56,70,ff

HKR,%7670530Cntr%\0006,Value,0x10001, 6
HKR,%7670530Cntr%\0006,CamRegisters,1, 56,80,ff

;HKR,%7670530Cntr%,DefaultValue,0x10001, 2
HKR,%7670530Cntr%,LastValue,0x10001, 2
HKR,%7670530Cntr%,MinValue,0x10001, 0
HKR,%7670530Cntr%,MaxValue,0x10001, 6
HKR,%7670530Cntr%,Step,0x10001, 1

;#####################################
; // changed by gbq, keep 5 values only
HKR,%7670530Sat%,PropertyId,0x10001, 3
HKR,%7670530Sat%,MapMethod,0x10001,1
HKR,%7670530Sat%,NumberOfValues,0x10001, 5

HKR,%7670530Sat%\0000,Value,0x10001, 0
HKR,%7670530Sat%\0000,CamRegisters,1, \
4f,42,ff, 50,42,ff, 51,00,ff, 52,11,ff, 53,30,ff, 54,41,ff

HKR,%7670530Sat%\0001,Value,0x10001, 1
HKR,%7670530Sat%\0001,CamRegisters,1, \
4f,52,ff, 50,52,ff, 51,00,ff, 52,16,ff, 53,3c,ff, 54,52,ff

HKR,%7670530Sat%\0002,Value,0x10001, 2
HKR,%7670530Sat%\0002,CamRegisters,1, \
4f,66,ff, 50,66,ff, 51,00,ff, 52,1b,ff, 53,4b,ff, 54,66,ff

HKR,%7670530Sat%\0003,Value,0x10001, 3
HKR,%7670530Sat%\0003,CamRegisters,1, \
4f,80,ff, 50,80,ff, 51,00,ff, 52,22,ff, 53,5e,ff, 54,80,ff

HKR,%7670530Sat%\0004,Value,0x10001, 4
HKR,%7670530Sat%\0004,CamRegisters,1, \
4f,9a,ff, 50,9a,ff, 51,00,ff, 52,29,ff, 53,71,ff, 54,9a,ff

;HKR,%7670530Sat%\0005,Value,0x10001, 5
;HKR,%7670530Sat%\0005,CamRegisters,1, \
;4f,b8,ff, 50,b8,ff, 51,00,ff, 52,31,ff, 53,87,ff, 54,b8,ff

;HKR,%7670530Sat%\0006,Value,0x10001, 6
;HKR,%7670530Sat%\0006,CamRegisters,1, \
;4f,dd,ff, 50,dd,ff, 51,00,ff, 52,3b,ff, 53,a2,ff, 54,dd,ff

;HKR,%7670530Sat%,DefaultValue,0x10001, 2
HKR,%7670530Sat%,LastValue,0x10001, 2
HKR,%7670530Sat%,MinValue,0x10001, 0
HKR,%7670530Sat%,MaxValue,0x10001, 4
HKR,%7670530Sat%,Step,0x10001, 1
;#####################################

HKR,%7670530Shp%,PropertyId,0x10001, 4
HKR,%7670530Shp%,MapMethod,0x10001, 1
;HKR,%7670530Shp%,RelatedRegister,1,3f

;HKR,%7670530Shp%,SupportAuto,0x10001,1 ;0 not support, 1 support
;HKR,%7670530Shp%,AutoControlMode,0x10001,1
;HKR,%7670530Shp%,CamRegDisableAuto,1,41, 18, 20
;HKR,%7670530Shp%,CamRegEnableAuto,1,41, 38, 20

HKR,%7670530Shp%,DefaultValue,0x10001, 2
HKR,%7670530Shp%,DefaultFlags,0x10001, 1
HKR,%7670530Shp%,MinValue,0x10001, 0
HKR,%7670530Shp%,MaxValue,0x10001, 9
HKR,%7670530Shp%,NumberOfValues,0x10001, 10
HKR,%7670530Shp%,Step,0x10001, 1

HKR,%7670530Shp%\0000,Value,0x10001, 0
HKR,%7670530Shp%\0000,CamRegisters,1, 3f,00,ff

HKR,%7670530Shp%\0001,Value,0x10001, 1
HKR,%7670530Shp%\0001,CamRegisters,1, 3f,01,ff
;
HKR,%7670530Shp%\0002,Value,0x10001, 2
HKR,%7670530Shp%\0002,CamRegisters,1, 3f,02,ff
;
HKR,%7670530Shp%\0003,Value,0x10001, 3
HKR,%7670530Shp%\0003,CamRegisters,1, 3f,03,ff
;
HKR,%7670530Shp%\0004,Value,0x10001, 4
HKR,%7670530Shp%\0004,CamRegisters,1, 3f,04,ff
;
HKR,%7670530Shp%\0005,Value,0x10001, 5
HKR,%7670530Shp%\0005,CamRegisters,1, 3f,05,ff
;
HKR,%7670530Shp%\0006,Value,0x10001, 6
HKR,%7670530Shp%\0006,CamRegisters,1, 3f,06,ff
;
HKR,%7670530Shp%\0007,Value,0x10001, 7
HKR,%7670530Shp%\0007,CamRegisters,1, 3f,07,ff
;
HKR,%7670530Shp%\0008,Value,0x10001, 8
HKR,%7670530Shp%\0008,CamRegisters,1, 3f,08,ff
;
HKR,%7670530Shp%\0009,Value,0x10001, 9
HKR,%7670530Shp%\0009,CamRegisters,1, 3f,09,ff


;#####################################
HKR,%7670530Wb%,PropertyId,0x10001, 7
HKR,%7670530Wb%,MapMethod,0x10001, 1
HKR,%7670530Wb%,NumberOfValues,0x10001, 4
;HKR,%7670530Wb%,RelatedRegister,1, 43

;; Indoor Tungsten (2850K)
HKR,%7670530Wb%\0002,Value,0x10001, 2
HKR,%7670530Wb%\0002,CamRegisters,1,\
43,0a,ff,\
44,f0,ff,\
45,62,ff,\
46,64,ff,\
47,24,ff,\
48,28,ff,\
59,80,ff,\
5a,84,ff,\
5b,44,ff,\
5c,74,ff,\
5d,38,ff,\
5e,0f,ff,\
6c,0a,ff,\
6d,55,ff,\
6e,11,ff,\
6f,9e,ff

;; Indoor Flouence (4500K)
HKR,%7670530Wb%\0001,Value,0x10001, 1
HKR,%7670530Wb%\0001,CamRegisters,1,\
43,0a,ff,\
44,f0,ff,\
45,62,ff,\
46,64,ff,\
47,34,ff,\
48,36,ff,\
59,80,ff,\
5a,80,ff,\
5b,55,ff,\
5c,7a,ff,\
5d,4c,ff,\
5e,14,ff,\
6c,0a,ff,\
6d,55,ff,\
6e,11,ff,\
6f,9e,ff

;; Outdoor (> 5000K)
HKR,%7670530Wb%\0003,Value,0x10001, 3
HKR,%7670530Wb%\0003,CamRegisters,1,\
43,0a,ff,\
44,f0,ff,\
45,30,ff,\
46,58,ff,\
47,43,ff,\
48,45,ff,\
59,94,ff,\
5a,80,ff,\
5b,34,ff,\
5c,64,ff,\
5d,53,ff,\
5e,0a,ff,\
6c,0a,ff,\
6d,55,ff,\
6e,11,ff,\
6f,9e,ff

;; Automatic
HKR,%7670530Wb%\0000,Value,0x10001, 0
HKR,%7670530Wb%\0000,CamRegisters,1,\
43,0a,ff,\
44,f0,ff,\
45,34,ff,\
46,66,ff,\
47,28,ff,\
48,3c,ff,\
59,94,ff,\
5a,82,ff,\
5b,44,ff,\
5c,7a,ff,\
5d,4c,ff,\
5e,0f,ff,\
6c,0a,ff,\
6d,55,ff,\
6e,11,ff,\
6f,9e,ff

;
HKR,%7670530Wb%,SupportAuto,0x10001,1
HKR,%7670530Wb%,AutoControlMode,0x10001,0
;HKR,%7670530Wb%,CamRegDisableAuto,1,12, 20, 04
;HKR,%7670530Wb%,CamRegEnableAuto,1,12, 24, 04
;
;HKR,%7670530Wb%,DefaultValue,0x10001, 0
HKR,%7670530Wb%,LastValue,0x10001, 0
HKR,%7670530Wb%,DefaultFlags,0x10001, 1
HKR,%7670530Wb%,MinValue,0x10001, 0
HKR,%7670530Wb%,MaxValue,0x10001, 3
HKR,%7670530Wb%,Step,0x10001, 1

;#####################################

HKR,%7670530BL%,PropertyId,0x10001, 8
HKR,%7670530BL%,MapMethod,0x10001, 1
HKR,%7670530BL%,NumberOfValues,0x10001, 2
HKR,%7670530BL%\0000,Value,0x10001, 0
HKR,%7670530BL%\0000,CamRegisters,1, 9f,78,ff, a0,68,ff
HKR,%7670530BL%\0001,Value,0x10001, 1
HKR,%7670530BL%\0001,CamRegisters,1, 9f,d8,ff, a0,c8,ff

;HKR,%7670530BL%,DefaultValue,0x10001, 0
HKR,%7670530BL%,LastValue,0x10001, 0
HKR,%7670530BL%,MinValue,0x10001, 0
HKR,%7670530BL%,MaxValue,0x10001, 1
HKR,%7670530BL%,Step,0x10001, 1

;#####################################
;#####################################
;PROPSETID_VIDCAP_CAMERACONTROL
;    KSPROPERTY_CAMERACONTROL_PAN,                       // RW O 0
;    KSPROPERTY_CAMERACONTROL_TILT,                      // RW O 1
;    KSPROPERTY_CAMERACONTROL_ROLL,                      // RW O 2
;    KSPROPERTY_CAMERACONTROL_ZOOM,                      // RW O 3
;    KSPROPERTY_CAMERACONTROL_EXPOSURE,                  // RW O 4
;    KSPROPERTY_CAMERACONTROL_IRIS,                      // RW O 5
;    KSPROPERTY_CAMERACONTROL_FOCUS,                     // RW O 6

;#####################################

HKR,%7670530Exp%,PropertyId,0x10001, 4
HKR,%7670530Exp%,MapMethod,0x10001, 0

HKR,%7670530Exp%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%7670530Exp%,AutoControlMode,0x10001,0
HKR,%7670530Exp%,CamRegDisableAuto,1,13,f2,05
;=====================================================================
; modified by gbq, for fixing the Back Light issue in ER Review report.
; Bug Description:
; The "Backlight Compensation" at the Live Preview remains unchanged after unplug and plug the camera.
; It was notice that the slider bar is still at the maximum, but the Live Preview is not at its brighter condition.
;HKR,%7670530Exp%,CamRegEnableAuto,1,13,f7,05, 9f,78,ff, a0,68,ff
;=====================================================================
HKR,%7670530Exp%,CamRegEnableAuto,1,13,f7,05

HKR,%7670530Exp%,PropertyId,0x10001, 4
HKR,%7670530Exp%,MapMethod,0x10001,1
HKR,%7670530Exp%,NumberOfValues,0x10001, 16
;
HKR,%7670530Exp%\0000,Value,0x10001, 0
HKR,%7670530Exp%\0000,CamRegisters,1, 10,00,ff, 00,10,ff

HKR,%7670530Exp%\0001,Value,0x10001, 1
HKR,%7670530Exp%\0001,CamRegisters,1, 10,20,ff, 00,10,ff
;
HKR,%7670530Exp%\0002,Value,0x10001, 2
HKR,%7670530Exp%\0002,CamRegisters,1, 10,40,ff, 00,10,ff
;
HKR,%7670530Exp%\0003,Value,0x10001, 3
HKR,%7670530Exp%\0003,CamRegisters,1, 10,60,ff, 00,10,ff
;
HKR,%7670530Exp%\0004,Value,0x10001, 4
HKR,%7670530Exp%\0004,CamRegisters,1, 10,80,ff, 00,10,ff
;
HKR,%7670530Exp%\0005,Value,0x10001, 5
HKR,%7670530Exp%\0005,CamRegisters,1, 10,80,ff, 00,13,ff
;
HKR,%7670530Exp%\0006,Value,0x10001, 6
HKR,%7670530Exp%\0006,CamRegisters,1, 10,80,ff, 00,19,ff
;
HKR,%7670530Exp%\0007,Value,0x10001, 7
HKR,%7670530Exp%\0007,CamRegisters,1, 10,80,ff, 00,1c,ff
;
HKR,%7670530Exp%\0008,Value,0x10001, 8
HKR,%7670530Exp%\0008,CamRegisters,1, 10,80,ff, 00,30,ff
;
HKR,%7670530Exp%\0009,Value,0x10001, 9
HKR,%7670530Exp%\0009,CamRegisters,1, 10,80,ff, 00,33,ff
;
HKR,%7670530Exp%\0010,Value,0x10001, 10
HKR,%7670530Exp%\0010,CamRegisters,1, 10,80,ff, 00,36,ff
;
HKR,%7670530Exp%\0011,Value,0x10001, 11
HKR,%7670530Exp%\0011,CamRegisters,1, 10,80,ff, 00,39,ff
;
HKR,%7670530Exp%\0012,Value,0x10001, 12
HKR,%7670530Exp%\0012,CamRegisters,1, 10,80,ff, 00,3c,ff
;
HKR,%7670530Exp%\0013,Value,0x10001, 13
HKR,%7670530Exp%\0013,CamRegisters,1, 10,80,ff, 00,70,ff
;
HKR,%7670530Exp%\0014,Value,0x10001, 14
HKR,%7670530Exp%\0014,CamRegisters,1, 10,80,ff, 00,73,ff
;
HKR,%7670530Exp%\0015,Value,0x10001, 15
HKR,%7670530Exp%\0015,CamRegisters,1, 10,80,ff, 00,76,ff
;
HKR,%7670530Exp%,DefaultValue,0x10001, 9
HKR,%7670530Exp%,DefaultFlags,0x10001, 1
HKR,%7670530Exp%,MinValue,0x10001, 0
HKR,%7670530Exp%,MaxValue,0x10001, 15
HKR,%7670530Exp%,Step,0x10001, 1


;#####################################
;HKR,%7670530Iris%,Registers,0x10001, 
;HKR,%7670530Focus%,Registers,0x10001, 
;#####################################
;PROPSETID_VIDCAP_VIDEOCONTROL
;    KSPROPERTY_VIDEOCONTROL_CAPS,               // R		0
;    KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE,  // R O		1
;    KSPROPERTY_VIDEOCONTROL_FRAME_RATES,        // R O		2
;    KSPROPERTY_VIDEOCONTROL_MODE,               // RWO		3

HKR,%7670530Cap%,PropertyId,0x10001, 0
HKR,%7670530Cap%,MapMethod,0x10001, 1

;    KS_VideoControlFlag_FlipHorizontal        = 0x0001,
;    KS_VideoControlFlag_FlipVertical          = 0x0002,
;    KS_VideoControlFlag_ExternalTriggerEnable = 0x0010,
;    KS_VideoControlFlag_Trigger               = 0x0020,
HKR,%7670530Cap%,DefaultValue,0x10001, 0x33

;######################################
HKR,%7670530ActFR%,PropertyId,0x10001, 1
HKR,%7670530ActFR%,MapMethod,0x10001, 1
HKR,%7670530ActFR%,DefaultValue,0x10001, 0

;######################################
HKR,%7670530Fps%,PropertyId,0x10001, 2
HKR,%7670530Fps%,MapMethod,0x10001, 1
HKR,%7670530Fps%,DefaultValue,0x10001, 0

;######################################
HKR,%7670530Mode%,PropertyId,0x10001, 3
HKR,%7670530Mode%,MapMethod,0x10001, 1
HKR,%7670530Mode%,NumberOfValues,0x10001, 3
HKR,%7670530Mode%,DefaultValue,0x10001, 20

HKR,%7670530Mode%\0000,Value,0x10001, 1
HKR,%7670530Mode%\0000,CamRegisters,1, 12,40,40
HKR,%7670530Mode%\0001,Value,0x10001, 0x80000001
HKR,%7670530Mode%\0001,CamRegisters,1, 12,0,40
HKR,%7670530Mode%\0002,Value,0x10001, 0x20
HKR,%7670530Mode%\0002,UsbRegisters,1, 57,05,05

;######################################
;######################################
;PROPSETID_VIDCAP_VIDEOCOMPRESSION
;PROPSETID_VIDCAP_VIDEOCOMPRESSION
;    KSPROPERTY_VIDEOCOMPRESSION_GETINFO,              // R		0
;    KSPROPERTY_VIDEOCOMPRESSION_KEYFRAME_RATE,        // RW	1
;Right now we only support upper two properties
;    KSPROPERTY_VIDEOCOMPRESSION_PFRAMES_PER_KEYFRAME, // RW	2
;    KSPROPERTY_VIDEORESSION_QUALITY,              // RW    3
;    KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_KEYFRAME,    // W		4
;    KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_FRAME_SIZE   // W		5

;######################################
HKR,%7670530CmpInfo%,PropertyId,0x10001, 0
HKR,%7670530CmpInfo%,MapMethod,0x10001, 1

;    KS_CompressionCaps_CanQuality = 1,
;    KS_CompressionCaps_CanCrunch = 2,
;    KS_CompressionCaps_CanKeyFrame = 4,
;    KS_CompressionCaps_CanBFrame = 8
HKR,%7670530CmpInfo%,DefaultValue,0x10001, 1

;######################################

HKR,%7670530KeyFR%,PropertyId,0x10001, 1
HKR,%7670530KeyFR%,MapMethod,0x10001, 1
HKR,%7670530KeyFR%,DefaultValue,0x10001, 7

;######################################
HKR,%7670530PFR%,PropertyId,0x10001, 2
HKR,%7670530PFR%,MapMethod,0x10001, 1
HKR,%7670530PFR%,DefaultValue,0x10001, 0
;######################################
HKR,%7670530Qul%,PropertyId,0x10001, 3
HKR,%7670530Qul%,MapMethod,0x10001, 1
HKR,%7670530Qul%,DefaultValue,0x10001, 1
HKR,%7670530Qul%,MinValue,0x10001, 0
HKR,%7670530Qul%,MaxValue,0x10001, 1
HKR,%7670530Qul%,Step,0x10001, 1
HKR,%7670530Qul%,NumberOfValues,0x10001, 2
HKR,%7670530Qul%\0000,Value,0x10001, 0
HKR,%7670530Qul%\0000,UsbRegisters,1,a4,20,ff,a5,28,ff
HKR,%7670530Qul%\0001,Value,0x10001, 1
HKR,%7670530Qul%\0001,UsbRegisters,1,a4,00,ff,a5,20,ff
;######################################
HKR,%7670530RedGain%,PropertyId,0x10001, 6
HKR,%7670530RedGain%,MapMethod,0x10001, 0
HKR,%7670530RedGain%,RelatedRegister,1,02
HKR,%7670530RedGain%,DefaultValue,0x10001, 128
HKR,%7670530RedGain%,MinValue,0x10001, 0
HKR,%7670530RedGain%,MaxValue,0x10001, 255
HKR,%7670530RedGain%,Step,0x10001, 1
;######################################
HKR,%7670530BlueGain%,PropertyId,0x10001, 7
HKR,%7670530BlueGain%,MapMethod,0x10001, 0
HKR,%7670530BlueGain%,RelatedRegister,1,01
HKR,%7670530BlueGain%,DefaultValue,0x10001, 128
HKR,%7670530BlueGain%,MinValue,0x10001, 0
HKR,%7670530BlueGain%,MaxValue,0x10001, 255
HKR,%7670530BlueGain%,Step,0x10001, 1
;######################################
HKR,%7670530Gain%,PropertyId,0x10001, 8
HKR,%7670530Gain%,MapMethod,0x10001, 1
HKR,%7670530Gain%,RelatedRegister,1, 0
HKR,%7670530Gain%,NumberOfValues,0x10001, 8
HKR,%7670530Gain%\0000,Value,0x10001, 0
HKR,%7670530Gain%\0000,CamRegisters,1,00,00,ff
HKR,%7670530Gain%\0001,Value,0x10001, 1
HKR,%7670530Gain%\0001,CamRegisters,1,00,04,ff
HKR,%7670530Gain%\0002,Value,0x10001, 2
HKR,%7670530Gain%\0002,CamRegisters,1,00,08,ff
HKR,%7670530Gain%\0003,Value,0x10001, 3
HKR,%7670530Gain%\0003,CamRegisters,1,00,0a,ff
HKR,%7670530Gain%\0004,Value,0x10001, 4
HKR,%7670530Gain%\0004,CamRegisters,1,00,0f,ff
HKR,%7670530Gain%\0005,Value,0x10001, 5
HKR,%7670530Gain%\0005,CamRegisters,1,00,14,ff
HKR,%7670530Gain%\0006,Value,0x10001, 6
HKR,%7670530Gain%\0006,CamRegisters,1,00,18,ff
HKR,%7670530Gain%\0007,Value,0x10001, 7
HKR,%7670530Gain%\0007,CamRegisters,1,00,1f,ff

HKR,%7670530Gain%,DefaultValue,0x10001, 0
HKR,%7670530Gain%,MinValue,0x10001, 0
HKR,%7670530Gain%,MaxValue,0x10001, 7
HKR,%7670530Gain%,Step,0x10001, 1
;######################################
;PROPSETID_OVTCAM_PROP
HKR,%7670530Reg%,PropertyId,0x10001, 0
HKR,%7670530Reg%,MapMethod,0x10001, 1
HKR,%7670530Reg%,DefaultValue,0x10001, 0

HKR,%7670530Regy%,PropertyId,0x10001, 3
HKR,%7670530Regy%,MapMethod,0x10001, 1
HKR,%7670530Regy%,DefaultValue,0x10001, 0

HKR,%7670530Sti%,PropertyId,0x10001, 1
HKR,%7670530Sti%,MapMethod,0x10001, 1
HKR,%7670530Sti%,DefaultValue,0x10001, 0

;; Add by Steven
HKR,%7670530ALS%,PropertyId,0x10001, 16
HKR,%7670530ALS%,MapMethod,0x10001, 1
HKR,%7670530ALS%,DefaultValue,0x10001, 0
;; End

;//add by Mark
;**********************************************
;**********************************************
HKR,%7670530LF%,PropertyId,0x10001, 0x103
HKR,%7670530LF%,MapMethod,0x10001, 1
HKR,%7670530LF%,NumberOfValues,0x10001, 3

HKR,%7670530LF%\50Hz,Value,0x10001, 2
HKR,%7670530LF%\50Hz,CamRegisters,1, \
13,20,20, 3b,02,08, \ ;turn on Banding filter for 60Hz
2a,00,ff, 2b,9D,ff ; insert dummy to 25fps for 50Hz

HKR,%7670530LF%\60Hz,Value,0x10001, 3
HKR,%7670530LF%\60Hz,CamRegisters,1, \
13,20,20, 3b,02,08, \ ;turn on Banding filter for 60Hz
2a,00,ff, 2b,03,ff ; insert dummy to 29.99fps for 60Hz

HKR,%7670530LF%\Outdoor,Value,0x10001, 1
HKR,%7670530LF%\Outdoor,CamRegisters,1, 13,00,20 ; turn off Banding filter

HKR,%7670530LF%,DefaultValue,0x10001, 2
HKR,%7670530LF%,MinValue,0x10001, 1
HKR,%7670530LF%,MaxValue,0x10001, 3
HKR,%7670530LF%,Step,0x10001, 1

;********************************************************
;********************************************************


; -------------------------- end of Vendor specific ---------------------------

[Cam.Uns.AddReg.NT]
HKLM,%MSUninstall%\%szUninstall%,"UninstallString",0,"%10%\CtDrvIns.exe -uninstall -script %szUNSScript% -unsext NT -plugin %szInsPlugInFile% -pluginres %szInsPlugInResFile%"
HKLM,%MSUninstall%\%szUninstall%,"NoModify",0x00010001,1
HKLM,%MSUninstall%\%szUninstall%,"NoRepair",0x00010001,1
HKR,,CtUnsExt,,"NT"

[Cam.Uns.AddReg.NTAMD64]
HKLM,%MSUninstall%\%szUninstall%,"UninstallString",0,"%10%\CtDrvIns.exe -uninstall -script %szUNSScript% -unsext AMD64 -plugin %szInsPlugInFile% -pluginres %szInsPlugInResFile%"
HKLM,%MSUninstall%\%szUninstall%,"NoModify",0x00010001,1
HKLM,%MSUninstall%\%szUninstall%,"NoRepair",0x00010001,1
HKLM,%MSUninstallWow64%\%szUninstall%,"UninstallString",0,"%10%\CtDrvIns.exe -uninstall -script %szUNSScript% -unsext AMD64 -plugin %szInsPlugInFile% -pluginres %szInsPlugInResFile%"
HKLM,%MSUninstallWow64%\%szUninstall%,"NoModify",0x00010001,1
HKLM,%MSUninstallWow64%\%szUninstall%,"NoRepair",0x00010001,1
HKR,,CtUnsExt,,"AMD64"

[Cam.Vfw.AddReg.NT.Chat]
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Description",,%szVfwDeviceDescChat%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"FriendlyName",,%szVfwDeviceDescChat%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Driver",,"%szVfwBaseFileName%.dll"

[Cam.Vfw.AddReg.NT.IM]
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Description",,%szVfwDeviceDescIM%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"FriendlyName",,%szVfwDeviceDescIM%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%,"Driver",,"%szVfwBaseFileName%.dll"

;; -------------------- Configuration data begin -------------------------
[Cam.Cfg.AddReg]

;; ----------------------- Configuration data end ---------------------------

[Cam.DeviceData.Chat]
TwainDS     =%szDeviceDescChat%
SpecialInfo =%szDeviceDescChat%
Server      =local

[Cam.DeviceData.IM]
TwainDS     =%szDeviceDescIM%
SpecialInfo =%szDeviceDescIM%
Server      =local

[Cam.Events]

[CtlCamChat.NT.HW]
AddReg     =Cam.VFX.AddReg.Chat

[CtlCamChat.NTAMD64.HW]
AddReg     =Cam.VFX.AddReg.Chat

[Cam.VFX.AddReg.Chat]
HKR,,"UpperFilters",0x00010000,%szVfxServiceName%
HKR,,FriendlyName,,%szDeviceDescChat%

[CtlCamIM.NT.HW]
AddReg     =Cam.VFX.AddReg.IM

[CtlCamIM.NTAMD64.HW]
AddReg     =Cam.VFX.AddReg.IM

[Cam.VFX.AddReg.IM]
HKR,,"UpperFilters",0x00010000,%szVfxServiceName%
HKR,,FriendlyName,,%szDeviceDescIM%


[CtlCamChat.NT.Services]
AddService =%szVidServiceName%,0x00000002,Cam.ServiceInstall.Chat
AddService =%szVfxServiceName%,,Cam.VFX.ServiceInstall

[CtlCamChat.NTAMD64.Services]
AddService =%szVidServiceName%,0x00000002,Cam.ServiceInstall.Chat
AddService =%szVfxServiceName%,,Cam.VFX.ServiceInstall

[CtlCamIM.NT.Services]
AddService =%szVidServiceName%,0x00000002,Cam.ServiceInstall.IM
AddService =%szVfxServiceName%,,Cam.VFX.ServiceInstall

[CtlCamIM.NTAMD64.Services]
AddService =%szVidServiceName%,0x00000002,Cam.ServiceInstall.IM
AddService =%szVfxServiceName%,,Cam.VFX.ServiceInstall

[Cam.ServiceInstall.Chat]
DisplayName  =%szDeviceDescChat%
ServiceType  =%SERVICE_KERNEL_DRIVER%
StartType    =%SERVICE_DEMAND_START%
ErrorControl =%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\%szVideoDriver%

[Cam.ServiceInstall.IM]
DisplayName  =%szDeviceDescIM%
ServiceType  =%SERVICE_KERNEL_DRIVER%
StartType    =%SERVICE_DEMAND_START%
ErrorControl =%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\%szVideoDriver%

[Cam.VFX.ServiceInstall]
DisplayName  =%szVfxDeviceDesc%
ServiceType  =%SERVICE_KERNEL_DRIVER%
StartType    =%SERVICE_DEMAND_START%
ErrorControl =%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\%szVFXDriver%


[CtlCamChat.NT.CoInstallers]
AddReg    =Cam.CoInst.AddReg.Chat
CopyFiles =Cam.CopyCoInstFile

[CtlCamChat.NTAMD64.CoInstallers]
AddReg    =Cam.CoInst.AddReg.Chat
CopyFiles =Cam.CopyCoInstFile

[Cam.CoInst.AddReg.Chat]
HKR,,CoInstallers32,0x00010000,"%szInsPlugInFile%,CoInstallerEntryPoint"
HKR,,FriendlyName,,%szDeviceDescChat%
HKR,,DescPatched,,""

[CtlCamIM.NT.CoInstallers]
AddReg    =Cam.CoInst.AddReg.IM
CopyFiles =Cam.CopyCoInstFile

[CtlCamIM.NTAMD64.CoInstallers]
AddReg    =Cam.CoInst.AddReg.IM
CopyFiles =Cam.CopyCoInstFile

[Cam.CoInst.AddReg.IM]
HKR,,CoInstallers32,0x00010000,"%szInsPlugInFile%,CoInstallerEntryPoint"
HKR,,FriendlyName,,%szDeviceDescIM%
HKR,,DescPatched,,""


[CtlCamChat.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.Chat

[CtlCamChat.NT.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.Chat

[CtlCamChat.NTAMD64.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.Chat

[Cam.Interface.Chat]
AddReg =Cam.Intf.AddReg.Chat

[Cam.Intf.AddReg.Chat]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,ExtensionDLL,,%szExtPageFile%
HKR,,FriendlyName,,%szDeviceDescChat%
;HKR,PinFactory\0\Interfaces\{9b365890-165f-11d0-a195-0020afd156e4},,,{9b365890-165f-11d0-a195-0020afd156e4}

[CtlCamIM.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.IM

[CtlCamIM.NT.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.IM

[CtlCamIM.NTAMD64.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,%KSFILTER_GUID%,Cam.Interface.IM

[Cam.Interface.IM]
AddReg =Cam.Intf.AddReg.IM

[Cam.Intf.AddReg.IM]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,ExtensionDLL,,%szExtPageFile%
HKR,,FriendlyName,,%szDeviceDescIM%
;HKR,PinFactory\0\Interfaces\{9b365890-165f-11d0-a195-0020afd156e4},,,{9b365890-165f-11d0-a195-0020afd156e4}


; ----------------------------- FILES ---------------------------------

[Cam.CopyCoInstFile]

[Cam.CopyKnlDrv]
V0350Vid.sys
V0350PC.bmp

[Cam.AMD64.CopyKnlDrv]
V0350Vid.sys,V0350Vid64.sys
V0350PC.bmp

[Cam.CopyFilterDrv.NT]
V0350Vfx.sys
V0350Afx.sys

[Cam.CopyFilterDrv.NTAMD64]
V0350Vfx.sys,V0350Vfx64.sys,,0
V0350Afx.sys,V0350Afx64.sys,,0

[Cam.CopyUserDrv]
CtCamPin.crl
CtCamMgr.dll,,,0x00000020
V0350Hwx.dll
V0350Pin.dll
V0350Ext.ax
V0350Ext.crl
V0350Cvw.dll
V0350Cvw.crl
V0350Cvw.bff
cximage.dll
V0350Vfw.dll
V0350Afx.dll

[Cam.AMD64.CopyUserDrv]
CtCamPin.crl,CtCamPin64.crl
CtCamMgr.dll,CtCamMgr64.dll,,0x00000020
V0350Hwx.dll,V0350Hwx64.dll
V0350Pin.dll,V0350Pin64.dll
V0350Ext.ax,V0350Ext64.ax
V0350Ext.crl,V0350Ext64.crl

[Cam.AMD64WOW.CopyUserDrivers]
CtCamMgr.dll,,,0x00000020
V0350Hwx.dll
V0350Ext.ax
V0350Ext.crl
V0350Cvw.dll
V0350Cvw.crl
V0350Cvw.bff
cximage.dll 
V0350Vfw.dll
V0350Afx.dll

[Cam.CopyTwnFiles]
CtTwain.dll
CtTwain.crl
HookWnd.dll
V0350Twn.ds

[Cam.CopyWinFiles]
;CtDrvIns.exe,,,0x00000020
V0350Mon.exe
VF0350.uns
CtDrvIns.exe,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[Cam.AMD64.CopyWinFiles]
;CtDrvIns.exe,CtDrvIns64.exe,,0x00000020
V0350Mon.exe
VF0350.uns
CtDrvIns.exe,CtDrvIns64.exe,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[SourceDisksNames]
1 =%szDiskName%,,,

[SourceDisksFiles]
CtCamPin.crl   =1,,
CtCamPin64.crl =1,,
CtCamMgr.dll   =1,,
CtCamMgr64.dll =1,,
CtDrvIns.exe   =1,,
CtDrvIns64.exe =1,,
CtTwain.dll    =1,,
CtTwain.crl    =1,,
HookWnd.dll    =1,,
V0350Vid.sys   =1,,
V0350Vid64.sys =1,,
V0350Vfx.sys   =1,,
V0350Vfx64.sys =1,,
V0350Afx.sys   =1,,
V0350Afx64.sys =1,,
V0350Hwx.dll   =1,,
V0350Hwx64.dll =1,,
V0350Mon.exe   =1,,
V0350Pin.dll   =1,,
V0350Pin64.dll =1,,
V0350Ext.ax    =1,,
V0350Ext64.ax  =1,,
V0350Ext.crl   =1,,
V0350Ext64.crl =1,,
V0350Twn.ds    =1,,
V0350Vfw.dll   =1,,
V0350Cvw.dll   =1,,
V0350Cvw.crl   =1,,
V0350Cvw.bff   =1,,
cximage.dll    =1
V0350Afx.dll   =1,,
VF0350.uns     =1,,
V0350PC.bmp    =1,,

;-----------------------  STRINGS DEFINITION ---------------------------------

[Strings]
;--------------------------------
; System related. Do not change.
;--------------------------------
ProxyVidCap.CLSID       ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_CAPTURE      ="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

SERVICE_KERNEL_DRIVER   =1
; ** PnP should use demand start **
SERVICE_DEMAND_START    =3
SERVICE_ERROR_NORMAL    =1
SERVICE_AUTO_START      =2

MSUninstall             ="Software\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResourcesMSVideo ="System\CurrentControlSet\Control\MediaResources\MsVideo"

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------

;**********************************************************************
CamSet                  ="CameraSetting"

;;7670530
7670530Set="CameraSetting\SupportCamera\7670530"
7670530Adj="CameraSetting\SupportCamera\7670530\CamAdjust"
7670530STIYUV="CameraSetting\SupportCamera\7670530\DataProcessing\YUV"
7670530DP="CameraSetting\SupportCamera\7670530\DataProcessing"
7670530STIRAW="CameraSetting\SupportCamera\7670530\DataProcessing\RAW"
7670530Strm="CameraSetting\SupportCamera\7670530\VideoStream"

7670530Vid160I420="CameraSetting\SupportCamera\7670530\VideoStream\160x120I420"
7670530Vid176I420="CameraSetting\SupportCamera\7670530\VideoStream\176x144I420"
7670530Vid320I420="CameraSetting\SupportCamera\7670530\VideoStream\320x240I420"
7670530Vid352I420="CameraSetting\SupportCamera\7670530\VideoStream\352x288I420"
7670530Vid640I420="CameraSetting\SupportCamera\7670530\VideoStream\640x480I420"

7670530Vid160RGB24="CameraSetting\SupportCamera\7670530\VideoStream\160x120RGB24"
7670530Vid176RGB24="CameraSetting\SupportCamera\7670530\VideoStream\176x144RGB24"
7670530Vid320RGB24="CameraSetting\SupportCamera\7670530\VideoStream\320x240RGB24"
7670530Vid352RGB24="CameraSetting\SupportCamera\7670530\VideoStream\352x288RGB24"
7670530Vid640RGB24="CameraSetting\SupportCamera\7670530\VideoStream\640x480RGB24"
7670530Vid800RGB24="CameraSetting\SupportCamera\7670530\VideoStream\800x600RGB24"

7670530Brit="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\Brightness"
7670530Cntr="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\Contrast"
7670530Sat="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\Saturation"
7670530Shp="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\Sharpness"
7670530Wb="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\WhiteBalance"
7670530BL="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoProcAmp\BackLight"
7670530Exp="CameraSetting\SupportCamera\7670530\DeviceProperties\CameraControl\Exposure"
7670530Cap="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoControl\Capability"
7670530ActFR="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoControl\ActualFrameRate"
7670530Fps="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoControl\FrameRates"
7670530Mode="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoControl\Mode"
7670530CmpInfo="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoCompression\GetCompressionInfo"
7670530KeyFR="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoCompression\KeyFrameRate"
7670530PFR="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoCompression\PFrameRate"
7670530Qul="CameraSetting\SupportCamera\7670530\DeviceProperties\VideoCompression\Qulaity"
7670530Reg="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\Register"
7670530Regy="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\Registry"
7670530Sti="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\StillImage"
;; Add by Steven
7670530ALS="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\AutoLaunchStatus"
;; End 
7670530LF="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\LightFrequence"
7670530RedGain="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\RedGain"
7670530BlueGain="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\BlueGain"
7670530Gain="CameraSetting\SupportCamera\7670530\DeviceProperties\CustomProperty\Gain"

;**********************************************************************

szManufacturer       ="Creative Technology Ltd"
szDiskName           ="Creative Camera VF0350 Driver Disk"
szAudioDevNameChat   ="VF0350 Live! Cam Video Chat"
szAudioDevNameIM     ="VF0350 Live! Cam Video IM"
szDeviceDescChat     ="Live! Cam Video Chat (VF0350)"
szDeviceDescIM       ="Live! Cam Video IM (VF0350)"
szProductNameChat    ="Creative Live! Cam Video Chat (VF0350)"
szProductNameIM      ="Creative Live! Cam Video IM (VF0350)"
szConsoleFolder      ="Creative Live! Cam Video Chat or Video IM (VF0350)"
szUninstall          ="Creative VF0350"
szUninstallDisplay   ="Creative Live! Cam Video Chat or Video IM (VF0350) Driver"
szVfwKey             ="VF0350VFW"
szVfwDeviceDescChat  ="Live! Cam Video Chat (VF0350) (VFW)"
szVfwDeviceDescIM    ="Live! Cam Video IM (VF0350) (VFW)"
szVidServiceName     ="VF0350Vid"
szVfxServiceName     ="VF0350Vfx"
szVfxDeviceDesc      ="VF0350 Video FX"
szVidSrvDevDesc      ="Creative Camera VF0350 Driver"
MSUninstallWow64     ="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

CTConfigRegistry     ="Software\Creative Tech\Web Cameras\VF0350"
CTConfigRegistryWow  ="Software\Wow6432Node\Creative Tech\Web Cameras\VF0350"

szInsPlugInFile      ="V0350Pin.dll"
szUNSScript          ="VF0350.uns"
szInsPlugInResFile   ="CtCamPin.crl"
szVideoDriver        ="V0350Vid.sys"
szVfwBaseFileName    ="V0350Vfw"
szVFXDriver          ="V0350VFx.sys"
szExtPageFile        ="V0350Ext.ax"

NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY =0x00000060

KSFILTER_GUID="{9B365890-165F-11D0-A195-0020AFD156E4}"

;---------------------
; Version information
;---------------------
szVersion ="1.04.01.00"

