[Sections]
AddReg=OVT.6620.Setting

[OVT.6620.Setting]
;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,%6620Set%,VersionCheck,1, C0, 29, ff, 01
HKR,%6620Set%,ResetCamera,1, 12, 80, ff
HKR,%6620Set%,CameraName,,Ov6620
HKR,%6620Set%,SensorWidth,0x10001,352
HKR,%6620Set%,SensorHeight,0x10001,288
HKR,%6620Set%,CurrentFormat,0x10001, 0x56555938
HKR,%6620Set%,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,%6620Set%,UsbSetting,1, 52,02,ff,52,00,ff,31,ff,ff, 20,ff,ff, \
70,3f,ff, 71,3f,ff, 72,01,ff, 73,01,ff, 74,01,ff, 75,01,ff, 76,01,ff, 77,01,ff, 79,03,ff
;Index, Value, Mask
HKR,%6620Set%,CameraSetting,1, \
12,80,FF,2a,04,FF,11,01,FF,06,50,FF,0f,25,FF,05,7f,FF,03,D0,FF,07,a8,FF,0c,24, \
FF,0d,24,FF,0e,0d,FF,14,04,FF,15,01,FF,17,38,FF,18,ea,FF,19,04,FF,1a,93, \
FF,1b,00,FF,20,28,FF,23,04,FF,24,33,FF,25,97,FF,26,92,FF,27,a2,FF,28,01, \
FF,29,00,FF,2a,04,FF,2b,a8,FF,2c,fe,FF,2d,95,FF,33,28,FF,34,c7,FF,36,12, \
FF,37,63,FF,38,8b,FF,39,00,FF,3a,0f,FF,3b,3c,FF,3c,5c,FF,3d,80,FF,3e,80, \
FF,3f,02,FF,40,80,FF,41,0c,FF,42,0c,FF,43,28,FF,44,80,FF,45,20,FF,46,20, \
FF,47,80,FF,48,40,FF,49,80,FF,4a,80,FF,4b,80,FF,4c,58,FF,4d,d2,FF,4e,c1, \
FF,4f,04,FF,50,ff,FF,51,58,FF,52,c0,FF,53,42,FF,2a,84,FF

HKR,%6620Adj%,EnableLowLightControl,0x10001,0
HKR,%6620Adj%,ClockUpTh,0x10001,150
HKR,%6620Adj%,ClockDownTh,0x10001,70
HKR,%6620Adj%,CheckTime,0x10001,35
HKR,%6620Adj%,ClockUpCamRegs,1,2a,04,80,11,01,ff,2a,80,80,2d,10,10,12,20,04,12,24,04
HKR,%6620Adj%,ClockDownCamRegs,1,2a,04,80,11,03,ff,2a,84,80,2d,00,10,06,80,ff
HKR,%6620Adj%,ExposureCheck,1,10,9a

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

;HKR,%6620DP%,ConvertImageData,0x10001,0
HKR,%6620STIYUV%, CameraSetting,1, \
28,28,28, 29,80,80, 2d,00,10, 2a,04,80,14,04,ff, 2a,84,80,16,11,ff
HKR,%6620STIYUV%, UsbSetting,1, \
12,2b,ff, 13,25,ff, 14,0,ff, 15,0,ff, 16,01,ff, 18,3,ff
;HKR,%6620STIYUV%, RestoreUsbReg,1, 28,28,28
;HKR,%6620STIYUV%, RestoreCamReg,1, 00,00,ff, 01,00,ff, 02,00,ff

HKR,%6620STIRAW%, CameraSetting,1, \
28,20,20, 2a,04,80,14,04,ff,2a,84,80
HKR,%6620STIRAW%, UsbSetting,1, \
12,2b,ff, 13,25,ff, 14,0,ff, 15,0,ff, 16,01,ff, 18,3,ff

;*******************************
;[OVT.6620.VideoSetting]
;HKR, %6620Strm%, OpenStreamUsbSetting, 1, 50, 3f, ff
;HKR, %6620Strm%, OpenStreamCameraSetting, 1, 

