5 Commits

50 changed files with 253 additions and 38 deletions

View File

@@ -8,6 +8,7 @@ soong_namespace {
"hardware/xiaomi",
"vendor/qcom/opensource/display",
"vendor/xiaomi/sm8250-common",
"hardware/qcom-caf/sm8250",
],
}
@@ -28,7 +29,7 @@ cc_prebuilt_library_shared {
"libcutils",
"libtinyalsa",
"libtinycompress",
"libaudioroute",
"libaudioroute-v34",
"libaudioutils",
"libexpat",
"libhidlbase",
@@ -207,7 +208,7 @@ cc_prebuilt_library_shared {
"liblog",
"libcutils",
"libtinyalsa",
"libaudioroute",
"libaudioroute-v34",
"libexpat",
"libc++",
"libc",
@@ -3754,6 +3755,33 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libHalSuperSensorServer",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libHalSuperSensorServer.so",
],
shared_libs: [
"libSuperSensor",
"libSuperSensorCPU",
"liblog",
"libm",
"libc++_shared",
"libdl",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libMIAIHDRhvx_interface",
owner: "xiaomi",
@@ -3803,6 +3831,55 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libSuperSensor",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libSuperSensor.so",
],
shared_libs: [
"liblog",
"libm",
"libc",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libSuperSensorCPU",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libSuperSensorCPU.so",
],
shared_libs: [
"liblog",
"libm",
"libc++_shared",
"libdl",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libalAILDC",
owner: "xiaomi",
@@ -3832,6 +3909,32 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libalCFR",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libalCFR.so",
],
shared_libs: [
"libOpenCL",
"libc++_shared",
"liblog",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libalLDC",
owner: "xiaomi",
@@ -3948,37 +4051,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libarcsat",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libarcsat.so",
],
shared_libs: [
"libcamera_metadata",
"libcom.qti.chinodeutils",
"libtriplecam_video_optical_zoom",
"libcutils",
"libmpbase",
"libz",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libarcsoft_beautyshot",
owner: "xiaomi",
@@ -5236,6 +5308,64 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmiai_deblur",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libmiai_deblur.so",
],
shared_libs: [
"libOpenCL",
"liblog",
"libz",
"libm",
"libc",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmialgo_ie_capture",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libmialgo_ie_capture.so",
],
shared_libs: [
"libmialgo_utils",
"libion",
"libcdsprpc",
"libOpenCL",
"libc++_shared",
"libm",
"liblog",
"libz",
"libc",
"libGLESv3",
"libEGL",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmialgo_ie_preview",
owner: "xiaomi",
@@ -5474,6 +5604,61 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmialgoengine",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libmialgoengine.so",
],
shared_libs: [
"libxmi_high_dynamic_range",
"libMIAIHDRhvx_interface",
"liblog",
"libutils",
"libcutils",
"libhardware",
"libnativewindow",
"libEGL",
"libion",
"libGLESv2",
"libgrallocutils",
"libmpbase",
"libarcsoft_beautyshot",
"libarcsoft_portrait_lighting",
"libarcsoft_portrait_lighting_c",
"libmialgo_ie_capture",
"libmialgo_utils",
"libflaw",
"libalCFR",
"librelight_only",
"libarcsoft_dualcam_refocus",
"libarcsoft_distortion_correction",
"libarcsoft_bodyslim",
"libarcsoft_superportrait",
"libmiai_deblur",
"libalhLDC",
"libalAILDC",
"libHalSuperSensorServer",
"libSuperSensor",
"libSuperSensorCPU",
"libmibokeh_855",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmibokeh_845_video",
owner: "xiaomi",
@@ -5731,6 +5916,33 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "librelight_only",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/librelight_only.so",
],
shared_libs: [
"libGLESv3",
"libEGL",
"liblog",
"libc++_shared",
"libm",
"libdl",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libremosaic_wrapper",
owner: "xiaomi",

View File

@@ -1,3 +0,0 @@
sensors.elliptic.so
sensors.ssc.so
sensors.touch.so

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/lib64/libalCFR.so vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -138,7 +138,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/config/tcs3408.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3408.json \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/config/tcs3701.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/tcs3701.json \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/config/vl53l1_tof_0.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/config/vl53l1_tof_0.json \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/judge_calibrated.json:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/judge_calibrated.json \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_diag.cfg \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \
@@ -331,14 +330,17 @@ PRODUCT_PACKAGES += \
fingerprint.fpc_fod.default \
fingerprint.goodix_fod.default \
vendor.qti.hardware.sensorscalibrate@1.0-impl \
libHalSuperSensorServer \
libMIAIHDRhvx_interface \
libSNPE \
libSuperSensor \
libSuperSensorCPU \
libalAILDC \
libalCFR \
libalLDC \
libalhLDC \
libarcdualcamsat \
libarcmulticamsat \
libarcsat \
libarcsoft_beautyshot \
libarcsoft_bodyslim \
libarcsoft_distortion_correction \
@@ -384,6 +386,8 @@ PRODUCT_PACKAGES += \
libgf_hal \
libhta \
libipebpsstriping \
libmiai_deblur \
libmialgo_ie_capture \
libmialgo_ie_preview \
libmialgo_image_colourkeeping \
libmialgo_rfs \
@@ -392,6 +396,7 @@ PRODUCT_PACKAGES += \
libmialgo_video_colourkeeping \
libmialgo_video_enhance \
libmialgo_video_seg \
libmialgoengine \
libmibokeh_845_video \
libmibokeh_855 \
libmpbase \
@@ -402,6 +407,7 @@ PRODUCT_PACKAGES += \
libnpu \
libofflinelog \
libos \
librelight_only \
libremosaic_wrapper \
libremosaichvx_stub \
libremosaiclib \