[Sections]
AddReg=OVT.future18APLSetting
; #############################################
; #############################################
[OVT.future18APLSetting]
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL
HKR,%future18APL_str1%, VersionCheck, 1, 42,0a,ff,76
;HKR,%future18APL_str1%, StartVidCapUsbSetting, 1, 0f,02,02
HKR,%future18APL_str1%, MinorVersionCheck, 1, 42,0b,ff,88
HKR,%future18APL_str1%, ResetCamera, 1, 12,80,ff
HKR,%future18APL_str1%, CameraName,,Ovfuture18APL
HKR,%future18APL_str1%, SensorWidth, 0x10001, 0x00000280
HKR,%future18APL_str1%, SensorHeight, 0x10001, 0x000001e0
HKR,%future18APL_str1%, CurrentFormat, 0x10001, 0x00640480
HKR,%future18APL_str1%, CurrentFrameRate, 0x10001, 0x0000000f
;
;HKR,%future18APL_str1%, UsbSetting, 1, f1,42,ff,c2,0c,ff,88,f8,ff,c3,e9,ff,89,ff,ff,76,03,ff,\	; Denoise on
HKR,%future18APL_str1%, UsbSetting, 1, f1,42,ff,c2,0c,ff,88,f8,ff,c3,69,ff,89,ff,ff,76,03,ff,\	; Denoise off
  ;92,03,ff,93,10,ff,94,18,ff,95,10,ff,e2,00,ff,e7,3e,ff,1c,0a,ff,1d,08,ff,1d,0e,ff,\
  92,01,ff,93,18,ff,94,10,ff,95,10,ff,e2,00,ff,e7,3e,ff,1c,0a,ff,1d,08,ff,1d,0e,ff,\
  96,00,ff,97,20,ff,97,20,ff,97,20,ff,97,0a,ff,97,3f,ff,97,4a,ff,97,20,ff,97,15,ff,\
  97,0b,ff,8e,40,ff,1f,81,ff,\
  34,05,ff,\;enable Audio Suspend mode
  ;Disable Clock to save power
  e3,04,ff,\
  88,00,ff,\
  89,00,ff,\
  76,00,ff,\
  e7,2e,ff,\ ;this solves failure of "SuspendResumeTest"
  31,f9,ff,\ ; enable 1.8V Suspend
  25,42,ff   ; GPIO[8]:Input
;
HKR,%future18APL_str1%, CameraSetting, 1, \
12,80,ff, 12,45,ff, 11,80,ff, 1f,41,ff

