[FLEXA]
npu_nr_enable = 0
npu_demosaic_enable = 0
meg_ltm_enable = 0

[read]
outputname = .\result\OV2775_WDR_01_on
%output path and file name, the output will generate in this path and with name you given

width = 1928   
height = 1088
% resolution of the input raw data

bit = 0 
% bit width if input raw data(old version)

frames = 2
% frame numbers will run
% if your input file name in configure is: 1129_3_VS_G8_IT1.8_16.raw, it will load files like below
% 1129_3_VS_G8_IT1.8_160.raw
% 1129_3_VS_G8_IT1.8_161.raw
% 1129_3_VS_G8_IT1.8_162.raw
% 1129_3_VS_G8_IT1.8_163.raw
% 1129_3_VS_G8_IT1.8_164.raw


bayer_pattern = 3
% bayer_pattern: 
%  0  RGGB
%  1  GRBG
%  2  GBRG
%  3  BGGR

yuv_video_filename = D:\users\cn8088\04_Test\WDR\Test_Env_2\Raw\Outdoor_Overcast_Vehicles_Entry_01_S_G2_IT25_1.raw
% if you want to generate a yuv420 video with all output frames, write yuv video path and name here

% dump_yuv_video=1
% if you want to generate a yuv420 video with all output frames, enable it

%[HDR2]
filename = D:\users\cn8088\04_Test\WDR\Test_Env_2\Raw\Outdoor_Overcast_Vehicles_Entry_01_S_G2_IT25_1.raw
%bit = 16
% this channel is used only when HDR stiching be enabled, define VS channel input and bit width

%[HDR1]
filename = D:\users\cn8088\04_Test\WDR\Test_Env_2\Raw\Outdoor_Overcast_Vehicles_Entry_01_S_G2_IT25_1.raw
%bit = 16
% this channel is used only when HDR stiching be enabled, define S channel input and bit width

[HDR0]
filename = .\Raw\landscope_1_S_G2_IT2_11_.raw
bit = 10
% this channel is used as normal input when HDR stiching be disabled, as L channel input when HSR stiching be enabled 

[STITCHING]
stitching_enable = 0
%stitching_mode = 1
%ratioLS = 0.27925
%ratioLSVS = 8.86551
% HDR stiching module
% stiching_mode: different HDR exposure types
% 0 OV2775 L+S+VS 3x12bit   HDR0:L  HDR1:S  HDR2:VS
% 1 IMX Dol L+S+VS 3x12bit   HDR0:L  HDR1:S  HDR2:VS
% 2 OV10640 L+S+VS 3x12bit   HDR0:L  HDR1:S  HDR2:VS
% 3 OV2775 LS+VS 16+12bit   HDR0:LS(16bit)  HDR2:VS(12bit)
% 4 OV2775 L+S 2x12bit   HDR0:L  HDR1:S
% 5 OV2775 L+VS 2x12bit   HDR0:L HDR2:VS
% 6 IMX Dol L+S 2x12bit   HDR0:L  HDR1:S
%ratioLS: exposure ratio between L and S (S_exposrure time * S_Gain/L_exposrure time * L_Gain )
%ratioLSVS: exposure ratio between VS and S (S_exposrure time * S_Gain/VS_exposrure time * VS_Gain )

[BLS]
bls_a = 16384
bls_b = 16384
bls_c = 16384
bls_d = 16384
%20bit blc value

[AWB_gain]
awb_gain_r=2.23 %2.271
awb_gain_b=1.578 %1.678
awb_gain_g=1.000

[CCM]
cc_coeff0=1.620
cc_coeff1=-0.432
cc_coeff2=-0.179
cc_coeff3=-0.379
cc_coeff4=1.747
cc_coeff5=-0.312
cc_coeff6=0.050
cc_coeff7=-0.697
cc_coeff8=1.732
cc_offset_r=0.000
cc_offset_g=0.000
cc_offset_b=0.000

[GAMMA]
gamma_value = 2.200000

[WDR3]
WDR3_enable=1
%WDR3_strength_fw = 100
%WDR3_max_gain_fw = 64
%WDR3_global_strength_fw = 64


[DENOISE2D]
DENOISE2D_enable=1
strength = 80
sigma = 1 

[DENOISE3D]
Denoise3D_enable=0
%strength=128
%thr_edge_inv_factor=2048
%thr_motion_inv_factor=2048
%strength=[0,128]
%thr_edge_inv_factor=[0,2048]
%thr_motion_inv_factor=[0,2048]

[DEMOSAIC]
isp_demosaic = 1 % demosaic disable/enable
filt_denoise_level = 2  %denoise level in demosaic: 0~10
filt_sharpen_level = 4  % sharpen level in demoasic: 0~10
false_color_remove_en = 0 %false color remove enable/disable
%false_color_thresh = 0x50 %false color filter threshold, the larger the stronger
%false_color_weight_thresh = 0x8 %false color level between 0 and this value is weight average, greater than this value, will be set to gray 
cac_enable= 0 %CAC disable/enable
%a_red = -1.5  %CAC parameter
%b_red = -0.0625 %CAC parameter
%c_red = 0.875 %CAC parameter
%a_blue = 1.4375 %CAC parameter
%b_blue = 0.8125 %CAC parameter
%c_blue = -1.9375 %CAC parameter

[EDGE_ENHANCEMENT]
edge_enhan_enable = 1 % edge enhance disable/enable
edge_enhan_strength = 100
edge_enhan_y_gain = 10000
edge_enhan_uv_gain = 500

[GWDR]
GWDR_enable=1 % GWDR disbale/enable

[CPROC]
cproc_enable = 1
%contrast value from 0 to 2, default value is 1, increases is enhance contrast, 
contrast = 1.5 %1.4
%bright value: -128 ~ 127 
bright = -55 %-45
%saturation value from 0 to 2, default value is 1, increases >1 is enhance saturation, 
saturation = 1.8
%hue value from -90 to 90, default value is 0
hue = 0

[SENSOR]
sensor_type = 1
calib_xml_file= 03.xml
%0:not use calibration data. 
%1:use calib_xml_file
sensorGain = 2
integration_time = 0.002
cac_enable=0 % CAC disable/enable
ae_enable=0
adpf_enable=0
awb_enable = 1
cc_enable = 1


