MiuiCamera: Import Camera Fonts and effects
@@ -27,6 +27,31 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/camera/proprietary/vendor/bin/hw/vendor.xiaomi.hardware.misys@2.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.xiaomi.hardware.misys@2.0-service \
|
||||
vendor/xiaomi/camera/proprietary/vendor/bin/hw/vendor.xiaomi.hardware.misys@3.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.xiaomi.hardware.misys@3.0-service \
|
||||
vendor/xiaomi/camera/proprietary/vendor/bin/hw/vendor.xiaomi.hardware.misys@4.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.xiaomi.hardware.misys@4.0-service \
|
||||
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/android.hardware.camera.provider@2.4-service_64.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.camera.provider@2.4-service_64.rc \
|
||||
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 \
|
||||
|
||||
@@ -64,3 +64,30 @@ vendor/lib64/liblogwrap_vendor.so
|
||||
|
||||
# Camera Overwrite
|
||||
vendor/etc/init/android.hardware.camera.provider@2.4-service_64.rc
|
||||
|
||||
# Camera Dependencies
|
||||
vendor/camera/fonts/FZMiaoWuJW.ttf
|
||||
vendor/camera/fonts/MFYueYuan-Regular.ttf
|
||||
vendor/camera/fonts/MI+LanTing_GB+Outside+YS_V2.3_20160322.ttf
|
||||
vendor/camera/fonts/MIUI_Time.ttf
|
||||
vendor/etc/camera/102_SummerDay.png
|
||||
vendor/etc/camera/103_Fantasy.png
|
||||
vendor/etc/camera/104_Meet.png
|
||||
vendor/etc/camera/105_WindSing.png
|
||||
vendor/etc/camera/106_Lost.png
|
||||
vendor/etc/camera/107_Central.png
|
||||
vendor/etc/camera/108_NorthernEurope.png
|
||||
vendor/etc/camera/109_Rome.png
|
||||
vendor/etc/camera/110_BlackGold.png
|
||||
vendor/etc/camera/111_GreenOrange.png
|
||||
vendor/etc/camera/112_CyberPunk.png
|
||||
vendor/etc/camera/113_BlackIce.png
|
||||
vendor/etc/camera/121_Bleach.png
|
||||
vendor/etc/camera/122_Thriller.png
|
||||
vendor/etc/camera/123_TealOrange.png
|
||||
vendor/etc/camera/124_JapaneseStyle.png
|
||||
vendor/etc/camera/125_Latin.png
|
||||
vendor/etc/camera/126_Fantasy2.png
|
||||
vendor/etc/camera/127_Creamy.png
|
||||
vendor/etc/camera/128_Sepia.png
|
||||
vendor/etc/camera/sceneDetection.xml
|
||||
|
||||
BIN
proprietary/vendor/camera/fonts/FZMiaoWuJW.ttf
vendored
Normal file
BIN
proprietary/vendor/camera/fonts/MFYueYuan-Regular.ttf
vendored
Normal file
BIN
proprietary/vendor/camera/fonts/MI+LanTing_GB+Outside+YS_V2.3_20160322.ttf
vendored
Normal file
BIN
proprietary/vendor/camera/fonts/MIUI_Time.ttf
vendored
Normal file
BIN
proprietary/vendor/etc/camera/102_SummerDay.png
vendored
Normal file
|
After Width: | Height: | Size: 342 KiB |
BIN
proprietary/vendor/etc/camera/103_Fantasy.png
vendored
Normal file
|
After Width: | Height: | Size: 335 KiB |
BIN
proprietary/vendor/etc/camera/104_Meet.png
vendored
Normal file
|
After Width: | Height: | Size: 330 KiB |
BIN
proprietary/vendor/etc/camera/105_WindSing.png
vendored
Normal file
|
After Width: | Height: | Size: 317 KiB |
BIN
proprietary/vendor/etc/camera/106_Lost.png
vendored
Normal file
|
After Width: | Height: | Size: 348 KiB |
BIN
proprietary/vendor/etc/camera/107_Central.png
vendored
Normal file
|
After Width: | Height: | Size: 336 KiB |
BIN
proprietary/vendor/etc/camera/108_NorthernEurope.png
vendored
Normal file
|
After Width: | Height: | Size: 295 KiB |
BIN
proprietary/vendor/etc/camera/109_Rome.png
vendored
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
proprietary/vendor/etc/camera/110_BlackGold.png
vendored
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
proprietary/vendor/etc/camera/111_GreenOrange.png
vendored
Normal file
|
After Width: | Height: | Size: 333 KiB |
BIN
proprietary/vendor/etc/camera/112_CyberPunk.png
vendored
Normal file
|
After Width: | Height: | Size: 351 KiB |
BIN
proprietary/vendor/etc/camera/113_BlackIce.png
vendored
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
proprietary/vendor/etc/camera/121_Bleach.png
vendored
Normal file
|
After Width: | Height: | Size: 200 KiB |
BIN
proprietary/vendor/etc/camera/122_Thriller.png
vendored
Normal file
|
After Width: | Height: | Size: 200 KiB |
BIN
proprietary/vendor/etc/camera/123_TealOrange.png
vendored
Normal file
|
After Width: | Height: | Size: 212 KiB |
BIN
proprietary/vendor/etc/camera/124_JapaneseStyle.png
vendored
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
proprietary/vendor/etc/camera/125_Latin.png
vendored
Normal file
|
After Width: | Height: | Size: 210 KiB |
BIN
proprietary/vendor/etc/camera/126_Fantasy2.png
vendored
Normal file
|
After Width: | Height: | Size: 229 KiB |
BIN
proprietary/vendor/etc/camera/127_Creamy.png
vendored
Normal file
|
After Width: | Height: | Size: 195 KiB |
BIN
proprietary/vendor/etc/camera/128_Sepia.png
vendored
Normal file
|
After Width: | Height: | Size: 199 KiB |
153
proprietary/vendor/etc/camera/sceneDetection.xml
vendored
Normal file
@@ -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>
|
||||