;
HKR,%future18APL_str1%, ActReadVersion, 0x10001, 0x0000000a
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\CamAdjust
;HKR,%future18APL_str2%, EnableLowLightControl, 0x10001, 0x00000001
;HKR,%future18APL_str2%, ClockUpTh, 0x10001, 0x00000050
;HKR,%future18APL_str2%, ClockDownTh, 0x10001, 0x00000030
;HKR,%future18APL_str2%, CheckTime, 0x10001, 0x00000028
;HKR,%future18APL_str2%, ClockUpCamRegs, 1, 13,80,ff, 00,ff,ff
;HKR,%future18APL_str2%, ClockDownCamRegs, 1, 13,8d,ff,
;HKR,%future18APL_str2%, ExposureCheck, 1, 11,83
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DataProcessing
HKR,%future18APL_str3%, EnVideoYUVProc, 0x10001, 0x00000000
HKR,%future18APL_str3%, EnVideoRGBProc, 0x10001, 0x00000000
HKR,%future18APL_str3%, EnStillYUVProc, 0x10001, 0x00000000
HKR,%future18APL_str3%, EnStillRGBProc, 0x10001, 0x00000000
HKR,%future18APL_str3%, StillSharpness, 0x10001, 0x00000002
HKR,%future18APL_str3%, HeaderPerSize, 0x10001, 0x0000800
HKR,%future18APL_str3%, DisableAutoLFCheck, 0x10001, 0x00000000
HKR,%future18APL_str3%, EnableSwQC, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CameraControl
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CameraControl\Exposure
;HKR,%future18APL_str6%, PropertyId, 0x10001, 0x00000004
;HKR,%future18APL_str6%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str6%, RelatedRegister, 1, 10
;HKR,%future18APL_str6%, SupportAuto, 0x10001, 0x00000001
;HKR,%future18APL_str6%, AutoControlMode, 0x10001, 0x00000000
;HKR,%future18APL_str6%, CamRegDisableAuto, 1, 13,00,05
;HKR,%future18APL_str6%, CamRegEnableAuto, 1, 13,05,05
;HKR,%future18APL_str6%, DefaultValue, 0x10001, 0x00000043
;HKR,%future18APL_str6%, DefaultFlags, 0x10001, 0x00000001
;HKR,%future18APL_str6%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str6%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str6%, Step, 0x10001, 0x00000001
;HKR,%future18APL_str6%, LastValue, 0x10001, 0x00000024
;HKR,%future18APL_str6%, LastFlags, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\BlueGain
;HKR,%future18APL_str8%, PropertyId, 0x10001, 0x00000007
;HKR,%future18APL_str8%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str8%, RelatedRegister, 1, 01
;HKR,%future18APL_str8%, DefaultValue, 0x10001, 0x00000090
;HKR,%future18APL_str8%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str8%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str8%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain
;HKR,%future18APL_str9%, PropertyId, 0x10001, 0x00000008
;HKR,%future18APL_str9%, MapMethod, 0x10001, 0x00000001
;HKR,%future18APL_str9%, RelatedRegister, 1, 00
;HKR,%future18APL_str9%, NumberOfValues, 0x10001, 0x00000008
;HKR,%future18APL_str9%, DefaultValue, 0x10001, 0x00000000
;HKR,%future18APL_str9%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str9%, MaxValue, 0x10001, 0x00000007
;HKR,%future18APL_str9%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0000
;HKR,%future18APL_str10%, Value, 0x10001, 0x00000000
;HKR,%future18APL_str10%, CamRegisters, 1, 00,00,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0001
;HKR,%future18APL_str11%, Value, 0x10001, 0x00000001
;HKR,%future18APL_str11%, CamRegisters, 1, 00,04,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0002
;HKR,%future18APL_str12%, Value, 0x10001, 0x00000002
;HKR,%future18APL_str12%, CamRegisters, 1, 00,08,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0003
;HKR,%future18APL_str13%, Value, 0x10001, 0x00000003
;HKR,%future18APL_str13%, CamRegisters, 1, 00,0a,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0004
;HKR,%future18APL_str14%, Value, 0x10001, 0x00000004
;HKR,%future18APL_str14%, CamRegisters, 1, 00,0f,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0005
;HKR,%future18APL_str15%, Value, 0x10001, 0x00000005
;HKR,%future18APL_str15%, CamRegisters, 1, 00,14,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0006
;HKR,%future18APL_str16%, Value, 0x10001, 0x00000006
;HKR,%future18APL_str16%, CamRegisters, 1, 00,18,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0007
;HKR,%future18APL_str17%, Value, 0x10001, 0x00000007
;HKR,%future18APL_str17%, CamRegisters, 1, 00,1f,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence
;HKR,%future18APL_str18%, PropertyId, 0x10001, 0x00000002
;HKR,%future18APL_str18%, MapMethod, 0x10001, 0x00000001
;HKR,%future18APL_str18%, NumberOfValues, 0x10001, 0x00000002
;HKR,%future18APL_str18%, DefaultValue, 0x10001, 0x00000000
;HKR,%future18APL_str18%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str18%, MaxValue, 0x10001, 0x00000001
;HKR,%future18APL_str18%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\50Hz
;HKR,%future18APL_str19%, Value, 0x10001, 0x00000001
;HKR,%future18APL_str19%, CamRegisters, 1, 6a,26,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\60Hz
;HKR,%future18APL_str20%, Value, 0x10001, 0x00000000
;HKR,%future18APL_str20%, CamRegisters, 1, 6a,20,ff
;
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640
;HKR,%future18APL_str22%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str22%, MaxValue, 0x10001, 0x00000001
;HKR,%future18APL_str22%, Set2LastValue, 0x10001, 0x00000001
;HKR,%future18APL_str22%, Width, 0x10001, 0x00000280
;HKR,%future18APL_str22%, NumberOfValues, 0x10001, 0x00000002
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640\50Hz
;HKR,%future18APL_str23%, Value, 0x10001, 0x00000001
;HKR,%future18APL_str23%, CamRegisters, 1, 2d,64,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640\60Hz
;HKR,%future18APL_str24%, Value, 0x10001, 0x00000000
;HKR,%future18APL_str24%, CamRegisters, 1, 2d,00,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\RedGain
;HKR,%future18APL_str25%, PropertyId, 0x10001, 0x00000006
;HKR,%future18APL_str25%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str25%, RelatedRegister, 1, 02
;HKR,%future18APL_str25%, DefaultValue, 0x10001, 0x00000086
;HKR,%future18APL_str25%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str25%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str25%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Register
HKR,%future18APL_str26%, PropertyId, 0x10001, 0x00000000
HKR,%future18APL_str26%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str26%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Registry
HKR,%future18APL_str27%, PropertyId, 0x10001, 0x00000003
HKR,%future18APL_str27%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str27%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\StillImage
HKR,%future18APL_str28%, PropertyId, 0x10001, 0x00000001
HKR,%future18APL_str28%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str28%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\GetCompressionInfo
HKR,%future18APL_str30%, PropertyId, 0x10001, 0x00000000
HKR,%future18APL_str30%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str30%, DefaultValue, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\KeyFrameRate
HKR,%future18APL_str31%, PropertyId, 0x10001, 0x00000001
HKR,%future18APL_str31%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str31%, DefaultValue, 0x10001, 0x00000007
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\PFrameRate
HKR,%future18APL_str32%, PropertyId, 0x10001, 0x00000002
HKR,%future18APL_str32%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str32%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\Qulaity
HKR,%future18APL_str33%, PropertyId, 0x10001, 0x00000003
HKR,%future18APL_str33%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str33%, DefaultValue, 0x10001, 0x00001388
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\ActualFrameRate
HKR,%future18APL_str35%, PropertyId, 0x10001, 0x00000001
HKR,%future18APL_str35%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str35%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Capability
HKR,%future18APL_str36%, PropertyId, 0x10001, 0x00000000
HKR,%future18APL_str36%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str36%, DefaultValue, 0x10001, 0x00000033
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\FrameRates
HKR,%future18APL_str37%, PropertyId, 0x10001, 0x00000002
HKR,%future18APL_str37%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str37%, DefaultValue, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode
HKR,%future18APL_str38%, PropertyId, 0x10001, 0x00000003
HKR,%future18APL_str38%, MapMethod, 0x10001, 0x00000001
HKR,%future18APL_str38%, NumberOfValues, 0x10001, 0x00000003
HKR,%future18APL_str38%, DefaultValue, 0x10001, 0x00000014
HKR,%future18APL_str38%, LastValue, 0x10001, 0x00000014
HKR,%future18APL_str38%, LastFlags, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0000
;HKR,%future18APL_str39%, Value, 0x10001, 0x00000001
;HKR,%future18APL_str39%, CamRegisters, 1, 12,00,40
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0001
;HKR,%future18APL_str40%, Value, 0x10001, 0x80000001
;HKR,%future18APL_str40%, CamRegisters, 1, 12,00,40
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0002
HKR,%future18APL_str41%, Value, 0x10001, 0x00000020
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Brightness
;HKR,%future18APL_str43%, PropertyId, 0x10001, 0x00000000
;HKR,%future18APL_str43%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str43%, RelatedRegister, 1, ec
;HKR,%future18APL_str43%, RelateUsbRegister, 1, 01
;HKR,%future18APL_str43%, SupportAuto, 0x10001, 0x00000000
;HKR,%future18APL_str43%, DefaultValue, 0x10001, 0x00000000
;HKR,%future18APL_str43%, DefaultFlags, 0x10001, 0x00000001
;HKR,%future18APL_str43%, MinValue, 0x10001, 0xffffff80
;HKR,%future18APL_str43%, MaxValue, 0x10001, 0x0000007f
;HKR,%future18APL_str43%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable
;HKR,%future18APL_str44%, PropertyId, 0x10001, 0x00000006
;HKR,%future18APL_str44%, MapMethod, 0x10001, 0x00000001
;HKR,%future18APL_str44%, NumberOfValues, 0x10001, 0x00000002
;HKR,%future18APL_str44%, DefaultValue, 0x10001, 0x00000001
;HKR,%future18APL_str44%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str44%, MaxValue, 0x10001, 0x00000001
;HKR,%future18APL_str44%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable\0000
;HKR,%future18APL_str45%, Value, 0x10001, 0x00000000
;HKR,%future18APL_str45%, UsbRegisters, 1, f0,00,ff
;HKR,%future18APL_str45%, CamRegisters, 1, 01,80,ff,02,80,ff,24,80,ff,25,70,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable\0001
;HKR,%future18APL_str46%, Value, 0x10001, 0x00000001
;HKR,%future18APL_str46%, UsbRegisters, 1, f0,01,ff
;HKR,%future18APL_str46%, CamRegisters, 1, 24,b0,ff,25,90,ff
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Contrast
;HKR,%future18APL_str47%, PropertyId, 0x10001, 0x00000001
;HKR,%future18APL_str47%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str47%, RelatedRegister, 1, eb
;HKR,%future18APL_str47%, RelateUsbRegister, 1, 01
;HKR,%future18APL_str47%, DefaultValue, 0x10001, 0x00000080
;HKR,%future18APL_str47%, DefaultFlags, 0x10001, 0x00000001
;HKR,%future18APL_str47%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str47%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str47%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Hue
;HKR,%future18APL_str48%, PropertyId, 0x10001, 0x00000002
;HKR,%future18APL_str48%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str48%, RelatedRegister, 1, ea
;HKR,%future18APL_str48%, RelateUsbRegister, 1, 01
;HKR,%future18APL_str48%, DefaultValue, 0x10001, 0x00000000
;HKR,%future18APL_str48%, DefaultFlags, 0x10001, 0x00000001
;HKR,%future18APL_str48%, MinValue, 0x10001, 0xffffff80
;HKR,%future18APL_str48%, MaxValue, 0x10001, 0x0000007f
;HKR,%future18APL_str48%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Saturation
;HKR,%future18APL_str49%, PropertyId, 0x10001, 0x00000003
;HKR,%future18APL_str49%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str49%, RelatedRegister, 1, e9
;HKR,%future18APL_str49%, RelateUsbRegister, 1, 01
;HKR,%future18APL_str49%, DefaultValue, 0x10001, 0x00000080
;HKR,%future18APL_str49%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str49%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str49%, Step, 0x10001, 0x00000001
;HKR,%future18APL_str49%, LastValue, 0x10001, 0x000000ff
;HKR,%future18APL_str49%, LastFlags, 0x10001, 0x00000000
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Sharpness
;HKR,%future18APL_str50%, PropertyId, 0x10001, 0x00000004
;HKR,%future18APL_str50%, MapMethod, 0x10001, 0x00000000
;HKR,%future18APL_str50%, RelatedRegister, 1, ee
;HKR,%future18APL_str50%, RelateUsbRegister, 1, 01
;HKR,%future18APL_str50%, DefaultValue, 0x10001, 0x00000080
;HKR,%future18APL_str50%, MinValue, 0x10001, 0x00000000
;HKR,%future18APL_str50%, MaxValue, 0x10001, 0x000000ff
;HKR,%future18APL_str50%, Step, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream
;HKR,%future18APL_str51%, OpenStreamUsbSetting, 1, 0f,02,02
;HKR,%future18APL_str51%, CloseStreamUsbSetting, 1, 0f,00,02
;HKR,%future18APL_str51%, OpenStreamUsbSetting, 1, 0f,ff,1f
;HKR,%future18APL_str51%, CloseStreamUsbSetting, 1, 0f,ff,00
; #############################################
; #############################################
; Modify starting from here
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV
HKR,%future18APL_str52%, Tag, 0x10001, 0x00640480
HKR,%future18APL_str52%, CameraSetting, 1,\
12,05,ff,75,82,ff
;
HKR,%future18APL_str52%, Width, 0x10001, 0x00000280
HKR,%future18APL_str52%, Height, 0x10001, 0x000001e0
HKR,%future18APL_str52%, BitCount, 0x10001, 0x00000018
HKR,%future18APL_str52%, FourCC, 0x10001, 0x00000000
HKR,%future18APL_str52%, MaxFrameRate, 0x10001, 0x00007530
HKR,%future18APL_str52%, typFrameRate, 0x10001, 0x00007530
HKR,%future18APL_str52%, MinFrameRate, 0x10001, 0x00001d4c
HKR,%future18APL_str52%, Progressive, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate1
HKR,%future18APL_str53%, CameraSetting, 1, 11,80,ff, 14,04,ff, 15,00,ff
HKR,%future18APL_str53%, UsbSetting, 1,f1,42,ff,e5,04,ff,c0,50,ff,c1,3c,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,02,ff,1d,58,ff,1d,00,ff,\
8d,1c,ff,8e,80,ff
;
HKR,%future18APL_str53%, AlternateSetting, 0x10001, 0x00000000
HKR,%future18APL_str53%, FrameRate, 0x10001, 0x00007530
HKR,%future18APL_str53%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str53%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str53%, RawFrameLength, 0x10001, 0x00096e28
HKR,%future18APL_str53%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str53%, CpuSpeed, 0x10001, 0x00000958
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate2
HKR,%future18APL_str54%, CameraSetting, 1, 11,81,ff, 14,04,ff, 15,00,ff
HKR,%future18APL_str54%, UsbSetting, 1, f1,42,ff,e5,04,ff,c0,50,ff,c1,3c,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,02,ff,1d,58,ff,1d,00,ff,\
8d,1c,ff,8e,80,ff		
;
HKR,%future18APL_str54%, AlternateSetting, 0x10001, 0x00000000
HKR,%future18APL_str54%, FrameRate, 0x10001, 0x00003a98
HKR,%future18APL_str54%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str54%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str54%, RawFrameLength, 0x10001, 0x00096e28
HKR,%future18APL_str54%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str54%, CpuSpeed, 0x10001, 0x00000958
; #############################################
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate3
HKR,%future18APL_str55%, CameraSetting, 1, 11,83,ff, 14,04,ff, 15,00,ff
HKR,%future18APL_str55%, UsbSetting, 1, f1,42,ff,e5,04,ff,c0,50,ff,c1,3c,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,02,ff,1d,58,ff,1d,00,ff,\
8d,1c,ff,8e,80,ff
;
HKR,%future18APL_str55%, AlternateSetting, 0x10001, 0x00000000
HKR,%future18APL_str55%, FrameRate, 0x10001, 0x00001d4c;	James 7.5fps
HKR,%future18APL_str55%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str55%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str55%, RawFrameLength, 0x10001, 0x00096e28
HKR,%future18APL_str55%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str55%, CpuSpeed, 0x10001, 0x00000958

