diff --git a/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9715.ko b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9715.ko new file mode 100755 index 00000000..f0de9ac3 Binary files /dev/null and b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9715.ko differ diff --git a/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9732.ko b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9732.ko new file mode 100755 index 00000000..eca96736 Binary files /dev/null and b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ov9732.ko differ diff --git a/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ps5230.ko b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ps5230.ko new file mode 100755 index 00000000..55c3f090 Binary files /dev/null and b/general/package/grainmedia-osdrv-gm8136/files/kmod/fisp_ps5230.ko differ diff --git a/general/package/grainmedia-osdrv-gm8136/files/script/load_grainmedia b/general/package/grainmedia-osdrv-gm8136/files/script/load_grainmedia index 790f9363..fc5e6b00 100755 --- a/general/package/grainmedia-osdrv-gm8136/files/script/load_grainmedia +++ b/general/package/grainmedia-osdrv-gm8136/files/script/load_grainmedia @@ -8,8 +8,8 @@ video_system=NTSC resolution=$(fw_printenv -n resolution) resolution=${resolution:=720p} -# Support video_front_end: ov2710, ov2715, ov9712, ov9715, ov9714, ov5653 -# Support video_front_end: mt9m034, ar0130, ar0140, ar0330, ar0331 +# Support video_front_end: ov2710, ov2715, ov9712, ov9715, ov9714, ov9732, ov5653 +# Support video_front_end: mt9m034, ar0130, ar0140, ar0330, ar0331, ps5230 # Support video_front_end: imx222, imx238, imx236, imx238 chipver=$(head -1 /proc/pmu/chipver) @@ -116,6 +116,34 @@ case "$video_frontend" in insmod fisp_ov9715.ko sensor_w=1280 sensor_h=720 fps=25 mirror=1 flip=1 fi ;; +"ov9732") + codec_max_width=1280 + codec_max_height=720 + if [ "$video_system" == "NTSC" ]; then + insmod fisp328.ko cfg_path=/etc/sensors/isp328_ov9732.cfg + insmod fisp_algorithm.ko pwr_freq=0 + insmod fisp_ov9732.ko sensor_w=1280 sensor_h=720 fps=30 mirror=1 flip=1 interface=0 + + elif [ "$video_system" == "PAL" ]; then + insmod fisp328.ko cfg_path=/etc/sensors/isp328_ov9732.cfg + insmod fisp_algorithm.ko pwr_freq=1 + insmod fisp_ov9732.ko sensor_w=1280 sensor_h=720 fps=25 mirror=1 flip=1 interface=0 + fi + ;; +"ps5230") + codec_max_width=1920 + codec_max_height=1080 + if [ "$video_system" == "NTSC" ]; then + insmod fisp328.ko cfg_path=/etc/sensors/isp328_ps5230.cfg + insmod fisp_algorithm.ko pwr_freq=0 + insmod fisp_ps5230.ko sensor_w=1920 sensor_h=1080 fps=25 mirror=1 flip=1 interface=0 + + elif [ "$video_system" == "PAL" ]; then + insmod fisp328.ko cfg_path=/etc/sensors/isp328_ps5230.cfg + insmod fisp_algorithm.ko pwr_freq=1 + insmod fisp_ps5230.ko sensor_w=1280 sensor_h=720 fps=25 mirror=1 flip=1 interface=0 + fi + ;; "ar0330") codec_max_width=1920 codec_max_height=1080 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ar0331.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ar0331.cfg new file mode 100755 index 00000000..ff94a0a7 --- /dev/null +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ar0331.cfg @@ -0,0 +1,290 @@ +[INFO] +ISP=ISP320 +version = 1.0.0.0 +sensor = AR0331 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =1 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,2048,4096,8192,8192 +gamma_idx =4,4,4,4,5,5,5,5,5 +nl_dpc =0,0,0,0,0,84,94,110,110 +nl_raw =0,0,31,38,42,48,48,56,56 +nl_ctk =0,0,31,38,42,48,48,56,56 +nl_ci =12,28,52,71,100,100,105,146,146 +sp_lvl =150,150,150,150,140,140,140,140,140 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,48,64,90,90,90 +saturation_lvl =128,128,128,128,128,100,72,64,64 +tmnr_lvl =6,6,6,6,10,10,12,16,16 + + +[DC] +wdr_kn_x = 1024, 2560, 3456, 3968 +wdr_kn_y = 1024, 4096, 32768, 65535 +wdr_sl = 16, 32, 512, 1024 +bit_width=16 +enable=1 + +[CO] +## order: R, Gr, Gb, B +ob =-168, -168, -168, -168 + +[LS] +lsc_ctr_r=462, 500 +lsc_ctr_gr=467, 492 +lsc_ctr_gb=468, 493 +lsc_ctr_b=479, 587 +lsc_segrds=15 +lsc_mxtn_r=163,401,440,148,126,518,472,138 +lsc_mxtn_gr=152,429,424,154,135,484,490,133 +lsc_mxtn_gb=153,427,435,150,135,485,476,137 +lsc_mxtn_b=158,412,427,153,129,505,487,134 +lsc_rdsparam_r=256,257,258,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,274,275,277,278,278,279,280,281,282,282,282,282,283,283,256,257,258,258,259,260,261,262,263,264,264,265,267,267,268,269,271,272,273,274,276,277,278,279,280,280,281,281,282,283,284,285,256,257,258,258,259,259,260,261,262,263,263,264,264,264,264,264,265,265,265,265,266,266,266,266,266,267,267,267,267,267,268,268,256,257,258,258,259,259,259,260,261,262,262,263,264,264,265,266,267,268,269,270,271,272,273,274,275,276,277,277,278,278,279,280,256,257,258,258,258,258,259,259,260,261,262,263,264,264,265,266,267,268,269,269,271,271,272,273,274,275,277,277,278,278,279,280,256,257,258,258,258,258,259,259,259,260,261,262,263,263,264,265,266,267,268,268,269,269,270,271,273,274,275,276,276,276,277,278,256,257,258,258,258,259,259,259,259,259,259,260,260,260,260,260,260,261,261,261,261,261,261,262,262,262,262,262,263,263,264,264,256,257,258,258,258,259,260,261,262,263,264,265,266,267,267,268,269,270,271,273,274,275,275,276,277,278,278,279,280,280,282,283, +lsc_rdsparam_gr=257,257,257,257,257,257,258,259,260,261,261,262,263,264,265,265,266,267,268,269,269,270,271,272,272,273,274,275,275,275,276,276,257,257,257,257,257,258,259,260,260,261,261,262,263,264,265,266,266,267,268,269,269,270,271,272,273,273,274,275,276,276,277,277,257,257,257,257,258,258,259,260,260,261,262,262,262,262,262,262,263,263,263,263,263,263,264,264,264,264,264,265,265,265,266,266,257,257,257,257,258,258,259,260,260,261,262,263,264,265,266,266,267,268,270,270,271,271,272,273,275,276,277,277,278,278,279,280,257,257,257,257,257,258,258,259,260,261,262,263,264,265,266,266,267,268,269,270,271,271,272,273,274,275,277,277,277,277,278,278,257,257,257,257,257,257,258,259,260,260,261,262,263,264,265,266,267,267,268,268,269,270,270,271,272,273,275,276,276,276,277,277,257,257,257,257,257,257,258,258,259,259,259,259,259,260,260,260,260,260,260,260,260,261,261,261,261,261,262,262,262,262,263,263,257,257,257,257,257,257,257,258,259,260,260,261,262,263,263,264,265,266,266,267,267,268,269,270,270,271,272,272,272,273,274,274, +lsc_rdsparam_gb=257,257,257,257,257,258,259,260,260,261,262,263,264,265,266,266,267,268,268,269,270,271,272,273,273,274,275,275,275,275,276,276,257,257,257,257,258,258,259,260,261,261,262,263,264,265,266,266,267,268,269,269,270,271,272,273,274,275,276,276,276,277,278,278,257,257,257,257,258,258,259,260,261,261,262,262,262,262,262,262,263,263,263,263,263,264,264,264,264,264,265,265,265,265,266,266,257,257,257,257,258,258,259,260,261,261,262,263,264,265,266,266,267,268,269,270,271,272,272,273,274,275,277,277,278,278,279,280,257,257,257,257,257,258,258,259,261,261,262,263,264,264,265,266,267,268,269,270,270,271,272,273,274,275,276,277,277,277,278,278,257,257,257,257,257,257,258,259,260,260,261,262,263,263,264,265,266,267,268,268,268,269,270,271,272,273,274,275,276,276,277,277,257,257,257,257,257,257,258,259,259,259,259,259,259,259,260,260,260,260,260,260,260,261,261,261,261,261,262,262,262,262,263,263,257,257,257,257,257,257,258,259,259,260,261,262,263,263,264,264,265,266,266,267,268,269,270,271,271,271,272,273,273,274,275,275, +lsc_rdsparam_b=256,256,256,256,257,258,258,259,260,261,262,263,264,265,266,268,269,270,271,272,272,272,273,274,274,275,276,276,276,276,277,277,256,256,256,257,257,258,258,259,260,261,261,263,263,264,266,267,268,269,270,271,272,272,273,274,274,275,276,276,277,277,278,278,256,256,256,257,257,258,258,259,260,260,260,260,260,260,261,261,261,261,262,262,262,262,262,262,262,263,263,263,263,263,264,264,256,256,257,257,257,258,258,259,260,260,260,261,263,263,263,264,266,268,269,269,270,271,271,272,273,274,274,274,275,276,277,278,256,256,257,257,257,258,258,259,260,260,260,261,262,263,264,265,266,268,268,269,270,271,271,272,273,274,274,274,275,276,277,277,256,256,256,257,257,257,258,258,259,259,259,260,261,263,264,265,266,267,267,267,268,269,270,270,271,272,272,272,273,274,276,276,256,256,256,256,257,257,258,258,258,258,258,258,258,259,259,259,259,260,260,260,260,260,260,260,260,261,261,261,261,261,262,262,256,256,256,256,257,257,258,258,259,260,261,262,263,264,265,267,268,269,269,270,270,271,272,272,272,273,274,274,274,275,276,276, +lsc_adjust=0 +lsc_vepm=1024,0,1024,0,0 +[DRC] +Virtual_F=1.000000 +Virtual_A=0.300000 +Virtual_A_Min=0.300000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=8 +wdr_bgvno=7 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=238 +wdr_bgvo=139 +wdr_bghskip=2 +wdr_bgvskip=2 +wdr_qcoef1=2364 +wdr_qcoef2=1831 +wdr_qcoef3=1548 +wdr_intensity_blend=0 +wdr_intensity_localmax=0 +wdr_intensity_varth=16 +wdr_strength=128 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,286 +wdr_A_value=4078,4010,3890,3725,3527,3314,3099,2893,2531,2245,2027,1864,1741,1647,1575,1519,1439,1387,1351,1326,1293,1274,1262,1254,1249,1245,1242,1240,1238,1237,1236,1234 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 + + +[DRC_WDR] +Virtual_Size=1920x1080 +Virtual_F=0.008000 +Virtual_F_Contrast=1.100000 +Virtual_A=0.300000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=110 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=8 +wdr_bgvno=7 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=238 +wdr_bgvo=138 +wdr_bghskip=2 +wdr_bgvskip=4 +wdr_qcoef1=2364 +wdr_qcoef2=1831 +wdr_qcoef3=1548 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth=255 +wdr_max_gain_ratio = 48 +wdr_strength=0 +wdr_F_index=768,1032,280,26,27,28,29,30,31,0,0,0,0,0,0,0 +wdr_F_value=548,1090,1625,2152,2670,3179,3679,4171,4413,4652,4890,5124,5357,5587,5815,6041,6265,6486,6705,6922,7136,7348,7559,7767,10823,13435,20967,29435,38230,47954,57716,65534 +wdr_A_index=768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,286 +wdr_A_value=65208,63981,61784,58755,55146,51247,47318,43550,36921,31690,27715,24729,22480,20770,19454,18427,16966,16008,15354,14890,14297,13950,13731,13585,13484,13410,13356,13315,13282,13257,13246,13235 +wdr_PG_index=768,1032,280,26,27,28,29,30,31,0,0,0,0,0,0,0 +wdr_PG_value=64,120,174,226,276,326,375,424,448,472,495,519,543,566,589,613,636,659,682,705,728,750,773,796,1150,1494,2806,5270,9896,18583,34899,65534 + + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + +[GM_WDR] +index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 +enable=1 +VirtualType=2 +VirtualGamma=18 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=8 +VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, + + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +cv_0=77,151,29,-29,-183,212,253,-207,-53 +cv_1=77,151,29,-37,-202,239,288,-194,-97 +cv_2=77,151,29,-29,-283,306,267,-141,-129 + +## default value +#cv_0 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + + +[CS] +cs_i1=10 +cs_i2=31 +cs_i3=232 +cs_i4=247 +cs_o0=36 +cs_o1=184 +cs_o4=168 +cs_slope0=3788 +cs_slope1=865 +cs_slope3=1484 +cs_slope4=5344 +cs_cb_th=36 +cs_cr_th=36 + + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 + +f_number = 11 +const_k = 25205901 +target_y =100 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +max_isp_gain=2048 + +[IRIS] + +[AWB] +awb_th0=15 +awb_th1=245 +awb_th2=84 +awb_th3=321 +awb_th4=-57 +awb_th5=154 +awb_th6=56 +awb_th7=195 +awb_th8=28 +awb_th9=128 +awb_th10=23 +awb_th11=81 +awb_th12=255 +rb_ratio=117,220,356 +target_rg_ratio=1024,1024,1024 +target_bg_ratio=1024,1024,1024 +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=145,193,126,195,206,215 +B_gain=280,210,323,208,198,189 +VirtualMode=0 +VirtualPoints=65,100,55,118,51,142,43,161,39,175,80,67,60,76,52,90,41,99,35,108,151,63,113,71,96,87,74,99,60,113,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=15,245,84,321,-57,154,56,195,28,128,23,81,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=145,193,126,195,206,215,280,210,323,208,198,189,117,220,356,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +OffsetThs=5,0,-36,101,22,15,5,17,2,-18,5,4,0, + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,10,10 +C_Nr_Str=8,8,8,8 +Y_NoiseLevel_0 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_0=1,1,1,1 +Cr_NoiseLevel_0=1,1,1,1 +Y_NoiseLevel_1 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_1=1,1,1,1 +Cr_NoiseLevel_1=1,1,1,1 +Y_NoiseLevel_2 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_2=1,1,1,1 +Cr_NoiseLevel_2=1,1,1,1 +Y_NoiseLevel_3 =0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Cb_NoiseLevel_3=0,0,0,0 +Cr_NoiseLevel_3=0,0,0,0 +Y_NoiseLevel_4 =36,51,40,16,0,0,0,0,0,37,29,11,0,0,0,0,0,25,19,7,0,0,0,0,0,12,9,3,0,0,0,0 +Cb_NoiseLevel_4=42,42,42,42 +Cr_NoiseLevel_4=42,42,42,42 +Y_NoiseLevel_5 =71,99,85,19,1,1,1,1,53,74,63,14,0,0,0,0,35,49,42,9,0,0,0,0,17,24,21,4,0,0,0,0 +Cb_NoiseLevel_5=44,32,26,18 +Cr_NoiseLevel_5=48,34,29,19 +Y_NoiseLevel_6 =91,101,73,60,45,15,10,8,68,75,54,45,33,11,7,6,45,50,36,30,22,7,5,4,22,25,18,15,11,3,2,2 +Cb_NoiseLevel_6=40,37,30,21 +Cr_NoiseLevel_6=44,41,35,22 +Y_NoiseLevel_7 =204,233,197,109,87,71,58,58,152,174,147,80,65,53,42,42,100,116,98,53,42,35,29,29,49,58,49,26,20,17,13,13 +Cb_NoiseLevel_7=74,69,57,38 +Cr_NoiseLevel_7=81,75,63,42 +Y_NoiseLevel_8 =204,233,197,109,87,71,58,58,152,174,147,80,65,53,42,42,100,116,98,53,42,35,29,29,49,58,49,26,20,17,13,13 +Cb_NoiseLevel_8=74,69,57,38 +Cr_NoiseLevel_8=81,75,63,42 + + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx236.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx236.cfg new file mode 100755 index 00000000..12470a35 --- /dev/null +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx236.cfg @@ -0,0 +1,310 @@ +[INFO] +ISP=ISP328 +version = 1.0.0.0 +sensor = IMX136 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =1 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,2304,4096,8192,8192 +gamma_idx =4,4,4,4,5,5,5,5,5 +nl_dpc =0,0,0,0,0,84,94,110,110 +nl_raw =0,0,31,38,42,48,48,56,56 +nl_ctk =0,0,31,38,42,48,48,56,56 +nl_ci =12,28,52,71,100,100,105,146,146 +sp_lvl =150,150,150,150,140,140,140,140,140 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,48,64,90,90,90 +saturation_lvl =128,128,128,128,128,100,72,64,64 +tmnr_lvl =6,6,6,6,10,10,12,16,16 +VirtualPostNR=128,128,128,128,128,128,128,128,128 + + +[DC] +wdr_kn_x = 1024, 2048, 2944, 3712 +wdr_kn_y = 1024, 2048, 16384, 65535 +wdr_sl = 16, 16, 256, 1024 +bit_width=16 + +[CO] +## order: R, Gr, Gb, B +ob =-64, -64, -64, -64 + + +[LS] +lsc_ctr_r=388, 330 +lsc_ctr_gr=387, 317 +lsc_ctr_gb=387, 316 +lsc_ctr_b=378, 306 +lsc_segrds=15 +lsc_mxtn_r=122,534,877,74,157,417,254,257 +lsc_mxtn_gr=117,556,915,71,159,409,249,263 +lsc_mxtn_gb=117,557,918,71,160,409,248,263 +lsc_mxtn_b=116,561,960,68,159,409,239,273 +lsc_rdsparam_r=256,258,260,263,265,268,270,272,273,276,280,282,285,288,290,292,293,294,294,294,294,295,295,295,295,296,296,296,296,296,297,297,256,258,262,263,265,267,269,272,274,277,280,282,284,286,288,290,293,295,299,299,300,300,300,300,300,300,300,300,300,300,301,301,256,258,260,262,263,264,264,264,265,265,266,266,266,267,267,268,268,269,269,269,270,270,270,270,270,270,270,271,271,271,272,272,256,258,259,260,261,262,264,265,265,267,269,270,272,274,276,278,279,281,283,284,286,287,288,290,292,292,294,296,299,301,303,304,256,258,260,263,264,266,268,270,272,274,275,277,278,280,282,283,285,286,288,289,290,292,294,295,297,298,300,301,304,305,307,308,256,265,274,282,286,291,294,298,301,304,306,308,311,313,315,317,319,321,323,324,326,327,329,330,331,332,334,335,337,337,339,339,256,273,283,292,299,304,309,313,316,318,320,322,324,326,327,329,330,332,332,332,332,333,333,334,334,334,335,335,335,335,337,337,256,265,271,275,278,280,281,284,285,287,289,290,292,294,295,297,297,299,299,300,301,303,305,307,309,311,312,314,315,317,319,319, +lsc_rdsparam_gr=256,258,261,263,266,268,271,273,275,278,281,283,285,289,290,292,293,294,294,294,294,295,295,295,295,296,296,296,296,296,297,297,256,258,262,263,266,267,269,272,274,277,280,282,284,286,288,290,293,295,296,297,297,297,297,297,297,297,297,297,297,297,298,298,256,258,261,262,263,264,264,264,265,265,266,266,266,267,267,267,268,268,268,269,269,269,269,269,270,270,270,270,270,270,272,272,256,257,257,258,260,262,263,264,264,265,268,269,271,272,274,276,277,278,279,281,283,285,286,287,288,290,291,293,294,295,298,298,256,257,259,261,264,265,267,269,271,273,274,275,276,278,279,282,283,285,286,288,288,289,291,291,292,294,296,298,300,301,303,303,256,263,273,280,286,291,295,298,301,304,306,308,311,313,315,318,320,322,324,325,326,328,329,331,332,333,334,335,336,336,339,339,256,274,284,292,300,305,310,314,317,321,324,326,329,330,332,333,333,334,334,334,334,335,335,336,336,336,336,337,337,337,338,339,256,265,272,276,279,281,282,284,286,288,290,292,294,296,297,299,301,301,302,302,304,306,308,311,312,314,315,316,316,319,321,322, +lsc_rdsparam_gb=256,258,261,263,266,268,271,273,275,278,281,284,287,289,291,292,293,294,294,294,294,295,295,295,295,295,296,296,296,296,297,297,256,258,262,263,266,267,269,272,274,277,280,282,284,286,288,290,293,295,296,297,297,297,297,297,297,297,297,297,297,297,298,298,256,258,261,262,263,264,264,264,265,265,266,266,266,267,267,267,268,268,269,269,269,269,269,269,270,270,270,270,270,270,272,272,256,257,257,258,260,262,263,264,264,265,268,269,271,272,274,275,277,278,280,282,283,285,286,287,288,290,291,293,295,295,298,298,256,257,259,261,264,265,267,269,271,273,274,275,276,278,279,281,283,285,285,286,288,289,291,292,294,295,297,298,300,301,303,303,256,263,273,280,286,291,295,298,301,304,306,308,311,313,315,318,320,322,324,325,326,328,329,331,332,333,334,335,336,336,339,339,256,273,284,292,299,304,309,314,317,321,324,326,328,330,332,333,333,334,334,334,334,335,335,336,336,336,336,337,337,337,338,339,256,265,272,277,280,282,282,284,286,288,290,292,293,294,297,299,301,301,302,302,304,306,307,310,311,313,315,316,316,319,321,322, +lsc_rdsparam_b=256,259,263,266,270,272,274,276,279,281,284,286,289,291,293,294,294,295,295,295,295,296,296,296,296,297,297,297,297,297,298,298,257,261,264,266,268,270,272,274,275,278,281,283,284,285,286,289,291,293,295,295,295,296,296,296,296,296,296,296,296,296,297,297,256,259,260,262,263,264,264,264,265,265,266,266,266,266,267,267,267,268,268,268,268,269,269,269,269,269,269,269,270,270,271,271,256,257,257,258,259,260,261,262,264,265,267,268,269,270,271,273,275,276,277,278,280,281,283,284,285,285,286,288,289,291,292,293,256,257,259,260,262,263,265,267,269,271,272,274,275,276,278,280,281,283,284,284,285,287,288,290,290,291,293,294,296,297,299,299,256,263,271,278,285,289,293,297,301,304,307,310,314,317,319,321,323,327,327,328,331,332,334,335,337,338,339,340,341,342,343,343,256,273,283,292,299,306,311,316,320,323,325,329,332,335,338,339,340,340,340,340,341,341,342,342,343,343,343,343,344,344,345,345,256,265,272,277,281,284,286,288,291,293,295,296,298,300,301,303,305,305,305,307,309,311,313,315,317,320,321,321,324,324,326,326, +lsc_adjust=0 +lsc_vepm=1024,0,1024,0,0 + +[DRC] +Virtual_Size=1920x1080 +Virtual_F=1.000000 +Virtual_F_Contrast=1.000000 +Virtual_A=0.300000 +Virtual_A_Min=0.100000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +Virtual_F_Manual=0 +wdr_bghno=8 +wdr_bgvno=7 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=238 +wdr_bgvo=138 +wdr_bghskip=2 +wdr_bgvskip=4 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth=16 +wdr_strength=0 +wdr_max_gain_ratio=48 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=0,1,770,522,526,274,276,22,23,24,25,26,27,28,29,286 +wdr_A_value=2550,1226,1142,1068,1004,948,899,855,817,783,726,680,643,613,588,567,549,534,511,493,479,468,453,443,436,430,427,424,421,420,419,417 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 + + +[DRC_WDR] +Virtual_Size=1920x1080 +Virtual_F=0.008000 +Virtual_F_Contrast=1.100000 +Virtual_A=0.300000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=110 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=8 +wdr_bgvno=7 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=238 +wdr_bgvo=138 +wdr_bghskip=2 +wdr_bgvskip=4 +wdr_qcoef1=2364 +wdr_qcoef2=1831 +wdr_qcoef3=1548 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth = 255 +wdr_max_gain_ratio = 48 + +wdr_strength=32 +wdr_F_index=768,1032,280,26,27,28,29,30,31,0,0,0,0,0,0,0 +wdr_F_value=548,1090,1625,2152,2670,3179,3679,4171,4413,4652,4890,5124,5357,5587,5815,6041,6265,6486,6705,6922,7136,7348,7559,7767,10823,13435,20967,29435,38230,47954,57716,65534 +wdr_A_index=768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,286 +wdr_A_value=65208,63981,61784,58755,55146,51247,47318,43550,36921,31690,27715,24729,22480,20770,19454,18427,16966,16008,15354,14890,14297,13950,13731,13585,13484,13410,13356,13315,13282,13257,13246,13235 +wdr_PG_index=768,1032,280,26,27,28,29,30,31,0,0,0,0,0,0,0 +wdr_PG_value=64,120,174,226,276,326,375,424,448,472,495,519,543,566,589,613,636,659,682,705,728,750,773,796,1150,1494,2806,5270,9896,18583,34899,65534 + + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + +[GM_WDR] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 +#VirtualType=2 +#VirtualGamma=18 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=8 +#VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, +VirtualType=2 +VirtualGamma=10 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=9 +VirtualControls=0,0,218,20,396,41,592,62,851,89,1346,126,2216,181,3184,226,4096,255, +index=0x200,0x4,0x5,0x206,0xa,0xb,0xc,0xd,0xe,0xf,0x210,0x14,0x15,0x16,0x17,0x318 +value=7,13,19,26,55,82,88,93,98,103,122,140,156,172,186,199,202,205,208,211,222,232,240,248,249,250,250,251,252,253,254,255 +[CE] +ce_bghno_0 = 16 +ce_bgvno_0 = 9 +ce_bghno_1 = 5 +ce_bgvno_1 = 3 +ce_blend = 128 +ce_th = 3 +ce_strength = 10 + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +## order: D65 CWF A +cv_0=77,151,29,-14,-233,248,221,-186,-33 +cv_1=77,151,29,-7,-241,250,269,-191,-77 +cv_2=77,151,29,7,-347,341,248,-129,-117 +## default value +#cv_0 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + +[CS] +cs_i1=10 +cs_i2=31 +cs_i3=232 +cs_i4=247 +cs_o0=36 +cs_o1=184 +cs_o4=168 +cs_slope0=3788 +cs_slope1=865 +cs_slope3=1484 +cs_slope4=5344 +cs_cb_th=36 +cs_cr_th=36 + + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 + +f_number = 11 +const_k = 25205901 +target_y = 100 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +#max ISP gain (125 ~ 65536) +max_isp_gain=128 + +[IRIS] + +[AWB] +awb_th0=15 +awb_th1=245 +awb_th2=68 +awb_th3=276 +awb_th4=-35 +awb_th5=152 +awb_th6=40 +awb_th7=188 +awb_th8=22 +awb_th9=88 +awb_th10=17 +awb_th11=55 +awb_th12=255 +rb_ratio=119,246,643 +target_rg_ratio=980,980,980 +target_bg_ratio=980,980,980 +VirtualXPoints=66,56,51,45,41,82,66,56,48,40,0,0,0,0,0,127,108,91,76,65 +VirtualYPoints=74,87,106,123,136,54,62,71,79,88,0,0,0,0,0,46,49,61,73,82 +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=158,123,217,235,246,276 +B_gain=388,499,284,261,249,223 +VirtualMode=0 +VirtualPoints=51,89,38,129,31,158,31,159,29,168,68,58,56,65,43,83,34,94,29,100,99,52,89,61,79,74,63,88,55,97,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=15,245,68,276,-35,152,40,188,22,88,17,55,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=158,123,217,235,246,276,388,499,284,261,249,223,119,246,643,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +OffsetThs=5,0,-52,56,44,13,-11,10,-4,-58,-1,-22,0, + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,8,8 +C_Nr_Str=5,5,5,5 +Y_NoiseLevel_0 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_0=1,1,1,1 +Cr_NoiseLevel_0=1,1,1,1 +Y_NoiseLevel_1 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_1=1,1,1,1 +Cr_NoiseLevel_1=1,1,1,1 +Y_NoiseLevel_2 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_2=1,1,1,1 +Cr_NoiseLevel_2=1,1,1,1 +Y_NoiseLevel_3 =0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +Cb_NoiseLevel_3=0,0,0,0 +Cr_NoiseLevel_3=0,0,0,0 +Y_NoiseLevel_4 =36,51,40,16,0,0,0,0,0,37,29,11,0,0,0,0,0,25,19,7,0,0,0,0,0,12,9,3,0,0,0,0 +Cb_NoiseLevel_4=42,42,42,42 +Cr_NoiseLevel_4=42,42,42,42 +Y_NoiseLevel_5 =71,99,85,19,1,1,1,1,53,74,63,14,0,0,0,0,35,49,42,9,0,0,0,0,17,24,21,4,0,0,0,0 +Cb_NoiseLevel_5=44,32,26,18 +Cr_NoiseLevel_5=48,34,29,19 +Y_NoiseLevel_6 =91,101,73,60,45,15,10,8,68,75,54,45,33,11,7,6,45,50,36,30,22,7,5,4,22,25,18,15,11,3,2,2 +Cb_NoiseLevel_6=40,37,30,21 +Cr_NoiseLevel_6=44,41,35,22 +Y_NoiseLevel_7 =204,233,197,109,87,71,58,58,152,174,147,80,65,53,42,42,100,116,98,53,42,35,29,29,49,58,49,26,20,17,13,13 +Cb_NoiseLevel_7=74,69,57,38 +Cr_NoiseLevel_7=81,75,63,42 +Y_NoiseLevel_8 =204,233,197,109,87,71,58,58,152,174,147,80,65,53,42,42,100,116,98,53,42,35,29,29,49,58,49,26,20,17,13,13 +Cb_NoiseLevel_8=74,69,57,38 +Cr_NoiseLevel_8=81,75,63,42 + + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx238.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx238.cfg new file mode 100755 index 00000000..37981f1b --- /dev/null +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_imx238.cfg @@ -0,0 +1,307 @@ +[INFO] +ISP=ISP328 +version = 1.0.0.0 +sensor = IMX238 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =1 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,2048,4096,8057,8057 +gamma_idx =4,4,4,4,4,4,4,4,4 +nl_dpc =0,0,0,0,120,120,113,120,120 +nl_raw =6,12,22,29,58,64,63,60,60 +nl_ctk =6,12,22,29,58,64,63,60,60 +nl_ci =0,11,17,39,32,95,80,106,106 +sp_lvl =120,120,120,120,120,120,120,110,110 +ce_lvl =20,20,20,20,20,0,0,0,0 +saturation_lvl =128,128,128,128,100,88,80,54,54 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,0,0,0,0,0 +tmnr_lvl=6,6,6,6,8,10,12,16,16 +blc_r=-248,-248,-248,-248,-248,-248,-248,-248,-248 +blc_g=-248,-248,-248,-248,-248,-248,-248,-248,-248 +blc_b=-248,-248,-248,-248,-248,-248,-248,-248,-248 + +[DC] +wdr_kn_x = 1024, 2048, 3040, 4000 +wdr_kn_y = 64, 128, 4096, 65535 +wdr_sl = 1, 1, 64, 1024 + +[CO] +## order: R, Gr, Gb, B +ob =-248, -248, -248, -248 + +[LS] +lsc_segrds =14 +lsc_ctr_r =482, 589 +lsc_ctr_gr =482, 589 +lsc_ctr_gb =482, 589 +lsc_ctr_b =482, 589 +lsc_mxtn_r=175,372,418,156,115,566,504,129 +lsc_mxtn_gr=175,372,418,156,115,566,504,129 +lsc_mxtn_gb=175,372,418,156,115,566,504,129 +lsc_mxtn_b=175,372,418,156,115,566,504,129 +lsc_rdsparam_r=256,256,268,259,274,263,281,267,288,271,293,276,298,279,303,284,307,288,311,293,316,296,322,299,323,303,324,307,324,308,325,309,264,258,271,261,277,265,285,269,289,273,296,278,300,282,306,286,309,291,313,294,320,298,322,301,324,305,324,308,325,308,326,310,256,256,267,260,272,263,278,268,284,272,289,275,294,279,299,285,302,288,306,291,310,293,315,297,319,299,323,302,326,305,329,307,263,258,270,261,275,265,282,271,286,274,292,277,297,282,301,287,304,290,309,292,313,296,317,298,321,301,325,303,327,306,330,310,256,256,262,264,266,271,272,274,278,275,281,276,282,276,283,278,283,278,284,279,285,280,286,281,286,281,287,282,288,283,288,283,259,261,265,268,269,273,276,274,280,275,281,276,282,277,283,278,284,279,285,279,285,280,286,281,287,282,287,282,288,283,290,284,256,256,259,268,263,274,267,281,272,286,277,292,279,295,283,300,287,304,292,307,294,311,297,317,300,322,303,326,306,327,309,327,258,263,261,271,265,277,270,283,274,289,279,294,280,298,284,302,290,306,293,308,295,315,299,319,302,325,304,327,307,327,312,328, +lsc_rdsparam_gr=256,256,263,259,267,262,271,265,275,268,279,272,281,276,284,280,286,283,291,286,294,289,295,293,296,295,297,297,297,299,297,299,261,258,265,260,269,263,273,266,277,270,280,274,283,278,285,281,289,285,293,288,295,291,296,294,296,296,297,298,297,299,298,300,256,256,262,260,265,263,270,266,274,269,278,273,280,276,281,280,285,284,289,285,293,288,296,290,298,292,301,295,302,297,303,300,260,259,263,261,267,265,272,267,276,271,279,275,280,278,283,282,287,285,291,287,294,289,298,291,300,293,302,296,302,298,304,301,256,256,260,263,263,267,268,269,272,269,275,270,276,271,276,271,277,272,278,273,278,273,279,274,280,274,280,275,281,275,281,275,259,260,261,265,265,268,270,269,274,270,276,270,276,271,277,272,277,272,278,273,279,274,280,274,280,274,280,275,281,275,282,276,256,256,259,263,261,268,265,272,269,275,273,278,276,280,278,283,281,286,285,290,287,294,291,296,294,298,296,302,298,302,301,302,258,260,260,266,263,270,267,274,271,276,275,279,277,282,279,284,283,288,286,292,289,296,292,297,295,300,297,302,301,302,302,303, +lsc_rdsparam_gb=256,256,263,259,267,261,272,265,275,268,279,272,281,276,284,280,287,283,292,287,294,289,297,293,298,295,298,297,298,299,299,299,260,258,265,260,269,263,274,266,277,270,280,274,283,278,285,281,289,286,293,288,296,291,297,294,298,296,298,298,298,299,300,300,256,256,262,260,265,263,270,266,274,269,278,273,280,276,282,280,285,284,289,286,293,288,298,290,300,292,301,295,302,297,304,300,259,259,263,261,267,265,272,267,276,271,279,275,281,278,283,282,287,285,291,287,295,289,298,291,300,293,302,296,303,298,306,302,256,256,260,263,263,267,267,269,272,269,275,270,276,271,276,271,277,272,278,273,279,273,279,274,280,274,280,275,281,275,281,275,258,260,261,265,265,268,270,269,274,270,276,270,276,271,277,272,277,272,278,273,279,274,280,274,280,274,280,275,281,275,282,276,256,256,259,263,261,268,265,272,269,276,273,278,276,280,278,283,281,286,285,290,288,294,290,297,294,298,296,301,298,302,301,302,258,260,260,266,263,270,267,274,271,277,275,279,277,282,279,284,283,288,287,292,289,296,292,297,295,300,297,302,299,302,302,303, +lsc_rdsparam_b=256,256,263,257,264,258,269,261,274,264,277,264,278,267,279,268,280,267,282,269,287,272,290,274,291,276,292,278,292,280,293,280,261,256,263,257,267,259,272,263,276,264,278,265,278,268,280,267,281,268,285,270,288,273,291,275,292,277,292,280,293,280,294,282,256,256,261,256,262,258,268,262,272,264,276,265,278,267,279,267,280,267,283,268,284,271,284,273,287,275,291,277,294,280,297,282,260,256,261,257,265,260,270,263,274,264,277,266,277,267,280,267,280,268,283,269,284,272,285,274,289,276,292,279,297,280,301,284,256,256,259,260,260,263,264,264,268,265,269,265,270,265,270,265,270,265,270,265,271,266,271,267,271,267,272,268,272,268,273,268,258,258,259,262,262,264,266,264,269,265,270,265,270,265,270,265,270,266,271,266,271,266,271,267,271,268,272,268,273,268,274,269,256,256,258,262,259,265,262,269,265,273,268,276,271,276,272,278,272,277,273,277,274,280,274,285,276,288,278,291,280,290,283,290,257,260,258,263,260,267,263,272,267,275,270,276,272,277,271,277,271,278,274,279,274,281,275,287,277,291,279,290,281,290,285,290, + +[DRC] +Virtual_Size=1280x720 +Virtual_F=1.000000 +Virtual_A=0.300000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=5 +wdr_bgvno=4 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=155 +wdr_bghskip=0 +wdr_bgvskip=1 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=0,1,770,522,526,274,276,22,23,24,25,26,27,28,29,286 +wdr_A_value=2721,1545,1470,1405,1348,1298,1254,1215,1181,1151,1100,1060,1027,1000,978,959,943,930,909,893,881,871,858,849,842,838,834,832,830,828,827,826 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth=255 +wdr_max_gain_ratio = 48 +wdr_strength=0 +Virtual_F_Contrast=1.000000 +Virtual_F_Manual=0 + + +[DRC_WDR] +wdr_bghno=5 +wdr_bgvno=4 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=155 +wdr_bghskip=0 +wdr_bgvskip=1 +wdr_PG_index = 0,769,9,10,1035,28,29,30,31,18,19,20,21,22,23,792 +wdr_PG_value = 256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,4210,8362,16609,32993,65534 +wdr_F_index = 0,1025,785,537,285,28,29,30,31,28,29,30,31,0,0,0 +wdr_F_value = 2233,2273,2310,2346,2380,2412,2443,2472,2500,2527,2553,2579,2603,2626,2649,2671,2692,2770,2841,2905,2963,3017,3067,3113,3157,3307,3431,3535,3625,3900,4096,65535 +wdr_A_index = 768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,30 +wdr_A_value = 3752,3142,2541,2042,1652,1352,1122,944,693,530,418,339,281,237,202,175,136,108,89,74,54,41,33,27,22,19,16,14,12,11,10,127 +wdr_qcoef1 = 2364 +wdr_qcoef2 = 1831 +wdr_qcoef3 = 1548 +wdr_intensity_blend = 5 +wdr_intensity_localmax=0 +wdr_intensity_varth = 255 +wdr_max_gain_ratio = 64 +wdr_strength = 128 + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + +[GM_WDR] +index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 +VirtualType=2 +VirtualGamma=18 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=8 +VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, + +[CE] +ce_bghno_0 = 16 +ce_bgvno_0 = 9 +ce_bghno_1 = 5 +ce_bgvno_1 = 3 +ce_blend = 128 +ce_th = 3 +ce_strength = 10 + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +## order: D65 CWF A +cv_0=77,151,29,-8,-215,223,208,-185,-23 +cv_1=77,151,29,4,-226,223,249,-194,-56 +cv_2=77,151,29,32,-337,305,228,-144,-84 + +## default value +#cv_0 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + +[CS] +cs_i1 =12 +cs_i2 =64 +cs_i3 =90 +cs_i4 =135 +cs_o0 =36 +cs_o1 =55 +cs_o4 =54 +cs_slope0 =403 +cs_slope1 =980 +cs_slope3 =1139 +cs_slope4 =114 +cs_cb_th =36 +cs_cr_th =18 + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 +f_number = 11 +const_k = 25205901 +target_y = 100 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +#max ISP gain (125 ~ 65536) +max_isp_gain=128 + +[IRIS] + +[AWB] +awb_th0=15 +awb_th1=245 +awb_th2=39 +awb_th3=286 +awb_th4=-61 +awb_th5=149 +awb_th6=25 +awb_th7=176 +awb_th8=14 +awb_th9=110 +awb_th10=8 +awb_th11=44 +awb_th12=255 +rb_ratio=116,237,435 +target_rg_ratio=1024,1024,1024 +target_bg_ratio=1024,1024,1024 +VirtualXPoints=66,56,51,45,41,82,66,56,48,40,0,0,0,0,0,127,108,91,76,65 +VirtualYPoints=74,87,106,123,136,54,62,71,79,88,0,0,0,0,0,46,49,61,73,82 +VirtualMode=0 +VirtualPoints=54,74,37,98,33,116,23,137,21,157,70,45,46,59,40,69,27,79,21,90,131,31,93,46,83,58,63,71,50,85,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=15,245,39,286,-62,149,25,176,14,110,8,44,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=197,142,270,289,319,373,411,569,299,280,253,217,89,221,448,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +OffsetThs=5,0,-81,66,17,10,-26,-2,-12,-36,-10,-33,0, +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=197,142,270,289,319,373 +B_gain=411,569,299,280,253,217 +outdoor_ev_th=38000 + +#grass region +awb_roi1_enable=1 +awb_roi1_mode=1 +awb_roi1_th0=5 +awb_roi1_th1=120 +awb_roi1_th2=84 +awb_roi1_th3=155 +awb_roi1_th4=-9 +awb_roi1_th5=60 +awb_roi1_th6=42 +awb_roi1_th7=100 +awb_roi1_th8=33 +awb_roi1_th9=64 +awb_roi1_th10=10 +awb_roi1_th11=45 + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,8,8 +C_Nr_Str=5,5,5,5 +Y_NoiseLevel_0 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_0 =1,1,1,1 +Cr_NoiseLevel_0 =1,1,1,1 +Y_NoiseLevel_1 =4,8,6,4,1,1,1,1,3,6,4,3,1,1,1,1,2,4,3,2,1,1,1,1,1,2,1,1,1,1,1,1 +Cb_NoiseLevel_1 =1,1,1,1 +Cr_NoiseLevel_1 =1,1,1,1 +Y_NoiseLevel_2 =1,13,13,10,8,8,8,5,1,9,9,7,6,6,6,3,1,6,6,5,4,4,4,2,1,3,3,2,2,2,2,1 +Cb_NoiseLevel_2 =19,14,9,4 +Cr_NoiseLevel_2 =19,14,9,4 +Y_NoiseLevel_3 =19,22,25,20,17,14,13,13,14,16,18,15,12,10,9,9,9,11,12,10,8,7,6,6,4,5,6,5,4,3,3,3 +Cb_NoiseLevel_3 =20,15,10,5 +Cr_NoiseLevel_3 =20,15,10,5 +Y_NoiseLevel_4 =33,35,35,48,42,33,19,15,24,26,26,36,31,24,14,11,16,17,17,24,21,16,9,7,8,8,8,12,10,8,4,3 +Cb_NoiseLevel_4 =29,21,14,7 +Cr_NoiseLevel_4 =32,24,16,8 +Y_NoiseLevel_5 =30,43,51,56,58,58,46,15,22,32,38,42,43,43,34,11,15,21,25,28,29,29,23,7,7,10,12,14,14,14,11,3 +Cb_NoiseLevel_5 =28,21,14,7 +Cr_NoiseLevel_5 =28,21,14,7 +Y_NoiseLevel_6 =155,207,207,215,217,219,200,147,116,155,155,161,162,164,150,110,77,103,103,107,108,109,100,73,38,51,51,53,54,54,50,36 +Cb_NoiseLevel_6 =67,50,33,16 +Cr_NoiseLevel_6 =74,55,37,18 +Y_NoiseLevel_7 =313,363,357,352,339,339,292,218,234,272,267,264,254,254,219,163,156,181,178,176,169,169,146,109,78,90,89,88,84,84,73,54 +Cb_NoiseLevel_7 =93,69,46,23 +Cr_NoiseLevel_7 =103,77,51,25 +Y_NoiseLevel_8 =313,363,357,352,339,339,292,218,234,272,267,264,254,254,219,163,156,181,178,176,169,169,146,109,78,90,89,88,84,84,73,54 +Cb_NoiseLevel_8 =93,69,46,23 +Cr_NoiseLevel_8 =103,77,51,25 + + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9715.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9715.cfg new file mode 100755 index 00000000..bdc6a743 --- /dev/null +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9715.cfg @@ -0,0 +1,296 @@ +[INFO] +ISP=ISP328 +version = 1.0.0.0 +sensor = OV9715 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =1 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,1984,1984,1984,1984 +gamma_idx =4,4,4,4,4,4,4,4,4 +nl_dpc =0,0,0,100,175,195,195,195,195 +nl_raw =6,16,28,42,43,76,76,76,76 +nl_ctk =6,16,28,42,43,76,76,76,76 +nl_ci =6,16,40,99,88,98,98,98,98 +#ce_lvl =20,20,10,10,10,10,10,10,10 +ce_lvl =35,35,30,25,20,15,15,15,15 +sp_lvl =120,120,110,110,100,80,80,80,80 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,0,0,0,0,0 +saturation_lvl =128,128,128,128,78,64,64,64,64 +tmnr_lvl =16,16,20,24,32,42,42,42,42 +blc_r=-32,-32,-32,-32,-32,-32,-32,-32,-32 +blc_g=-32,-32,-32,-32,-32,-32,-32,-32,-32 +blc_b=-32,-32,-32,-32,-32,-32,-32,-32,-32 + +[DC] +wdr_kn_x = 1024, 2048, 3040, 4000 +wdr_kn_y = 64, 128, 4096, 65535 +wdr_sl = 1, 1, 64, 1024 + +[CO] +## order: R, Gr, Gb, B +ob =-32, -32, -32, -32 + +[LS] +lsc_segrds =14 +lsc_ctr_r =482, 589 +lsc_ctr_gr =482, 589 +lsc_ctr_gb =482, 589 +lsc_ctr_b =482, 589 +lsc_mxtn_r=175,372,418,156,115,566,504,129 +lsc_mxtn_gr=175,372,418,156,115,566,504,129 +lsc_mxtn_gb=175,372,418,156,115,566,504,129 +lsc_mxtn_b=175,372,418,156,115,566,504,129 +lsc_rdsparam_r=256,256,268,259,274,263,281,267,288,271,293,276,298,279,303,284,307,288,311,293,316,296,322,299,323,303,324,307,324,308,325,309,264,258,271,261,277,265,285,269,289,273,296,278,300,282,306,286,309,291,313,294,320,298,322,301,324,305,324,308,325,308,326,310,256,256,267,260,272,263,278,268,284,272,289,275,294,279,299,285,302,288,306,291,310,293,315,297,319,299,323,302,326,305,329,307,263,258,270,261,275,265,282,271,286,274,292,277,297,282,301,287,304,290,309,292,313,296,317,298,321,301,325,303,327,306,330,310,256,256,262,264,266,271,272,274,278,275,281,276,282,276,283,278,283,278,284,279,285,280,286,281,286,281,287,282,288,283,288,283,259,261,265,268,269,273,276,274,280,275,281,276,282,277,283,278,284,279,285,279,285,280,286,281,287,282,287,282,288,283,290,284,256,256,259,268,263,274,267,281,272,286,277,292,279,295,283,300,287,304,292,307,294,311,297,317,300,322,303,326,306,327,309,327,258,263,261,271,265,277,270,283,274,289,279,294,280,298,284,302,290,306,293,308,295,315,299,319,302,325,304,327,307,327,312,328, +lsc_rdsparam_gr=256,256,263,259,267,262,271,265,275,268,279,272,281,276,284,280,286,283,291,286,294,289,295,293,296,295,297,297,297,299,297,299,261,258,265,260,269,263,273,266,277,270,280,274,283,278,285,281,289,285,293,288,295,291,296,294,296,296,297,298,297,299,298,300,256,256,262,260,265,263,270,266,274,269,278,273,280,276,281,280,285,284,289,285,293,288,296,290,298,292,301,295,302,297,303,300,260,259,263,261,267,265,272,267,276,271,279,275,280,278,283,282,287,285,291,287,294,289,298,291,300,293,302,296,302,298,304,301,256,256,260,263,263,267,268,269,272,269,275,270,276,271,276,271,277,272,278,273,278,273,279,274,280,274,280,275,281,275,281,275,259,260,261,265,265,268,270,269,274,270,276,270,276,271,277,272,277,272,278,273,279,274,280,274,280,274,280,275,281,275,282,276,256,256,259,263,261,268,265,272,269,275,273,278,276,280,278,283,281,286,285,290,287,294,291,296,294,298,296,302,298,302,301,302,258,260,260,266,263,270,267,274,271,276,275,279,277,282,279,284,283,288,286,292,289,296,292,297,295,300,297,302,301,302,302,303, +lsc_rdsparam_gb=256,256,263,259,267,261,272,265,275,268,279,272,281,276,284,280,287,283,292,287,294,289,297,293,298,295,298,297,298,299,299,299,260,258,265,260,269,263,274,266,277,270,280,274,283,278,285,281,289,286,293,288,296,291,297,294,298,296,298,298,298,299,300,300,256,256,262,260,265,263,270,266,274,269,278,273,280,276,282,280,285,284,289,286,293,288,298,290,300,292,301,295,302,297,304,300,259,259,263,261,267,265,272,267,276,271,279,275,281,278,283,282,287,285,291,287,295,289,298,291,300,293,302,296,303,298,306,302,256,256,260,263,263,267,267,269,272,269,275,270,276,271,276,271,277,272,278,273,279,273,279,274,280,274,280,275,281,275,281,275,258,260,261,265,265,268,270,269,274,270,276,270,276,271,277,272,277,272,278,273,279,274,280,274,280,274,280,275,281,275,282,276,256,256,259,263,261,268,265,272,269,276,273,278,276,280,278,283,281,286,285,290,288,294,290,297,294,298,296,301,298,302,301,302,258,260,260,266,263,270,267,274,271,277,275,279,277,282,279,284,283,288,287,292,289,296,292,297,295,300,297,302,299,302,302,303, +lsc_rdsparam_b=256,256,263,257,264,258,269,261,274,264,277,264,278,267,279,268,280,267,282,269,287,272,290,274,291,276,292,278,292,280,293,280,261,256,263,257,267,259,272,263,276,264,278,265,278,268,280,267,281,268,285,270,288,273,291,275,292,277,292,280,293,280,294,282,256,256,261,256,262,258,268,262,272,264,276,265,278,267,279,267,280,267,283,268,284,271,284,273,287,275,291,277,294,280,297,282,260,256,261,257,265,260,270,263,274,264,277,266,277,267,280,267,280,268,283,269,284,272,285,274,289,276,292,279,297,280,301,284,256,256,259,260,260,263,264,264,268,265,269,265,270,265,270,265,270,265,270,265,271,266,271,267,271,267,272,268,272,268,273,268,258,258,259,262,262,264,266,264,269,265,270,265,270,265,270,265,270,266,271,266,271,266,271,267,271,268,272,268,273,268,274,269,256,256,258,262,259,265,262,269,265,273,268,276,271,276,272,278,272,277,273,277,274,280,274,285,276,288,278,291,280,290,283,290,257,260,258,263,260,267,263,272,267,275,270,276,272,277,271,277,271,278,274,279,274,281,275,287,277,291,279,290,281,290,285,290, + +[DRC] +Virtual_Size=1280x1024 +Virtual_F=1.000000 +Virtual_A=0.200000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=5 +wdr_bgvno=5 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=192 +wdr_bghskip=0 +wdr_bgvskip=0 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,286 +wdr_A_value=4032,3848,3579,3269,2958,2667,2410,2189,1844,1601,1429,1305,1213,1144,1092,1050,991,951,924,904,878,862,852,845,840,836,833,831,829,828,827,826 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth=255 +wdr_max_gain_ratio = 48 +wdr_strength=0 + + +[DRC_WDR] +wdr_bghno=5 +wdr_bgvno=4 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=155 +wdr_bghskip=0 +wdr_bgvskip=1 +wdr_PG_index = 0,769,9,10,1035,28,29,30,31,18,19,20,21,22,23,792 +wdr_PG_value = 256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,4210,8362,16609,32993,65534 +wdr_F_index = 0,1025,785,537,285,28,29,30,31,28,29,30,31,0,0,0 +wdr_F_value = 2233,2273,2310,2346,2380,2412,2443,2472,2500,2527,2553,2579,2603,2626,2649,2671,2692,2770,2841,2905,2963,3017,3067,3113,3157,3307,3431,3535,3625,3900,4096,65535 +wdr_A_index = 768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,30 +wdr_A_value = 3752,3142,2541,2042,1652,1352,1122,944,693,530,418,339,281,237,202,175,136,108,89,74,54,41,33,27,22,19,16,14,12,11,10,127 +wdr_qcoef1 = 2364 +wdr_qcoef2 = 1831 +wdr_qcoef3 = 1548 +wdr_intensity_blend = 5 +wdr_intensity_localmax=0 +wdr_intensity_varth = 255 +wdr_max_gain_ratio = 64 +wdr_strength = 128 + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + +[GM_WDR] +index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 +VirtualType=2 +VirtualGamma=18 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=8 +VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +## order: D65 CWF A +cv_0=77,151,29,-25,-265,290,258,-215,-43 +cv_1=77,151,29,-38,-287,325,314,-205,-109 +cv_2=77,151,29,-58,-404,462,300,-140,-160 + +## default value +#cv_0 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + +[CS] +cs_i1 =12 +cs_i2 =64 +cs_i3 =90 +cs_i4 =135 +cs_o0 =36 +cs_o1 =55 +cs_o4 =54 +cs_slope0 =403 +cs_slope1 =980 +cs_slope3 =1139 +cs_slope4 =114 +cs_cb_th =36 +cs_cr_th =18 + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 +f_number = 11 +const_k = 25205901 +target_y = 100 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +#max ISP gain (125 ~ 65536) +max_isp_gain=128 + +[IRIS] + +[AWB] +awb_th0=10 +awb_th1=220 +awb_th2=96 +awb_th3=327 +awb_th4=-33 +awb_th5=163 +awb_th6=55 +awb_th7=217 +awb_th8=57 +awb_th9=110 +awb_th10=35 +awb_th11=91 +awb_th12=255 +rb_ratio=118,209,322 +target_rg_ratio=1024,1024,1024 +target_bg_ratio=1024,1024,1024 +VirtualMode=0 +VirtualPoints=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=30,245,96,327,-33,163,55,217,57,110,35,91,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=119,109,169,164,166,179,262,285,185,190,188,174,100,172,282,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +OffsetThs=20,0,-24,107,46,24,4,39,31,-36,17,14,0, +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=119,109,169,164,166,179 +B_gain=262,285,185,190,188,174 + +outdoor_ev_th=32768 + +#grass region +awb_roi1_enable=0 +awb_roi1_mode=1 +awb_roi1_th0=10 +awb_roi1_th1=200 +awb_roi1_th2=121 +awb_roi1_th3=204 +awb_roi1_th4=-13 +awb_roi1_th5=64 +awb_roi1_th6=62 +awb_roi1_th7=125 +awb_roi1_th8=48 +awb_roi1_th9=87 +awb_roi1_th10=0 +awb_roi1_th11=1023 + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,8,8 +C_Nr_Str=5,5,5,5 +Y_NoiseLevel_0 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_0=1,1,1,1 +Cr_NoiseLevel_0=1,1,1,1 +Y_NoiseLevel_1 =46,61,63,48,30,25,20,18,34,45,47,36,22,18,15,13,23,30,31,24,15,12,10,9,11,15,15,12,7,6,5,4 +Cb_NoiseLevel_1=1,1,1,1 +Cr_NoiseLevel_1=1,1,1,1 +Y_NoiseLevel_2 =36,56,53,41,36,28,20,11,27,42,39,30,27,21,15,8,18,28,26,20,18,14,10,5,9,14,13,10,9,7,5,2 +Cb_NoiseLevel_2=1,1,1,1 +Cr_NoiseLevel_2=1,1,1,1 +Y_NoiseLevel_3 =57,88,95,75,61,44,30,20,42,66,71,56,45,33,22,15,28,44,47,37,30,22,15,10,14,22,23,18,15,11,7,5 +Cb_NoiseLevel_3=96,72,48,24 +Cr_NoiseLevel_3=96,72,48,24 +Y_NoiseLevel_4 =111,169,183,139,106,91,76,48,83,126,137,104,79,68,57,36,55,84,91,69,53,45,38,24,27,42,45,34,26,22,19,12 +Cb_NoiseLevel_4=242,181,121,60 +Cr_NoiseLevel_4=242,181,121,60 +Y_NoiseLevel_5 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_5=276,207,138,69 +Cr_NoiseLevel_5=287,215,143,71 +Y_NoiseLevel_6 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_6=276,207,138,69 +Cr_NoiseLevel_6=287,215,143,71 +Y_NoiseLevel_7 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_7=276,207,138,69 +Cr_NoiseLevel_7=287,215,143,71 +Y_NoiseLevel_8 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_8=276,207,138,69 +Cr_NoiseLevel_8=287,215,143,71 + + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9732.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9732.cfg new file mode 100755 index 00000000..5fe338b8 --- /dev/null +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ov9732.cfg @@ -0,0 +1,313 @@ +[INFO] +ISP=ISP328 +version = 1.0.0.0 +sensor = OV9732 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =1 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,1984,1984,1984,1984 +gamma_idx =4,4,4,4,4,4,4,4,4 +nl_dpc =90,90,90,70,105,105,105,125,155 +nl_raw =6,16,18,22,43,76,76,76,76 +nl_ctk =6,16,18,22,43,76,76,76,76 +nl_ci =6,16,20,29,58,78,78,78,78 +ce_lvl =30,30,20,20,20,10,10,10,10 +sp_lvl =130,130,125,120,100,80,80,80,80 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,0,0,0,0,0 +saturation_lvl =128,128,128,128,78,64,64,64,64 +#tmnr_lvl =16,16,16,16,16,16,16,16,16 +tmnr_lvl =16,16,16,20,24,32,32,32,32 +blc_r=-32,-32,-32,-32,-32,-32,-32,-32,-32 +blc_g=-32,-32,-32,-32,-32,-32,-32,-32,-32 +blc_b=-32,-32,-32,-32,-32,-32,-32,-32,-32 + +[DC] +wdr_kn_x = 1024, 2048, 3040, 4000 +wdr_kn_y = 64, 128, 4096, 65535 +wdr_sl = 1, 1, 64, 1024 + +[CO] +## order: R, Gr, Gb, B +ob =-64, -64, -64, -64 + +[LS] +lsc_segrds =14 +lsc_ctr_r =512, 512 +lsc_ctr_gr =512, 512 +lsc_ctr_gb =512, 512 +lsc_ctr_b =512, 512 +lsc_mxtn_r=144,455,455,144,144,455,455,144 +lsc_mxtn_gr=144,455,455,144,144,455,455,144 +lsc_mxtn_gb=144,455,455,144,144,455,455,144 +lsc_mxtn_b=144,455,455,144,144,455,455,144 +lsc_rdsparam_r=257,266,271,275,279,282,286,289,292,295,298,300,303,305,308,311,313,315,318,320,323,325,327,329,331,333,336,338,341,343,347,347,256,264,269,273,276,280,283,286,289,292,295,297,300,302,305,307,310,312,315,317,319,321,323,326,328,330,332,334,337,340,343,343,255,262,266,269,273,276,279,283,286,289,292,294,297,299,301,303,306,308,310,313,315,317,319,322,324,326,328,330,332,335,338,338,254,260,265,269,272,275,278,281,284,286,289,291,294,296,298,300,302,304,306,309,311,313,316,319,321,322,325,326,328,330,333,334,255,261,266,270,274,276,279,282,284,287,289,292,294,297,299,301,303,305,307,310,312,314,316,319,322,324,327,329,331,333,336,337,256,263,268,272,276,279,282,284,287,289,292,294,297,299,301,304,306,309,311,313,315,318,320,323,326,328,330,333,335,337,339,340,257,266,271,276,279,283,286,288,290,292,295,298,300,303,305,308,310,313,315,317,320,322,324,327,330,332,334,337,339,341,344,345,257,266,271,276,280,283,286,289,292,295,298,301,303,306,309,311,314,316,319,321,324,326,328,331,333,335,338,340,343,345,349,349, +lsc_rdsparam_gr=256,265,270,275,278,282,284,287,290,293,295,298,300,303,305,307,310,312,315,317,319,322,324,326,328,329,332,334,336,338,341,342,255,263,268,272,276,279,282,285,288,290,293,295,298,300,302,305,307,309,311,314,316,318,320,322,324,326,328,330,333,335,338,339,254,261,265,269,271,274,277,281,285,287,290,292,295,297,299,301,303,305,307,310,312,314,316,318,320,322,324,326,329,331,334,335,254,260,264,268,271,274,277,279,282,284,287,289,292,294,296,298,300,302,304,306,309,311,313,315,317,319,321,323,325,328,330,331,255,261,265,269,273,276,278,281,283,286,288,290,292,294,297,299,301,304,306,308,310,312,314,317,319,321,324,326,328,331,333,334,255,263,268,272,275,278,280,283,285,288,290,292,295,297,299,302,304,306,309,311,313,315,317,320,322,324,327,329,331,334,336,337,256,265,270,274,278,282,285,287,288,291,293,296,298,301,303,305,307,310,312,314,317,319,321,323,326,328,330,333,335,337,340,341,256,266,271,276,279,283,285,288,291,294,296,299,301,304,306,308,310,313,315,317,320,322,324,327,329,331,334,336,338,340,343,344, +lsc_rdsparam_gb=256,265,270,275,278,282,284,287,290,293,295,298,300,303,305,307,310,312,315,317,319,322,324,326,328,329,332,334,336,338,341,342,255,263,268,272,276,279,282,285,288,290,293,295,298,300,302,305,307,309,311,314,316,318,320,322,324,326,328,330,333,335,338,339,254,261,265,269,271,274,277,281,285,287,290,292,295,297,299,301,303,305,307,310,312,314,316,318,320,322,324,326,329,331,334,335,254,260,264,268,271,274,277,279,282,284,287,289,292,294,296,298,300,302,304,306,309,311,313,315,317,319,321,323,325,328,330,331,255,261,265,269,273,276,278,281,283,286,288,290,292,294,297,299,301,304,306,308,310,312,314,317,319,321,324,326,328,331,333,334,255,263,268,272,275,278,280,283,285,288,290,292,295,297,299,302,304,306,309,311,313,315,317,320,322,324,327,329,331,334,336,337,256,265,270,274,278,282,285,287,288,291,293,296,298,301,303,305,307,310,312,314,317,319,321,323,326,328,330,333,335,337,340,341,256,266,271,276,279,283,285,288,291,294,296,299,301,304,306,308,310,313,315,317,320,322,324,327,329,331,334,336,338,340,343,344, +lsc_rdsparam_b=256,266,271,276,280,283,285,288,291,293,296,299,302,305,308,310,313,315,317,320,322,324,326,328,330,332,334,337,339,341,344,345,255,264,269,273,277,280,282,285,288,290,293,296,298,301,304,306,309,311,313,316,318,320,322,324,326,328,329,332,334,335,338,339,255,261,265,268,272,274,278,281,285,288,290,293,295,298,300,302,305,307,309,311,313,315,317,320,321,323,325,327,329,330,332,333,255,260,265,269,273,275,279,281,284,286,288,290,292,295,297,299,301,303,305,307,309,311,313,316,317,319,321,322,324,325,328,329,256,261,267,271,274,277,280,282,284,287,289,291,294,296,298,300,302,305,307,309,310,311,313,315,317,322,324,326,328,329,332,333,256,263,269,273,277,279,282,284,287,289,292,294,296,299,301,304,306,309,310,312,315,317,319,322,324,327,329,331,333,334,337,338,256,266,271,276,279,283,286,288,290,292,295,297,300,302,305,308,310,313,315,317,320,322,324,327,329,332,334,336,338,340,343,344,256,266,272,277,281,284,287,290,293,295,298,300,303,305,308,311,313,316,319,322,324,326,329,331,333,336,338,340,342,344,347,348, +enable=1 +lsc_adjust=0 +lsc_vepm=1024,0,1024,0,0 + +[DRC] +Virtual_Size=1280x1024 +Virtual_F=1.000000 +Virtual_A=0.200000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +wdr_bghno=5 +wdr_bgvno=5 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=192 +wdr_bghskip=0 +wdr_bgvskip=0 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,286 +wdr_A_value=4032,3848,3579,3269,2958,2667,2410,2189,1844,1601,1429,1305,1213,1144,1092,1050,991,951,924,904,878,862,852,845,840,836,833,831,829,828,827,826 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 +wdr_intensity_blend=5 +wdr_intensity_localmax=0 +wdr_intensity_varth=255 +wdr_max_gain_ratio = 48 +wdr_strength=0 + + +[DRC_WDR] +wdr_bghno=5 +wdr_bgvno=4 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=256 +wdr_bgvo=155 +wdr_bghskip=0 +wdr_bgvskip=1 +wdr_PG_index = 0,769,9,10,1035,28,29,30,31,18,19,20,21,22,23,792 +wdr_PG_value = 256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,4210,8362,16609,32993,65534 +wdr_F_index = 0,1025,785,537,285,28,29,30,31,28,29,30,31,0,0,0 +wdr_F_value = 2233,2273,2310,2346,2380,2412,2443,2472,2500,2527,2553,2579,2603,2626,2649,2671,2692,2770,2841,2905,2963,3017,3067,3113,3157,3307,3431,3535,3625,3900,4096,65535 +wdr_A_index = 768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,30 +wdr_A_value = 3752,3142,2541,2042,1652,1352,1122,944,693,530,418,339,281,237,202,175,136,108,89,74,54,41,33,27,22,19,16,14,12,11,10,127 +wdr_qcoef1 = 2364 +wdr_qcoef2 = 1831 +wdr_qcoef3 = 1548 +wdr_intensity_blend = 5 +wdr_intensity_localmax=0 +wdr_intensity_varth = 255 +wdr_max_gain_ratio = 64 +wdr_strength = 128 + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + +[GM_WDR] +index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 +VirtualType=2 +VirtualGamma=18 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=8 +VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, + +[CE] +ce_bghno_0 = 16 +ce_bgvno_0 = 9 +ce_bghno_1 = 5 +ce_bgvno_1 = 3 +ce_blend = 128 +ce_th = 3 +ce_strength = 20 + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +## order: D65 CWF A +cv_0=77,151,29,-38,-308,346,314,-274,-40 +cv_1=77,151,29,-46,-338,384,385,-275,-109 +cv_2=77,151,29,-72,-491,562,370,-182,-188 + +## default value +#cv_0 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + +[CS] +cs_i1 =12 +cs_i2 =64 +cs_i3 =90 +cs_i4 =135 +cs_o0 =36 +cs_o1 =55 +cs_o4 =54 +cs_slope0 =403 +cs_slope1 =980 +cs_slope3 =1139 +cs_slope4 =114 +cs_cb_th =36 +cs_cr_th =36 + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 +f_number = 11 +const_k = 25205901 +target_y = 120 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +#max ISP gain (125 ~ 65536) +max_isp_gain=128 + +[IRIS] + +[AWB] +awb_th0=5 +awb_th1=245 +awb_th2=87 +awb_th3=254 +awb_th4=-41 +awb_th5=106 +awb_th6=49 +awb_th7=157 +awb_th8=39 +awb_th9=97 +awb_th10=25 +awb_th11=56 +awb_th12=255 +rb_ratio=98,165,271 +target_rg_ratio=980,980,980 +target_bg_ratio=1024,1024,1024 +VirtualMode=0 +VirtualPoints=65,77,59,92,54,110,50,125,46,138,76,57,67,65,0,0,49,82,45,91,107,55,99,57,91,67,76,78,65,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=15,245,87,254,-41,106,49,157,39,97,25,56,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=178,158,221,236,260,266,291,328,234,219,199,194,94,209,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +OffsetThs=20,0,-24,107,46,24,4,39,31,-36,17,14,0, +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=178,158,221,236,260,266 +B_gain=291,328,234,219,199,194 + +outdoor_ev_th=32768 + +#grass region +awb_roi1_enable=0 +awb_roi1_mode=1 +awb_roi1_th0=10 +awb_roi1_th1=200 +awb_roi1_th2=121 +awb_roi1_th3=204 +awb_roi1_th4=-13 +awb_roi1_th5=64 +awb_roi1_th6=62 +awb_roi1_th7=125 +awb_roi1_th8=48 +awb_roi1_th9=87 +awb_roi1_th10=0 +awb_roi1_th11=1023 + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,8,8 +C_Nr_Str=5,5,5,5 +Y_NoiseLevel_0 =1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 +Cb_NoiseLevel_0=1,1,1,1 +Cr_NoiseLevel_0=1,1,1,1 +Y_NoiseLevel_1 =46,61,63,48,30,25,20,18,34,45,47,36,22,18,15,13,23,30,31,24,15,12,10,9,11,15,15,12,7,6,5,4 +Cb_NoiseLevel_1=1,1,1,1 +Cr_NoiseLevel_1=1,1,1,1 +Y_NoiseLevel_2 =36,56,53,41,36,28,20,11,27,42,39,30,27,21,15,8,18,28,26,20,18,14,10,5,9,14,13,10,9,7,5,2 +Cb_NoiseLevel_2=1,1,1,1 +Cr_NoiseLevel_2=1,1,1,1 +Y_NoiseLevel_3 =57,88,95,75,61,44,30,20,42,66,71,56,45,33,22,15,28,44,47,37,30,22,15,10,14,22,23,18,15,11,7,5 +Cb_NoiseLevel_3=96,72,48,24 +Cr_NoiseLevel_3=96,72,48,24 +Y_NoiseLevel_4 =111,169,183,139,106,91,76,48,83,126,137,104,79,68,57,36,55,84,91,69,53,45,38,24,27,42,45,34,26,22,19,12 +Cb_NoiseLevel_4=242,181,121,60 +Cr_NoiseLevel_4=242,181,121,60 +Y_NoiseLevel_5 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_5=276,207,138,69 +Cr_NoiseLevel_5=287,215,143,71 +Y_NoiseLevel_6 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_6=276,207,138,69 +Cr_NoiseLevel_6=287,215,143,71 +Y_NoiseLevel_7 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_7=276,207,138,69 +Cr_NoiseLevel_7=287,215,143,71 +Y_NoiseLevel_8 =258,269,268,253,224,215,193,182,193,201,201,189,168,161,144,136,129,134,134,126,112,107,96,91,64,67,67,63,56,53,48,45 +Cb_NoiseLevel_8=276,207,138,69 +Cr_NoiseLevel_8=287,215,143,71 + + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 +[CC] +cc_0=256,0,0,0,256,0,0,0,256 +cc_1=256,0,0,0,256,0,0,0,256 +cc_2=256,0,0,0,256,0,0,0,256 +enable=0 diff --git a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ps5230.cfg b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ps5230.cfg old mode 100644 new mode 100755 index ac8c6de3..d2993f23 --- a/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ps5230.cfg +++ b/general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ps5230.cfg @@ -1,279 +1,362 @@ -[INFO] -ISP=ISP328 -version = 1.0.0.0 -sensor = PS5230 -lens = - -[USER] -brightness =128 -contrast =128 -sharpness =128 -hue=128 -saturation =128 -denoise =128 -adjust_blc =0 -adjust_nr =1 -adjust_gamma =0 -adjust_sat =1 -adjust_ce = 1 -adjust_cc = 1 - -[ADJ] -gain_th =96,128,256,512,1024,2048,2048,2048,2048 -gamma_idx =4,4,4,4,4,4,4,4,4 -nl_dpc =0,0,0,20,50,160,200,220,220 -nl_raw =0,6,12,16,32,55,55,55,55 -nl_ctk =0,6,12,16,32,60,60,60,60 -nl_ci =2,8,18,20,39,70,70,70,70 -ce_lvl =40,30,15,15,10,0,0,0,0 -sp_lvl =110,110,110,110,100,90,90,90,90 -sp_nr_lvl=0,0,0,0,0,0,0,0,0 -sp_clip_lvl=0,0,0,0,0,0,0,0,0 -saturation_lvl =128,128,128,110,70,50,50,30,30 -tmnr_lvl =16,20,20,28,38,64,64,64,64 -blc_r=-80,-80,-80,-80,-80,-80,-80,-80,-80 -blc_g=-80,-80,-80,-80,-80,-80,-80,-80,-80 -blc_b=-80,-80,-80,-80,-80,-80,-80,-80,-80 - -[DC] -wdr_kn_x = 1024, 2560, 3456, 3968 -wdr_kn_y = 1024, 4096, 32768, 65536 -wdr_sl = 16, 32, 512, 1024 -bit_width=16 -enable=0 - -[CO] -## order: R, Gr, Gb, B -ob =0, 0, 0, 0 - -[LS] -enable =1 -lsc_ctr_r=515, 497 -lsc_ctr_gr=515, 497 -lsc_ctr_gb=515, 497 -lsc_ctr_b=515, 497 -lsc_segrds=16 -lsc_mxtn_r=139,471,466,140,149,439,444,147 -lsc_mxtn_gr=139,471,466,140,149,439,444,147 -lsc_mxtn_gb=139,471,466,140,149,439,444,147 -lsc_mxtn_b=139,471,466,140,149,439,444,147 -lsc_rdsparam_r=255,274,286,297,307,317,327,338,349,361,374,388,401,414,427,454,499,572,630,687,743,799,854,909,964,1019,1074,1129,1184,1236,1295,1322,256,274,286,298,308,318,328,339,351,363,376,390,404,419,435,471,535,647,726,804,878,951,1024,1096,1168,1240,1312,1384,1456,1525,1602,1638,254,273,285,296,305,314,324,334,345,356,368,380,394,408,424,450,490,557,604,648,691,733,774,816,857,899,940,981,1023,1062,1107,1127,253,270,281,292,301,311,320,329,339,349,360,371,384,398,413,427,442,461,474,485,496,507,518,529,539,550,561,572,582,593,605,610,253,269,280,290,299,308,317,326,335,345,355,366,378,391,404,417,430,448,466,484,503,521,540,558,577,595,614,632,651,668,688,697,253,268,279,289,299,308,317,326,335,343,353,363,374,385,397,410,425,446,472,499,528,557,586,615,644,673,702,731,760,787,817,832,253,270,281,291,300,311,320,330,339,349,360,371,383,395,407,420,437,461,489,518,548,579,610,641,672,703,734,765,796,825,857,872,254,272,284,295,305,314,323,334,344,355,367,380,393,405,417,433,455,484,516,550,584,618,652,687,721,755,789,823,858,890,926,943, -lsc_rdsparam_gr=254,272,283,294,304,313,322,332,343,354,366,379,391,404,418,443,488,561,617,671,724,777,829,881,933,985,1037,1089,1141,1190,1245,1271,254,273,284,295,304,313,323,334,345,356,368,381,395,409,425,461,525,636,714,790,860,931,1001,1070,1140,1210,1280,1349,1419,1484,1558,1592,253,271,282,293,301,310,319,329,339,349,360,373,386,399,415,440,481,549,600,650,697,745,792,839,886,933,980,1027,1075,1119,1169,1192,252,268,278,289,298,307,316,325,334,343,353,365,377,390,405,419,434,456,479,502,526,550,574,598,622,646,670,694,718,739,765,777,252,267,277,287,296,304,313,321,329,338,348,359,371,383,396,408,422,441,463,486,511,536,560,585,610,635,659,685,709,732,759,771,252,266,276,286,295,303,312,321,329,337,346,357,367,378,389,401,416,436,461,486,514,542,570,597,625,653,680,708,736,762,791,805,253,268,279,289,298,307,316,325,334,343,353,364,375,387,398,410,427,449,475,503,531,559,588,616,645,673,702,730,759,786,816,830,253,270,281,291,301,310,319,328,338,348,360,372,384,395,408,422,443,473,503,534,565,597,628,660,692,724,755,787,818,848,882,898, -lsc_rdsparam_gb=254,272,283,294,304,313,322,332,343,354,366,379,391,404,418,443,488,561,617,671,724,777,829,881,933,985,1037,1089,1141,1190,1245,1271,254,273,284,295,304,313,323,334,345,356,368,381,395,409,425,461,525,636,714,790,860,931,1001,1070,1140,1210,1280,1349,1419,1484,1558,1592,253,271,282,293,301,310,319,329,339,349,360,373,386,399,415,440,481,549,600,650,697,745,792,839,886,933,980,1027,1075,1119,1169,1192,252,268,278,289,298,307,316,325,334,343,353,365,377,390,405,419,434,456,479,502,526,550,574,598,622,646,670,694,718,739,765,777,252,267,277,287,296,304,313,321,329,338,348,359,371,383,396,408,422,441,463,486,511,536,560,585,610,635,659,685,709,732,759,771,252,266,276,286,295,303,312,321,329,337,346,357,367,378,389,401,416,436,461,486,514,542,570,597,625,653,680,708,736,762,791,805,253,268,279,289,298,307,316,325,334,343,353,364,375,387,398,410,427,449,475,503,531,559,588,616,645,673,702,730,759,786,816,830,253,270,281,291,301,310,319,328,338,348,360,372,384,395,408,422,443,473,503,534,565,597,628,660,692,724,755,787,818,848,882,898, -lsc_rdsparam_b=254,273,285,295,305,314,323,333,344,355,367,380,393,406,419,444,491,568,625,681,735,789,842,895,948,1001,1054,1107,1160,1211,1267,1293,254,273,285,296,305,314,324,334,345,357,368,381,394,408,424,461,529,646,722,796,865,933,1000,1067,1133,1200,1266,1333,1400,1463,1534,1567,254,271,283,294,303,311,320,330,340,351,361,374,386,400,416,442,485,556,606,655,700,746,791,835,880,925,969,1014,1059,1101,1149,1171,254,269,280,290,299,308,317,326,335,345,355,367,379,393,408,422,438,461,483,507,530,553,576,599,622,645,667,690,713,735,759,771,253,268,279,289,298,307,315,324,332,341,352,363,375,387,401,413,428,449,472,496,522,547,573,598,623,649,674,700,725,748,776,788,253,268,278,288,297,306,315,324,332,341,350,360,372,383,395,408,423,446,474,503,533,564,595,625,656,686,717,748,778,807,840,854,253,270,280,290,300,309,318,327,335,345,355,366,378,389,401,414,432,457,487,518,551,584,617,650,683,715,748,781,814,845,880,896,253,272,283,293,303,312,320,330,339,349,361,373,385,397,409,424,446,478,512,547,584,621,657,694,731,767,804,840,877,912,950,968, -lsc_adjust=0 -lsc_vepm=1024,0,1024,0,0 - -[DRC] -Virtual_Size=1920x1080 -Virtual_F=1.000000 -Virtual_F_Contrast=1.000000 -Virtual_A=0.300000 -Virtual_A_Min=0.200000 -Virtual_PreGamma=100 -Virtual_PG_Black=0 -Virtual_PG_Contrast=100 -Virtual_F_Manual=0 -wdr_bghno=8 -wdr_bgvno=7 -wdr_bgw2=8 -wdr_bgh2=8 -wdr_bgho=238 -wdr_bgvo=138 -wdr_bghskip=2 -wdr_bgvskip=4 -wdr_intensity_blend=0 -wdr_intensity_localmax=0 -wdr_intensity_varth=16 -wdr_strength=0 -wdr_max_gain_ratio=48 -wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 -wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 -wdr_A_index=0,1,770,522,526,274,276,22,23,24,25,26,27,28,29,286 -wdr_A_value=2721,1545,1470,1405,1348,1298,1254,1215,1181,1151,1100,1060,1027,1000,978,959,943,930,909,893,881,871,858,849,842,838,834,832,830,828,827,826 -wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 -wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 -Virtual_F_Manual=0 - -[DRC_WDR] -wdr_bghno=5 -wdr_bgvno=4 -wdr_bgw2=8 -wdr_bgh2=8 -wdr_bgho=256 -wdr_bgvo=155 -wdr_bghskip=0 -wdr_bgvskip=1 -wdr_PG_index = 0,769,9,10,1035,28,29,30,31,18,19,20,21,22,23,792 -wdr_PG_value = 256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,4210,8362,16609,32993,65534 -wdr_F_index = 0,1025,785,537,285,28,29,30,31,28,29,30,31,0,0,0 -wdr_F_value = 2233,2273,2310,2346,2380,2412,2443,2472,2500,2527,2553,2579,2603,2626,2649,2671,2692,2770,2841,2905,2963,3017,3067,3113,3157,3307,3431,3535,3625,3900,4096,65535 -wdr_A_index = 768,520,524,272,274,20,21,22,23,24,25,26,27,28,29,30 -wdr_A_value = 3752,3142,2541,2042,1652,1352,1122,944,693,530,418,339,281,237,202,175,136,108,89,74,54,41,33,27,22,19,16,14,12,11,10,127 -wdr_qcoef1 = 2364 -wdr_qcoef2 = 1831 -wdr_qcoef3 = 1548 -wdr_intensity_blend = 5 -wdr_intensity_localmax=0 -wdr_intensity_varth = 255 -wdr_max_gain_ratio = 48 -wdr_strength = 128 - -[GM] -VirtualType=2 -VirtualGamma=23 -VirtualBlack=0 -VirtualContrast=100 -VirtualControlNum=11 -VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, -index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 -value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 - -[GM_WDR] -index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c -value =1,4,6,8,11,14,17,20,35,52,68,82,109,128,145,161,176,190,202,213,223,232,236,240,242,244,246,248,250,251,253,255 -VirtualType=2 -VirtualGamma=18 -VirtualBlack=0 -VirtualContrast=100 -VirtualControlNum=8 -VirtualControls=0,0,277,24,516,51,792,85,1136,118,2139,181,3351,234,4096,255, - -[CE] -ce_bghno_0 = 16 -ce_bgvno_0 = 9 -ce_bghno_1 = 5 -ce_bgvno_1 = 3 -ce_blend = 239 -ce_th = 3 -ce_strength = 20 - -[CI] -edge_dth = 20 -freq_th = 320 -freq_blend = 16 - -[CV] -## order: D65 CWF A -cv_0=77,151,29,-44,-305,349,240,-240,0 -cv_1=77,151,29,-51,-399,450,316,-234,-82 -cv_2=77,151,29,-94,-595,689,354,-194,-160 - -[IA] -ia_contrast_mode=0 -ia_colorize_u=12 -ia_colorize_v=6 -ia_offset_u=0 -ia_offset_v=0 -ia_hue=4,0,0,2,5,1,3,0 -ia_saturation=124,118,131,107,105,114,111,131 -ia_poster_th=160,208,104,180 -ia_poster_y=90,173,214,107 - -[CS] -cs_i1 =12 -cs_i2 =64 -cs_i3 =90 -cs_i4 =135 -cs_o0 =36 -cs_o1 =55 -cs_o4 =54 -cs_slope0 =403 -cs_slope1 =980 -cs_slope3 =1139 -cs_slope4 =114 -cs_cb_th =36 -cs_cr_th =18 - -[AE] -## f_number table: -# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 -#------------------------------------------------------------------------------------- -# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 -f_number = 10 -const_k = 25205901 -target_y = 120 -#speed 0 ~ 128 -speed=128 -#converge_th 5~20 -converge_th=10 -#delay 0 ~ 5 -delay = 2 -#auto_drc 0 ~ 10 (strength) -auto_drc=0 -auto_contrast=0 -#max ISP gain (125 ~ 65536) -max_isp_gain=256 - -[IRIS] - -[AWB] -VirtualMode=0 -VirtualPoints=67,86,59,99,52,124,50,130,48,149,119,44,104,52,89,68,77,71,68,87,115,50,95,56,80,74,72,79,65,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -VirtualThs=15,245,79,270,-50,114,38,168,42,102,35,62,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, -VirutalGainRatio=167,143,240,250,210,296,260,302,181,173,207,146,118,98,305,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -awb_th0=5 -awb_th1=245 -awb_th2=77 -awb_th3=274 -awb_th4=-57 -awb_th5=120 -awb_th6=43 -awb_th7=183 -awb_th8=35 -awb_th9=111 -awb_th10=31 -awb_th11=114 -awb_th12=255 -rb_ratio=119,212,318 -target_rg_ratio=1024,1024,1024 -target_bg_ratio=1024,1024,1024 -VirtualXPoints=73,64,59,55,52,80,67,60,52,46,0,0,0,0,0,130,107,93,80,70 -VirtualYPoints=117,137,167,191,212,82,93,111,123,135,0,0,0,0,0,70,82,99,116,133 -#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE -R_gain=156,133,187,198,212,229 -B_gain=302,355,252,238,223,205 -outdoor_ev_th=62768 -[AF] - -[MRNR] -G1_Y_Freq=30,22,19,16 -G1_Y_Tone=13,19,19,13 -G1_C=26,26,26,26 -G2_Y=144 -G2_C=144 -Y_Nr_Str=8,8,8,8 -C_Nr_Str=5,5,5,5 -Y_NoiseLevel_0 =29,30,29,28,27,26,26,25,21,22,21,21,20,19,19,18,14,15,14,14,13,13,13,12,7,7,7,7,6,6,6,6 -Cb_NoiseLevel_0=1,1,1,1 -Cr_NoiseLevel_0=1,1,1,1 -Y_NoiseLevel_1 =45,58,56,40,20,20,20,19,33,43,42,30,15,15,15,14,22,29,28,20,10,10,10,9,11,14,14,10,5,5,5,4 -Cb_NoiseLevel_1=1,1,1,1 -Cr_NoiseLevel_1=1,1,1,1 -Y_NoiseLevel_2 =99,111,105,90,69,59,54,44,75,84,79,72,55,47,43,33,51,57,54,54,41,35,32,23,27,30,28,36,28,24,22,13 -Cb_NoiseLevel_2=1,1,1,1 -Cr_NoiseLevel_2=1,1,1,1 -Y_NoiseLevel_3 =102,126,112,87,75,72,58,43,76,94,84,65,56,54,43,32,51,63,56,43,37,36,29,21,25,31,28,21,18,18,14,10 -Cb_NoiseLevel_3=1,1,1,1 -Cr_NoiseLevel_3=1,1,1,1 -Y_NoiseLevel_4 =374,423,423,351,271,261,232,201,293,332,332,277,216,209,187,164,214,240,240,203,163,158,143,129,135,148,148,129,110,106,100,92 -Cb_NoiseLevel_4=100,75,50,25 -Cr_NoiseLevel_4=100,75,50,25 -Y_NoiseLevel_5 =522,577,549,473,412,390,363,338,398,438,417,360,314,298,277,260,273,300,286,248,218,206,193,181,148,162,154,135,120,114,108,102 -Cb_NoiseLevel_5=225,168,112,56 -Cr_NoiseLevel_5=225,168,112,56 -Y_NoiseLevel_6 =522,577,549,473,412,390,363,338,398,438,417,360,314,298,277,260,273,300,286,248,218,206,193,181,148,162,154,135,120,114,108,102 -Cb_NoiseLevel_6=225,168,112,56 -Cr_NoiseLevel_6=225,168,112,56 -Y_NoiseLevel_7 =522,577,549,473,412,390,363,338,398,438,417,360,314,298,277,260,273,300,286,248,218,206,193,181,148,162,154,135,120,114,108,102 -Cb_NoiseLevel_7=225,168,112,56 -Cr_NoiseLevel_7=225,168,112,56 -Y_NoiseLevel_8 =522,577,549,473,412,390,363,338,398,438,417,360,314,298,277,260,273,300,286,248,218,206,193,181,148,162,154,135,120,114,108,102 -Cb_NoiseLevel_8=225,168,112,56 -Cr_NoiseLevel_8=225,168,112,56 - -[SHARPEN] -BrightHaloClip=128 -DarkHaloClip=128 -PeakingGain=16 - +[INFO] +ISP=ISP328 +version = 1.0.0.0 +sensor = PS5230 +lens = + +[USER] +brightness =128 +contrast =128 +sharpness =128 +hue=128 +saturation =128 +denoise =128 +adjust_blc =0 +adjust_nr =1 +adjust_gamma =0 +adjust_sat =1 +adjust_ce = 1 +adjust_cc = 1 + +[ADJ] +gain_th =96,128,256,512,1024,2048,2730,2730,2730 +gamma_idx =4,4,4,4,4,4,4,4,4 +nl_dpc =0,0,0,16,20,111,147,147,147 +nl_raw =0,3,7,12,20,50,55,55,55 +nl_ctk =0,3,7,12,15,30,50,50,50 +nl_ci =0,3,8,20,25,70,110,110,110 +ce_lvl =20,20,20,15,15,10,10,10,10 +sp_lvl =120,120,120,110,100,90,80,80,80 +sp_nr_lvl=0,0,0,0,0,0,0,0,0 +sp_clip_lvl=0,0,0,0,0,0,0,0,0 +saturation_lvl =128,128,128,80,80,50,30,30,30 +tmnr_lvl =6,10,16,28,32,42,64,64,64 +blc_r=-80,-80,-80,-80,-80,-80,-80,-80,-80 +blc_g=-80,-80,-80,-80,-80,-80,-80,-80,-80 +blc_b=-80,-80,-80,-80,-80,-80,-80,-80,-80 + +[DC] +wdr_kn_x = 1024, 2560, 3456, 3968 +wdr_kn_y = 1024, 4096, 32768, 65536 +wdr_sl = 16, 32, 512, 1024 +bit_width=16 +enable=0 + +[CO] +## order: R, Gr, Gb, B +ob =-4, 0, 0, -4 + +[LS] +enable =1 +lsc_ctr_r=515, 497 +lsc_ctr_gr=515, 497 +lsc_ctr_gb=515, 497 +lsc_ctr_b=515, 497 +lsc_segrds=16 +lsc_mxtn_r=139,471,466,140,149,439,444,147 +lsc_mxtn_gr=139,471,466,140,149,439,444,147 +lsc_mxtn_gb=139,471,466,140,149,439,444,147 +lsc_mxtn_b=139,471,466,140,149,439,444,147 +lsc_rdsparam_r=255,274,286,297,307,317,327,338,349,361,374,388,401,414,427,454,499,572,630,687,743,799,854,909,964,1019,1074,1129,1184,1236,1295,1322,256,274,286,298,308,318,328,339,351,363,376,390,404,419,435,471,535,647,726,804,878,951,1024,1096,1168,1240,1312,1384,1456,1525,1602,1638,254,273,285,296,305,314,324,334,345,356,368,380,394,408,424,450,490,557,604,648,691,733,774,816,857,899,940,981,1023,1062,1107,1127,253,270,281,292,301,311,320,329,339,349,360,371,384,398,413,427,442,461,474,485,496,507,518,529,539,550,561,572,582,593,605,610,253,269,280,290,299,308,317,326,335,345,355,366,378,391,404,417,430,448,466,484,503,521,540,558,577,595,614,632,651,668,688,697,253,268,279,289,299,308,317,326,335,343,353,363,374,385,397,410,425,446,472,499,528,557,586,615,644,673,702,731,760,787,817,832,253,270,281,291,300,311,320,330,339,349,360,371,383,395,407,420,437,461,489,518,548,579,610,641,672,703,734,765,796,825,857,872,254,272,284,295,305,314,323,334,344,355,367,380,393,405,417,433,455,484,516,550,584,618,652,687,721,755,789,823,858,890,926,943, +lsc_rdsparam_gr=254,272,283,294,304,313,322,332,343,354,366,379,391,404,418,443,488,561,617,671,724,777,829,881,933,985,1037,1089,1141,1190,1245,1271,254,273,284,295,304,313,323,334,345,356,368,381,395,409,425,461,525,636,714,790,860,931,1001,1070,1140,1210,1280,1349,1419,1484,1558,1592,253,271,282,293,301,310,319,329,339,349,360,373,386,399,415,440,481,549,600,650,697,745,792,839,886,933,980,1027,1075,1119,1169,1192,252,268,278,289,298,307,316,325,334,343,353,365,377,390,405,419,434,456,479,502,526,550,574,598,622,646,670,694,718,739,765,777,252,267,277,287,296,304,313,321,329,338,348,359,371,383,396,408,422,441,463,486,511,536,560,585,610,635,659,685,709,732,759,771,252,266,276,286,295,303,312,321,329,337,346,357,367,378,389,401,416,436,461,486,514,542,570,597,625,653,680,708,736,762,791,805,253,268,279,289,298,307,316,325,334,343,353,364,375,387,398,410,427,449,475,503,531,559,588,616,645,673,702,730,759,786,816,830,253,270,281,291,301,310,319,328,338,348,360,372,384,395,408,422,443,473,503,534,565,597,628,660,692,724,755,787,818,848,882,898, +lsc_rdsparam_gb=254,272,283,294,304,313,322,332,343,354,366,379,391,404,418,443,488,561,617,671,724,777,829,881,933,985,1037,1089,1141,1190,1245,1271,254,273,284,295,304,313,323,334,345,356,368,381,395,409,425,461,525,636,714,790,860,931,1001,1070,1140,1210,1280,1349,1419,1484,1558,1592,253,271,282,293,301,310,319,329,339,349,360,373,386,399,415,440,481,549,600,650,697,745,792,839,886,933,980,1027,1075,1119,1169,1192,252,268,278,289,298,307,316,325,334,343,353,365,377,390,405,419,434,456,479,502,526,550,574,598,622,646,670,694,718,739,765,777,252,267,277,287,296,304,313,321,329,338,348,359,371,383,396,408,422,441,463,486,511,536,560,585,610,635,659,685,709,732,759,771,252,266,276,286,295,303,312,321,329,337,346,357,367,378,389,401,416,436,461,486,514,542,570,597,625,653,680,708,736,762,791,805,253,268,279,289,298,307,316,325,334,343,353,364,375,387,398,410,427,449,475,503,531,559,588,616,645,673,702,730,759,786,816,830,253,270,281,291,301,310,319,328,338,348,360,372,384,395,408,422,443,473,503,534,565,597,628,660,692,724,755,787,818,848,882,898, +lsc_rdsparam_b=254,273,285,295,305,314,323,333,344,355,367,380,393,406,419,444,491,568,625,681,735,789,842,895,948,1001,1054,1107,1160,1211,1267,1293,254,273,285,296,305,314,324,334,345,357,368,381,394,408,424,461,529,646,722,796,865,933,1000,1067,1133,1200,1266,1333,1400,1463,1534,1567,254,271,283,294,303,311,320,330,340,351,361,374,386,400,416,442,485,556,606,655,700,746,791,835,880,925,969,1014,1059,1101,1149,1171,254,269,280,290,299,308,317,326,335,345,355,367,379,393,408,422,438,461,483,507,530,553,576,599,622,645,667,690,713,735,759,771,253,268,279,289,298,307,315,324,332,341,352,363,375,387,401,413,428,449,472,496,522,547,573,598,623,649,674,700,725,748,776,788,253,268,278,288,297,306,315,324,332,341,350,360,372,383,395,408,423,446,474,503,533,564,595,625,656,686,717,748,778,807,840,854,253,270,280,290,300,309,318,327,335,345,355,366,378,389,401,414,432,457,487,518,551,584,617,650,683,715,748,781,814,845,880,896,253,272,283,293,303,312,320,330,339,349,361,373,385,397,409,424,446,478,512,547,584,621,657,694,731,767,804,840,877,912,950,968, +lsc_adjust=0 +lsc_vepm=1024,0,1024,0,0 + +[DRC] +Virtual_Size=1920x1080 +Virtual_F=1.000000 +Virtual_F_Contrast=1.000000 +Virtual_A=0.300000 +Virtual_A_Min=0.200000 +Virtual_PreGamma=100 +Virtual_PG_Black=0 +Virtual_PG_Contrast=100 +Virtual_F_Manual=0 +wdr_bghno=8 +wdr_bgvno=7 +wdr_bgw2=8 +wdr_bgh2=8 +wdr_bgho=238 +wdr_bgvo=138 +wdr_bghskip=2 +wdr_bgvskip=4 +wdr_intensity_blend=0 +wdr_intensity_localmax=0 +wdr_intensity_varth=16 +wdr_strength=0 +wdr_max_gain_ratio=48 +wdr_F_index=0,1,2,3,1028,0,0,0,0,0,0,0,0,0,0,0 +wdr_F_value=256,512,1024,2048,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3840,3968,4096,0,0,0,0,0,0,0,0,0,0,0,0 +wdr_A_index=0,1,770,522,526,274,276,22,23,24,25,26,27,28,29,286 +wdr_A_value=2721,1545,1470,1405,1348,1298,1254,1215,1181,1151,1100,1060,1027,1000,978,959,943,930,909,893,881,871,858,849,842,838,834,832,830,828,827,826 +wdr_PG_index=0,769,9,10,1035,0,0,0,0,0,0,0,0,0,0,0 +wdr_PG_value=256,288,319,351,383,415,447,479,511,1023,2047,2176,2304,2432,2560,2688,2816,2944,3072,3200,3328,3456,3584,3712,3839,3967,4095,0,0,0,0,0 + + +[GM] +#index =0x300,0x108,0x10a,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x116,0x218,0x21c +#value = 6,12,18,25,31,37,43,49,71,92,106,117,135,150,163,174,185,195,205,215,224,232,236,240,242,244,246,248,249,251,253,255 +#VirtualType=2 +#VirtualGamma=23 +#VirtualBlack=0 +#VirtualContrast=100 +#VirtualControlNum=9 +#VirtualControls=0,0,191,38,315,61,516,93,840,122,1404,157,2330,196,3265,231,4096,255, + +VirtualType=2 +VirtualGamma=23 +VirtualBlack=0 +VirtualContrast=100 +VirtualControlNum=11 +VirtualControls=0,0,158,39,307,63,564,93,881,120,1415,152,2345,193,2889,210,3443,228,3720,236,4096,246, +index=0x200,0x104,0x206,0xa,0xb,0xc,0xd,0xe,0x10f,0x111,0x13,0x14,0x15,0x16,0x17,0x318 +value=22,36,47,57,74,89,95,101,107,112,130,145,158,170,181,186,192,196,200,208,216,224,232,240,241,241,242,243,244,245,245,246 + + +[CI] +edge_dth = 20 +freq_th = 320 +freq_blend = 16 + + +[CV] +## order: D65 CWF A +cv_0=77,151,29,-45,-367,411,305,-300,-5 +cv_1=77,151,29,-58,-403,461,389,-293,-97 +cv_2=77,151,29,-87,-563,650,371,-193,-179 + + +## default value +#cv_0 = 76,150,30,-51, -84,128,128,-108,-20 +#cv_1 = 76,150,30,-44,-84,128,128,-108,-20 +#cv_2 = 76,150,30,-44,-84,128,128,-108,-20 + +[IA] +ia_contrast_mode =0 +ia_colorize_u =12 +ia_colorize_v =6 +ia_offset_u =0 +ia_offset_v =0 +ia_hue =0,0,0,0,0,0,0,0 +ia_saturation =128,128,128,128,128,128,128,128 +ia_poster_th =160,208,104,180 +ia_poster_y =90,173,214,107 + +[CS] +cs_i1 =12 +cs_i2 =64 +cs_i3 =90 +cs_i4 =135 +cs_o0 =36 +cs_o1 =55 +cs_o4 =54 +cs_slope0 =403 +cs_slope1 =980 +cs_slope3 =1139 +cs_slope4 =114 +cs_cb_th =36 +cs_cr_th =18 + +[AE] +## f_number table: +# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 +#------------------------------------------------------------------------------------- +# 1.0 1.1 1.2 1.3 1.4 1.5 1.7 1.8 2.0 2.2 2.5 2.8 3.2 3.5 4.0 4.5 5.0 5.6 6.3 7.1 8.0 +f_number = 11 +const_k = 25205901 +target_y =110 +#speed 0 ~ 128 +speed=128 +#converge_th 5~20 +converge_th=10 +#delay 0 ~ 5 +delay = 2 +#auto_drc 0 ~ 10 (strength) +auto_drc=0 +auto_contrast=0 +#max ISP gain (125 ~ 65536) +max_isp_gain=256 + +[IRIS] +kp=5 +ki=1 +kd=2 +balance_ratio=512 + +[AWB] +awb_th0=10 +awb_th1=245 +awb_th2=77 +awb_th3=274 +awb_th4=-40 +awb_th5=136 +awb_th6=43 +awb_th7=183 +awb_th8=35 +awb_th9=92 +awb_th10=28 +awb_th11=65 +awb_th12=255 +rb_ratio=126,215,331 +target_rg_ratio=980,980,980 +target_bg_ratio=1024,1024,1024 +VirtualXPoints=73,64,59,55,52,80,67,60,52,46,0,0,0,0,0,130,107,93,80,70 +VirtualYPoints=117,137,167,191,212,82,93,111,123,135,0,0,0,0,0,70,82,99,116,133 +#scene mode:=AUTO, INCANDESCENT_LIGHT, SUN_LIGHT, CLOUDY, COOL_LIGHT, SUN_SHADE +R_gain=156,133,187,198,212,229 +B_gain=302,355,252,238,223,205 + +outdoor_ev_th=62768 + +#grass region +awb_roi1_enable=0 +awb_roi1_mode=1 +awb_roi1_th0=10 +awb_roi1_th1=200 +awb_roi1_th2=115 +awb_roi1_th3=204 +awb_roi1_th4=-13 +awb_roi1_th5=76 +awb_roi1_th6=60 +awb_roi1_th7=136 +awb_roi1_th8=39 +awb_roi1_th9=96 +awb_roi1_th10=0 +awb_roi1_th11=1023 +VirtualMode=0 +VirtualPoints=59,90,54,107,50,128,46,148,43,164,69,63,59,74,53,88,46,97,41,107,101,49,86,61,76,75,66,88,59,102,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +VirtualThs=15,245,77,274,-40,136,43,183,35,92,28,65,255,10,245,120,220,-79,139,51,178,26,146,18,77,255, +VirutalGainRatio=156,133,187,198,212,229,302,355,252,238,223,205,126,213,328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, + +[AF] + +[MRNR] +G1_Y_Freq=30,22,19,16 +G1_Y_Tone=13,19,19,13 +G1_C=26,26,26,26 +G2_Y=144 +G2_C=144 +Y_Nr_Str=8,8,8,8 +C_Nr_Str=5,5,5,5 +Y_NoiseLevel_0 =29,30,29,28,27,26,26,25,21,22,21,21,20,19,19,18,14,15,14,14,13,13,13,12,7,7,7,7,6,6,6,6 +Cb_NoiseLevel_0=1,1,1,1 +Cr_NoiseLevel_0=1,1,1,1 +Y_NoiseLevel_1 =45,58,56,40,20,20,20,19,33,43,42,30,15,15,15,14,22,29,28,20,10,10,10,9,11,14,14,10,5,5,5,4 +Cb_NoiseLevel_1=1,1,1,1 +Cr_NoiseLevel_1=1,1,1,1 +Y_NoiseLevel_2 =99,111,105,90,69,59,54,44,75,84,79,72,55,47,43,33,51,57,54,54,41,35,32,23,27,30,28,36,28,24,22,13 +Cb_NoiseLevel_2=1,1,1,1 +Cr_NoiseLevel_2=1,1,1,1 +Y_NoiseLevel_3 =105,129,115,90,78,75,61,46,79,97,87,68,59,57,46,35,54,66,59,46,40,39,32,24,28,34,31,24,21,21,17,13 +Cb_NoiseLevel_3=1,1,1,1 +Cr_NoiseLevel_3=1,1,1,1 +Y_NoiseLevel_4 =374,423,423,351,271,261,232,201,293,332,332,277,216,209,187,164,214,240,240,203,163,158,143,129,135,148,148,129,110,106,100,92 +Cb_NoiseLevel_4=100,75,50,25 +Cr_NoiseLevel_4=100,75,50,25 +Y_NoiseLevel_5 =522,577,549,473,412,390,363,338,398,438,417,360,314,298,277,260,273,300,286,248,218,206,193,181,148,162,154,135,120,114,108,102 +Cb_NoiseLevel_5=225,168,112,56 +Cr_NoiseLevel_5=225,168,112,56 +Y_NoiseLevel_6 =622,677,649,573,512,490,463,438,498,538,517,460,414,398,377,360,373,400,386,348,318,306,293,281,248,262,254,235,220,214,208,202 +Cb_NoiseLevel_6=484,387,290,193 +Cr_NoiseLevel_6=484,387,290,193 +Y_NoiseLevel_7 =622,677,649,573,512,490,463,438,498,538,517,460,414,398,377,360,373,400,386,348,318,306,293,281,248,262,254,235,220,214,208,202 +Cb_NoiseLevel_7=484,387,290,193 +Cr_NoiseLevel_7=484,387,290,193 +Y_NoiseLevel_8 =622,677,649,573,512,490,463,438,498,538,517,460,414,398,377,360,373,400,386,348,318,306,293,281,248,262,254,235,220,214,208,202 +Cb_NoiseLevel_8=484,387,290,193 +Cr_NoiseLevel_8=484,387,290,193 + +[SHARPEN] +BrightHaloClip=128 +DarkHaloClip=128 +PeakingGain=16 +#[AWB_M2] +VirtualPoints0=0x191f10,0x4d5e32,0x1a3f2f,0x142510,0x2b4d3c,0x318950,0x55481a,0x143334,0x45331d,0x101815,0x41782b,0x5e6622,0x0a1d21,0x18451c,0x352010,0x6e8d2c,0x423a2d,0x134c39,0x89ed8d,0x5da363,0x39673f,0x1f3922,0x0f1c10,0x060d07, +VirtualPoints1=0x181e10,0x495a2f,0x1a3c2e,0x132410,0x294a3a,0x2f824c,0x504419,0x133031,0x41301c,0x0f1714,0x3e7229,0x5a6120,0x0a1c1f,0x18431c,0x331f0f,0x69862a,0x3f372c,0x134837,0x83e187,0x599b5e,0x36623c,0x1d3620,0x0f1a0f,0x050c06, +VirtualPoints2=0x1c200f,0x545d2e,0x1d3c2a,0x16250f,0x304a35,0x338245,0x5d4b1a,0x16302d,0x4c341a,0x121811,0x457728,0x676821,0x0b1b1c,0x1a441a,0x3b2210,0x798f2c,0x4a3928,0x154530,0x95e77d,0x659f56,0x3f6436,0x23371d,0x111b0f,0x070d06, +VirtualPoints3=0x2c280f,0x857730,0x2e4a2a,0x243511,0x465931,0x4b9541,0x875e1d,0x1c3023,0x74451d,0x191a10,0x668f2a,0x948927,0x0d1814,0x234b17,0x4e290f,0xa6ad30,0x5f3e22,0x193f25,0xb8e465,0x7d9f46,0x4f652c,0x2c3819,0x141b0b,0x090c04, +VirtualPoints4=0x423010,0xc68f38,0x3f4f24,0x323711,0x6b622f,0x63a03f,0xbb7024,0x27311d,0xa45221,0x261d0d,0x83972c,0xcb942d,0x10180e,0x2a4716,0x763213,0xd9b436,0x8c4822,0x203e1e,0xe8e95d,0x9c9f3e,0x636427,0x373715,0x191a09,0x0c0b05, +VirtualPoints5=0x422a0d,0xc67a2d,0x3e3f19,0x322e0e,0x6b5022,0x5e7d2c,0xbd6621,0x292713,0xaa4c1d,0x28190a,0x837f25,0xcd8428,0x11130a,0x2b3a10,0x7c3013,0xdba02f,0x94431c,0x1f3014,0xe9c448,0x9e8731,0x64551e,0x37300f,0x1c1707,0x0e0a04, +VirtualPoints6=0x333d14,0x98a940,0x396936,0x2c4b18,0x4f7842,0x61d858,0x9b8f29,0x234331,0x7b5c24,0x1e2716,0x80d83b,0xafca36,0x10221c,0x2e6d20,0x513413,0xc9fb44,0x66532d,0x205730,0xe2fb8c,0x9aeb61,0x61963e,0x365323,0x1a280f,0x0a1208, +rgb_min=5 +rgb_max=240 +grey_cx_min=979 +grey_cx_max=1289 +grey_cy_min=733 +grey_cy_max=918 +grey_cs_min=733 +grey_cs_max=791 +grey_cs_multiplier=22 +grey_cs_offset=1037 +grey_cx_boundary=1009,1031,1093,1168,1231 +cwf_cx_min=1045 +cwf_cx_max=1162 +cwf_cy_min=677 +cwf_cy_max=744 +gamut0_ca_min=-1199 +gamut0_ca_max=-84 +gamut0_ca_slope=2994 +gamut0_cb_min=1152 +gamut0_cb_max=2247 +gamut0_cb_slope=-1573 +gamut0_cx_min=671 +gamut0_cx_max=1428 +gamut0_cy_min=411 +gamut0_cy_max=1212 +gamut1_ca_min=-1202 +gamut1_ca_max=-111 +gamut1_ca_slope=3003 +gamut1_cb_min=1204 +gamut1_cb_max=2298 +gamut1_cb_slope=-1657 +gamut1_cx_min=683 +gamut1_cx_max=1432 +gamut1_cy_min=423 +gamut1_cy_max=1206 +gamut2_ca_min=-1261 +gamut2_ca_max=-206 +gamut2_ca_slope=3097 +gamut2_cb_min=1133 +gamut2_cb_max=2224 +gamut2_cb_slope=-1492 +gamut2_cx_min=717 +gamut2_cx_max=1451 +gamut2_cy_min=417 +gamut2_cy_max=1224 +gamut3_ca_min=-1423 +gamut3_ca_max=-480 +gamut3_ca_slope=3317 +gamut3_cb_min=1189 +gamut3_cb_max=2292 +gamut3_cb_slope=-1506 +gamut3_cx_min=816 +gamut3_cx_max=1512 +gamut3_cy_min=422 +gamut3_cy_max=1238 +gamut4_ca_min=-1497 +gamut4_ca_max=-785 +gamut4_ca_slope=3460 +gamut4_cb_min=673 +gamut4_cb_max=1642 +gamut4_cb_slope=-393 +gamut4_cx_min=915 +gamut4_cx_max=1571 +gamut4_cy_min=487 +gamut4_cy_max=1333 +gamut5_ca_min=-1536 +gamut5_ca_max=-890 +gamut5_ca_slope=3506 +gamut5_cb_min=667 +gamut5_cb_max=1599 +gamut5_cb_slope=-269 +gamut5_cx_min=980 +gamut5_cx_max=1593 +gamut5_cy_min=541 +gamut5_cy_max=1375 +[CC] +cc_0=256,0,0,0,256,0,0,0,256 +cc_1=256,0,0,0,256,0,0,0,256 +cc_2=256,0,0,0,256,0,0,0,256 +enable=0