;HKR, %6620Strm%, CloseStreamUsbSetting, 1, 50, 0, ff
;HKR, %6620Strm%, CloseStreamCameraSetting, 1, \
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 160 x 120
HKR, %6620Vid160I420%, Tag, 0x10001, 0x56555935
HKR, %6620Vid160I420%, UsbSetting, 1, \
		12,13,ff, 13,10,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid160I420%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid160I420%, Width, 0x10001, 160
HKR, %6620Vid160I420%, Height, 0x10001, 120
HKR, %6620Vid160I420%, BitCount, 0x10001, 12
;0x30323449 I420
;0x56555949 IYUV
;0xe436eb7d RGB24  use KS_BI_RGB 0
;0xe436eb7b RGB565
;0xe436eb7c RGB555  use KS_BI_RGB 0
;0x32595559 YUY2
;0x59565955 UYVY
HKR, %6620Vid160I420%, FourCC, 0x10001, 0x30323449
HKR, %6620Vid160I420%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid160I420%, typFrameRate, 0x10001, 30000
HKR, %6620Vid160I420%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid160I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid160I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid160I420%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid160I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid160I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid160I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid160I420%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid160I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid160I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid160I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid160I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid160I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid160I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 176 x 144
HKR, %6620Vid176I420%, Tag, 0x10001, 0x56555939
HKR, %6620Vid176I420%, UsbSetting, 1, \
		12,15,ff, 13,13,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid176I420%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid176I420%, Width, 0x10001, 176
HKR, %6620Vid176I420%, Height, 0x10001, 144
HKR, %6620Vid176I420%, BitCount, 0x10001, 12
HKR, %6620Vid176I420%, FourCC, 0x10001, 0x30323449
HKR, %6620Vid176I420%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid176I420%, typFrameRate, 0x10001, 30000
HKR, %6620Vid176I420%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid176I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid176I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid176I420%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid176I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid176I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid176I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid176I420%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid176I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid176I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid176I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid176I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid176I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid176I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 160 x 120
HKR, %6620Vid160RGB24%, Tag, 0x10001, 0x56555934
HKR, %6620Vid160RGB24%, UsbSetting, 1, \
		12,13,ff, 13,10,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid160RGB24%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid160RGB24%, Width, 0x10001, 160
HKR, %6620Vid160RGB24%, Height, 0x10001, 120
HKR, %6620Vid160RGB24%, BitCount, 0x10001, 24
HKR, %6620Vid160RGB24%, FourCC, 0x10001, 0
HKR, %6620Vid160RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid160RGB24%, typFrameRate, 0x10001, 30000
HKR, %6620Vid160RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid160RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid160RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid160RGB24%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid160RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid160RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid160RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid160RGB24%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid160RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid160RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid160RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid160RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid160RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid160RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 176 x 144
HKR, %6620Vid176RGB24%, Tag, 0x10001, 0x56555937
HKR, %6620Vid176RGB24%, UsbSetting, 1, \
		12,15,ff, 13,13,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid176RGB24%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid176RGB24%, Width, 0x10001, 176
HKR, %6620Vid176RGB24%, Height, 0x10001, 144
HKR, %6620Vid176RGB24%, BitCount, 0x10001, 24
HKR, %6620Vid176RGB24%, FourCC, 0x10001, 0
HKR, %6620Vid176RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid176RGB24%, typFrameRate, 0x10001, 30000
HKR, %6620Vid176RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid176RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid176RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid176RGB24%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid176RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid176RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid176RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid176RGB24%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid176RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid176RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid176RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid176RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid176RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid176RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 320 x 240
HKR, %6620Vid320RGB24%, Tag, 0x10001, 0x56555930
HKR, %6620Vid320RGB24%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid320RGB24%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid320RGB24%, Width, 0x10001, 320
HKR, %6620Vid320RGB24%, Height, 0x10001, 240
HKR, %6620Vid320RGB24%, BitCount, 0x10001, 24
HKR, %6620Vid320RGB24%, FourCC, 0x10001, 0
HKR, %6620Vid320RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid320RGB24%, typFrameRate, 0x10001, 30000
HKR, %6620Vid320RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid320RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid320RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid320RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid320RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid320RGB24%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid320RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid320RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid320RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid320RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid320RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid320RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid320RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 352 x 288
HKR, %6620Vid352RGB24%, Tag, 0x10001, 0x56555936
HKR, %6620Vid352RGB24%, UsbSetting, 1, \
		12,2b,ff, 13,25,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid352RGB24%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid352RGB24%, Width, 0x10001, 352