;
; Modify ending at here
;
;
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV
HKR,%future18APL_str62%, Tag, 0x10001, 0x00320240
HKR,%future18APL_str62%, UsbSetting, 1,e5,02,ff
HKR,%future18APL_str62%, CameraSetting, 1,11,80,ff, 14,24,ff, 15,01,ff,

HKR,%future18APL_str62%, Width, 0x10001, 0x00000140
HKR,%future18APL_str62%, Height, 0x10001, 0x000000f0
HKR,%future18APL_str62%, BitCount, 0x10001, 0x00000018
HKR,%future18APL_str62%, FourCC, 0x10001, 0x00000000
HKR,%future18APL_str62%, MaxFrameRate, 0x10001, 0x0001d4c0
HKR,%future18APL_str62%, typFrameRate, 0x10001, 0x0000ea60
HKR,%future18APL_str62%, MinFrameRate, 0x10001, 0x00003a98;James 15fps
HKR,%future18APL_str62%, Progressive, 0x10001, 0x00000001
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate1
HKR,%future18APL_str63%, CameraSetting, 1, 11,80,ff, 14,24,ff, 15,01,ff
HKR,%future18APL_str63%, UsbSetting, 1,f1,42,ff,e5,02,ff,c0,28,ff,c1,1e,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,00,ff,1d,96,ff,1d,00,ff,\
  8d,1c,ff,8e,80,ff
  

