[Sections]
AddReg=OVT.6630.Setting

[OVT.6630.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,%6630Set%,VersionCheck,1, C0, 29, ff, 00
HKR,%6630Set%,ResetCamera,1, 12, 80, ff
HKR,%6630Set%,CameraName,,Ov6630
HKR,%6630Set%,SensorWidth,0x10001,352
HKR,%6630Set%,SensorHeight,0x10001,288
HKR,%6630Set%,CurrentFormat,0x10001, 0x56555938
HKR,%6630Set%,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,%6630Set%,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, 55,00,ff, 48,ff,ff, 49,ff,ff
;Index, Value, Mask
HKR,%6630Set%,CameraSetting,1, \
12,80,FF,2a,04,ff,11,01,FF,06,50,FF,0f,05,FF,05,08,FF,03,a0,FF,07,ad,FF,0c,20, \
FF,0d,20,FF,0e,00,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,c0,FF,24,43,FF,25,87,FF,26,b2,FF,27,a2,FF,28,00, \
FF,29,00,FF,2a,04,FF,2b,a8,FF,2c,fe,FF,2d,95,FF,33,24,FF,34,0b,FF,36,8f, \
FF,37,80,FF,38,8b,FF,39,00,FF,3a,0f,FF,3b,3c,FF,3c,5c,FF,3d,80,FF,3e,80, \
FF,3f,0e,FF,40,00,FF,41,00,FF,42,00,FF,43,40,FF,44,80,FF,45,1c,FF,46,1c, \
FF,47,80,FF,48,7f,FF,49,00,FF,4a,00,FF,4b,80,FF,4c,d0,FF,4d,10,FF,4e,c0, \
FF,4f,07,FF,50,ff,FF,54,23,FF,55,5d,FF,56,12,FF,57,81,FF,58,75,FF,59,01, \
FF,5a,3c,FF,5b,0f,FF,5c,13,FF,2a,84,ff


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

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

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

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

HKR,%6630Strm%, OpenStreamUsbSetting,1, 55,01,01
HKR,%6630Strm%, CloseStreamUsbSetting,1, 55,00,01

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

;HKR, %6630Strm%, CloseStreamUsbSetting, 1, 50, 0, ff
;HKR, %6630Strm%, CloseStreamCameraSetting, 1, \
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 160 x 120
HKR, %6630Vid160I420%, Tag, 0x10001, 0x56555935
HKR, %6630Vid160I420%, UsbSetting, 1, \
		12,13,ff, 13,e,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid160I420%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid160I420%, Width, 0x10001, 160
HKR, %6630Vid160I420%, Height, 0x10001, 120
HKR, %6630Vid160I420%, 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, %6630Vid160I420%, FourCC, 0x10001, 0x30323449
HKR, %6630Vid160I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid160I420%, typFrameRate, 0x10001, 30000
HKR, %6630Vid160I420%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid160I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid160I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid160I420%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid160I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid160I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid160I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid160I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid160I420%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid160I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid160I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid160I420%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid160I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid160I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid160I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid160I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 176 x 144
HKR, %6630Vid176I420%, Tag, 0x10001, 0x56555939
HKR, %6630Vid176I420%, UsbSetting, 1, \
		12,15,ff, 13,11,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid176I420%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid176I420%, Width, 0x10001, 176
HKR, %6630Vid176I420%, Height, 0x10001, 144
HKR, %6630Vid176I420%, BitCount, 0x10001, 12
HKR, %6630Vid176I420%, FourCC, 0x10001, 0x30323449
HKR, %6630Vid176I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid176I420%, typFrameRate, 0x10001, 30000
HKR, %6630Vid176I420%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid176I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid176I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid176I420%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid176I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid176I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid176I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid176I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid176I420%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid176I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid176I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid176I420%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid176I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid176I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid176I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid176I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 160 x 120
HKR, %6630Vid160RGB24%, Tag, 0x10001, 0x56555934
HKR, %6630Vid160RGB24%, UsbSetting, 1, \
		12,13,ff, 13,e,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid160RGB24%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid160RGB24%, Width, 0x10001, 160
HKR, %6630Vid160RGB24%, Height, 0x10001, 120
HKR, %6630Vid160RGB24%, BitCount, 0x10001, 24
HKR, %6630Vid160RGB24%, FourCC, 0x10001, 0
HKR, %6630Vid160RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid160RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630Vid160RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid160RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid160RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid160RGB24%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid160RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid160RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid160RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid160RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid160RGB24%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid160RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid160RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid160RGB24%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid160RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid160RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid160RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid160RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 176 x 144
HKR, %6630Vid176RGB24%, Tag, 0x10001, 0x56555937
HKR, %6630Vid176RGB24%, UsbSetting, 1, \
		12,15,ff, 13,11,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid176RGB24%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid176RGB24%, Width, 0x10001, 176
HKR, %6630Vid176RGB24%, Height, 0x10001, 144
HKR, %6630Vid176RGB24%, BitCount, 0x10001, 24
HKR, %6630Vid176RGB24%, FourCC, 0x10001, 0
HKR, %6630Vid176RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid176RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630Vid176RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid176RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid176RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid176RGB24%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid176RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid176RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid176RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid176RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid176RGB24%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid176RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid176RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid176RGB24%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid176RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid176RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid176RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid176RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 320 x 240
HKR, %6630Vid320RGB24%, Tag, 0x10001, 0x56555930
HKR, %6630Vid320RGB24%, UsbSetting, 1, \
		12,27,ff, 13,1d,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid320RGB24%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid320RGB24%, Width, 0x10001, 320
HKR, %6630Vid320RGB24%, Height, 0x10001, 240
HKR, %6630Vid320RGB24%, BitCount, 0x10001, 24
HKR, %6630Vid320RGB24%, FourCC, 0x10001, 0
HKR, %6630Vid320RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid320RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630Vid320RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid320RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid320RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid320RGB24%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid320RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid320RGB24%\FrameRate1, UsbSetting, 1, 30,0c,ff, 78,07,ff
HKR, %6630Vid320RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid320RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid320RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid320RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid320RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid320RGB24%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid320RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 352 x 288
HKR, %6630Vid352RGB24%, Tag, 0x10001, 0x56555936
HKR, %6630Vid352RGB24%, UsbSetting, 1, \
		12,2b,ff, 13,23,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid352RGB24%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid352RGB24%, Width, 0x10001, 352
HKR, %6630Vid352RGB24%, Height, 0x10001, 288
HKR, %6630Vid352RGB24%, BitCount, 0x10001, 24
HKR, %6630Vid352RGB24%, FourCC, 0x10001, 0
HKR, %6630Vid352RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid352RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630Vid352RGB24%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid352RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid352RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid352RGB24%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid352RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid352RGB24%\FrameRate1, UsbSetting, 1, 30,c,ff, 78,07,ff
HKR, %6630Vid352RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid352RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid352RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid352RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid352RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid352RGB24%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid352RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 320 x 240
HKR, %6630Vid320I420%, Tag, 0x10001, 0x56555931
HKR, %6630Vid320I420%, UsbSetting, 1, \
		12,27,ff, 13,1d,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid320I420%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid320I420%, Width, 0x10001, 320
HKR, %6630Vid320I420%, Height, 0x10001, 240
HKR, %6630Vid320I420%, BitCount, 0x10001, 12
HKR, %6630Vid320I420%, FourCC, 0x10001, 0x30323449
HKR, %6630Vid320I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid320I420%, typFrameRate, 0x10001, 30000
HKR, %6630Vid320I420%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid320I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid320I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %6630Vid320I420%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid320I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid320I420%\FrameRate1, UsbSetting, 1, 30,c,ff, 78,07,ff
HKR, %6630Vid320I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid320I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid320I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid320I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid320I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid320I420%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid320I420%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 352x288
HKR, %6630Vid352I420%, Tag, 0x10001, 0x56555938
HKR, %6630Vid352I420%, UsbSetting, 1, \
		12,2b,ff, 13,23,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid352I420%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid352I420%, Width, 0x10001, 352
HKR, %6630Vid352I420%, Height, 0x10001, 288
HKR, %6630Vid352I420%, BitCount, 0x10001, 12
HKR, %6630Vid352I420%, FourCC, 0x10001, 0x30323449
HKR, %6630Vid352I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid352I420%, typFrameRate, 0x10001, 30000
HKR, %6630Vid352I420%, MinFrameRate, 0x10001, 7500

HKR, %6630Vid352I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid352I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %6630Vid352I420%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid352I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid352I420%\FrameRate1, UsbSetting, 1, 30,c,ff, 78,07,ff
HKR, %6630Vid352I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid352I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid352I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid352I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid352I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid352I420%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid352I420%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 160 x 120
HKR, %6630Vid160RGB16%, Tag, 0x10001, 0x56555940
HKR, %6630Vid160RGB16%, UsbSetting, 1, \
		12,13,ff, 13,e,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid160RGB16%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid160RGB16%, Width, 0x10001, 160
HKR, %6630Vid160RGB16%, Height, 0x10001, 120
HKR, %6630Vid160RGB16%, BitCount, 0x10001, 16
HKR, %6630Vid160RGB16%, FourCC, 0x10001, 0
HKR, %6630Vid160RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid160RGB16%, typFrameRate, 0x10001, 30000
HKR, %6630Vid160RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid160RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid160RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid160RGB16%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid160RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid160RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid160RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid160RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid160RGB16%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid160RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid160RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid160RGB16%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid160RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid160RGB16%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid160RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid160RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 176 x 144
HKR, %6630Vid176RGB16%, Tag, 0x10001, 0x56555941
HKR, %6630Vid176RGB16%, UsbSetting, 1, \
		12,15,ff, 13,11,ff, 14,0,ff, 15,0,ff, 18,00,ff
HKR, %6630Vid176RGB16%, CameraSetting, 1, \
                2a,04,80,14,24,ff,2a,84,80
HKR, %6630Vid176RGB16%, Width, 0x10001, 176
HKR, %6630Vid176RGB16%, Height, 0x10001, 144
HKR, %6630Vid176RGB16%, BitCount, 0x10001, 16
HKR, %6630Vid176RGB16%, FourCC, 0x10001, 0
HKR, %6630Vid176RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid176RGB16%, typFrameRate, 0x10001, 30000
HKR, %6630Vid176RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid176RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %6630Vid176RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid176RGB16%\FrameRate0, AlternateSetting, 0x10001, 5
HKR, %6630Vid176RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid176RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %6630Vid176RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid176RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid176RGB16%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630Vid176RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid176RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %6630Vid176RGB16%\FrameRate2, UsbSetting, 1, 30,04,ff, 78,07,ff
HKR, %6630Vid176RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid176RGB16%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630Vid176RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %6630Vid176RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 320 x 240
HKR, %6630Vid320RGB16%, Tag, 0x10001, 0x56555942
HKR, %6630Vid320RGB16%, UsbSetting, 1, \
		12,27,ff, 13,1d,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid320RGB16%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid320RGB16%, Width, 0x10001, 320
HKR, %6630Vid320RGB16%, Height, 0x10001, 240
HKR, %6630Vid320RGB16%, BitCount, 0x10001, 16
HKR, %6630Vid320RGB16%, FourCC, 0x10001, 0
HKR, %6630Vid320RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid320RGB16%, typFrameRate, 0x10001, 30000
HKR, %6630Vid320RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid320RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid320RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid320RGB16%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid320RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid320RGB16%\FrameRate1, UsbSetting, 1, 30,0c,ff, 78,07,ff
HKR, %6630Vid320RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid320RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid320RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid320RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid320RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid320RGB16%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid320RGB16%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 352 x 288
HKR, %6630Vid352RGB16%, Tag, 0x10001, 0x56555943
HKR, %6630Vid352RGB16%, UsbSetting, 1, \
		12,2b,ff, 13,23,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %6630Vid352RGB16%, CameraSetting, 1, \
                2a,04,80,14,04,ff,2a,84,80
HKR, %6630Vid352RGB16%, Width, 0x10001, 352
HKR, %6630Vid352RGB16%, Height, 0x10001, 288
HKR, %6630Vid352RGB16%, BitCount, 0x10001, 16
HKR, %6630Vid352RGB16%, FourCC, 0x10001, 0
HKR, %6630Vid352RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %6630Vid352RGB16%, typFrameRate, 0x10001, 30000
HKR, %6630Vid352RGB16%, MinFrameRate, 0x10001, 7500
HKR, %6630Vid352RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %6630Vid352RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %6630Vid352RGB16%\FrameRate0, AlternateSetting, 0x10001, 6
HKR, %6630Vid352RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630Vid352RGB16%\FrameRate1, UsbSetting, 1, 30,c,ff, 78,07,ff
HKR, %6630Vid352RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %6630Vid352RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630Vid352RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %6630Vid352RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %6630Vid352RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %6630Vid352RGB16%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630Vid352RGB16%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;****************************************************************************************************
;[OVT.6630.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,%6630Brit%,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,%6630Brit%,MapMethod,0x10001, 0
HKR,%6630Brit%,RelatedRegister,1,6
;true or false
HKR,%6630Brit%,RelateUsbRegister,1,0

HKR,%6630Brit%,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,%6630Brit%,AutoControlMode,0x10001,0
HKR,%6630Brit%,CamRegDisableAuto,1,2d, 87, 10
HKR,%6630Brit%,CamRegEnableAuto,1,2d, 97, 10
;HKR,%6630Brit%,UsbRegDisableAuto,1,2d, 87, 10
;HKR,%6630Brit%,UsbRegEnableAuto,1,2d, 97, 10

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

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

HKR,%6630Cntr%,PropertyId,0x10001, 1
HKR,%6630Cntr%,MapMethod,0x10001,1
HKR,%6630Cntr%,NumberOfValues,0x10001, 16
HKR,%6630Cntr%\0000,Value,0x10001, 0
HKR,%6630Cntr%\0000,CamRegisters,1, 5,00,ff
HKR,%6630Cntr%\0001,Value,0x10001, 1
HKR,%6630Cntr%\0001,CamRegisters,1, 5,04,ff
HKR,%6630Cntr%\0002,Value,0x10001, 2
HKR,%6630Cntr%\0002,CamRegisters,1, 5,06,ff
HKR,%6630Cntr%\0003,Value,0x10001, 3
HKR,%6630Cntr%\0003,CamRegisters,1, 5,08,ff
HKR,%6630Cntr%\0004,Value,0x10001, 4
HKR,%6630Cntr%\0004,CamRegisters,1, 5,0a,ff
HKR,%6630Cntr%\0005,Value,0x10001, 5
HKR,%6630Cntr%\0005,CamRegisters,1, 5,0f,ff
HKR,%6630Cntr%\0006,Value,0x10001, 6
HKR,%6630Cntr%\0006,CamRegisters,1, 5,89,ff
HKR,%6630Cntr%\0007,Value,0x10001, 7
HKR,%6630Cntr%\0007,CamRegisters,1, 5,8f,ff

HKR,%6630Cntr%,DefaultValue,0x10001, 4
HKR,%6630Cntr%,MinValue,0x10001, 0
HKR,%6630Cntr%,MaxValue,0x10001, 7
HKR,%6630Cntr%,Step,0x10001, 1


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


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

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

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


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

HKR,%6630Shp%\0000,Value,0x10001, 0
HKR,%6630Shp%\0000,CamRegisters,1, 07,00,ff
HKR,%6630Shp%\0001,Value,0x10001, 1
HKR,%6630Shp%\0001,CamRegisters,1, 07,68,ff
HKR,%6630Shp%\0002,Value,0x10001, 2
HKR,%6630Shp%\0002,CamRegisters,1, 07,8a,ff
HKR,%6630Shp%\0003,Value,0x10001, 3
HKR,%6630Shp%\0003,CamRegisters,1, 07,8d,ff
HKR,%6630Shp%\0004,Value,0x10001, 4
HKR,%6630Shp%\0004,CamRegisters,1, 07,ad,ff
HKR,%6630Shp%\0005,Value,0x10001, 5
HKR,%6630Shp%\0005,CamRegisters,1, 07,ce,ff
HKR,%6630Shp%\0006,Value,0x10001, 6
HKR,%6630Shp%\0006,CamRegisters,1, 07,cf,ff
HKR,%6630Shp%\0007,Value,0x10001, 7
HKR,%6630Shp%\0007,CamRegisters,1, 07,ff,ff

HKR,%6630Shp%,DefaultValue,0x10001, 4
HKR,%6630Shp%,MinValue,0x10001, 0
HKR,%6630Shp%,MaxValue,0x10001, 7
HKR,%6630Shp%,Step,0x10001, 1


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

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

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

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


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

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

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

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

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


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

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

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

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

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

HKR,%6630Mode%\0000,Value,0x10001, 1
HKR,%6630Mode%\0000,CamRegisters,1, 12,40,40
HKR,%6630Mode%\0001,Value,0x10001, 0x80000001
HKR,%6630Mode%\0001,CamRegisters,1, 12,0,40
HKR,%6630Mode%\0002,Value,0x10001, 0x20
HKR,%6630Mode%\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,%6630CmpInfo%,PropertyId,0x10001, 0
HKR,%6630CmpInfo%,MapMethod,0x10001, 1

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

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

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

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

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

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

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

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

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



[Strings]

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