[Sections]
AddReg=OVT.6630f519.Setting

[OVT.6630f519.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,%6630f519Set%, OneChannelCheck,1, 55, 00, 80
HKR,%6630f519Set%, VersionCheck,1, C0, 29, ff, 03
;HKR,%6630f519Set%, MinorVersionCheck,1, 42, 15, ff, 03
HKR,%6630f519Set%, ResetCamera,1, 12, 80, ff
HKR,%6630f519Set%, CameraName,,Ov6630f519
HKR,%6630f519Set%, SensorWidth,0x10001, 352
HKR,%6630f519Set%, SensorHeight,0x10001, 288
HKR,%6630f519Set%, CurrentFormat,0x10001, 0x32024012
HKR,%6630f519Set%, 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,%6630f519Set%,UsbSetting,1, 5d,03,ff, 53,9b,9b, 54,0f,ff, \
a2,20,ff, a3,18,ff, a4,04,ff, a5,18,ff, 37,00,ff, 55,02,ff, \
22,1d,ff, 17,50,ff, 37,00,ff, 40,ff,ff, 46,00,ff, \
59,04,ff

;Index, Value, Mask
HKR,%6630f519Set%,CameraSetting,1, \
12,80,FF, 03,C0,FF, 05,0A,FF, 0C,24,FF, 0D,24,FF, 0E,20,FF, 0F,15,FF, \
11,00,FF, 12,24,FF, 13,01,FF, 14,84,FF, 15,00,FF, 16,03,FF, 17,38,FF, \
18,EA,FF, 19,04,FF, 1A,93,FF, 1B,00,FF, 1C,7F,FF, 1D,A2,FF, 1E,C4,FF, \
1F,04,FF, 20,20,FF, 21,10,FF, 22,88,FF, 23,C0,FF, 24,43,FF, 25,8a,FF, \
26,B2,FF, 27,A2,FF, 28,00,FF, 29,00,FF, 2A,84,FF, 2B,A8,FF, 2C,a0,FF, \
2D,95,FF, 2E,88,ff, 33,26,FF, 34,03,FF, 36,8F,FF, 37,80,FF, 38,83,FF, \
39,80,FF, 3A,0F,FF, 3B,3C,FF, 3C,1a,FF, 3d,80,ff, 3E,80,FF, 3F,0E,FF, 40,00,FF, \
41,00,FF, 42,80,FF, 43,3F,FF, 44,80,FF, 45,20,FF, 46,20,FF, 47,80,FF, \
48,7F,FF, 49,00,FF, 4A,00,FF, 4B,80,FF, 4C,D0,FF, 4D,10,FF, 4E,40,FF, \
4F,07,FF, 50,FF,FF, 54,23,FF, 55,dd,FF, 56,12,FF, 57,81,FF, 58,75,FF, \
59,01,FF, 5A,2C,FF, 5B,0F,FF, 5C,10,FF, 3d,80,ff, 27,a6,ff, 12,20,FF, \
12,24,FF

HKR,%6630f519Adj%,EnableLowLightControl,0x10001,0
HKR,%6630f519Adj%,ClockUpTh,0x10001,150
HKR,%6630f519Adj%,ClockDownTh,0x10001,60
HKR,%6630f519Adj%,CheckTime,0x10001,35
HKR,%6630f519Adj%, ClockUpCamRegs,1,20,00,08,5a,2c,40,28,00,02
HKR,%6630f519Adj%, ClockDownCamRegs,1,20,08,08,28,02,02,5a,7c,40
HKR,%6630f519Adj%,ExposureCheck,1,10,9a

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


;HKR,%6630f519STIYUV%, CameraSetting,1, ff,00,ff

;Modified by Jeff @05/13/00, @06/08/00
;Original Setting:
;HKR,%6630f519STIYUV%, UsbSetting,1, ff,00,ff
;No Setting necessary in OV518, if using YUV 422
;The using of 422 or 420 will be set in each format where is needed
;Default is transmission YUV 422
;End of Modification


HKR,%6630f519STIYUV%, UsbSetting,1, \
ff,00,ff

HKR,%6630f519STIRAW%, UsbSetting,1, \
ff,00,ff

;HKR,%6630f519UVTest%, CameraSetting,1, \
;12,26,ff,13,20,01,10,00,ff,00,30,ff,03,ff,ff,28,02,02

;Modified by Jeff @05/13/00
;Original Setting:
;HKR,%6630f519STIRAW%, UsbSetting,1, ff,00,ff
;No Setting necessary in OV518, if using YUV 422
;The using of 422 or 420 will be set in each format where is needed
;Default is transmission YUV 422
;End of Modification

;HKR,%6630f519DP%, LogFileName,,logo352.bmp
HKR,%6630f519DP%, EnVideoYUVProc,0x10001,0
HKR,%6630f519DP%, EnVideoRGBProc,0x10001,0
HKR,%6630f519DP%, EnStillYUVProc,0x10001,0
HKR,%6630f519DP%, EnStillRGBProc,0x10001,0
HKR,%6630f519DP%, StillSharpness,0x10001,3   ; range  0 ~ 8
HKR,%6630f519DP%, DisableAutoLFCheck,0x10001,1

;*******************************
;[OVT.6630f519.VideoSetting]
;HKR,%6630f519Strm%, OpenStreamUsbSetting, 1, 50, 3e, ff
;HKR,%6630f519Strm%, OpenStreamCameraSetting, 1, 
;HKR,%6630f519Strm%, CloseStreamUsbSetting, 1, 50, 0, ff
;HKR,%6630f519Strm%, CloseStreamCameraSetting, 1, \

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 640 x 480
HKR, %6630f519Vid640RGB24%, Tag, 0x10001, 0x64048024
HKR, %6630f519Vid640RGB24%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,10,ff, 13,00,ff, 14,18,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid640RGB24%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid640RGB24%, Width, 0x10001, 640
HKR, %6630f519Vid640RGB24%, Height, 0x10001, 480
HKR, %6630f519Vid640RGB24%, BitCount, 0x10001, 24
HKR, %6630f519Vid640RGB24%, FourCC, 0x10001, 0
HKR, %6630f519Vid640RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid640RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid640RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid640RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid640RGB24%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640RGB24%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid640RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid640RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid640RGB24%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid640RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid640RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid640RGB24%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640RGB24%\FrameRate2, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid640RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid640RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid640RGB24%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640RGB24%\FrameRate3, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid640RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid640RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid640RGB24%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640RGB24%\FrameRate4, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid640RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid640RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid640RGB24%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640RGB24%\FrameRate5, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid640RGB24%\FrameRate5, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 640 x 480
HKR, %6630f519Vid640I420%, Tag, 0x10001, 0x64048012
HKR, %6630f519Vid640I420%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,10,ff, 13,00,ff, 14,18,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid640I420%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid640I420%, Width, 0x10001, 640
HKR, %6630f519Vid640I420%, Height, 0x10001, 480
HKR, %6630f519Vid640I420%, BitCount, 0x10001, 12
HKR, %6630f519Vid640I420%, FourCC, 0x10001, 0x30323449
HKR, %6630f519Vid640I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid640I420%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid640I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid640I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid640I420%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640I420%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid640I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid640I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid640I420%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid640I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid640I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid640I420%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid640I420%\FrameRate2, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid640I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid640I420%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid640I420%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640I420%\FrameRate3, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid640I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid640I420%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid640I420%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640I420%\FrameRate4, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid640I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid640I420%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid640I420%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid640I420%\FrameRate5, AlternateSetting, 0x10001, 4
HKR, %6630f519Vid640I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid640I420%\FrameRate5, QualityLevel, 0x10001, 1


;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 352 x 288
HKR, %6630f519Vid352RGB24%, Tag, 0x10001, 0x35228824
HKR, %6630f519Vid352RGB24%, UsbSetting, 1, \
10,16,ff, 11,24,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid352RGB24%, CameraSetting, 1, 2a,04,80,14,04,ff,2a,84,80
HKR, %6630f519Vid352RGB24%, Width, 0x10001, 352
HKR, %6630f519Vid352RGB24%, Height, 0x10001, 288
HKR, %6630f519Vid352RGB24%, BitCount, 0x10001, 24
HKR, %6630f519Vid352RGB24%, FourCC, 0x10001, 0
HKR, %6630f519Vid352RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid352RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid352RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid352RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid352RGB24%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352RGB24%\FrameRate0, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid352RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid352RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid352RGB24%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352RGB24%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid352RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid352RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid352RGB24%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352RGB24%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid352RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid352RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid352RGB24%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352RGB24%\FrameRate3, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid352RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid352RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid352RGB24%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352RGB24%\FrameRate4, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid352RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid352RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid352RGB24%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352RGB24%\FrameRate5, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid352RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 352 x 288
HKR, %6630f519Vid352I420%, Tag, 0x10001, 0x35228812
HKR, %6630f519Vid352I420%, UsbSetting, 1, \
10,16,ff, 11,24,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid352I420%, CameraSetting, 1, 2a,04,80,14,04,ff,2a,84,80
HKR, %6630f519Vid352I420%, Width, 0x10001, 352
HKR, %6630f519Vid352I420%, Height, 0x10001, 288
HKR, %6630f519Vid352I420%, BitCount, 0x10001, 12
HKR, %6630f519Vid352I420%, FourCC, 0x10001, 0x30323449
HKR, %6630f519Vid352I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid352I420%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid352I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid352I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid352I420%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352I420%\FrameRate0, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid352I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid352I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid352I420%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352I420%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid352I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid352I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid352I420%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid352I420%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid352I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid352I420%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid352I420%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352I420%\FrameRate3, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid352I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid352I420%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid352I420%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352I420%\FrameRate4, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid352I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid352I420%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid352I420%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid352I420%\FrameRate5, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid352I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid352I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 320 x 240
HKR, %6630f519Vid320RGB24%, Tag, 0x10001, 0x32024024
HKR, %6630f519Vid320RGB24%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,10,ff, 13,00,ff, 14,18,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid320RGB24%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid320RGB24%, Width, 0x10001, 320
HKR, %6630f519Vid320RGB24%, Height, 0x10001, 240
HKR, %6630f519Vid320RGB24%, BitCount, 0x10001, 24
HKR, %6630f519Vid320RGB24%, FourCC, 0x10001, 0
HKR, %6630f519Vid320RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid320RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid320RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid320RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid320RGB24%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320RGB24%\FrameRate0, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid320RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid320RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid320RGB24%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320RGB24%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid320RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid320RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid320RGB24%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320RGB24%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid320RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid320RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid320RGB24%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320RGB24%\FrameRate3, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid320RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid320RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid320RGB24%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320RGB24%\FrameRate4, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid320RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid320RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid320RGB24%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320RGB24%\FrameRate5, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid320RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 320 x 240
HKR, %6630f519Vid320I420%, Tag, 0x10001, 0x32024012
HKR, %6630f519Vid320I420%, UsbSetting, 1, \
10,14,ff, 11,1e,ff, 12,10,ff, 13,00,ff, 14,18,ff, 15,00,ff, 16,00,ff, \
25,01,ff, 26,00,ff
;HKR, %6630f519Vid320I420%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid320I420%, Width, 0x10001, 320
HKR, %6630f519Vid320I420%, Height, 0x10001, 240
HKR, %6630f519Vid320I420%, BitCount, 0x10001, 12
HKR, %6630f519Vid320I420%, FourCC, 0x10001, 0x30323449
HKR, %6630f519Vid320I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid320I420%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid320I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid320I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid320I420%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320I420%\FrameRate0, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid320I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid320I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid320I420%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320I420%\FrameRate1, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid320I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid320I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid320I420%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid320I420%\FrameRate2, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid320I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid320I420%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid320I420%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320I420%\FrameRate3, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid320I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid320I420%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid320I420%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320I420%\FrameRate4, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid320I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid320I420%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid320I420%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid320I420%\FrameRate5, AlternateSetting, 0x10001, 3
HKR, %6630f519Vid320I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid320I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 176 x 144
HKR, %6630f519Vid176RGB24%, Tag, 0x10001, 0x17614424
HKR, %6630f519Vid176RGB24%, UsbSetting, 1, \
10,0b,ff, 11,12,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,19,ff, \
25,03,ff, 26,00,ff
28,85,0f, 29,0b,ff, 2a,24,ff, 2b,00,ff, 2c,00,ff, 2d,00,ff, 2e,00,ff, \
38,85,0f, 39,0b,ff, 3a,24,ff, 3b,00,ff, 3c,00,ff, 3d,00,ff, 3e,00,ff, \
24,ff,ff, 25,f0,ff, 2f,80,ff
;CameraSetting remain 352 x 288, we change the window size in OV518
;as shown in above
;HKR, %6630f519Vid176RGB24%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid176RGB24%, Width, 0x10001, 176
HKR, %6630f519Vid176RGB24%, Height, 0x10001, 144
HKR, %6630f519Vid176RGB24%, BitCount, 0x10001, 24
HKR, %6630f519Vid176RGB24%, FourCC, 0x10001, 0
HKR, %6630f519Vid176RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid176RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid176RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid176RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid176RGB24%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid176RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid176RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid176RGB24%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176RGB24%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid176RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid176RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid176RGB24%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid176RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid176RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid176RGB24%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid176RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid176RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid176RGB24%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid176RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid176RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid176RGB24%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid176RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 176 x 144
HKR, %6630f519Vid176I420%, Tag, 0x10001, 0x17614412
HKR, %6630f519Vid176I420%, UsbSetting, 1, \
10,0b,ff, 11,12,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,19,ff, \
25,03,ff, 26,00,ff
;CameraSetting remain 352 x 288, we change the window size in OV518
;as shown in above
;HKR, %6630f519Vid176I420%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid176I420%, Width, 0x10001, 176
HKR, %6630f519Vid176I420%, Height, 0x10001, 144
HKR, %6630f519Vid176I420%, BitCount, 0x10001, 12
HKR, %6630f519Vid176I420%, FourCC, 0x10001, 0x30323449
HKR, %6630f519Vid176I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid176I420%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid176I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid176I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid176I420%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid176I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid176I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid176I420%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176I420%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid176I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid176I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid176I420%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid176I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid176I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid176I420%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid176I420%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176I420%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid176I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid176I420%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid176I420%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176I420%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid176I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid176I420%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid176I420%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid176I420%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid176I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid176I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 160 x 120
HKR, %6630f519Vid160RGB24%, Tag, 0x10001, 0x16012024
HKR, %6630f519Vid160RGB24%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,19,ff, \
25,03,ff, 26,00,ff
;CameraSetting remain 352 x 288, we change the window size in OV518
;as shown in above
;HKR, %6630f519Vid160RGB24%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid160RGB24%, Width, 0x10001, 160
HKR, %6630f519Vid160RGB24%, Height, 0x10001, 120
HKR, %6630f519Vid160RGB24%, BitCount, 0x10001, 24
HKR, %6630f519Vid160RGB24%, FourCC, 0x10001, 0
HKR, %6630f519Vid160RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid160RGB24%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid160RGB24%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid160RGB24%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid160RGB24%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid160RGB24%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid160RGB24%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid160RGB24%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160RGB24%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid160RGB24%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid160RGB24%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid160RGB24%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160RGB24%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid160RGB24%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid160RGB24%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid160RGB24%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160RGB24%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid160RGB24%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid160RGB24%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid160RGB24%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160RGB24%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid160RGB24%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid160RGB24%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid160RGB24%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160RGB24%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160RGB24%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid160RGB24%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 160 x 120
HKR, %6630f519Vid160I420%, Tag, 0x10001, 0x16012012
HKR, %6630f519Vid160I420%, UsbSetting, 1, \
10,0a,ff, 11,0f,ff, 12,00,ff, 13,00,ff, 14,00,ff, 15,00,ff, 16,19,ff, \
25,03,ff, 26,00,ff
;CameraSetting remain 352 x 288, we change the window size in OV518
;as shown in above
;HKR, %6630f519Vid160I420%, CameraSetting, 1, 2a,04,80, 14,04,ff, 2a,84,80
HKR, %6630f519Vid160I420%, Width, 0x10001, 160
HKR, %6630f519Vid160I420%, Height, 0x10001, 120
HKR, %6630f519Vid160I420%, BitCount, 0x10001, 16
HKR, %6630f519Vid160I420%, FourCC, 0x10001, 0x30323449
HKR, %6630f519Vid160I420%, MaxFrameRate, 0x10001, 30000
HKR, %6630f519Vid160I420%, typFrameRate, 0x10001, 30000
HKR, %6630f519Vid160I420%, MinFrameRate, 0x10001, 5000

;************* Frame Rate = 30fps (Normal)
HKR, %6630f519Vid160I420%\FrameRate0, UsbSetting, 1, \
23,ff,ff
HKR, %6630f519Vid160I420%\FrameRate0, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %6630f519Vid160I420%\FrameRate0, QualityLevel, 0x10001, 1

;************* Frame Rate = 25fps (Frame Drop)
HKR, %6630f519Vid160I420%\FrameRate1, UsbSetting, 1, \
23,1f,ff
HKR, %6630f519Vid160I420%\FrameRate1, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160I420%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate1, FrameRate, 0x10001, 25000
HKR, %6630f519Vid160I420%\FrameRate1, QualityLevel, 0x10001, 1

;************* Frame Rate = 20fps (Frame Drop)
HKR, %6630f519Vid160I420%\FrameRate2, UsbSetting, 1, \
23,1b,ff
HKR, %6630f519Vid160I420%\FrameRate2, CameraSetting, 1, \
54,23,ff
HKR, %6630f519Vid160I420%\FrameRate2, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate2, FrameRate, 0x10001, 20000
HKR, %6630f519Vid160I420%\FrameRate2, QualityLevel, 0x10001, 1

;************* Frame Rate = 15fps (Change Clock Divider)
HKR, %6630f519Vid160I420%\FrameRate3, UsbSetting, 1, \
23,15,ff
HKR, %6630f519Vid160I420%\FrameRate3, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160I420%\FrameRate3, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate3, FrameRate, 0x10001, 15000
HKR, %6630f519Vid160I420%\FrameRate3, QualityLevel, 0x10001, 1

;************* Frame Rate = 10fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid160I420%\FrameRate4, UsbSetting, 1, \
23,09,ff
HKR, %6630f519Vid160I420%\FrameRate4, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160I420%\FrameRate4, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate4, FrameRate, 0x10001, 10000
HKR, %6630f519Vid160I420%\FrameRate4, QualityLevel, 0x10001, 1

;************* Frame Rate = 5fps (Change Clock Divider and Frame Drop)
HKR, %6630f519Vid160I420%\FrameRate5, UsbSetting, 1, \
23,01,ff
HKR, %6630f519Vid160I420%\FrameRate5, CameraSetting, 1, \
54,03,ff
HKR, %6630f519Vid160I420%\FrameRate5, AlternateSetting, 0x10001, 2
HKR, %6630f519Vid160I420%\FrameRate5, FrameRate, 0x10001, 5000
HKR, %6630f519Vid160I420%\FrameRate5, QualityLevel, 0x10001, 1

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;****************************************************************************************************
;[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,%6630f519Brit%,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,%6630f519Brit%,MapMethod,0x10001, 0
HKR,%6630f519Brit%,RelatedRegister,1,6
;true or false
HKR,%6630f519Brit%,RelateUsbRegister,1,0

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

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

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

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

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

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

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

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

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

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

HKR,%6630f519Shp%,DefaultValue,0x10001, 3
HKR,%6630f519Shp%,MinValue,0x10001, 0
HKR,%6630f519Shp%,MaxValue,0x10001, 7
HKR,%6630f519Shp%,Step,0x10001, 1

;#####################################
;HKR,%6630f519Gam%\0000,UsbRegisters,1, 0f, 14, ff
;#####################################
HKR,%6630f519Gam%,PropertyId,0x10001, 5
HKR,%6630f519Gam%,MapMethod,0x10001, 1
HKR,%6630f519Gam%,NumberOfValues,0x10001, 2
HKR,%6630f519Gam%\0000,Value,0x10001, 0
HKR,%6630f519Gam%\0000,CamRegisters,1, 33,04,20
HKR,%6630f519Gam%\0001,Value,0x10001, 1
HKR,%6630f519Gam%\0001,CamRegisters,1, 33,24,20
HKR,%6630f519Gam%,DefaultValue,0x10001, 1
HKR,%6630f519Gam%,MinValue,0x10001, 0
HKR,%6630f519Gam%,MaxValue,0x10001, 1
HKR,%6630f519Gam%,Step,0x10001, 1

HKR,%6630f519Col%,PropertyId,0x10001, 6
HKR,%6630f519Col%,MapMethod,0x10001, 1
HKR,%6630f519Col%,NumberOfValues,0x10001, 2
HKR,%6630f519Col%\0000,Value,0x10001, 0
HKR,%6630f519Col%\0000,UsbRegisters,1, a3,00,ff
HKR,%6630f519Col%\0001,Value,0x10001, 1
HKR,%6630f519Col%\0001,UsbRegisters,1, a3,20,ff

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

;HKR,%6630f519Wb%,Registers,0x10001, 
;#####################################
HKR,%6630f519Wb%,PropertyId,0x10001, 7
HKR,%6630f519Wb%,MapMethod,0x10001, 1
HKR,%6630f519Wb%,NumberOfValues,0x10001, 3
;HKR,%6630f519Wb%,RelatedRegister,1, 43
HKR,%6630f519Wb%\0000,Value,0x10001, 0
HKR,%6630f519Wb%\0000,CamRegisters,1,40,0,ff,41,0,ff,43,3f,ff
HKR,%6630f519Wb%\0001,Value,0x10001, 1
HKR,%6630f519Wb%\0001,CamRegisters,1,40,10,ff,41,10,ff,43,20,ff
HKR,%6630f519Wb%\0002,Value,0x10001, 2
HKR,%6630f519Wb%\0002,CamRegisters,1,40,10,ff,41,10,ff,43,1f,ff

HKR,%6630f519Wb%,SupportAuto,0x10001,1
HKR,%6630f519Wb%,AutoControlMode,0x10001,0
HKR,%6630f519Wb%,CamRegDisableAuto,1,12, 20, 04
HKR,%6630f519Wb%,CamRegEnableAuto,1,12, 24, 04

HKR,%6630f519Wb%,DefaultValue,0x10001, 1
HKR,%6630f519Wb%,DefaultFlags,0x10001, 1
HKR,%6630f519Wb%,MinValue,0x10001, 0
HKR,%6630f519Wb%,MaxValue,0x10001, 2
HKR,%6630f519Wb%,Step,0x10001, 1

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

HKR,%6630f519BL%,DefaultValue,0x10001, 0
HKR,%6630f519BL%,MinValue,0x10001, 0
HKR,%6630f519BL%,MaxValue,0x10001, 1
HKR,%6630f519BL%,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,%6630f519Pan%,Registers,0x10001, 
;HKR,%6630f519Tilt%,Registers,0x10001, 
;HKR,%6630f519Roll%,Registers,0x10001, 
;HKR,%6630f519Zoom%,Registers,0x10001, 
;#####################################

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

HKR,%6630f519Exp%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%6630f519Exp%,AutoControlMode,0x10001,0
HKR,%6630f519Exp%,CamRegDisableAuto,1,28,10,10
HKR,%6630f519Exp%,CamRegEnableAuto,1,28, 00, 10

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

;#####################################
;HKR,%6630f519Iris%,Registers,0x10001, 
;HKR,%6630f519Focus%,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,%6630f519Cap%,PropertyId,0x10001, 0
HKR,%6630f519Cap%,MapMethod,0x10001, 1

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

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

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

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

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

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

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

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

;######################################
HKR,%6630f519PFR%,PropertyId,0x10001, 2
HKR,%6630f519PFR%,MapMethod,0x10001, 1
HKR,%6630f519PFR%,DefaultValue,0x10001, 0
;######################################
HKR,%6630f519Qul%,PropertyId,0x10001, 3
HKR,%6630f519Qul%,MapMethod,0x10001, 1
HKR,%6630f519Qul%,DefaultValue,0x10001, 5000
;######################################
HKR,%6630f519RedGain%,PropertyId,0x10001, 6
HKR,%6630f519RedGain%,MapMethod,0x10001, 0
HKR,%6630f519RedGain%,RelatedRegister,1,02
HKR,%6630f519RedGain%,DefaultValue,0x10001, 128
HKR,%6630f519RedGain%,MinValue,0x10001, 0
HKR,%6630f519RedGain%,MaxValue,0x10001, 255
HKR,%6630f519RedGain%,Step,0x10001, 1
;######################################
HKR,%6630f519BlueGain%,PropertyId,0x10001, 7
HKR,%6630f519BlueGain%,MapMethod,0x10001, 0
HKR,%6630f519BlueGain%,RelatedRegister,1,01
HKR,%6630f519BlueGain%,DefaultValue,0x10001, 128
HKR,%6630f519BlueGain%,MinValue,0x10001, 0
HKR,%6630f519BlueGain%,MaxValue,0x10001, 255
HKR,%6630f519BlueGain%,Step,0x10001, 1
;######################################
HKR,%6630f519Gain%,PropertyId,0x10001, 8
HKR,%6630f519Gain%,MapMethod,0x10001, 1
HKR,%6630f519Gain%,RelatedRegister,1, 0
HKR,%6630f519Gain%,NumberOfValues,0x10001, 8
HKR,%6630f519Gain%\0000,Value,0x10001, 0
HKR,%6630f519Gain%\0000,CamRegisters,1,00,00,ff
HKR,%6630f519Gain%\0001,Value,0x10001, 1
HKR,%6630f519Gain%\0001,CamRegisters,1,00,04,ff
HKR,%6630f519Gain%\0002,Value,0x10001, 2
HKR,%6630f519Gain%\0002,CamRegisters,1,00,08,ff
HKR,%6630f519Gain%\0003,Value,0x10001, 3
HKR,%6630f519Gain%\0003,CamRegisters,1,00,0a,ff
HKR,%6630f519Gain%\0004,Value,0x10001, 4
HKR,%6630f519Gain%\0004,CamRegisters,1,00,0f,ff
HKR,%6630f519Gain%\0005,Value,0x10001, 5
HKR,%6630f519Gain%\0005,CamRegisters,1,00,14,ff
HKR,%6630f519Gain%\0006,Value,0x10001, 6
HKR,%6630f519Gain%\0006,CamRegisters,1,00,18,ff
HKR,%6630f519Gain%\0007,Value,0x10001, 7
HKR,%6630f519Gain%\0007,CamRegisters,1,00,1f,ff

HKR,%6630f519Gain%,DefaultValue,0x10001, 0
HKR,%6630f519Gain%,MinValue,0x10001, 0
HKR,%6630f519Gain%,MaxValue,0x10001, 7
HKR,%6630f519Gain%,Step,0x10001, 1
;######################################
;PROPSETID_OVTCAM_PROP
HKR,%6630f519Reg%,PropertyId,0x10001, 0
HKR,%6630f519Reg%,MapMethod,0x10001, 1
HKR,%6630f519Reg%,DefaultValue,0x10001, 0

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

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

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

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

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

[Strings]

;;6630f519
6630f519Set="CameraSetting\SupportCamera\6630f519"
6630f519Adj="CameraSetting\SupportCamera\6630f519\CamAdjust"
6630f519STIYUV="CameraSetting\SupportCamera\6630f519\DataProcessing\YUV"
6630f519UVTest="CameraSetting\SupportCamera\6630f519\DataProcessing\UVTest"
6630f519DP="CameraSetting\SupportCamera\6630f519\DataProcessing"
6630f519STIRAW="CameraSetting\SupportCamera\6630f519\DataProcessing\RAW"
6630f519Strm="CameraSetting\SupportCamera\6630f519\VideoStream"
6630f519Vid160I420="CameraSetting\SupportCamera\6630f519\VideoStream\160x120I420"
6630f519Vid176I420="CameraSetting\SupportCamera\6630f519\VideoStream\176x144I420"
6630f519Vid320I420="CameraSetting\SupportCamera\6630f519\VideoStream\320x240I420"
6630f519Vid352I420="CameraSetting\SupportCamera\6630f519\VideoStream\352x288I420"
6630f519Vid640I420="CameraSetting\SupportCamera\6630f519\VideoStream\640x480I420"
6630f519Vid160RGB24="CameraSetting\SupportCamera\6630f519\VideoStream\160x120RGB24"
6630f519Vid176RGB24="CameraSetting\SupportCamera\6630f519\VideoStream\176x144RGB24"
6630f519Vid320RGB24="CameraSetting\SupportCamera\6630f519\VideoStream\320x240RGB24"
6630f519Vid352RGB24="CameraSetting\SupportCamera\6630f519\VideoStream\352x288RGB24"
6630f519Vid640RGB24="CameraSetting\SupportCamera\6630f519\VideoStream\640x480RGB24"
6630f519Brit="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Brightness"
6630f519Cntr="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Contrast"
6630f519Hue="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Hue"
6630f519Sat="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Saturation"
6630f519Shp="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Sharpness"
6630f519Gam="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\Gamma"
6630f519Col="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\ColorEnable"
6630f519Wb="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\WhiteBalance"
6630f519BL="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoProcAmp\BackLight"
6630f519Pan="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Pan"
6630f519Tilt="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Tilt"
6630f519Roll="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Roll"
6630f519Zoom="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Zoom"
6630f519Exp="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Exposure"
6630f519Iris="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Iris"
6630f519Focus="CameraSetting\SupportCamera\6630f519\DeviceProperties\CameraControl\Focus"
6630f519Cap="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoControl\Capability"
6630f519ActFR="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoControl\ActualFrameRate"
6630f519Fps="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoControl\FrameRates"
6630f519Mode="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoControl\Mode"
6630f519CmpInfo="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoCompression\GetCompressionInfo"
6630f519KeyFR="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoCompression\KeyFrameRate"
6630f519PFR="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoCompression\PFrameRate"
6630f519Qul="CameraSetting\SupportCamera\6630f519\DeviceProperties\VideoCompression\Qulaity"
6630f519Reg="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\Register"
6630f519Regy="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\Registry"
6630f519Sti="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\StillImage"
6630f519LF="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\LightFrequence"
6630f519RedGain="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\RedGain"
6630f519BlueGain="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\BlueGain"
6630f519Gain="CameraSetting\SupportCamera\6630f519\DeviceProperties\CustomProperty\Gain"