;
HKR,%future18APL_str63%, AlternateSetting, 0x10001, 0x00000000
;;HKR,%future18APL_str63%, FrameRate, 0x10001, 0x0001d4c0;	120fps
HKR,%future18APL_str63%, FrameRate, 0x10001, 0x0000ea60
HKR,%future18APL_str63%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str63%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str63%, RawFrameLength, 0x10001, 0x00025b90
HKR,%future18APL_str63%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str63%, CpuSpeed, 0x10001, 0x00000958
; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate2
HKR,%future18APL_str64%, CameraSetting, 1, 11,80,ff, 14,24,ff, 15,01,ff
HKR,%future18APL_str64%, UsbSetting, 1,f1,42,ff,e5,04,ff,c0,28,ff,c1,1e,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,00,ff,1d,96,ff,1d,00,ff,\
  8d,1c,ff,8e,80,ff
  
;
HKR,%future18APL_str64%, AlternateSetting, 0x10001, 0x00000000
;HKR,%future18APL_str64%, FrameRate, 0x10001, 0x0000ea60;	60fps
HKR,%future18APL_str64%, FrameRate, 0x10001, 0x00007530; James: 30fps
HKR,%future18APL_str64%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str64%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str64%, RawFrameLength, 0x10001, 0x00025b90
HKR,%future18APL_str64%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str64%, CpuSpeed, 0x10001, 0x00000958

; #############################################
; HKR directory : CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate3
HKR,%future18APL_str65%, CameraSetting, 1, 11,81,ff, 14,24,ff, 15,01,ff
HKR,%future18APL_str65%, UsbSetting, 1,f1,42,ff,e5,04,ff,c0,28,ff,c1,1e,ff,c2,0c,ff,\
  1c,00,ff,1d,40,ff,1d,02,ff,1d,00,ff,1d,00,ff,1d,96,ff,1d,00,ff,\
  8d,1c,ff,8e,80,ff
  
;
HKR,%future18APL_str65%, AlternateSetting, 0x10001, 0x00000000
;HKR,%future18APL_str65%, FrameRate, 0x10001, 0x0000ea60;	60fps
HKR,%future18APL_str65%, FrameRate, 0x10001, 0x00003a98; James: 15fps
HKR,%future18APL_str65%, QualityLevel, 0x10001, 0x00000001
HKR,%future18APL_str65%, RawData, 0x10001, 0x00000000
HKR,%future18APL_str65%, RawFrameLength, 0x10001, 0x00025b90
HKR,%future18APL_str65%, OneLine, 0x10001, 0x00000000
HKR,%future18APL_str65%, CpuSpeed, 0x10001, 0x00000958

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

