sweet: Bring back face detection libs

Change-Id: Ic98062c876436e945c286c0b8ea8819213da69f3
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
basamaryan 2023-07-16 10:13:33 +02:00 committed by donjohanliebert
parent 93000cb27e
commit d7a47d4c8b
6 changed files with 38 additions and 1 deletions

View File

@ -1465,7 +1465,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/hw/camera.qcom.so"],
shared_libs: ["libc++", "libcutils", "liblog", "libcdsprpc", "libqdMetaData", "libsnsapi", "libqmi_common_so", "libqmi_cci", "libqmi_encdec", "libprotobuf-cpp-full-3.9.1-vendorcompat", "libhardware", "libcamera_metadata", "libcamxfdengine", "libcamxstatscore", "libsync", "libmegface", "libMegviiFacepp-0.5.2", "libz", "libdl", "libc", "libm", ],
shared_libs: ["libc++", "libcutils", "liblog", "libcdsprpc", "libqdMetaData", "libsnsapi", "libqmi_common_so", "libqmi_cci", "libqmi_encdec", "libprotobuf-cpp-full-3.9.1-vendorcompat", "libhardware", "libcamera_metadata", "libcamxfdengine", "libcamxstatscore", "libsync", "libfacedet", "libFaceDetectpp-0.5.2", "libz", "libdl", "libc", "libm", ],
},
},
compile_multilib: "64",
@ -1529,6 +1529,23 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libFaceDetectpp-0.5.2",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libFaceDetectpp-0.5.2.so"],
shared_libs: ["libfacedet", "libc", "libm", "libdl", "liblog", "libEGL", "libGLESv2", ],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libFaceGrade",
owner: "xiaomi",
@ -2179,6 +2196,23 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libfacedet",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: ["proprietary/vendor/lib64/libfacedet.so"],
shared_libs: ["libm", "liblog", "libdl", "libc", ],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libft2vendor",
owner: "xiaomi",

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

View File

@ -39,6 +39,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/golden_rear_dc_cal_wu.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/golden_rear_dc_cal_wu.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/hdr_ui9_params.config:$(TARGET_COPY_OUT_VENDOR)/etc/camera/hdr_ui9_params.config \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/lf_facerank_model.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/lf_facerank_model.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/facedetectpp_0_5_2_model:$(TARGET_COPY_OUT_VENDOR)/etc/camera/facedetectpp_0_5_2_model \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/mibokeh_712_opencl.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_712_opencl.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/mibokeh_712_parameter.bin:$(TARGET_COPY_OUT_VENDOR)/etc/camera/mibokeh_712_parameter.bin \
vendor/xiaomi/sweet/proprietary/vendor/etc/camera/sceneDetection.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/sceneDetection.xml \
@ -261,6 +262,7 @@ PRODUCT_PACKAGES += \
com.qti.chi.override \
fingerprint.fortsense.sm6150 \
fingerprint.fpc.sm6150 \
libFaceDetectpp-0.5.2 \
libFaceGrade \
libPSNPE \
libSNPE \
@ -299,6 +301,7 @@ PRODUCT_PACKAGES += \
libcom.qti.chinodeutils \
libdualcam_optical_zoom_control \
libdualcam_video_optical_zoom \
libfacedet \
libft2vendor \
libhta \
libhta_hexagon_runtime \