sm6250-common: Import from db2d3188

This commit is contained in:
Alexander Winkowski
2023-08-09 10:13:13 +00:00
commit 1bcc8fa62f
1054 changed files with 28882 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,26 @@
# name type value
deghostScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sensitivityScale; p; 1.0, 1.0, 1.4, 1.5, 1.3, 1.1, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenIsoScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenZoomScale; p; 1.0, 1.0, 0.0
filterMul; f; 0.16
#filterLowMul; f; 1.0
refFilterYMul; f; 1.0
filterUVMul; f; 1.0
refFilterUVMul; f; 1.0
refFilterLowUVMul; f; 1.0
sharpen; f; 1.0
refFilterSharpen; f; 0.0
srMinImages; f; 1.0
movFiltAdd; i; 2
deepFilterYMul; p; 3.6, 1.8, 1.2, 1.0
deepFilterUVMul; p; 1.0, 1.0, 1.0, 1.0
deepSharpen; p; 1.0, 1.0, 0.0, 0.0
deepFilterLeak; i; 2
deepFilterCorner; f; 1.333
superRes; i; 1
droLocal; i; 0
deepFilter; i; 1
bil11uv; i; 0
maxSharpImages; i; 10
newAlignment; i; 1
@@ -0,0 +1,26 @@
# name type value
deghostScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sensitivityScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.1, 1.1, 1.2, 1.2, 1.5, 1.5
sharpenIsoScale; p; 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0
sharpenZoomScale; p; 1.0, 1.0, 0.0
filterMul; f; 0.45
#filterLowMul; f; 1.0
refFilterYMul; f; 1.0
filterUVMul; f; 1.0
refFilterUVMul; f; 1.0
refFilterLowUVMul; f; 1.0
sharpen; f; 1.0
refFilterSharpen; f; 0.0
srMinImages; f; 1.0
movFiltAdd; i; 2
deepFilterYMul; p; 1.5, 1.1, 1.1, 1.0
deepFilterUVMul; p; 1.0, 1.0, 1.0, 1.0
deepSharpen; p; 1.0, 1.0, 0.0, 0.0
deepFilterLeak; i; 2
deepFilterCorner; f; 1.333
superRes; i; 1
droLocal; i; 0
deepFilter; i; 1
bil11uv; i; 0
maxSharpImages; i; 10
newAlignment; i; 1
@@ -0,0 +1,21 @@
/*G
1 2 3 4 5 6 7 8 9
soften eye-large slender-face eye-bright deblemish depouch lip iris auto-bright
10 11 12 13 14 15 16 17 18
auto-color clarity auto-style slender-nose skin-sharp nose-highlgt 3d-nose 3d-app 3d-lip
19 20 21 22 23 24 25 26 27
3d-chin 3d-neck M-eyebrow M-pupil-line M-gloss M-blush eyesharp forhead teethwhite
*/
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
//male(photo/front-bokeh/rear-bokeh)
{ 70, 100, 100, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 70, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 70, 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},
//female(photo/front-bokeh/rear-bokeh)
{ 70, 100, 100, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 70, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 70, 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},
//bady
{ 5, 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},
//preview(photo-video/front-bokeh/rear-bokeh)
{ 70, 100, 100, 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 +1,10 @@
static ArcBodySlimWeightParam ArcBodySlimWeightParams[] = {
/*
head_weight, shoulder_weight, waist_weight, leglength_weight buttPlum bodyslim*/
//Capture
{100, 80, 80, 100, 100, 100},
//Preview
{100, 80, 80, 100, 100, 100},
//Record
{100, 80, 80, 100, 100, 100},
};
+48
View File
@@ -0,0 +1,48 @@
multiCameraEnable=TRUE
enableSensorHWSync=TRUE
multiCameraFrameSync=1
enableSensorFpsMatch=TRUE
#logInfoMask=0x10082
#overrideLogLevels=0x1F
exportSecureCamera=TRUE
enableNCSService=TRUE
disablePDAF=FALSE
disableFocusIndication=1
enable3ADebugData=FALSE
enableTuningMetadata=FALSE
advanceFeatureMask=0x7E7
isBeautyMakeupSupported=TRUE
isVideoBeautifierSupported=TRUE
exposeFullSizeForQCFA=FALSE
useFeatureForQCFA=1
enableICAInGrid=1
forceDisableUBWCOnIfeIpeLink=0
enableInternalHALPixelStreamConfig=TRUE
iseispreviewSupported=TRUE
enableBubbleRecovery=FALSE
minReprocessInputWidth=4000
minReprocessInputHeight=3000
logConfigMask=0
#fovcEnable=1
tintlessEnable=TRUE
sessionFallbackWaitTime=1000
#enable3ADebugData=TRUE
#enableTuningMetadata=TRUE
ismfnrbokehsupported=TRUE
enableOfflineNoiseReprocess=1
enableDualIFE=1
isVideoLogformatSupported=TRUE
isColorEnhancementSupported=TRUE
isVideoMimovieSupported=TRUE
isVideoFilterSupported=TRUE
ifeClockFrequencyMHz=0xFFFFFFFF
ifeExternalBandwidthMBytes=0xFFFFFFFF
ifeCamnocBandwidthMBytes=0xFFFFFFFF
is3rdLightWeightSupported=TRUE
logInfoMask=0x0
overrideLogLevels=0x0
enable3ADebugData=FALSE
enableTuningMetadata=FALSE
traceErrorEnable=FALSE
logRequestMapping=FALSE
systemLogEnable=FALSE
+7
View File
@@ -0,0 +1,7 @@
EISWidthMargin=0.25
EISHeightMargin=0.4
EISLDCGridEnabled=1
EISv3GyroDumpEnabled=0
EISv3OperationMode=0
EISv2GyroDumpEnabled=0
EISv2OperationMode=0
Binary file not shown.
Binary file not shown.
+35
View File
@@ -0,0 +1,35 @@
static ArcHDRCommonAEParam ArcHDRCommonAEParams[] = {
/*
lux_min, lux_max, checkermode, c_min, c_max, drc_min, drc_max*/
//CommonAEParam
{250, 300, 1, 0.6, 0.8, 4.0, 8.0},
};
static ArcHDRParam ArcHDRParams[] = {
/*
tonelen, bright, saturation, contrast, capture_num, r_ev0, r_ev-, r_ev+*/
//REAR camera
{20, -15, 5, 50, 3, 0, -10, 6},
//FRONT camera
{1, 0, 0, 0, 2, 0, -12, 0},
};
#################################################instructions###########################################################################
/*
instructions as followed:
if lux < lux_min
dr_mode = hdr;
if lux > lux_max
dr_mode = llhdr;
else
dr_mode = checker's output
if checkermode == EV_AUTO //automode
ev0 ev- ev+ use data from checker
if checkermode == EV_MANUL //manualmode
ev0 ev- ev+ use data from config
if confval < c_min
dr_mode disabled
if confval > c_max
dr_mode enabled
*/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+144
View File
@@ -0,0 +1,144 @@
<?xml version="1.0"?>
<sceneDetection>
<commonSetting>
<blockWidth>32</blockWidth>
<blockHeight>32</blockHeight>
<frameNumToSave>3</frameNumToSave>
<downsampleFactor>4</downsampleFactor>
</commonSetting>
<hdr>
<indoor_iso>800</indoor_iso>
<indoor_expoTime>60</indoor_expoTime>
<indoor_lowExpoRange>10</indoor_lowExpoRange>
<indoor_highExpoRange>8</indoor_highExpoRange>
<indoor_lowExpoRangeExtended>5</indoor_lowExpoRangeExtended>
<indoor_highExpoRangeExtended>5</indoor_highExpoRangeExtended>
<indoor_lowRatioThre>0.03</indoor_lowRatioThre>
<indoor_highRatioThre>0.03</indoor_highRatioThre>
<indoor_face_lowExpoRange>5</indoor_face_lowExpoRange>
<indoor_face_highExpoRange>8</indoor_face_highExpoRange>
<indoor_face_lowExpoRangeExtended>5</indoor_face_lowExpoRangeExtended>
<indoor_face_highExpoRangeExtended>5</indoor_face_highExpoRangeExtended>
<indoor_face_lowRatioThre>0.05</indoor_face_lowRatioThre>
<indoor_face_highRatioThre>0.05</indoor_face_highRatioThre>
<outdoor_iso>200</outdoor_iso>
<outdoor_expoTime>20</outdoor_expoTime>
<outdoor_minRevisedBrightness>418.939</outdoor_minRevisedBrightness>
<outdoor_lowExpoRange>10</outdoor_lowExpoRange>
<outdoor_highExpoRange>8</outdoor_highExpoRange>
<outdoor_lowExpoRangeExtended>5</outdoor_lowExpoRangeExtended>
<outdoor_highExpoRangeExtended>5</outdoor_highExpoRangeExtended>
<outdoor_lowRatioThre>0.03</outdoor_lowRatioThre>
<outdoor_highRatioThre>0.03</outdoor_highRatioThre>
<outdoor_face_lowExpoRange>5</outdoor_face_lowExpoRange>
<outdoor_face_highExpoRange>8</outdoor_face_highExpoRange>
<outdoor_face_lowExpoRangeExtended>5</outdoor_face_lowExpoRangeExtended>
<outdoor_face_highExpoRangeExtended>5</outdoor_face_highExpoRangeExtended>
<outdoor_face_lowRatioThre>0.05</outdoor_face_lowRatioThre>
<outdoor_face_highRatioThre>0.05</outdoor_face_highRatioThre>
<night_iso>100</night_iso>
<night_expoTime>10</night_expoTime>
<night_maxRevisedBrightness>3</night_maxRevisedBrightness>
<night_lowExpoRange>10</night_lowExpoRange>
<night_highExpoRange>8</night_highExpoRange>
<night_lowExpoRangeExtended>5</night_lowExpoRangeExtended>
<night_highExpoRangeExtended>5</night_highExpoRangeExtended>
<night_lowRatioThre>0.03</night_lowRatioThre>
<night_highRatioThre>0.03</night_highRatioThre>
<night_face_lowExpoRange>5</night_face_lowExpoRange>
<night_face_highExpoRange>8</night_face_highExpoRange>
<night_face_lowExpoRangeExtended>5</night_face_lowExpoRangeExtended>
<night_face_highExpoRangeExtended>5</night_face_highExpoRangeExtended>
<night_face_lowRatioThre>0.05</night_face_lowRatioThre>
<night_face_highRatioThre>0.05</night_face_highRatioThre>
<default_lowExpoRange>10</default_lowExpoRange>
<default_highExpoRange>8</default_highExpoRange>
<default_lowExpoRangeExtended>5</default_lowExpoRangeExtended>
<default_highExpoRangeExtended>5</default_highExpoRangeExtended>
<default_lowRatioThre>0.03</default_lowRatioThre>
<default_highRatioThre>0.03</default_highRatioThre>
<touch_lowExpoRange>10</touch_lowExpoRange>
<touch_highExpoRange>8</touch_highExpoRange>
<touch_lowExpoRangeExtended>5</touch_lowExpoRangeExtended>
<touch_highExpoRangeExtended>5</touch_highExpoRangeExtended>
<touch_lowRatioThre>0.03</touch_lowRatioThre>
<touch_highRatioThre>0.03</touch_highRatioThre>
</hdr>
<!--add by fengchaoyu for motion detection -->
<motion>
<motion_frameDiffThre>17.85</motion_frameDiffThre>
<motion_blockWidth>32</motion_blockWidth>
<motion_blockHeight>32</motion_blockHeight>
<motion_judgeMove>0.015</motion_judgeMove>
<motion_frameGap1>1</motion_frameGap1>
<motion_frameGap2>1</motion_frameGap2>
<motion_roiWidRate>1</motion_roiWidRate>
<motion_roiHeiRate>1</motion_roiHeiRate>
<motion_downsample>4</motion_downsample>
<motion_startIndex>7</motion_startIndex>
<motion_indoorExpoTime>40</motion_indoorExpoTime>
<motion_threStaGap>50.0</motion_threStaGap>
<motion_threEndGap>220.0</motion_threEndGap>
<motion_threFirStage>30.0</motion_threFirStage>
<motion_threSecStageK>0.2</motion_threSecStageK>
<motion_threThirStage>20.0</motion_threThirStage>
<motion_faceLeftXThre>40</motion_faceLeftXThre>
<motion_faceTopYThre>40</motion_faceTopYThre>
<motion_faceRollThre>20</motion_faceRollThre>
<motion_facePitchThre>20</motion_facePitchThre>
<motion_faceYawThre>30</motion_faceYawThre>
<motion_faceSizeThre>40</motion_faceSizeThre>
</motion>
<!--add by fengchaoyu for wideangle recommend-->
<wideangle>
<wideangle_horizontal>180</wideangle_horizontal>
<wideangle_horiThre>10</wideangle_horiThre>
<wideangle_vertical>270</wideangle_vertical>
<wideangle_vertiThre>10</wideangle_vertiThre>
<wideangle_minFaceNum>3</wideangle_minFaceNum>
<wideangle_faceDisRatio>2.0</wideangle_faceDisRatio>
<wideangle_faceSizeRatio>0.5</wideangle_faceSizeRatio>
<wideangle_edgeDisRatio>0.1</wideangle_edgeDisRatio>
</wideangle>
<!--add by gongqiang for nightView recommend-->
<nightview>
<nightview_lowthresh>50</nightview_lowthresh>
<nightview_highthresh>150</nightview_highthresh>
<nightview_lowratio>0.8</nightview_lowratio>
<nightview_highratio>0.3</nightview_highratio>
</nightview>
<dxo_nightview>
<dxo_nightview_light>10.0</dxo_nightview_light>
<dxo_nightview_mlight>80.0</dxo_nightview_mlight>
<dxo_nightview_iso>1000.0</dxo_nightview_iso>
<dxo_nightview_expo_time>20.0</dxo_nightview_expo_time>
<dxo_nightview_bright_thresh>240</dxo_nightview_bright_thresh>
<dxo_nightview_bright_ratio_thresh>0.005</dxo_nightview_bright_ratio_thresh>
<dxo_nightview_dark_thresh>50</dxo_nightview_dark_thresh>
<dxo_nightview_dark_ratio_thresh>0.18</dxo_nightview_dark_ratio_thresh>
<dxo_lux_index_thresh>310</dxo_lux_index_thresh>
<dxo_middle_low>80</dxo_middle_low>
<dxo_middle_high>200</dxo_middle_high>
<dxo_middle_ratio_thresh>0.4</dxo_middle_ratio_thresh>
</dxo_nightview>
<hdr_face>
<hdr_bright_thresh>240</hdr_bright_thresh>
<hdr_bright_ratio>0.008</hdr_bright_ratio>
<face_brightness_thresh>200</face_brightness_thresh>
<hdr_light_thresh>10</hdr_light_thresh>
</hdr_face>
</sceneDetection>
Binary file not shown.
@@ -0,0 +1 @@
>Icccca34!/(&-%2ayc>Icccccccca5$16(2-ayc{oIcccccccca' 7$aycaqsqslpplsvaoIcccccccca'$5(&$ayca uaoIcccccccca'$6&1(37(2-ayca 17c2%c7+$c uc312)$&7oc64!3 17c uaIcccc<oIcccca,$7 2-5$17$121, 7ayca6$-621aoIcccca',!1 67$183$ayca6+217aoIcccca& ,$1 ayc>Iccccccccaqpayc>Icccccccccccca34!/(&$6&1(37(2-ayca ,$1 cqpaoIcccccccccccca'$6&1(37(2-ayca &.c/71 c('$c ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca&2$%%(&($-76aycsmpssv{{xtxocsmsu{swsvtuoclsmsqzx{wtpvoIcccccccccccccccca%(6+$8$ &721aycsmuz{sx{ttxoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccalpayc>Icccccccccccccccccccca$;32641$ !/$aycpssocvuusocqswsocvuusocqssocpsqsoctsIcccccccccccccccc<oIccccccccccccccccapayc>Icccccccccccccccccccca34!/(&$6&1(37(2-ayca$-621c,2'$cpaoIcccccccccccccccccccca'$6&1(37(2-aycaps{s3oczqs3aoIcccccccccccccccccccca%2& /$-*7+
@@ -0,0 +1 @@
>Icccca34!/(&-%2ayc>Icccccccca5$16(2-aycqoIcccccccca' 7$aycaqsqslpplsvaoIcccccccca'$5(&$ayca uaoIcccccccca'$6&1(37(2-ayca 17c2%c7+$c uc312)$&7oc64!3 17c uaIcccc<oIcccca,$7 2-5$17$121, 7ayca6$-621aoIcccca',!1 67$183$ayca6+217aoIcccca& ,$1 ayc>Iccccccccasayc>Icccccccccccca34!/(&$6&1(37(2-ayca ,$1 csaoIcccccccccccca'$6&1(37(2-ayca &.c('$c ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca&2$%%(&($-76aycsmvsxqstu{poclsmq{qqsvwvuocsmqpqsxspvtoIcccccccccccccccca%(6+$8$ &721aycsmu{sqvpuoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccalpayc>Icccccccccccccccccccca34!/(&$6&1(37(2-ayca$-621c,2'$clpck haoIcccccccccccccccccccca$;32641$ !/$aycpssocqssssocxsssocppsssocqssocwtssoctsIcccccccccccccccc<oIccccccccccccccccapayc>Icccccccccccccccccccca34!/(&$6&1(37(2-ayca$-621c,2'$cpckhaoIcccccccccccccccccccca'$6&1(37(2-aycaps{s3oczqs3aoIcccccccccccccccccccca%2& /$-*7+
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
>Icccca34!/(&-%2ayc>Icccccccca5$16(2-ayc{oIcccccccca' 7$aycaqsqslpplsvaoIcccccccca'$5(&$ayca uaoIcccccccca'$6&1(37(2-ayca 17c2%c7+$c uc312)$&7oc64!3 17c uaIcccc<oIcccca,$7 2-5$17$121, 7ayca6$-621aoIcccca',!1 67$183$ayca6+217aoIcccca& ,$1 ayc>Iccccccccasayc>Icccccccccccca34!/(&$6&1(37(2-ayca ,$1 csaoIcccccccccccca'$6&1(37(2-ayca &.c('$c ,$1 aoIcccccccccccca/'& 1 ,$7$16ayc>Icccccccccccccccca&2$%%(&($-76aycsmpp{z{voclsmqttzqwocsmqpsxx{oIcccccccccccccccca%(6+$8$ &721aycsmsoIcccccccccccccccca1$ 33/8ayc714$Icccccccccccc<oIcccccccccccca6$-621 2'$ayc>Iccccccccccccccccalpayc>Icccccccccccccccccccca$;32641$ !/$aycpssocqtussocpssssocpssssocqssocusssoctsIcccccccccccccccc<oIccccccccccccccccapayc>Icccccccccccccccccccca34!/(&$6&1(37(2-ayca$-621c,2'$csaoIcccccccccccccccccccca'$6&1(37(2-aycaps{s3oczqs3aoIcccccccccccccccccccca%2& /$-*7+
Binary file not shown.