HKR,%future18APLBrit%,PropertyId,0x10001, 0
HKR,%future18APLBrit%,MapMethod,0x10001, 0
HKR,%future18APLBrit%,RelatedRegister,1,6

HKR,%future18APLBrit%,SupportAuto,0x10001,0
HKR,%future18APLBrit%,AutoControlMode,0x10001,1
HKR,%future18APLBrit%,CamRegDisableAuto,1,2d, 05, 10
HKR,%future18APLBrit%,CamRegEnableAuto,1,2d, 15, 10

HKR,%future18APLBrit%,DefaultValue,0x10001, 5c
HKR,%future18APLBrit%,DefaultFlags,0x10001, 1	
HKR,%future18APLBrit%,MinValue,0x10001, 0
HKR,%future18APLBrit%,MaxValue,0x10001, 255
HKR,%future18APLBrit%,Step,0x10001, 1

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


;#####################################
HKR,%future18APLHue%,PropertyId,0x10001, 2
HKR,%future18APLHue%,MapMethod,0x10001,1
HKR,%future18APLHue%,NumberOfValues,0x10001, 16

HKR,%future18APLHue%\0000,Value,0x10001, 0
HKR,%future18APLHue%\0000,CamRegisters,1, 04,20,ff
HKR,%future18APLHue%\0001,Value,0x10001, 1
HKR,%future18APLHue%\0001,CamRegisters,1, 04,22,ff
HKR,%future18APLHue%\0002,Value,0x10001, 2
HKR,%future18APLHue%\0002,CamRegisters,1, 04,24,ff
HKR,%future18APLHue%\0003,Value,0x10001, 3
HKR,%future18APLHue%\0003,CamRegisters,1, 04,26,ff
HKR,%future18APLHue%\0004,Value,0x10001, 4
HKR,%future18APLHue%\0004,CamRegisters,1, 04,28,ff
HKR,%future18APLHue%\0005,Value,0x10001, 5
HKR,%future18APLHue%\0005,CamRegisters,1, 04,2a,ff
HKR,%future18APLHue%\0006,Value,0x10001, 6
HKR,%future18APLHue%\0006,CamRegisters,1, 04,2c,ff
HKR,%future18APLHue%\0007,Value,0x10001, 7
HKR,%future18APLHue%\0007,CamRegisters,1, 04,2e,ff
HKR,%future18APLHue%\0008,Value,0x10001, 8
HKR,%future18APLHue%\0008,CamRegisters,1, 04,30,ff
HKR,%future18APLHue%\0009,Value,0x10001, 9
HKR,%future18APLHue%\0009,CamRegisters,1, 04,32,ff
HKR,%future18APLHue%\000a,Value,0x10001, 10
HKR,%future18APLHue%\000a,CamRegisters,1, 04,34,ff
HKR,%future18APLHue%\000b,Value,0x10001, 11
HKR,%future18APLHue%\000b,CamRegisters,1, 04,36,ff
HKR,%future18APLHue%\000c,Value,0x10001, 12
HKR,%future18APLHue%\000c,CamRegisters,1, 04,38,ff
HKR,%future18APLHue%\000d,Value,0x10001, 13
HKR,%future18APLHue%\000d,CamRegisters,1, 04,3a,ff;
HKR,%future18APLHue%\000e,Value,0x10001, 14
HKR,%future18APLHue%\000e,CamRegisters,1, 04,3c,ff
HKR,%future18APLHue%\000f,Value,0x10001, 15
HKR,%future18APLHue%\000f,CamRegisters,1, 04,3e,ff

HKR,%future18APLHue%,SupportAuto,0x10001,0			;Enable Auto Box
HKR,%future18APLHue%,AutoControlMode,0x10001,1		;Enable Auto function
HKR,%future18APLHue%,CamRegDisableAuto,1,2d, 05, 10		;Register control to disable auto
HKR,%future18APLHue%,CamRegEnableAuto,1,2d, 15, 10		;Register control to enable auto

HKR,%future18APLHue%,DefaultValue,0x10001, 8		;Default value of Hue
HKR,%future18APLHue%,DefaultFlags,0x10001, 1		;Enable Auto as default
HKR,%future18APLHue%,MinValue,0x10001, 0
HKR,%future18APLHue%,MaxValue,0x10001, 15
HKR,%future18APLHue%,Step,0x10001, 1

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

