Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5e8a2fbb9 | ||
|
|
a8f6283fa6 | ||
|
|
1825648867 | ||
|
|
69f6c7862e | ||
|
|
1d90c3ea78 | ||
|
|
ab1260dbae | ||
|
|
b6e851d4b1 | ||
|
|
2dc7df3655 | ||
|
|
1496cbcdc8 | ||
|
|
9cdfa49d5d | ||
|
|
b21db8d985 | ||
|
|
09fa2c4b2a | ||
|
|
4f0edce7e0 | ||
|
|
3f84f5100c | ||
|
|
54cdda077e | ||
|
|
d707552bec | ||
|
|
3db3f00dca | ||
|
|
44341dac8d | ||
|
|
adab7e9510 | ||
|
|
c203475214 | ||
|
|
588f5f5b42 | ||
|
|
d64a3c06cc | ||
|
|
fa38eef530 | ||
|
|
85b10c4964 | ||
|
|
419f90f8fd | ||
|
|
1b2082c207 | ||
|
|
16760dbf3c | ||
|
|
a98fb92a11 | ||
|
|
c7821cdcda | ||
|
|
76a905c4cb | ||
|
|
382326afe7 | ||
|
|
3d1c7fc7bc | ||
|
|
52584faaf1 | ||
|
|
8c13e7ca66 | ||
|
|
05d1d47db4 | ||
|
|
6f9b565471 | ||
|
|
f369a00f69 |
@@ -0,0 +1,2 @@
|
|||||||
|
*.apk filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#
|
||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# Automatically generated file. DO NOT MODIFY
|
||||||
|
#
|
||||||
|
|
||||||
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
vendor/xiaomi/camera
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
vendor/xiaomi/camera/proprietary/system/etc/permissions/vendor.xiaomi.hardware.misys-V1.0-java-permission.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.xiaomi.hardware.misys-V1.0-java-permission.xml \
|
||||||
|
vendor/xiaomi/camera/proprietary/system/etc/permissions/vendor.xiaomi.hardware.misys-V2.0-java-permission.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.xiaomi.hardware.misys-V2.0-java-permission.xml \
|
||||||
|
vendor/xiaomi/camera/proprietary/system/etc/permissions/vendor.xiaomi.hardware.misys-V4.0-java-permission.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.xiaomi.hardware.misys-V4.0-java-permission.xml \
|
||||||
|
vendor/xiaomi/camera/proprietary/system/etc/permissions/vendor.xiaomi.hardware.misys.V3_0-permission.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.xiaomi.hardware.misys.V3_0-permission.xml \
|
||||||
|
vendor/xiaomi/camera/proprietary/system/etc/public.libraries-xiaomi.txt:$(TARGET_COPY_OUT_SYSTEM)/etc/public.libraries-xiaomi.txt \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/camera/fonts/FZMiaoWuJW.ttf:$(TARGET_COPY_OUT_VENDOR)/camera/fonts/FZMiaoWuJW.ttf \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/camera/fonts/MFYueYuan-Regular.ttf:$(TARGET_COPY_OUT_VENDOR)/camera/fonts/MFYueYuan-Regular.ttf \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/camera/fonts/MI+LanTing_GB+Outside+YS_V2.3_20160322.ttf:$(TARGET_COPY_OUT_VENDOR)/camera/fonts/MI+LanTing_GB+Outside+YS_V2.3_20160322.ttf \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/camera/fonts/MIUI_Time.ttf:$(TARGET_COPY_OUT_VENDOR)/camera/fonts/MIUI_Time.ttf \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/102_SummerDay.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/102_SummerDay.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/103_Fantasy.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/103_Fantasy.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/104_Meet.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/104_Meet.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/105_WindSing.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/105_WindSing.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/106_Lost.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/106_Lost.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/107_Central.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/107_Central.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/108_NorthernEurope.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/108_NorthernEurope.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/109_Rome.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/109_Rome.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/110_BlackGold.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/110_BlackGold.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/111_GreenOrange.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/111_GreenOrange.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/112_CyberPunk.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/112_CyberPunk.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/113_BlackIce.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/113_BlackIce.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/121_Bleach.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/121_Bleach.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/122_Thriller.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/122_Thriller.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/123_TealOrange.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/123_TealOrange.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/124_JapaneseStyle.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/124_JapaneseStyle.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/125_Latin.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/125_Latin.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/126_Fantasy2.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/126_Fantasy2.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/127_Creamy.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/127_Creamy.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/128_Sepia.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/128_Sepia.png \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/camera/sceneDetection.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/sceneDetection.xml \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.misys@1.0-service.rc \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@2.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.misys@2.0-service.rc \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.misys@3.0-service.rc \
|
||||||
|
vendor/xiaomi/camera/proprietary/vendor/etc/init/vendor.xiaomi.hardware.misys@4.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.xiaomi.hardware.misys@4.0-service.rc
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libOpenCL_system \
|
||||||
|
libcamera_algoup_jni.xiaomi \
|
||||||
|
libcamera_mianode_jni.xiaomi \
|
||||||
|
libcameraimpl \
|
||||||
|
libmicampostproc_client \
|
||||||
|
libmisys_jni.xiaomi \
|
||||||
|
libmqsas \
|
||||||
|
libopencl-camera \
|
||||||
|
vendor.xiaomi.hardware.campostproc@1.0 \
|
||||||
|
vendor.xiaomi.hardware.misys@1.0_system \
|
||||||
|
vendor.xiaomi.hardware.misys@2.0_system \
|
||||||
|
vendor.xiaomi.hardware.misys@3.0_system \
|
||||||
|
vendor.xiaomi.hardware.misys@4.0_system \
|
||||||
|
vendor.xiaomi.hardware.misys@1.0-impl \
|
||||||
|
vendor.xiaomi.hardware.misys@2.0-impl \
|
||||||
|
vendor.xiaomi.hardware.misys@3.0-impl \
|
||||||
|
vendor.xiaomi.hardware.misys@4.0-impl \
|
||||||
|
libarcsat \
|
||||||
|
libcheckpid \
|
||||||
|
liblogwrap_vendor \
|
||||||
|
libsupermoon \
|
||||||
|
vendor.xiaomi.hardware.misys@1.0 \
|
||||||
|
vendor.xiaomi.hardware.misys@2.0 \
|
||||||
|
vendor.xiaomi.hardware.misys@3.0 \
|
||||||
|
vendor.xiaomi.hardware.misys@4.0 \
|
||||||
|
MiuiCamera \
|
||||||
|
camerax-vendor-extensions \
|
||||||
|
vendor.xiaomi.hardware.misys-V1.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys-V2.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys-V4.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys.V3_0 \
|
||||||
|
vendor.xiaomi.hardware.misys@1.0.xml \
|
||||||
|
vendor.xiaomi.hardware.misys@2.0.xml \
|
||||||
|
vendor.xiaomi.hardware.misys@3.0.xml \
|
||||||
|
vendor.xiaomi.hardware.misys@4.0.xml \
|
||||||
|
f2player \
|
||||||
|
vendor.xiaomi.hardware.misys@1.0-service \
|
||||||
|
vendor.xiaomi.hardware.misys@2.0-service \
|
||||||
|
vendor.xiaomi.hardware.misys@3.0-service \
|
||||||
|
vendor.xiaomi.hardware.misys@4.0-service
|
||||||
|
|
||||||
|
PRODUCT_BOOT_JARS += \
|
||||||
|
camerax-vendor-extensions \
|
||||||
|
vendor.xiaomi.hardware.misys-V1.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys-V2.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys-V4.0-java \
|
||||||
|
vendor.xiaomi.hardware.misys.V3_0
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<permissions>
|
||||||
|
<library name="vendor.xiaomi.hardware.misys-V1.0-java"
|
||||||
|
file="/system/framework/vendor.xiaomi.hardware.misys-V1.0-java.jar" />
|
||||||
|
</permissions>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<permissions>
|
||||||
|
<library name="vendor.xiaomi.hardware.misys-V2.0-java"
|
||||||
|
file="/system/framework/vendor.xiaomi.hardware.misys-V2.0-java.jar" />
|
||||||
|
</permissions>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<permissions>
|
||||||
|
<library name="vendor.xiaomi.hardware.misys-V4.0-java"
|
||||||
|
file="/system/framework/vendor.xiaomi.hardware.misys-V4.0-java.jar" />
|
||||||
|
</permissions>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<permissions>
|
||||||
|
<library name="vendor.xiaomi.hardware.misys.V3_0"
|
||||||
|
file="/system/framework/vendor.xiaomi.hardware.misys.V3_0.jar" />
|
||||||
|
</permissions>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
libmisys_jni.xiaomi.so
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ec5366262a0a2d03006570a191008646fdce84ddc9b491ed4be6bc499e49545e
|
||||||
|
size 193203872
|
||||||
|
After Width: | Height: | Size: 342 KiB |
|
After Width: | Height: | Size: 335 KiB |
|
After Width: | Height: | Size: 330 KiB |
|
After Width: | Height: | Size: 317 KiB |
|
After Width: | Height: | Size: 348 KiB |
|
After Width: | Height: | Size: 336 KiB |
|
After Width: | Height: | Size: 295 KiB |
|
After Width: | Height: | Size: 194 KiB |
|
After Width: | Height: | Size: 289 KiB |
|
After Width: | Height: | Size: 333 KiB |
|
After Width: | Height: | Size: 351 KiB |
|
After Width: | Height: | Size: 276 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 212 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 229 KiB |
|
After Width: | Height: | Size: 195 KiB |
|
After Width: | Height: | Size: 199 KiB |
@@ -0,0 +1,153 @@
|
|||||||
|
<?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.006</dxo_nightview_bright_ratio_thresh>
|
||||||
|
<dxo_nightview_dark_thresh>50</dxo_nightview_dark_thresh>
|
||||||
|
<dxo_nightview_dark_ratio_thresh>0.3</dxo_nightview_dark_ratio_thresh>
|
||||||
|
<dxo_lux_index_thresh>260</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_lux_index_thresh_face>450.0</dxo_lux_index_thresh_face>
|
||||||
|
<dxo_nightview_light_face>10.0</dxo_nightview_light_face>
|
||||||
|
<dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
|
||||||
|
<dxo_nightview_middle_ratio_thresh_face>0.5</dxo_nightview_middle_ratio_thresh_face>
|
||||||
|
<dxo_nightview_bright_ratio_thresh_face>0.008</dxo_nightview_bright_ratio_thresh_face>
|
||||||
|
|
||||||
|
<dxo_nightview_extreme_dark_lux>390.0</dxo_nightview_extreme_dark_lux>
|
||||||
|
|
||||||
|
</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>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
on fs
|
||||||
|
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||||
|
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||||
|
|
||||||
|
service vendor.misys /vendor/bin/hw/vendor.xiaomi.hardware.misys@1.0-service
|
||||||
|
class hal
|
||||||
|
user system
|
||||||
|
group system root
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
on fs
|
||||||
|
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||||
|
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||||
|
|
||||||
|
service vendor.misys@2.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@2.0-service
|
||||||
|
class hal
|
||||||
|
user system
|
||||||
|
group system
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
on fs
|
||||||
|
mkdir /mnt/vendor/persist/stability 0755 system system
|
||||||
|
mkdir /mnt/vendor/persist/misys 0755 system system
|
||||||
|
|
||||||
|
service vendor.misys@3.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@3.0-service
|
||||||
|
class hal
|
||||||
|
user system
|
||||||
|
group system
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
service vendor.misys@4.0 /vendor/bin/hw/vendor.xiaomi.hardware.misys@4.0-service
|
||||||
|
class hal
|
||||||
|
user root
|
||||||
|
group root system
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
* Neither the name of The Linux Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||||
|
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>vendor.xiaomi.hardware.misys</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>1.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IMiSys</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
* Neither the name of The Linux Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||||
|
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>vendor.xiaomi.hardware.misys</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>2.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IMiSys</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
* Neither the name of The Linux Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||||
|
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>vendor.xiaomi.hardware.misys</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>3.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IMiSys</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<!-- Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
* Neither the name of The Linux Foundation nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived
|
||||||
|
from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||||
|
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||||
|
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<manifest version="1.0" type="device">
|
||||||
|
<hal format="hidl">
|
||||||
|
<name>vendor.xiaomi.hardware.misys</name>
|
||||||
|
<transport>hwbinder</transport>
|
||||||
|
<version>4.0</version>
|
||||||
|
<interface>
|
||||||
|
<name>IMiSys</name>
|
||||||
|
<instance>default</instance>
|
||||||
|
</interface>
|
||||||
|
</hal>
|
||||||
|
</manifest>
|
||||||