HKR, %6620Vid352RGB24%, Height, 0x10001, 288
HKR, %6620Vid352RGB24%, BitCount, 0x10001, 24
HKR, %6620Vid352RGB24%, FourCC, 0x10001, 0
HKR, %6620Vid352RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid352RGB24%, typFrameRate, 0x10001, 30000
HKR, %6620Vid352RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid352RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid352RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid352RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid352RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid352RGB24%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid352RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid352RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid352RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid352RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid352RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid352RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid352RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 320 x 240
HKR, %6620Vid320I420%, Tag, 0x10001, 0x56555931
HKR, %6620Vid320I420%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid320I420%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid320I420%, Width, 0x10001, 320
HKR, %6620Vid320I420%, Height, 0x10001, 240
HKR, %6620Vid320I420%, BitCount, 0x10001, 12
HKR, %6620Vid320I420%, FourCC, 0x10001, 0x30323449
HKR, %6620Vid320I420%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid320I420%, typFrameRate, 0x10001, 30000
HKR, %6620Vid320I420%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid320I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid320I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %6620Vid320I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid320I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid320I420%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid320I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid320I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid320I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid320I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid320I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid320I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid320I420%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 352x288
HKR, %6620Vid352I420%, Tag, 0x10001, 0x56555938
HKR, %6620Vid352I420%, UsbSetting, 1, \
		12,2b,ff, 13,25,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid352I420%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid352I420%, Width, 0x10001, 352
HKR, %6620Vid352I420%, Height, 0x10001, 288
HKR, %6620Vid352I420%, BitCount, 0x10001, 12
HKR, %6620Vid352I420%, FourCC, 0x10001, 0x30323449
HKR, %6620Vid352I420%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid352I420%, typFrameRate, 0x10001, 30000
HKR, %6620Vid352I420%, MinFrameRate, 0x10001, 7500

HKR, %6620Vid352I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid352I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %6620Vid352I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid352I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid352I420%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid352I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid352I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid352I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid352I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid352I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid352I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid352I420%\FrameRate2, FrameRate, 0x10001, 7500

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 160 x 120
HKR, %6620Vid160RGB16%, Tag, 0x10001, 0x5655593A
HKR, %6620Vid160RGB16%, UsbSetting, 1, \
		12,13,ff, 13,10,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid160RGB16%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid160RGB16%, Width, 0x10001, 160
HKR, %6620Vid160RGB16%, Height, 0x10001, 120
HKR, %6620Vid160RGB16%, BitCount, 0x10001, 16
HKR, %6620Vid160RGB16%, FourCC, 0x10001, 0
HKR, %6620Vid160RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid160RGB16%, typFrameRate, 0x10001, 30000
HKR, %6620Vid160RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid160RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid160RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid160RGB16%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid160RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid160RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid160RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid160RGB16%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid160RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid160RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid160RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid160RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid160RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid160RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid160RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 176 x 144
HKR, %6620Vid176RGB16%, Tag, 0x10001, 0x5655593B
HKR, %6620Vid176RGB16%, UsbSetting, 1, \
		12,15,ff, 13,13,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6620Vid176RGB16%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6620Vid176RGB16%, Width, 0x10001, 176