HKR,%future18APLSat%,PropertyId,0x10001, 3
HKR,%future18APLSat%,MapMethod,0x10001,1
HKR,%future18APLSat%,NumberOfValues,0x10001, 16
HKR,%future18APLSat%\0000,Value,0x10001, 0
HKR,%future18APLSat%\0000,CamRegisters,1, 03,00,ff
HKR,%future18APLSat%\0001,Value,0x10001, 1
HKR,%future18APLSat%\0001,CamRegisters,1, 03,10,ff
HKR,%future18APLSat%\0002,Value,0x10001, 2
HKR,%future18APLSat%\0002,CamRegisters,1, 03,20,ff
HKR,%future18APLSat%\0003,Value,0x10001, 3
HKR,%future18APLSat%\0003,CamRegisters,1, 03,30,ff
HKR,%future18APLSat%\0004,Value,0x10001, 4
HKR,%future18APLSat%\0004,CamRegisters,1, 03,40,ff
HKR,%future18APLSat%\0005,Value,0x10001, 5
HKR,%future18APLSat%\0005,CamRegisters,1, 03,50,ff
HKR,%future18APLSat%\0006,Value,0x10001, 6
HKR,%future18APLSat%\0006,CamRegisters,1, 03,60,ff
HKR,%future18APLSat%\0007,Value,0x10001, 7
HKR,%future18APLSat%\0007,CamRegisters,1, 03,70,ff
HKR,%future18APLSat%\0008,Value,0x10001, 8
HKR,%future18APLSat%\0008,CamRegisters,1, 03,80,ff
HKR,%future18APLSat%\0009,Value,0x10001, 9
HKR,%future18APLSat%\0009,CamRegisters,1, 03,90,ff
HKR,%future18APLSat%\000a,Value,0x10001, 10
HKR,%future18APLSat%\000a,CamRegisters,1, 03,a0,ff
HKR,%future18APLSat%\000b,Value,0x10001, 11
HKR,%future18APLSat%\000b,CamRegisters,1, 03,b0,ff
HKR,%future18APLSat%\000c,Value,0x10001, 12
HKR,%future18APLSat%\000c,CamRegisters,1, 03,c0,ff
HKR,%future18APLSat%\000d,Value,0x10001, 13
HKR,%future18APLSat%\000d,CamRegisters,1, 03,d0,ff
HKR,%future18APLSat%\000e,Value,0x10001, 14
HKR,%future18APLSat%\000e,CamRegisters,1, 03,e0,ff
HKR,%future18APLSat%\000f,Value,0x10001, 15
HKR,%future18APLSat%\000f,CamRegisters,1, 03,f0,ff

HKR,%future18APLSat%,DefaultValue,0x10001, 6
HKR,%future18APLSat%,MinValue,0x10001, 0
HKR,%future18APLSat%,MaxValue,0x10001, 15
HKR,%future18APLSat%,Step,0x10001, 1




;#####################################
HKR,%future18APLShp%,PropertyId,0x10001, 4
HKR,%future18APLShp%,MapMethod,0x10001, 1
HKR,%future18APLShp%,NumberOfValues,0x10001, 8

HKR,%future18APLShp%\0000,Value,0x10001, 0
HKR,%future18APLShp%\0000,CamRegisters,1, 26,c2,f0
HKR,%future18APLShp%\0001,Value,0x10001, 1
HKR,%future18APLShp%\0001,CamRegisters,1, 26,d2,f0
HKR,%future18APLShp%\0002,Value,0x10001, 2
HKR,%future18APLShp%\0002,CamRegisters,1, 26,92,f0
HKR,%future18APLShp%\0003,Value,0x10001, 3
HKR,%future18APLShp%\0003,CamRegisters,1, 26,a2,f0
HKR,%future18APLShp%\0004,Value,0x10001, 4
HKR,%future18APLShp%\0004,CamRegisters,1, 26,b2,f0
HKR,%future18APLShp%\0005,Value,0x10001, 5
HKR,%future18APLShp%\0005,CamRegisters,1, 26,62,f0
HKR,%future18APLShp%\0006,Value,0x10001, 6
HKR,%future18APLShp%\0006,CamRegisters,1, 26,72,f0
HKR,%future18APLShp%\0007,Value,0x10001, 7
HKR,%future18APLShp%\0007,CamRegisters,1, 26,32,f0

HKR,%future18APLShp%,SupportAuto,0x10001,0			;Enable Auto Box
HKR,%future18APLShp%,AutoControlMode,0x10001,1		;Enable Auto function
HKR,%future18APLShp%,CamRegDisableAuto,1,2d, 05, 10		;Register control to disable auto
HKR,%future18APLShp%,CamRegEnableAuto,1,2d, 15, 10		;Register control to enable auto

HKR,%future18APLShp%,DefaultValue,0x10001, 6
HKR,%future18APLShp%,DefaultFlags,0x10001, 1		;Enable Auto as default
HKR,%future18APLShp%,MinValue,0x10001, 0
HKR,%future18APLShp%,MaxValue,0x10001, 7
HKR,%future18APLShp%,Step,0x10001, 1

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

HKR,%future18APLCol%,DefaultValue,0x10001, 1
HKR,%future18APLCol%,MinValue,0x10001, 0
HKR,%future18APLCol%,MaxValue,0x10001, 1
HKR,%future18APLCol%,Step,0x10001, 1

;#####################################
;HKR,%future18APLWb%,Registers,0x10001, 
;#####################################
;HKR,%future18APLWb%,PropertyId,0x10001, 7
;HKR,%future18APLWb%,MapMethod,0x10001, 1
;HKR,%future18APLWb%,NumberOfValues,0x10001, 3
;HKR,%future18APLWb%,RelatedRegister,1, 43

;; Indoor Tungsten (2850K)
;HKR,%future18APLWb%\0000,Value,0x10001, 0
;HKR,%future18APLWb%\0000,CamRegisters,1,6c,0c,ff,6d,0c,ff,6e,c0,ff,75,04,04,12,00,04
;,12,04,04
;; Indoor Flouence (4500K)
;HKR,%future18APLWb%\0001,Value,0x10001, 1
;HKR,%future18APLWb%\0001,CamRegisters,1,6c,02,ff,6d,44,ff,6e,40,ff,75,00,04,12,00,04
;,12,04,04
;; Outdoor (> 5000K)
;HKR,%future18APLWb%\0002,Value,0x10001, 2
;HKR,%future18APLWb%\0002,CamRegisters,1,6c,00,ff,6d,5f,ff,6e,80,ff,75,04,04,12,00,04
;,12,04,04
;
;HKR,%future18APLWb%,SupportAuto,0x10001,1
;HKR,%future18APLWb%,AutoControlMode,0x10001,1
;HKR,%future18APLWb%,CamRegDisableAuto,1,12, 20, 04
;HKR,%future18APLWb%,CamRegEnableAuto,1,12, 24, 04
;
;HKR,%future18APLWb%,DefaultValue,0x10001, 1
;HKR,%future18APLWb%,DefaultFlags,0x10001, 1
;HKR,%future18APLWb%,MinValue,0x10001, 0
;HKR,%future18APLWb%,MaxValue,0x10001, 2
;HKR,%future18APLWb%,Step,0x10001, 1

