[Sections]
AddReg=OVT.76BE.Setting

[OVT.76BE.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,%76BESet%,VersionCheck,1, 42, 29, ff, 01
HKR,%76BESet%,MinorVersionCheck,1, 42, 15, ff, 00
HKR,%76BESet%,ResetCamera,1, 12, 80, ff
HKR,%76BESet%,CameraName,,Ov76BE
HKR,%76BESet%,SensorWidth,0x10001,640
HKR,%76BESet%,SensorHeight,0x10001,480
HKR,%76BESet%,CurrentFormat,0x10001, 0x56555931
HKR,%76BESet%,CurrentFrameRate,0x10001,30

HKR,%76BESet%,UsbSetting,1, 52,02,ff,52,00,ff,31,0f,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,51,1f,ff
;Index, Value, Mask
HKR,%76BESet%,CameraSetting,1, \
12,80,ff, 12,00,ff, 13,00,ff, 38,81,ff, 28,0c,ff, 05,00,ff, \
0e,17,ff, 0f,35,ff, 15,01,ff, 20,1c,ff, 23,2a,ff, 24,10,ff, \
25,8a,ff, 26,70,ff, 27,c2,ff, 29,91,ff, 2a,04,ff, 2c,f2,ff, \
2d,d7,ff, 30,71,ff, 31,90,ff, 32,56,ff, 33,a0,ff, 34,4b,ff, 35,9e,ff, \
12,24,ff, 13,01,ff, 11,01,ff, 0c,20,ff, 0d,20,ff

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

HKR,%76BESTIYUV%, CameraSetting,1, \
28,28,28, 29,80,80, 2d,00,10, 14,04,ff, 16,11,ff
HKR,%76BESTIYUV%, UsbSetting,1, \
12,4f,ff, 13,3d,ff, 14,0,ff, 15,0,ff, 16,01,ff, 18,3,ff
;HKR,%76BESTIYUV%, RestoreUsbReg,1, 28,28,28
;HKR,%76BESTIYUV%, RestoreCamReg,1, 00,00,ff, 01,00,ff, 02,00,ff

HKR,%76BESTIRAW%, CameraSetting,1, \
28,20,20, 14,04,ff
HKR,%76BESTIRAW%, UsbSetting,1, \
12,4f,ff, 13,3d,ff, 14,0,ff, 15,0,ff, 16,01,ff, 18,3,ff

;*******************************
;[OVT.76BE.VideoSetting]
;I420 160 x 120
HKR, %76BEVid160I420%, Tag, 0x10001, 0x56555935

HKR, %76BEVid160I420%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid160I420%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid160I420%, Width, 0x10001, 160
HKR, %76BEVid160I420%, Height, 0x10001, 120
HKR, %76BEVid160I420%, BitCount, 0x10001, 12
HKR, %76BEVid160I420%, FourCC, 0x10001, 0x30323449
HKR, %76BEVid160I420%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid160I420%, typFrameRate, 0x10001, 30000
HKR, %76BEVid160I420%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid160I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid160I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid160I420%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid160I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid160I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid160I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid160I420%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid160I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid160I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid160I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid160I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid160I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid160I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 176 x 144
HKR, %76BEVid176I420%, Tag, 0x10001, 0x56555939
HKR, %76BEVid176I420%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid176I420%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid176I420%, Width, 0x10001, 176
HKR, %76BEVid176I420%, Height, 0x10001, 144
HKR, %76BEVid176I420%, BitCount, 0x10001, 12
HKR, %76BEVid176I420%, FourCC, 0x10001, 0x30323449
HKR, %76BEVid176I420%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid176I420%, typFrameRate, 0x10001, 30000
HKR, %76BEVid176I420%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid176I420%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid176I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid176I420%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid176I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid176I420%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid176I420%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid176I420%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid176I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid176I420%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid176I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid176I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid176I420%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid176I420%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 160 x 120
HKR, %76BEVid160RGB24%, Tag, 0x10001, 0x56555934
HKR, %76BEVid160RGB24%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid160RGB24%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid160RGB24%, Width, 0x10001, 160
HKR, %76BEVid160RGB24%, Height, 0x10001, 120
HKR, %76BEVid160RGB24%, BitCount, 0x10001, 24
HKR, %76BEVid160RGB24%, FourCC, 0x10001, 0
HKR, %76BEVid160RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid160RGB24%, typFrameRate, 0x10001, 30000
HKR, %76BEVid160RGB24%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid160RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid160RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid160RGB24%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid160RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid160RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid160RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid160RGB24%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid160RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid160RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid160RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid160RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid160RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid160RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 176 x 144
HKR, %76BEVid176RGB24%, Tag, 0x10001, 0x56555937
HKR, %76BEVid176RGB24%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid176RGB24%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid176RGB24%, Width, 0x10001, 176
HKR, %76BEVid176RGB24%, Height, 0x10001, 144
HKR, %76BEVid176RGB24%, BitCount, 0x10001, 24
HKR, %76BEVid176RGB24%, FourCC, 0x10001, 0
HKR, %76BEVid176RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid176RGB24%, typFrameRate, 0x10001, 30000
HKR, %76BEVid176RGB24%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid176RGB24%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid176RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid176RGB24%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid176RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid176RGB24%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid176RGB24%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid176RGB24%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid176RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid176RGB24%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid176RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid176RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid176RGB24%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid176RGB24%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 320 x 240
HKR, %76BEVid320RGB24%, Tag, 0x10001, 0x56555930

HKR, %76BEVid320RGB24%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid320RGB24%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid320RGB24%, Width, 0x10001, 320
HKR, %76BEVid320RGB24%, Height, 0x10001, 240
HKR, %76BEVid320RGB24%, BitCount, 0x10001, 24
HKR, %76BEVid320RGB24%, FourCC, 0x10001, 0
HKR, %76BEVid320RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid320RGB24%, typFrameRate, 0x10001, 30000
HKR, %76BEVid320RGB24%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid320RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid320RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid320RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid320RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid320RGB24%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid320RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid320RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid320RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid320RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid320RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid320RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid320RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 352 x 288
HKR, %76BEVid352RGB24%, Tag, 0x10001, 0x56555936
HKR, %76BEVid352RGB24%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid352RGB24%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid352RGB24%, Width, 0x10001, 352
HKR, %76BEVid352RGB24%, Height, 0x10001, 288
HKR, %76BEVid352RGB24%, BitCount, 0x10001, 24
HKR, %76BEVid352RGB24%, FourCC, 0x10001, 0
HKR, %76BEVid352RGB24%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid352RGB24%, typFrameRate, 0x10001, 30000
HKR, %76BEVid352RGB24%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid352RGB24%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid352RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid352RGB24%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid352RGB24%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid352RGB24%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid352RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid352RGB24%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid352RGB24%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid352RGB24%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid352RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid352RGB24%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid352RGB24%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB24 640 x 480
HKR, %76BEVid640RGB24%, Tag, 0x10001, 0x56555933
HKR, %76BEVid640RGB24%, UsbSetting, 1, \
                12,4f,ff, 13,3d,ff, 14,0,ff, 15,0,ff, 18,3,ff
HKR, %76BEVid640RGB24%, CameraSetting, 1, \
		14,04,ff, 28,20,20, 24,10,ff, 25,8a,ff, 2f,B0,ff, 35,9c,ff
HKR, %76BEVid640RGB24%, Width, 0x10001, 640
HKR, %76BEVid640RGB24%, Height, 0x10001, 480
HKR, %76BEVid640RGB24%, BitCount, 0x10001, 24
HKR, %76BEVid640RGB24%, FourCC, 0x10001, 0
HKR, %76BEVid640RGB24%, MaxFrameRate, 0x10001, 15000
HKR, %76BEVid640RGB24%, typFrameRate, 0x10001, 7500
HKR, %76BEVid640RGB24%, MinFrameRate, 0x10001, 3750
HKR, %76BEVid640RGB24%, Progressive, 0x10001, 1
HKR, %76BEVid640RGB24%\FrameRate0, UsbSetting, 1, 30,1f,ff, 78,07,ff
HKR, %76BEVid640RGB24%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid640RGB24%\FrameRate0, AlternateSetting, 0x10001, 0
HKR, %76BEVid640RGB24%\FrameRate0, FrameRate, 0x10001, 15000
HKR, %76BEVid640RGB24%\FrameRate1, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid640RGB24%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid640RGB24%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %76BEVid640RGB24%\FrameRate1, FrameRate, 0x10001, 7500
HKR, %76BEVid640RGB24%\FrameRate2, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid640RGB24%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid640RGB24%\FrameRate2, AlternateSetting, 0x10001, 4
HKR, %76BEVid640RGB24%\FrameRate2, FrameRate, 0x10001, 3750
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 320 x 240
HKR, %76BEVid320I420%, Tag, 0x10001, 0x56555931
HKR, %76BEVid320I420%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid320I420%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid320I420%, Width, 0x10001, 320
HKR, %76BEVid320I420%, Height, 0x10001, 240
HKR, %76BEVid320I420%, BitCount, 0x10001, 12
HKR, %76BEVid320I420%, FourCC, 0x10001, 0x30323449
HKR, %76BEVid320I420%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid320I420%, typFrameRate, 0x10001, 30000
HKR, %76BEVid320I420%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid320I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid320I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %76BEVid320I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid320I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid320I420%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid320I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid320I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid320I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid320I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid320I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid320I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid320I420%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 352x288
HKR, %76BEVid352I420%, Tag, 0x10001, 0x56555938
HKR, %76BEVid352I420%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid352I420%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid352I420%, Width, 0x10001, 352
HKR, %76BEVid352I420%, Height, 0x10001, 288
HKR, %76BEVid352I420%, BitCount, 0x10001, 12
HKR, %76BEVid352I420%, FourCC, 0x10001, 0x30323449
HKR, %76BEVid352I420%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid352I420%, typFrameRate, 0x10001, 30000
HKR, %76BEVid352I420%, MinFrameRate, 0x10001, 7500

HKR, %76BEVid352I420%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid352I420%\FrameRate0, CameraSetting, 1, 16,03,ff
HKR, %76BEVid352I420%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid352I420%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid352I420%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid352I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid352I420%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid352I420%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid352I420%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid352I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid352I420%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid352I420%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;I420 640X480
HKR, %76BEVid640I420%, Tag, 0x10001, 0x56555932

HKR, %76BEVid640I420%, UsbSetting, 1, \
                12,4f,ff, 13,3d,ff, 14,0,ff, 15,0,ff, 18,3,ff
HKR, %76BEVid640I420%, CameraSetting, 1, \
		14,04,ff, 28,20,20, 24,10,ff, 25,8a,ff, 2f,B0,ff, 35,9c,ff
HKR, %76BEVid640I420%, Width, 0x10001, 640
HKR, %76BEVid640I420%, Height, 0x10001, 480
HKR, %76BEVid640I420%, BitCount, 0x10001, 12
HKR, %76BEVid640I420%, FourCC, 0x10001, 0x30323449
HKR, %76BEVid640I420%, MaxFrameRate, 0x10001, 15000
HKR, %76BEVid640I420%, typFrameRate, 0x10001, 7500
HKR, %76BEVid640I420%, MinFrameRate, 0x10001, 3750
HKR, %76BEVid640I420%, Progressive, 0x10001, 3750
HKR, %76BEVid640I420%\FrameRate0, UsbSetting, 1, 30,1f,ff, 78,07,ff
HKR, %76BEVid640I420%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid640I420%\FrameRate0, AlternateSetting, 0x10001, 0
HKR, %76BEVid640I420%\FrameRate0, FrameRate, 0x10001, 15000
HKR, %76BEVid640I420%\FrameRate1, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid640I420%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid640I420%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %76BEVid640I420%\FrameRate1, FrameRate, 0x10001, 7500
HKR, %76BEVid640I420%\FrameRate2, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid640I420%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid640I420%\FrameRate2, AlternateSetting, 0x10001, 4
HKR, %76BEVid640I420%\FrameRate2, FrameRate, 0x10001, 3750

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 160 x 120
HKR, %76BEVid160RGB16%, Tag, 0x10001, 0x56555940
HKR, %76BEVid160RGB16%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid160RGB16%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid160RGB16%, Width, 0x10001, 160
HKR, %76BEVid160RGB16%, Height, 0x10001, 120
HKR, %76BEVid160RGB16%, BitCount, 0x10001, 16
HKR, %76BEVid160RGB16%, FourCC, 0x10001, 0
HKR, %76BEVid160RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid160RGB16%, typFrameRate, 0x10001, 30000
HKR, %76BEVid160RGB16%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid160RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid160RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid160RGB16%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid160RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid160RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid160RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid160RGB16%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid160RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid160RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid160RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid160RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid160RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid160RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid160RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 176 x 144
HKR, %76BEVid176RGB16%, Tag, 0x10001, 0x56555941
HKR, %76BEVid176RGB16%, UsbSetting, 1, \
                12,13,ff, 13,10,ff, 14,1,ff, 15,1,ff, 18,01,ff
HKR, %76BEVid176RGB16%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid176RGB16%, Width, 0x10001, 176
HKR, %76BEVid176RGB16%, Height, 0x10001, 144
HKR, %76BEVid176RGB16%, BitCount, 0x10001, 16
HKR, %76BEVid176RGB16%, FourCC, 0x10001, 0
HKR, %76BEVid176RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid176RGB16%, typFrameRate, 0x10001, 30000
HKR, %76BEVid176RGB16%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid176RGB16%\FrameRate0, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid176RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid176RGB16%\FrameRate0, AlternateSetting, 0x10001, 4
HKR, %76BEVid176RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid176RGB16%\FrameRate0, QualityLevel, 0x10001, 1
HKR, %76BEVid176RGB16%\FrameRate1, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid176RGB16%\FrameRate1, AlternateSetting, 0x10001, 6
HKR, %76BEVid176RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid176RGB16%\FrameRate1, QualityLevel, 0x10001, 1
HKR, %76BEVid176RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid176RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid176RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid176RGB16%\FrameRate2, FrameRate, 0x10001, 7500
HKR, %76BEVid176RGB16%\FrameRate2, QualityLevel, 0x10001, 1
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 320 x 240
HKR, %76BEVid320RGB16%, Tag, 0x10001, 0x56555942

HKR, %76BEVid320RGB16%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid320RGB16%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid320RGB16%, Width, 0x10001, 320
HKR, %76BEVid320RGB16%, Height, 0x10001, 240
HKR, %76BEVid320RGB16%, BitCount, 0x10001, 16
HKR, %76BEVid320RGB16%, FourCC, 0x10001, 0
HKR, %76BEVid320RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid320RGB16%, typFrameRate, 0x10001, 30000
HKR, %76BEVid320RGB16%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid320RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid320RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid320RGB16%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid320RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid320RGB16%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid320RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid320RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid320RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid320RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid320RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid320RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid320RGB16%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 352 x 288
HKR, %76BEVid352RGB16%, Tag, 0x10001, 0x56555943
HKR, %76BEVid352RGB16%, UsbSetting, 1, \
		12,27,ff, 13,1f,ff, 14,0,ff, 15,0,ff, 18,2,ff
HKR, %76BEVid352RGB16%, CameraSetting, 1, \
		14,24,ff, 28,00,20, 24,08,ff, 25,45,ff, 2f,30,ff, 35,1c,ff
HKR, %76BEVid352RGB16%, Width, 0x10001, 352
HKR, %76BEVid352RGB16%, Height, 0x10001, 288
HKR, %76BEVid352RGB16%, BitCount, 0x10001, 16
HKR, %76BEVid352RGB16%, FourCC, 0x10001, 0
HKR, %76BEVid352RGB16%, MaxFrameRate, 0x10001, 30000
HKR, %76BEVid352RGB16%, typFrameRate, 0x10001, 30000
HKR, %76BEVid352RGB16%, MinFrameRate, 0x10001, 7500
HKR, %76BEVid352RGB16%\FrameRate0, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid352RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid352RGB16%\FrameRate0, AlternateSetting, 0x10001, 2
HKR, %76BEVid352RGB16%\FrameRate0, FrameRate, 0x10001, 30000
HKR, %76BEVid352RGB16%\FrameRate1, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid352RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid352RGB16%\FrameRate1, AlternateSetting, 0x10001, 4
HKR, %76BEVid352RGB16%\FrameRate1, FrameRate, 0x10001, 15000
HKR, %76BEVid352RGB16%\FrameRate2, UsbSetting, 1, 30,08,ff, 78,07,ff
HKR, %76BEVid352RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid352RGB16%\FrameRate2, AlternateSetting, 0x10001, 6
HKR, %76BEVid352RGB16%\FrameRate2, FrameRate, 0x10001, 7500
;@@@@@@@@@@@@@@@@@@@@@@@@@@
;RGB16 640 x 480
HKR, %76BEVid640RGB16%, Tag, 0x10001, 0x56555944
HKR, %76BEVid640RGB16%, UsbSetting, 1, \
                12,4f,ff, 13,3d,ff, 14,0,ff, 15,0,ff, 18,3,ff
HKR, %76BEVid640RGB16%, CameraSetting, 1, \
		14,04,ff, 28,20,20, 24,10,ff, 25,8a,ff, 2f,B0,ff, 35,9c,ff
HKR, %76BEVid640RGB16%, Width, 0x10001, 640
HKR, %76BEVid640RGB16%, Height, 0x10001, 480
HKR, %76BEVid640RGB16%, BitCount, 0x10001, 16
HKR, %76BEVid640RGB16%, FourCC, 0x10001, 0
HKR, %76BEVid640RGB16%, MaxFrameRate, 0x10001, 15000
HKR, %76BEVid640RGB16%, typFrameRate, 0x10001, 7500
HKR, %76BEVid640RGB16%, MinFrameRate, 0x10001, 3750
HKR, %76BEVid640RGB16%, Progressive, 0x10001, 1
HKR, %76BEVid640RGB16%\FrameRate0, UsbSetting, 1, 30,1f,ff, 78,07,ff
HKR, %76BEVid640RGB16%\FrameRate0, CameraSetting, 1, 16,3,ff
HKR, %76BEVid640RGB16%\FrameRate0, AlternateSetting, 0x10001, 0
HKR, %76BEVid640RGB16%\FrameRate0, FrameRate, 0x10001, 15000
HKR, %76BEVid640RGB16%\FrameRate1, UsbSetting, 1, 30,18,ff, 78,07,ff
HKR, %76BEVid640RGB16%\FrameRate1, CameraSetting, 1, 16,6,ff
HKR, %76BEVid640RGB16%\FrameRate1, AlternateSetting, 0x10001, 2
HKR, %76BEVid640RGB16%\FrameRate1, FrameRate, 0x10001, 7500
HKR, %76BEVid640RGB16%\FrameRate2, UsbSetting, 1, 30,10,ff, 78,07,ff
HKR, %76BEVid640RGB16%\FrameRate2, CameraSetting, 1, 16,9,ff
HKR, %76BEVid640RGB16%\FrameRate2, AlternateSetting, 0x10001, 4
HKR, %76BEVid640RGB16%\FrameRate2, FrameRate, 0x10001, 3750
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;[OVT.76BE.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,%76BEBrit%,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,%76BEBrit%,MapMethod,0x10001, 0
HKR,%76BEBrit%,RelatedRegister,1,6
;true or false
HKR,%76BEBrit%,RelateUsbRegister,1,0

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

HKR,%76BEBrit%,DefaultValue,0x10001, 0x80

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

HKR,%76BECntr%,PropertyId,0x10001, 1
HKR,%76BECntr%,RelatedRegister,1,0

HKR,%76BECntr%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%76BECntr%,AutoControlMode,0x10001,0
HKR,%76BECntr%,CamRegDisableAuto,1,28, 2c, 08
HKR,%76BECntr%,CamRegEnableAuto,1,28, 20, 08

HKR,%76BECntr%,DefaultFlags,0x10001, 1
HKR,%76BECntr%,DefaultValue,0x10001, 160
HKR,%76BECntr%,MinValue,0x10001, 0
HKR,%76BECntr%,MaxValue,0x10001, 255
HKR,%76BECntr%,Step,0x10001, 1

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

;HKR,%76BEHue%,Registers,0x10001, 

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

;HKR,%76BEShp%,Registers,0x10001, 

;#####################################
HKR,%76BEGam%,PropertyId,0x10001, 5
HKR,%76BEGam%,MapMethod,0x10001, 1
HKR,%76BEGam%,NumberOfValues,0x10001, 5
HKR,%76BEGam%\0000,Value,0x10001, 1
HKR,%76BEGam%\0000,CamRegisters,1, 0e, 14, ff
;HKR,%76BEGam%\0000,UsbRegisters,1, 0f, 14, ff
HKR,%76BEGam%\0001,Value,0x10001, 2
HKR,%76BEGam%\0001,CamRegisters,1, 0e, 15, ff
HKR,%76BEGam%\0002,Value,0x10001, 3
HKR,%76BEGam%\0002,CamRegisters,1, 0e, 16, ff
HKR,%76BEGam%\0003,Value,0x10001, 4
HKR,%76BEGam%\0003,CamRegisters,1, 0e, 17, ff
HKR,%76BEGam%\0004,Value,0x10001, 5
HKR,%76BEGam%\0004,CamRegisters,1, 0e, 13, ff

HKR,%76BEGam%,SupportAuto,0x10001, 0

HKR,%76BEGam%,DefaultValue,0x10001, 4
HKR,%76BEGam%,MinValue,0x10001, 1
HKR,%76BEGam%,MaxValue,0x10001, 5
HKR,%76BEGam%,Step,0x10001, 1
;#####################################

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

HKR,%76BECol%,DefaultValue,0x10001, 1
HKR,%76BECol%,MinValue,0x10001, 0
HKR,%76BECol%,MaxValue,0x10001, 1
HKR,%76BECol%,Step,0x10001, 1
;#####################################

;HKR,%76BEWb%,Registers,0x10001, 
;#####################################

;HKR,%76BEBL%,Registers,0x10001, 
;#####################################
;#####################################
;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,%76BEPan%,Registers,0x10001, 
;HKR,%76BETilt%,Registers,0x10001, 
;HKR,%76BERoll%,Registers,0x10001, 
;HKR,%76BEZoom%,Registers,0x10001, 
;#####################################

HKR,%76BEExp%,PropertyId,0x10001, 4
HKR,%76BEExp%,MapMethod,0x10001, 0
HKR,%76BEExp%,RelatedRegister,1,10

HKR,%76BEExp%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%76BEExp%,AutoControlMode,0x10001,0
HKR,%76BEExp%,CamRegDisableAuto,1,29, 91, 80
HKR,%76BEExp%,CamRegEnableAuto,1,29, 11, 80

HKR,%76BEExp%,DefaultValue,0x10001, 160
HKR,%76BEExp%,DefaultFlags,0x10001, 1
HKR,%76BEExp%,MinValue,0x10001, 0
HKR,%76BEExp%,MaxValue,0x10001, 255
HKR,%76BEExp%,Step,0x10001, 1


;#####################################
;HKR,%76BEIris%,Registers,0x10001, 
;HKR,%76BEFocus%,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,%76BECap%,PropertyId,0x10001, 0
HKR,%76BECap%,MapMethod,0x10001, 1

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

;######################################
HKR,%76BEActFR%,PropertyId,0x10001, 1
HKR,%76BEActFR%,MapMethod,0x10001, 1
HKR,%76BEActFR%,DefaultValue,0x10001, 0

;######################################
HKR,%76BEFps%,PropertyId,0x10001, 2
HKR,%76BEFps%,MapMethod,0x10001, 1
HKR,%76BEFps%,DefaultValue,0x10001, 0

;######################################
HKR,%76BEMode%,PropertyId,0x10001, 3
HKR,%76BEMode%,MapMethod,0x10001, 1
HKR,%76BEMode%,NumberOfValues,0x10001, 3
HKR,%76BEMode%,DefaultValue,0x10001, 20

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

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

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

HKR,%76BEKeyFR%,PropertyId,0x10001, 1
HKR,%76BEKeyFR%,MapMethod,0x10001, 1
HKR,%76BEKeyFR%,DefaultValue,0x10001, 7

;######################################
HKR,%76BEPFR%,PropertyId,0x10001, 2
HKR,%76BEPFR%,MapMethod,0x10001, 1
HKR,%76BEPFR%,DefaultValue,0x10001, 0
;######################################
HKR,%76BEQul%,PropertyId,0x10001, 3
HKR,%76BEQul%,MapMethod,0x10001, 1
HKR,%76BEQul%,DefaultValue,0x10001, 5000
;######################################
;PROPSETID_OVTCAM_PROP
HKR,%76BEReg%,PropertyId,0x10001, 0
HKR,%76BEReg%,MapMethod,0x10001, 1
HKR,%76BEReg%,DefaultValue,0x10001, 0

HKR,%76BERegy%,PropertyId,0x10001, 3
HKR,%76BERegy%,MapMethod,0x10001, 1
HKR,%76BERegy%,DefaultValue,0x10001, 0

HKR,%76BESti%,PropertyId,0x10001, 1
HKR,%76BESti%,MapMethod,0x10001, 1
HKR,%76BESti%,DefaultValue,0x10001, 0


HKR,%76BELF%,PropertyId,0x10001, 2
HKR,%76BELF%,MapMethod,0x10001, 1
HKR,%76BELF%,NumberOfValues,0x10001, 2

HKR,%76BELF%\50Hz,Value,0x10001, 0
HKR,%76BELF%\50Hz,CamRegisters,1, 2a,80,80,2b,ac,ff,13,10,10,13,00,10
HKR,%76BELF%\60Hz,Value,0x10001, 1
HKR,%76BELF%\60Hz,CamRegisters,1, 2a,0,80,2b,0,ff,13,10,10,13,00,10

HKR,%76BELF%,DefaultValue,0x10001, 1
HKR,%76BELF%,MinValue,0x10001, 0
HKR,%76BELF%,MaxValue,0x10001, 1
HKR,%76BELF%,Step,0x10001, 1

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


[Strings]
76BESet="CameraSetting\SupportCamera\76BE"
76BEDP="CameraSetting\SupportCamera\76BE\DataProcessing"
76BESTIYUV="CameraSetting\SupportCamera\76BE\DataProcessing\YUV"
76BESTIRAW="CameraSetting\SupportCamera\76BE\DataProcessing\RAW"
76BEStrm="CameraSetting\SupportCamera\76BE\VideoStream"
76BEVid160I420="CameraSetting\SupportCamera\76BE\VideoStream\160x120I420"
76BEVid176I420="CameraSetting\SupportCamera\76BE\VideoStream\176x144I420"
76BEVid320I420="CameraSetting\SupportCamera\76BE\VideoStream\320x240I420"
76BEVid352I420="CameraSetting\SupportCamera\76BE\VideoStream\352x288I420"
76BEVid640I420="CameraSetting\SupportCamera\76BE\VideoStream\640X480I420"
76BEVid160RGB24="CameraSetting\SupportCamera\76BE\VideoStream\160x120RGB24"
76BEVid176RGB24="CameraSetting\SupportCamera\76BE\VideoStream\176x144RGB24"
76BEVid320RGB24="CameraSetting\SupportCamera\76BE\VideoStream\320x240RGB24"
76BEVid352RGB24="CameraSetting\SupportCamera\76BE\VideoStream\352x288RGB24"
76BEVid640RGB24="CameraSetting\SupportCamera\76BE\VideoStream\640X480RGB24"
76BEVid160RGB16="CameraSetting\SupportCamera\76BE\VideoStream\160x120RGB16"
76BEVid176RGB16="CameraSetting\SupportCamera\76BE\VideoStream\176x144RGB16"
76BEVid320RGB16="CameraSetting\SupportCamera\76BE\VideoStream\320x240RGB16"
76BEVid352RGB16="CameraSetting\SupportCamera\76BE\VideoStream\352x288RGB16"
76BEVid640RGB16="CameraSetting\SupportCamera\76BE\VideoStream\640X480RGB16"
76BEBrit="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Brightness"
76BECntr="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Contrast"
76BEHue="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Hue"
76BESat="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Saturation"
76BEShp="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Sharpness"
76BEGam="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\Gamma"
76BECol="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\ColorEnable"
76BEWb="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\WhiteBalance"
76BEBL="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoProcAmp\BackLight"
76BEPan="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Pan"
76BETilt="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Tilt"
76BERoll="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Roll"
76BEZoom="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Zoom"
76BEExp="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Exposure"
76BEIris="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Iris"
76BEFocus="CameraSetting\SupportCamera\76BE\DeviceProperties\CameraControl\Focus"
76BECap="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoControl\Capability"
76BEActFR="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoControl\ActualFrameRate"
76BEFps="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoControl\FrameRates"
76BEMode="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoControl\Mode"
76BECmpInfo="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoCompression\GetCompressionInfo"
76BEKeyFR="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoCompression\KeyFrameRate"
76BEPFR="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoCompression\PFrameRate"
76BEQul="CameraSetting\SupportCamera\76BE\DeviceProperties\VideoCompression\Qulaity"
76BEReg="CameraSetting\SupportCamera\76BE\DeviceProperties\CustomProperty\Register"
76BERegy="CameraSetting\SupportCamera\76BE\DeviceProperties\CustomProperty\Registry"
76BESti="CameraSetting\SupportCamera\76BE\DeviceProperties\CustomProperty\StillImage"
76BELF="CameraSetting\SupportCamera\76BE\DeviceProperties\CustomProperty\LightFrequence"