HKR, %6620Vid176RGB16%, Height, 0x10001, 144
HKR, %6620Vid176RGB16%, BitCount, 0x10001, 16
HKR, %6620Vid176RGB16%, FourCC, 0x10001, 0
HKR, %6620Vid176RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid176RGB16%, typFrameRate, 0x10001, 30000
HKR, %6620Vid176RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid176RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid176RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid176RGB16%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6620Vid176RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid176RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6620Vid176RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid176RGB16%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %6620Vid176RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid176RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6620Vid176RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid176RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid176RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid176RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6620Vid176RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 320 x 240
HKR, %6620Vid320RGB16%, Tag, 0x10001, 0x5655593C
HKR, %6620Vid320RGB16%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid320RGB16%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid320RGB16%, Width, 0x10001, 320
HKR, %6620Vid320RGB16%, Height, 0x10001, 240
HKR, %6620Vid320RGB16%, BitCount, 0x10001, 16
HKR, %6620Vid320RGB16%, FourCC, 0x10001, 0
HKR, %6620Vid320RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid320RGB16%, typFrameRate, 0x10001, 30000
HKR, %6620Vid320RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid320RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid320RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid320RGB16%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid320RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid320RGB16%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid320RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid320RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid320RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid320RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid320RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid320RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid320RGB16%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 352 x 288
HKR, %6620Vid352RGB16%, Tag, 0x10001, 0x5655593D
HKR, %6620Vid352RGB16%, UsbSetting, 1, \
		12,2b,ff, 13,25,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6620Vid352RGB16%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6620Vid352RGB16%, Width, 0x10001, 352
HKR, %6620Vid352RGB16%, Height, 0x10001, 288
HKR, %6620Vid352RGB16%, BitCount, 0x10001, 16
HKR, %6620Vid352RGB16%, FourCC, 0x10001, 0
HKR, %6620Vid352RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6620Vid352RGB16%, typFrameRate, 0x10001, 30000
HKR, %6620Vid352RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6620Vid352RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6620Vid352RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6620Vid352RGB16%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6620Vid352RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6620Vid352RGB16%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6620Vid352RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6620Vid352RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6620Vid352RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6620Vid352RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6620Vid352RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6620Vid352RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %6620Vid352RGB16%\FrameRate2, FrameRate, 0x10001, 7500