;#####################################
;HKR,%future18APLBL%,PropertyId,0x10001, 8
;HKR,%future18APLBL%,MapMethod,0x10001, 1
;HKR,%future18APLBL%,NumberOfValues,0x10001, 2

;HKR,%future18APLBL%\0000,Value,0x10001, 0
;HKR,%future18APLBL%\0000,CamRegisters,1, 68,A0,e0, 29,00,08,28,00,02
;HKR,%future18APLBL%\0001,Value,0x10001, 1
;HKR,%future18APLBL%\0001,CamRegisters,1, 68,c0,e0, 29,08,08, 28,02,02

;HKR,%future18APLBL%,SupportAuto,0x10001,1			;Enable Auto Box
;HKR,%future18APLBL%,AutoControlMode,0x10001,1		;Enable Auto function
;HKR,%future18APLBL%,CamRegDisableAuto,1,2d, 05, 10		;Register control to disable auto
;HKR,%future18APLBL%,CamRegEnableAuto,1,2d, 15, 10		;Register control to enable auto

;HKR,%future18APLBL%,DefaultValue,0x10001, 0
;HKR,%future18APLBL%,DefaultFlags,0x10001, 1
;HKR,%future18APLBL%,MinValue,0x10001, 0
;HKR,%future18APLBL%,MaxValue,0x10001, 1
;HKR,%future18APLBL%,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,%future18APLExp%,PropertyId,0x10001, 4
HKR,%future18APLExp%,MapMethod,0x10001, 0
HKR,%future18APLExp%,RelatedRegister,1,10

HKR,%future18APLExp%,SupportAuto,0x10001,1 ;0 not support, 1 support
HKR,%future18APLExp%,AutoControlMode,0x10001,1
HKR,%future18APLExp%,CamRegDisableAuto,1,13, a0, 03
HKR,%future18APLExp%,CamRegEnableAuto,1,13, a3, 03

HKR,%future18APLExp%,DefaultValue,0x10001, 130
HKR,%future18APLExp%,DefaultFlags,0x10001, 1
HKR,%future18APLExp%,MinValue,0x10001, 0
HKR,%future18APLExp%,MaxValue,0x10001, 130
HKR,%future18APLExp%,Step,0x10001, 1

;#####################################
;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,%future18APLCap%,PropertyId,0x10001, 0
HKR,%future18APLCap%,MapMethod,0x10001, 0

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

;######################################
HKR,%future18APLActFR%,PropertyId,0x10001, 1
HKR,%future18APLActFR%,MapMethod,0x10001, 0
HKR,%future18APLActFR%,DefaultValue,0x10001, 0

;######################################
HKR,%future18APLFps%,PropertyId,0x10001, 2
HKR,%future18APLFps%,MapMethod,0x10001, 0
HKR,%future18APLFps%,DefaultValue,0x10001, 0

;######################################
HKR,%future18APLMode%,PropertyId,0x10001, 3
HKR,%future18APLMode%,MapMethod,0x10001, 0
HKR,%future18APLMode%,NumberOfValues,0x10001, 3
HKR,%future18APLMode%,DefaultValue,0x10001, 20

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

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

;######################################
;    KS_CompressionCaps_CanQuality = 1,
;    KS_CompressionCaps_CanCrunch = 2,
;    KS_CompressionCaps_CanKeyFrame = 4,
;    KS_CompressionCaps_CanBFrame = 8
;######################################

;HKR,%future18APLKeyFR%,PropertyId,0x10001, 1
;HKR,%future18APLKeyFR%,MapMethod,0x10001, 0
;HKR,%future18APLKeyFR%,DefaultValue,0x10001, 7

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

HKR,%future18APLGain%,DefaultValue,0x10001, 0
HKR,%future18APLGain%,MinValue,0x10001, 0
HKR,%future18APLGain%,MaxValue,0x10001, 7
HKR,%future18APLGain%,Step,0x10001, 1
;######################################
;PROPSETID_OVTCAM_PROP
HKR,%future18APLReg%,PropertyId,0x10001, 0
HKR,%future18APLReg%,MapMethod,0x10001, 0
HKR,%future18APLReg%,DefaultValue,0x10001, 0

HKR,%future18APLRegy%,PropertyId,0x10001, 3
HKR,%future18APLRegy%,MapMethod,0x10001, 0
HKR,%future18APLRegy%,DefaultValue,0x10001, 0

HKR,%future18APLSti%,PropertyId,0x10001, 1
HKR,%future18APLSti%,MapMethod,0x10001, 0
HKR,%future18APLSti%,DefaultValue,0x10001, 0

HKR,%future18APLLF%,PropertyId,0x10001, 2
HKR,%future18APLLF%,MapMethod,0x10001, 0
HKR,%future18APLLF%,NumberOfValues,0x10001, 2

HKR,%future18APLLF%\50Hz,Value,0x10001, 0
HKR,%future18APLLF%\50Hz,CamRegisters,1, 3b,0a,ff
HKR,%future18APLLF%\60Hz,Value,0x10001, 1
HKR,%future18APLLF%\60Hz,CamRegisters,1, 3b,02,ff

HKR,%future18APLLF%,DefaultValue,0x10001, 1
HKR,%future18APLLF%,MinValue,0x10001, 0
HKR,%future18APLLF%,MaxValue,0x10001, 1
HKR,%future18APLLF%,Step,0x10001, 1

