-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more sensor modules and settings for gm8136
- Loading branch information
Showing
10 changed files
with
1,908 additions
and
281 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
290 changes: 290 additions & 0 deletions
290
general/package/grainmedia-osdrv-gm8136/files/sensor/config/isp328_ar0331.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.