peridot: Bring back mispatializer, misoundfx and dolby stack

Change-Id: I5660be1e6c0b575afcb00e37a10ac022b75db0d6
This commit is contained in:
2026-04-30 06:30:38 +00:00
parent 9c295c8681
commit cff17e40d6
36 changed files with 1064 additions and 2 deletions
+827
View File
@@ -3873,6 +3873,110 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libcodec2_soft_ac4dec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_soft_ac4dec.so",
],
shared_libs: [
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libdeccfg",
"libbase",
"libcodec2",
"libcodec2_vndk",
"libutils",
"libcodec2_soft_common",
"libcutils",
"liblog",
"libsfplugin_ccodec_utils",
"libstagefright_foundation",
"libcodec2_store_dolby",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libcodec2_soft_ddpdec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_soft_ddpdec.so",
],
shared_libs: [
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libdeccfg",
"libbase",
"libcodec2",
"libcodec2_vndk",
"libutils",
"libcodec2_soft_common",
"libcutils",
"liblog",
"libsfplugin_ccodec_utils",
"libstagefright_foundation",
"libcodec2_store_dolby",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libcodec2_store_dolby",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_store_dolby.so",
],
shared_libs: [
"libdmabufheap",
"libbase",
"liblog",
"libcodec2",
"libcodec2_vndk",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libconfigdb",
owner: "xiaomi",
@@ -3980,6 +4084,33 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdapparamstorage",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdapparamstorage.so",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdataitems",
owner: "xiaomi",
@@ -4010,6 +4141,36 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdeccfg",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdeccfg.so",
],
shared_libs: [
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libdapparamstorage",
"libcutils",
"libutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdfintf",
owner: "xiaomi",
@@ -4315,6 +4476,193 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdlbdsservice",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdlbdsservice.so",
],
shared_libs: [
"libutils",
"libcutils",
"libstagefright_foundation",
"liblog",
"libxml2",
"libcrypto",
"libdapparamstorage",
"libsqlite",
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libprocessgroup",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdlbpreg",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdlbpreg.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libstagefright_foundation",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdolbyclstc",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdolbyclstc.so",
],
shared_libs: [
"libbinder_ndk",
"libsensorndkbridge",
"liblog",
"libm",
"libdl",
"libc",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdolbydecoderprocessor",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdolbydecoderprocessor.so",
],
shared_libs: [
"libbase",
"libcodec2",
"libcodec2_vndk",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"liblog",
"libEGL",
"libGLESv2",
"libui",
"libutils",
"libstagefright_foundation",
"libcutils",
"libdolbyottcameracontrol",
"libhidlbase",
"libnativewindow",
"libdolbyeglcore",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdolbyeglcore",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdolbyeglcore.so",
],
shared_libs: [
"libEGL",
"libGLESv3",
"libnativewindow",
"libcutils",
"liblog",
"libutils",
"libui",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdolbyottcameracontrol",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdolbyottcameracontrol.so",
],
shared_libs: [
"liblog",
"libGLESv3",
"libEGL",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdpmqmihal",
owner: "xiaomi",
@@ -7283,6 +7631,35 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmisoundfx_ext",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libmisoundfx_ext.so",
],
shared_libs: [
"liblog",
"libutils",
"libmis6",
"libcutils",
"libstagefright_foundation",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmisoundsa",
owner: "xiaomi",
@@ -8958,6 +9335,43 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_dolbydecoderfilter",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_dolbydecoderfilter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libqcodec2_filterbase",
"libqcodec2_platform",
"qti.video.utils.videobufferlayout",
"libdolbydecoderprocessor",
"libstagefright_foundation",
"libnativewindow",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_filterbase",
owner: "xiaomi",
@@ -12264,6 +12678,35 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libspatializerparamstorage",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libspatializerparamstorage.so",
],
shared_libs: [
"libcutils",
"libutils",
"liblog",
"libxml2",
"libdapparamstorage",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libspcom",
owner: "xiaomi",
@@ -12439,6 +12882,40 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libswspatializer_ext",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libswspatializer_ext.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libdapparamstorage",
"libspatializerparamstorage",
"libhidlbase",
"libstagefright_foundation",
"libdlbpreg",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsynergy_loc_api",
owner: "xiaomi",
@@ -15577,6 +16054,74 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdlbvol",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libdlbvol.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libstagefright_foundation",
"libdlbpreg",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libhwdap",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libhwdap.so",
],
shared_libs: [
"libspatializerparamstorage",
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libdapparamstorage",
"libhidlbase",
"libdlbpreg",
"vendor.dolby.hardware.dms@2.0",
"libstagefright_foundation",
"libprocessgroup",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libquasar",
owner: "xiaomi",
@@ -15604,6 +16149,139 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libspatializer",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libspatializer.so",
],
shared_libs: [
"liblog",
"libutils",
"libmisoundsa",
"libswspatializer_ext",
"libcutils",
"libmisoundfx_ext",
"libmis6",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libswgamedap",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libswgamedap.so",
],
shared_libs: [
"libspatializerparamstorage",
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libdapparamstorage",
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libswspatializer",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libswspatializer.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libdapparamstorage",
"libspatializerparamstorage",
"libhidlbase",
"libstagefright_foundation",
"libdlbpreg",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libswvqe",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/soundfx/libswvqe.so",
],
shared_libs: [
"libspatializerparamstorage",
"liblog",
"libutils",
"libcutils",
"libaudioutils",
"libdapparamstorage",
"libhidlbase",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.display.color@1.0",
owner: "xiaomi",
@@ -15815,6 +16493,66 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.dolby.hardware.dms@2.0-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.dolby.hardware.dms@2.0-impl.so",
],
shared_libs: [
"libcutils",
"libprocessgroup",
"libhidlbase",
"libutils",
"liblog",
"libdapparamstorage",
"libdlbdsservice",
"vendor.dolby.hardware.dms@2.0",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.dolby.hardware.dms@2.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.dolby.hardware.dms@2.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.libdpmctmgr",
owner: "xiaomi",
@@ -37965,6 +38703,15 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.dolby.hardware.dms.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/vendor.dolby.hardware.dms.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "vendor.qti.diag.hal.service.xml",
owner: "xiaomi",
@@ -39060,6 +39807,79 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.dolby.hardware.dms@2.0-service",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libhidlbase",
"libdapparamstorage",
"libdlbdsservice",
"vendor.dolby.hardware.dms@2.0",
"vendor.dolby.hardware.dms@2.0-impl",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.dolby.media.c2@1.0-service",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/vendor.dolby.media.c2@1.0-service",
],
shared_libs: [
"libbase",
"liblog",
"libcodec2",
"libutils",
"android.hardware.media.c2@1.0",
"android.hardware.media.c2@1.1",
"android.hardware.media.c2@1.2",
"libcodec2_hidl@1.0",
"libcodec2_hidl@1.1",
"libcodec2_hidl@1.2",
"libcodec2_vndk",
"libhidlbase",
"libavservices_minijail",
"libbinder",
"libcodec2_store_dolby",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.qti.hardware.alarm-service",
owner: "xiaomi",
@@ -41425,6 +42245,13 @@ install_symlink {
symlink_target: "/vendor/lib64/egl/libq3dtools_adreno.so",
}
install_symlink {
name: "vendor_lib64_soundfx_libmisoundfx_so",
soc_specific: true,
installed_location: "lib64/soundfx/libmisoundfx.so",
symlink_target: "/vendor/lib64/libmisoundfx_ext.so",
}
filegroup {
name: "proprietary_rildb_config_sql_files",
srcs: [
+34 -1
View File
@@ -573,6 +573,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/peridot/proprietary/odm/etc/sensors/config/sns_tilt_sw_disabled.json:$(TARGET_COPY_OUT_ODM)/etc/sensors/config/sns_tilt_sw_disabled.json \
vendor/xiaomi/peridot/proprietary/odm/etc/sensors/config/sns_tilt_sw_enabled.json:$(TARGET_COPY_OUT_ODM)/etc/sensors/config/sns_tilt_sw_enabled.json \
vendor/xiaomi/peridot/proprietary/odm/etc/sensors/config/sns_tilt_to_wake.json:$(TARGET_COPY_OUT_ODM)/etc/sensors/config/sns_tilt_to_wake.json \
vendor/xiaomi/peridot/proprietary/odm/etc/surfaceflinger/dolby_vision.cfg:$(TARGET_COPY_OUT_ODM)/etc/surfaceflinger/dolby_vision.cfg \
vendor/xiaomi/peridot/proprietary/odm/etc/thermal-4k.conf:$(TARGET_COPY_OUT_ODM)/etc/thermal-4k.conf \
vendor/xiaomi/peridot/proprietary/odm/etc/thermal-arvr.conf:$(TARGET_COPY_OUT_ODM)/etc/thermal-arvr.conf \
vendor/xiaomi/peridot/proprietary/odm/etc/thermal-boost.conf:$(TARGET_COPY_OUT_ODM)/etc/thermal-boost.conf \
@@ -812,6 +813,8 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/peridot/proprietary/odm/lib64/camera/fdconfigsecure.bin:$(TARGET_COPY_OUT_ODM)/lib64/camera/fdconfigsecure.bin \
vendor/xiaomi/peridot/proprietary/odm/lib64/camera/fdconfigvideo.bin:$(TARGET_COPY_OUT_ODM)/lib64/camera/fdconfigvideo.bin \
vendor/xiaomi/peridot/proprietary/odm/lib64/camera/fdconfigvideolite.bin:$(TARGET_COPY_OUT_ODM)/lib64/camera/fdconfigvideolite.bin \
vendor/xiaomi/peridot/proprietary/odm/vendor/etc/dolby_vision.cfg:$(TARGET_COPY_OUT_ODM)/vendor/etc/dolby_vision.cfg \
vendor/xiaomi/peridot/proprietary/odm/vendor/persist/display/dolby_vision.cfg:$(TARGET_COPY_OUT_ODM)/vendor/persist/display/dolby_vision.cfg \
vendor/xiaomi/peridot/proprietary/product/etc/permissions/UimGba.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/UimGba.xml \
vendor/xiaomi/peridot/proprietary/product/etc/permissions/UimGbaManager.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/UimGbaManager.xml \
vendor/xiaomi/peridot/proprietary/product/etc/permissions/UimService.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/UimService.xml \
@@ -945,6 +948,8 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/shsusrd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/shsusrd.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/ssgtzd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ssgtzd.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/tlpd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tlpd.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.dolby.hardware.dms@2.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.hardware.dms@2.0-service.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.dolby.media.c2@1.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2@1.0-service.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.dpmd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dpmd.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.adsprpc-guestos-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.adsprpc-guestos-service.rc \
vendor/xiaomi/peridot/proprietary/vendor/etc/init/vendor.qti.cdsprpc-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.cdsprpc-service.rc \
@@ -972,6 +977,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/peridot/proprietary/vendor/etc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
vendor/xiaomi/peridot/proprietary/vendor/etc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
vendor/xiaomi/peridot/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \
vendor/xiaomi/peridot/proprietary/vendor/etc/microphone_characteristics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/microphone_characteristics.xml \
vendor/xiaomi/peridot/proprietary/vendor/etc/models/acd/environment.eai:$(TARGET_COPY_OUT_VENDOR)/etc/models/acd/environment.eai \
vendor/xiaomi/peridot/proprietary/vendor/etc/models/acd/event.eai:$(TARGET_COPY_OUT_VENDOR)/etc/models/acd/event.eai \
@@ -1181,11 +1187,16 @@ PRODUCT_PACKAGES += \
libcneapiclient \
libcneoplookup \
libcneqmiutils \
libcodec2_soft_ac4dec \
libcodec2_soft_ddpdec \
libcodec2_store_dolby \
libconfigdb \
libcpion \
libcustomva_intf \
libcv_common \
libdapparamstorage \
libdataitems \
libdeccfg \
libdfintf \
libdiag \
libdiagjni \
@@ -1197,6 +1208,12 @@ PRODUCT_PACKAGES += \
libdisplayfeatureservice \
libdisplayqos \
libdisplayskuutils \
libdlbdsservice \
libdlbpreg \
libdolbyclstc \
libdolbydecoderprocessor \
libdolbyeglcore \
libdolbyottcameracontrol \
libdpmqmihal \
libdpp_manager \
libdpps \
@@ -1297,6 +1314,7 @@ PRODUCT_PACKAGES += \
libmisfpsop \
libmisight \
libmisops \
libmisoundfx_ext \
libmisoundsa \
libmispowerop \
libmisr \
@@ -1353,6 +1371,7 @@ PRODUCT_PACKAGES += \
libqcodec2_basecodec \
libqcodec2_core \
libqcodec2_cvpfilter \
libqcodec2_dolbydecoderfilter \
libqcodec2_filterbase \
libqcodec2_hooks \
libqcodec2_imgtxrfilter \
@@ -1460,12 +1479,14 @@ PRODUCT_PACKAGES += \
libsnsdiaglog \
libsnsutils \
libsoc_helper \
libspatializerparamstorage \
libspcom \
libspl \
libssc_default_listener \
libssd \
libstnfc-streset \
libsubsystem_control \
libswspatializer_ext \
libsynergy_loc_api \
libsynx \
libsys_info_cache \
@@ -1576,7 +1597,13 @@ PRODUCT_PACKAGES += \
libworker_pool \
sensors.qsh \
libasphere \
libdlbvol \
libhwdap \
libquasar \
libspatializer \
libswgamedap \
libswspatializer \
libswvqe \
vendor.display.color@1.0 \
vendor.display.color@1.1 \
vendor.display.color@1.2 \
@@ -1584,6 +1611,8 @@ PRODUCT_PACKAGES += \
vendor.display.color@1.4 \
vendor.display.color@1.5 \
vendor.display.postproc@1.0 \
vendor.dolby.hardware.dms@2.0-impl \
vendor.dolby.hardware.dms@2.0 \
vendor.libdpmctmgr \
vendor.libdpmfdmgr \
vendor.libdpmframework \
@@ -2311,6 +2340,7 @@ PRODUCT_PACKAGES += \
qms-saidl.xml \
qtiradio-saidl.xml \
secure_element-service.xml \
vendor.dolby.hardware.dms.xml \
vendor.qti.diag.hal.service.xml \
vendor.qti.hardware.alarm.xml \
vendor.qti.hardware.data.connectionaidl.xml \
@@ -2369,6 +2399,8 @@ PRODUCT_PACKAGES += \
android.hardware.security.keymint-service-qti \
qconfigservice \
qcrilNrd \
vendor.dolby.hardware.dms@2.0-service \
vendor.dolby.media.c2@1.0-service \
vendor.qti.hardware.alarm-service \
vendor.qti.hardware.capabilityconfigstore@1.0-service \
vendor.qti.hardware.display.color-service \
@@ -2459,7 +2491,8 @@ PRODUCT_PACKAGES += \
system_ext_priv-app_WfdService_lib_arm64_libwfdnative_so \
vendor_lib64_libEGL_adreno_so \
vendor_lib64_libGLESv2_adreno_so \
vendor_lib64_libq3dtools_adreno_so
vendor_lib64_libq3dtools_adreno_so \
vendor_lib64_soundfx_libmisoundfx_so
PRODUCT_BOOT_JARS += \
WfdCommon
@@ -0,0 +1,46 @@
# Dolby Vision Display Management Configuration File
# Path : /odm/etc/surfaceflinger/
# Date : 02/21/2024
# Brand Model Number: N16T 24069RA21C
[Global]
ReferenceDarkPicModeIndex = 2
IDK_Version = SW_4.5
DMSwVersion = 4.0
Tmax = 1158.6886
Tmin = 0.0001
TPrimaries = 0.6789 0.3203 0.27 0.6837 0.1489 0.063 0.2984 0.3146
TEOTF = POWER
Tgamma = 2.17
Ambient = 3
TSurroundReflection = 0.5
TScreenReflection = 0.0005
ALDelayMilliSec = 50
ALResponseFall = 0.004
ALResponseRise = 0.02
ALOperationalRate = 50
TFrontLux = 378.0
TFrontLuxScale = 1.62
BLUPwm = 75 130 176 216 255
#BLULight = 298.62 478.20 684.58 901.93 1158.6886
BLULight = 1158.6886 1158.6886 1158.6886 1158.6886 1158.6886
BLULightMin = 0.0001 0.0001 0.0001 0.0001 0.0001
[PictureMode = 0]
PictureModeName = Dolby Vision Bright
DBrightness = 0.5
DSaturation = 0.65
[PictureMode = 1]
PictureModeName = Dolby Vision Vivid
DBrightness = 0.5
[PictureMode = 2]
PictureModeName = Dolby Vision Dark
+48
View File
@@ -0,0 +1,48 @@
#Configuration Start
[Display]
ID = 0
Width = 1440
Height = 3200
[Global]
ReferenceDarkPicModeIndex = 2
IDK_Version = SW_4.5.2
DMSwVersion = 4.0
DeviceModelName = 24069RA21C
DefaultOutputFormat = YUV
Tmax = 1158.6886
Tmin = 0.0001
TPrimaries = 0.6789 0.3203 0.27 0.6837 0.1489 0.063 0.2984 0.3146
TEOTF = POWER
Tgamma = 2.17
Ambient = 3
TSurroundReflection = 0.5
TScreenReflection = 0.0005
ALDelayMilliSec = 50
ALResponseFall = 0.004
ALResponseRise = 0.02
ALOperationalRate = 50
TFrontLux = 378.0
TFrontLuxScale = 1.62
BLUPwm = 75 130 176 216 255
#BLULight = 298.62 478.20 684.58 901.93 1158.6886
BLULight = 1158.6886 1158.6886 1158.6886 1158.6886 1158.6886
BLULightMin = 0.0001 0.0001 0.0001 0.0001 0.0001
[PictureMode = 0]
PictureModeName = Dolby Vision Bright
DBrightness = 0.3
[PictureMode = 1]
PictureModeName = Dolby Vision Vivid
DBrightness = 0.3
DSaturation = 0.1
[PictureMode = 2]
PictureModeName = Dolby Vision Dark
SupportsDM3 = 1
Ambient = 0
#Configuration End
+30
View File
@@ -0,0 +1,30 @@
[Global]
ReferenceDarkPicModeIndex = 0
IDK_Version = SW_4.5
DMSwVersion = 4.0
DeviceModelName = 24069RA21C
Tmax = 1158.6886
Tmin = 0.0001
TPrimaries = 0.6789 0.3203 0.27 0.6837 0.1489 0.063 0.2984 0.3146
TEOTF = POWER
Tgamma = 2.17
Ambient = 3
TSurroundReflection = 0.5
TScreenReflection = 0.0005
ALDelayMilliSec = 50
ALResponseFall = 0.004
ALResponseRise = 0.02
ALOperationalRate = 50
TFrontLux = 378.0
TFrontLuxScale = 1.62
BLUPwm = 75 130 176 216 255
#BLULight = 298.62 478.20 684.58 901.93 1158.6886
BLULight = 1158.6886 1158.6886 1158.6886 1158.6886 1158.6886
BLULightMin = 0.0001 0.0001 0.0001 0.0001 0.0001
[PictureMode = 0]
PictureModeName = Dolby Vision Bright
DBrightness = 0.3
Binary file not shown.
Binary file not shown.
+5 -1
View File
@@ -34,7 +34,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<clstc_libs>
<library>
<name>libdolbyclstc.so</name>
<priority>1</priority>
<enable>1</enable>
</library>
<library>
<name>libclstc_algorithm_adapter.so</name>
<priority>2</priority>
@@ -0,0 +1,6 @@
service dms-hal-2-0 /vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service
class hal
user media
group audio media
on post-fs-data
mkdir /data/vendor/dolby 0770 media media
@@ -0,0 +1,7 @@
service vendor-dolby-media-c2-hal-1-0 /vendor/bin/hw/vendor.dolby.media.c2@1.0-service
class hal
user mediacodec
group camera mediadrm drmrpc
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
+49
View File
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
This program is protected under international and U.S. copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
Copyright (C) 2020-2021 by Dolby Laboratories,
All rights reserved.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="c2.dolby.eac3.decoder" >
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder" />
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</Type>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder" />
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Type name="audio/eac3-joc">
<Alias name="OMX.dolby.eac3-joc.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_UDC END -->
<!-- DOLBY_AC4 -->
<MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4">
<Alias name="OMX.dolby.ac4.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="16000-2688000" />
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_AC4 END -->
</Decoders>
</Included>
@@ -36,5 +36,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
<instance>software</instance>
</interface>
<fqname>@1.0::IComponentStore/default1</fqname><!-- DOLBY ADD -->
</hal>
</manifest>
@@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.dolby.hardware.dms</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IDms</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
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.
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.