HKR,%future18APLLF%\FormatChange\640,MinValue,0x10001, 0
HKR,%future18APLLF%\FormatChange\640,MaxValue,0x10001, 1
HKR,%future18APLLF%\FormatChange\640,Set2LastValue,0x10001, 1
HKR,%future18APLLF%\FormatChange\640,Width,0x10001, 640
HKR,%future18APLLF%\FormatChange\640,NumberOfValues,0x10001, 2
HKR,%future18APLLF%\FormatChange\640\50Hz,Value,0x10001, 0
HKR,%future18APLLF%\FormatChange\640\50Hz,CamRegisters,1, 3b,02,ff
HKR,%future18APLLF%\FormatChange\640\60Hz,Value,0x10001, 1
HKR,%future18APLLF%\FormatChange\640\60Hz,CamRegisters,1, 3b,0a,ff

[Strings]
;
;;future18APL
future18APL_str1="CameraSetting\SupportCamera\future18APL"
;future18APL_str2="CameraSetting\SupportCamera\future18APL\CamAdjust"
future18APL_str3="CameraSetting\SupportCamera\future18APL\DataProcessing"
future18APL_str4="CameraSetting\SupportCamera\future18APL\DeviceProperties"
future18APL_str5="CameraSetting\SupportCamera\future18APL\DeviceProperties\CameraControl"
;future18APL_str6="CameraSetting\SupportCamera\future18APL\DeviceProperties\CameraControl\Exposure"
future18APL_str7="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty"
;future18APL_str8="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\BlueGain"
;future18APL_str9="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain"
;future18APL_str10="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0000"
;future18APL_str11="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0001"
;future18APL_str12="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0002"
;future18APL_str13="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0003"
;future18APL_str14="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0004"
;future18APL_str15="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0005"
;future18APL_str16="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0006"
;future18APL_str17="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain\0007"
;future18APL_str18="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence"
;future18APL_str19="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\50Hz"
;future18APL_str20="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\60Hz"
;future18APL_str21="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange"
;future18APL_str22="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640"
;future18APL_str23="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640\50Hz"
;future18APL_str24="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence\FormatChange\640\60Hz"
;future18APL_str25="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\RedGain"
future18APL_str26="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Register"
future18APL_str27="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Registry"
future18APL_str28="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\StillImage"
future18APL_str29="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression"
future18APL_str30="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\GetCompressionInfo"
future18APL_str31="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\KeyFrameRate"
future18APL_str32="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\PFrameRate"
future18APL_str33="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoCompression\Qulaity"
future18APL_str34="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl"
future18APL_str35="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\ActualFrameRate"
future18APL_str36="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Capability"
future18APL_str37="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\FrameRates"
future18APL_str38="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode"
;future18APL_str39="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0000"
;future18APL_str40="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0001"
future18APL_str41="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode\0002"
future18APL_str42="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp"
;future18APL_str43="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Brightness"
future18APL_str44="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable"
future18APL_str45="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable\0000"
future18APL_str46="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable\0001"
;future18APL_str47="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Contrast"
future18APL_str48="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Hue"
future18APL_str49="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Saturation"
future18APL_str50="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Sharpness"
future18APL_str51="CameraSetting\SupportCamera\future18APL\VideoStream"
future18APL_str52="CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV"
future18APL_str53="CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate1"
future18APL_str54="CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate2"
future18APL_str55="CameraSetting\SupportCamera\future18APL\VideoStream\640x480YUV\FrameRate3"
future18APL_str56="CameraSetting\SupportCamera\future18APL\VideoStream\640x480RAW"
future18APL_str57="CameraSetting\SupportCamera\future18APL\VideoStream\640x480RAW\FrameRate1"
future18APL_str58="CameraSetting\SupportCamera\future18APL\VideoStream\640x480RAW\FrameRate2"
future18APL_str62="CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV"
future18APL_str63="CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate1"
future18APL_str64="CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate2"
future18APL_str65="CameraSetting\SupportCamera\future18APL\VideoStream\320x240YUV\FrameRate3"
future18APL_str72="CameraSetting\SupportCamera\future18APL\VideoStream\320x240RAW"
future18APL_str73="CameraSetting\SupportCamera\future18APL\VideoStream\320x240RAW\FrameRate1"
future18APL_str74="CameraSetting\SupportCamera\future18APL\VideoStream\320x240RAW\FrameRate2"
future18APL_str66="CameraSetting\SupportCamera\future18APL\VideoStream\176x144YUV"
future18APL_str67="CameraSetting\SupportCamera\future18APL\VideoStream\176x144YUV\FrameRate1"
;future18APL_str68="CameraSetting\SupportCamera\future18APL\VideoStream\176x144YUV\FrameRate2
;**************************************
future18APLBrit="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Brightness"
;future18APLCntr="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Contrast"
future18APLHue="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Hue"
future18APLSat="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Saturation"
future18APLShp="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Sharpness"
future18APLGam="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\Gamma"
future18APLCol="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\ColorEnable"
;future18APLWb="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\WhiteBalance"
;future18APLBL="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoProcAmp\BackLight"
future18APLExp="CameraSetting\SupportCamera\future18APL\DeviceProperties\CameraControl\Exposure"
future18APLCap="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Capability"
future18APLActFR="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\ActualFrameRate"
future18APLFps="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\FrameRates"
future18APLMode="CameraSetting\SupportCamera\future18APL\DeviceProperties\VideoControl\Mode"
future18APLReg="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Register"
future18APLRegy="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Registry"
future18APLSti="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\StillImage"
future18APLLF="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\LightFrequence"
future18APLRedGain="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\RedGain"
future18APLBlueGain="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\BlueGain"
future18APLGain="CameraSetting\SupportCamera\future18APL\DeviceProperties\CustomProperty\Gain"