;****************************************************************************************************
;[OVT.6620.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,%6620Brit%,PropertyId,0x10001, 0
;Control method 0-->just write calculated value to register (one register)
;Control method 1-->Range look up table, write one or more registers for value within a range
HKR,%6620Brit%,MapMethod,0x10001, 0
HKR,%6620Brit%,RelatedRegister,1,6
;true or false
HKR,%6620Brit%,RelateUsbRegister,1,0

HKR,%6620Brit%,SupportAuto,0x10001,1 ;0 not support, 1 support
;Auto control method 0-->when turn off auto, just write current value to register
;Auto control method 1-->when turn off auto, just read register value as current value
HKR,%6620Brit%,AutoControlMode,0x10001,0
HKR,%6620Brit%,CamRegDisableAuto,1,2d, 87, 10
HKR,%6620Brit%,CamRegEnableAuto,1,2d, 97, 10
;HKR,%6620Brit%,UsbRegDisableAuto,1,2d, 87, 10
;HKR,%6620Brit%,UsbRegEnableAuto,1,2d, 97, 10

HKR,%6620Brit%,DefaultValue,0x10001, 0x80

;KSPROPERTY_VIDEOPROCAMP_FLAGS_AUTO        0X0001L
;KSPROPERTY_VIDEOPROCAMP_FLAGS_MANUAL      0X0002L
HKR,%6620Brit%,DefaultFlags,0x10001, 1
HKR,%6620Brit%,MinValue,0x10001, 0
HKR,%6620Brit%,MaxValue,0x10001, 255
HKR,%6620Brit%,Step,0x10001, 1
;#####################################

HKR,%6620Cntr%,PropertyId,0x10001, 1
HKR,%6620Cntr%,MapMethod,0x10001,1
HKR,%6620Cntr%,NumberOfValues,0x10001, 16
HKR,%6620Cntr%\0000,Value,0x10001, 0
HKR,%6620Cntr%\0000,CamRegisters,1, 5,1,ff
HKR,%6620Cntr%\0001,Value,0x10001, 1
HKR,%6620Cntr%\0001,CamRegisters,1, 5,5,ff
HKR,%6620Cntr%\0002,Value,0x10001, 2
HKR,%6620Cntr%\0002,CamRegisters,1, 5,9,ff
HKR,%6620Cntr%\0003,Value,0x10001, 3
HKR,%6620Cntr%\0003,CamRegisters,1, 5,11,ff
HKR,%6620Cntr%\0004,Value,0x10001, 4
HKR,%6620Cntr%\0004,CamRegisters,1, 5,37,ff
HKR,%6620Cntr%\0005,Value,0x10001, 5
HKR,%6620Cntr%\0005,CamRegisters,1, 5,57,ff
HKR,%6620Cntr%\0006,Value,0x10001, 6
HKR,%6620Cntr%\0006,CamRegisters,1, 5,5f,ff
HKR,%6620Cntr%\0007,Value,0x10001, 7
HKR,%6620Cntr%\0007,CamRegisters,1, 5,7f,ff
HKR,%6620Cntr%\0008,Value,0x10001, 8
HKR,%6620Cntr%\0008,CamRegisters,1, 5,af,ff
HKR,%6620Cntr%\0009,Value,0x10001, 9
HKR,%6620Cntr%\0009,CamRegisters,1, 5,bf,ff
HKR,%6620Cntr%\000a,Value,0x10001, 10
HKR,%6620Cntr%\000a,CamRegisters,1, 5,cf,ff
HKR,%6620Cntr%\000b,Value,0x10001, 11
HKR,%6620Cntr%\000b,CamRegisters,1, 5,df,ff
HKR,%6620Cntr%\000c,Value,0x10001, 12
HKR,%6620Cntr%\000c,CamRegisters,1, 5,ff,ff
HKR,%6620Cntr%\000d,Value,0x10001, 13
HKR,%6620Cntr%\000d,CamRegisters,1, 5,ff,ff
HKR,%6620Cntr%\000e,Value,0x10001, 14
HKR,%6620Cntr%\000e,CamRegisters,1, 5,ff,ff
HKR,%6620Cntr%\000f,Value,0x10001, 15
HKR,%6620Cntr%\000f,CamRegisters,1, 5,ff,ff


HKR,%6620Cntr%,DefaultValue,0x10001, 7
HKR,%6620Cntr%,MinValue,0x10001, 0
HKR,%6620Cntr%,MaxValue,0x10001, 15
HKR,%6620Cntr%,Step,0x10001, 1


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


HKR,%6620Hue%,PropertyId,0x10001, 2
HKR,%6620Hue%,MapMethod,0x10001, 1
HKR,%6620Hue%,NumberOfValues,0x10001, 16
HKR,%6620Hue%\0000,Value,0x10001, 15
HKR,%6620Hue%\0000,CamRegisters,1, c,10,ff, d,10,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0001,Value,0x10001, 14
HKR,%6620Hue%\0001,CamRegisters,1, c,12,ff, d,12,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0002,Value,0x10001, 13
HKR,%6620Hue%\0002,CamRegisters,1, c,14,ff, d,14,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0003,Value,0x10001, 12
HKR,%6620Hue%\0003,CamRegisters,1, c,16,ff, d,16,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0004,Value,0x10001, 11
HKR,%6620Hue%\0004,CamRegisters,1, c,18,ff, d,18,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0005,Value,0x10001, 10
HKR,%6620Hue%\0005,CamRegisters,1, c,1a,ff, d,1a,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0006,Value,0x10001, 9
HKR,%6620Hue%\0006,CamRegisters,1, c,1c,ff, d,1c,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0007,Value,0x10001, 8
HKR,%6620Hue%\0007,CamRegisters,1, c,1e,ff, d,1e,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000e,Value,0x10001, 7
HKR,%6620Hue%\000e,CamRegisters,1, c,20,ff, d,20,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0008,Value,0x10001, 6
HKR,%6620Hue%\0008,CamRegisters,1, c,22,ff, d,22,ff, 12,20,04,12,24,04
HKR,%6620Hue%\0009,Value,0x10001, 5
HKR,%6620Hue%\0009,CamRegisters,1, c,24,ff, d,24,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000a,Value,0x10001, 4
HKR,%6620Hue%\000a,CamRegisters,1, c,26,ff, d,26,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000b,Value,0x10001, 3
HKR,%6620Hue%\000b,CamRegisters,1, c,28,ff, d,28,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000c,Value,0x10001, 2
HKR,%6620Hue%\000c,CamRegisters,1, c,2a,ff, d,2a,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000d,Value,0x10001, 1
HKR,%6620Hue%\000d,CamRegisters,1, c,2c,ff, d,2c,ff, 12,20,04,12,24,04
HKR,%6620Hue%\000f,Value,0x10001, 0
HKR,%6620Hue%\000f,CamRegisters,1, c,2e,ff, d,2e,ff, 12,20,04,12,24,04

HKR,%6620Hue%,DefaultValue,0x10001, 7
HKR,%6620Hue%,MinValue,0x10001, 0
HKR,%6620Hue%,MaxValue,0x10001, 15
HKR,%6620Hue%,Step,0x10001, 1

;#####################################
HKR,%6620Sat%,PropertyId,0x10001, 3
HKR,%6620Sat%,RelatedRegister,1,3
HKR,%6620Sat%,DefaultValue,0x10001, 192
HKR,%6620Sat%,MinValue,0x10001, 0
HKR,%6620Sat%,MaxValue,0x10001, 255
HKR,%6620Sat%,Step,0x10001, 1
;#####################################


HKR,%6620Shp%,PropertyId,0x10001, 4
HKR,%6620Shp%,MapMethod,0x10001, 1
HKR,%6620Shp%,NumberOfValues,0x10001, 8

HKR,%6620Shp%\0000,Value,0x10001, 0
HKR,%6620Shp%\0000,CamRegisters,1, 7,84,ff
HKR,%6620Shp%\0001,Value,0x10001, 1
HKR,%6620Shp%\0001,CamRegisters,1, 7,a4,ff
HKR,%6620Shp%\0002,Value,0x10001, 2
HKR,%6620Shp%\0002,CamRegisters,1, 7,d4,ff
HKR,%6620Shp%\0003,Value,0x10001, 3
HKR,%6620Shp%\0003,CamRegisters,1, 7,a8,ff
HKR,%6620Shp%\0004,Value,0x10001, 4
HKR,%6620Shp%\0004,CamRegisters,1, 7,c8,ff
HKR,%6620Shp%\0005,Value,0x10001, 5
HKR,%6620Shp%\0005,CamRegisters,1, 7,d8,ff
HKR,%6620Shp%\0006,Value,0x10001, 6
HKR,%6620Shp%\0006,CamRegisters,1, 7,da,ff
HKR,%6620Shp%\0007,Value,0x10001, 7
HKR,%6620Shp%\0007,CamRegisters,1, 7,ea,ff

HKR,%6620Shp%,DefaultValue,0x10001, 3
HKR,%6620Shp%,MinValue,0x10001, 0
HKR,%6620Shp%,MaxValue,0x10001, 7
HKR,%6620Shp%,Step,0x10001, 1


;#####################################
;HKR,%6620Gam%\0000,UsbRegisters,1, 0f, 14, ff
;#####################################

HKR,%6620Col%,PropertyId,0x10001, 6
HKR,%6620Col%,MapMethod,0x10001, 1
HKR,%6620Col%,NumberOfValues,0x10001, 2
HKR,%6620Col%\0000,Value,0x10001, 0
HKR,%6620Col%\0000,UsbRegisters,1, 16,00,ff, 50,3f,ff, 50,00,ff
HKR,%6620Col%\0001,Value,0x10001, 1
HKR,%6620Col%\0001,UsbRegisters,1, 16,01,ff, 50,3f,ff, 50,00,ff

HKR,%6620Col%,DefaultValue,0x10001, 1
HKR,%6620Col%,MinValue,0x10001, 0
HKR,%6620Col%,MaxValue,0x10001, 1
HKR,%6620Col%,Step,0x10001, 1
;#####################################

;HKR,%6620Wb%,Registers,0x10001, 
;#####################################


HKR,%6620BL%,PropertyId,0x10001, 8
HKR,%6620BL%,MapMethod,0x10001, 1
HKR,%6620BL%,NumberOfValues,0x10001, 2
HKR,%6620BL%\0000,Value,0x10001, 0
HKR,%6620BL%\0000,CamRegisters,1, 4e,c0,e0, 29,00,08,0e,0,80
HKR,%6620BL%\0001,Value,0x10001, 1
HKR,%6620BL%\0001,CamRegisters,1, 4e,e0,e0, 29,08,08, 0e,80,80

HKR,%6620BL%,DefaultValue,0x10001, 0
HKR,%6620BL%,MinValue,0x10001, 0
HKR,%6620BL%,MaxValue,0x10001, 1
HKR,%6620BL%,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,%6620Pan%,Registers,0x10001, 
;HKR,%6620Tilt%,Registers,0x10001, 
;HKR,%6620Roll%,Registers,0x10001, 
;HKR,%6620Zoom%,Registers,0x10001, 
;#####################################

HKR,%6620Exp%,PropertyId,0x10001, 4
HKR,%6620Exp%,MapMethod,0x10001, 0
HKR,%6620Exp%,RelatedRegister,1,10

HKR,%6620Exp%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%6620Exp%,AutoControlMode,0x10001,0
HKR,%6620Exp%,CamRegDisableAuto,1,13, 0, 1
HKR,%6620Exp%,CamRegEnableAuto,1,13, 1, 1

HKR,%6620Exp%,DefaultValue,0x10001, 154
HKR,%6620Exp%,DefaultFlags,0x10001, 1
HKR,%6620Exp%,MinValue,0x10001, 0
HKR,%6620Exp%,MaxValue,0x10001, 154
HKR,%6620Exp%,Step,0x10001, 1


;#####################################
;HKR,%6620Iris%,Registers,0x10001, 
;HKR,%6620Focus%,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,%6620Cap%,PropertyId,0x10001, 0
HKR,%6620Cap%,MapMethod,0x10001, 1

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

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

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

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

HKR,%6620Mode%\0000,Value,0x10001, 1
HKR,%6620Mode%\0000,CamRegisters,1, 12,40,40
HKR,%6620Mode%\0001,Value,0x10001, 0x80000001
HKR,%6620Mode%\0001,CamRegisters,1, 12,0,40
HKR,%6620Mode%\0002,Value,0x10001, 0x20
HKR,%6620Mode%\0002,UsbRegisters,1, 52,04,04


;######################################
;######################################
;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_VIDEOCOMPRESSION_QUALITY,              // RW	3
;    KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_KEYFRAME,    // W		4
;    KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_FRAME_SIZE   // W		5

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

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

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

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

;######################################
HKR,%6620PFR%,PropertyId,0x10001, 2
HKR,%6620PFR%,MapMethod,0x10001, 1
HKR,%6620PFR%,DefaultValue,0x10001, 0
;######################################
HKR,%6620Qul%,PropertyId,0x10001, 3
HKR,%6620Qul%,MapMethod,0x10001, 1
HKR,%6620Qul%,DefaultValue,0x10001, 5000
;######################################
;PROPSETID_OVTCAM_PROP
HKR,%6620Reg%,PropertyId,0x10001, 0
HKR,%6620Reg%,MapMethod,0x10001, 1
HKR,%6620Reg%,DefaultValue,0x10001, 0

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

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

HKR,%6620LF%,PropertyId,0x10001, 2
HKR,%6620LF%,MapMethod,0x10001, 1
HKR,%6620LF%,NumberOfValues,0x10001, 2

HKR,%6620LF%\50Hz,Value,0x10001, 0
HKR,%6620LF%\50Hz,CamRegisters,1, 2b,28,ff,2a,a4,ff
HKR,%6620LF%\60Hz,Value,0x10001, 1
HKR,%6620LF%\60Hz,CamRegisters,1, 2b,a8,ff,2a,84,ff

HKR,%6620LF%,DefaultValue,0x10001, 1
HKR,%6620LF%,MinValue,0x10001, 0
HKR,%6620LF%,MaxValue,0x10001, 1
HKR,%6620LF%,Step,0x10001, 1

[Strings]

6620Set="CameraSetting\SupportCamera\6620"
6620Adj="CameraSetting\SupportCamera\6620\CamAdjust"
6620DP="CameraSetting\SupportCamera\6620\DataProcessing"
6620STIYUV="CameraSetting\SupportCamera\6620\DataProcessing\YUV"
6620STIRAW="CameraSetting\SupportCamera\6620\DataProcessing\RAW"
6620Strm="CameraSetting\SupportCamera\6620\VideoStream"
6620Vid160I420="CameraSetting\SupportCamera\6620\VideoStream\160x120I420"
6620Vid176I420="CameraSetting\SupportCamera\6620\VideoStream\176x144I420"
6620Vid320I420="CameraSetting\SupportCamera\6620\VideoStream\320x240I420"
6620Vid352I420="CameraSetting\SupportCamera\6620\VideoStream\352x288I420"
6620Vid160RGB24="CameraSetting\SupportCamera\6620\VideoStream\160x120RGB24"
6620Vid176RGB24="CameraSetting\SupportCamera\6620\VideoStream\176x144RGB24"
6620Vid320RGB24="CameraSetting\SupportCamera\6620\VideoStream\320x240RGB24"
6620Vid352RGB24="CameraSetting\SupportCamera\6620\VideoStream\352x288RGB24"
6620Vid160RGB16="CameraSetting\SupportCamera\6620\VideoStream\160x120RGB16"
6620Vid176RGB16="CameraSetting\SupportCamera\6620\VideoStream\176x144RGB16"
6620Vid320RGB16="CameraSetting\SupportCamera\6620\VideoStream\320x240RGB16"
6620Vid352RGB16="CameraSetting\SupportCamera\6620\VideoStream\352x288RGB16"
6620Brit="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Brightness"
6620Cntr="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Contrast"
6620Hue="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Hue"
6620Sat="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Saturation"
6620Shp="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Sharpness"
6620Gam="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\Gamma"
6620Col="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\ColorEnable"
6620Wb="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\WhiteBalance"
6620BL="CameraSetting\SupportCamera\6620\DeviceProperties\VideoProcAmp\BackLight"
6620Pan="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Pan"
6620Tilt="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Tilt"
6620Roll="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Roll"
6620Zoom="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Zoom"
6620Exp="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Exposure"
6620Iris="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Iris"
6620Focus="CameraSetting\SupportCamera\6620\DeviceProperties\CameraControl\Focus"
6620Cap="CameraSetting\SupportCamera\6620\DeviceProperties\VideoControl\Capability"
6620ActFR="CameraSetting\SupportCamera\6620\DeviceProperties\VideoControl\ActualFrameRate"
6620Fps="CameraSetting\SupportCamera\6620\DeviceProperties\VideoControl\FrameRates"
6620Mode="CameraSetting\SupportCamera\6620\DeviceProperties\VideoControl\Mode"
6620CmpInfo="CameraSetting\SupportCamera\6620\DeviceProperties\VideoCompression\GetCompressionInfo"
6620KeyFR="CameraSetting\SupportCamera\6620\DeviceProperties\VideoCompression\KeyFrameRate"
6620PFR="CameraSetting\SupportCamera\6620\DeviceProperties\VideoCompression\PFrameRate"
6620Qul="CameraSetting\SupportCamera\6620\DeviceProperties\VideoCompression\Qulaity"
6620Reg="CameraSetting\SupportCamera\6620\DeviceProperties\CustomProperty\Register"
6620Regy="CameraSetting\SupportCamera\6620\DeviceProperties\CustomProperty\Registry"
6620Sti="CameraSetting\SupportCamera\6620\DeviceProperties\CustomProperty\StillImage"
6620LF="CameraSetting\SupportCamera\6620\DeviceProperties\CustomProperty\LightFrequence"
