klee: Add Dolby Vision support

Change-Id: Ie3c4a5e506f47d2a6f4614570a40b21858d4bf97
Signed-off-by: kylieeXD <khayloaftck@gmail.com>
This commit is contained in:
kylieeXD committed 2026-08-22 06:24:03 +00:00
1 parent d0c8ce8b6a
commit f4f4e86402
25 files changed
+806 -3

No files matched your search

+580 -3
View File
@@ -216,6 +216,188 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "c2.dolby.client",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/c2.dolby.client.so",
],
shared_libs: [
"android.hardware.media.c2-V1-ndk",
"libbinder_ndk",
"libcodec2_aidl_prebuilt",
"libstagefright_aidl_bufferpool2",
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libbase",
"liblog",
"libcodec2",
"libcodec2_hal_common",
"libcodec2_vndk",
"libutils",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"libhidlbase",
"libcutils",
"libstagefright_bufferpool@2.0.1",
"libnativewindow",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "c2.dolby.hevc.dec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/c2.dolby.hevc.dec.so",
],
shared_libs: [
"libdolbyottcameracontrol",
"libsensorndkbridge",
"android.hardware.media.c2-V1-ndk",
"libbinder_ndk",
"libcodec2_aidl_prebuilt",
"libstagefright_aidl_bufferpool2",
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libcodec2_hal_common",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"libcodec2_soft_common",
"libcutils",
"libsfplugin_ccodec_utils",
"libstagefright_foundation",
"libbase",
"liblog",
"libcodec2",
"libcodec2_vndk",
"libutils",
"libEGL",
"libGLESv3",
"c2.dolby.store",
"c2.dolby.client",
"libstagefright_bufferpool@2.0.1",
"libdolbydecoderprocessor",
"libui",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "c2.dolby.hevc.sec.dec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/c2.dolby.hevc.sec.dec.so",
],
shared_libs: [
"libdolbyottcameracontrol",
"libsensorndkbridge",
"android.hardware.media.c2-V1-ndk",
"libbinder_ndk",
"libcodec2_aidl_prebuilt",
"libstagefright_aidl_bufferpool2",
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libcodec2_hal_common",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"libcodec2_soft_common",
"libcutils",
"libsfplugin_ccodec_utils",
"libstagefright_foundation",
"libbase",
"liblog",
"libcodec2",
"libcodec2_vndk",
"libutils",
"libEGL",
"libGLESv3",
"c2.dolby.store",
"c2.dolby.client",
"libstagefright_bufferpool@2.0.1",
"libdolbydecoderprocessor",
"libui",
"libhidlbase",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "c2.dolby.store",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/c2.dolby.store.so",
],
shared_libs: [
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libbase",
"libcodec2",
"libcodec2_hal_common",
"libcodec2_vndk",
"libutils",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"liblog",
"libcutils",
"libdmabufheap",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "com.xiaomi.camdfx", name: "com.xiaomi.camdfx",
owner: "xiaomi", owner: "xiaomi",
@@ -4779,6 +4961,49 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcodec2_aidl_prebuilt",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_aidl_prebuilt.so",
],
shared_libs: [
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"android.hardware.common-V2-ndk",
"android.hardware.media.bufferpool2-V2-ndk",
"android.hardware.media.c2-V1-ndk",
"libbase",
"libbinder_ndk",
"libcodec2",
"libcodec2_hal_common_prebuilt",
"libcodec2_vndk_prebuilt",
"libcutils",
"libhidlbase",
"liblog",
"libnativewindow",
"libstagefright_aidl_bufferpool2",
"libstagefright_bufferpool@2.0.1",
"libui",
"libutils",
"libcodec2_hidl_plugin_prebuilt",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libcodec2_fsr", name: "libcodec2_fsr",
owner: "xiaomi", owner: "xiaomi",
@@ -4824,6 +5049,66 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcodec2_hal_common_prebuilt",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_hal_common_prebuilt.so",
],
shared_libs: [
"libbase",
"libcodec2",
"libcodec2_vndk",
"liblog",
"libstagefright_foundation",
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libcodec2_hidl_plugin_prebuilt",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_hidl_plugin_prebuilt.so",
],
shared_libs: [
"libbase",
"libcodec2",
"libcodec2_vndk",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libcodec2_mtk_c2store", name: "libcodec2_mtk_c2store",
owner: "xiaomi", owner: "xiaomi",
@@ -4874,7 +5159,7 @@ cc_prebuilt_library_shared {
shared_libs: [ shared_libs: [
"android.hardware.media.c2-V1-ndk", "android.hardware.media.c2-V1-ndk",
"libbinder_ndk", "libbinder_ndk",
"libcodec2_aidl", "libcodec2_aidl_prebuilt",
"server_configurable_flags", "server_configurable_flags",
"libaconfig_storage_read_api_cc", "libaconfig_storage_read_api_cc",
"android.hardware.media.c2@1.0", "android.hardware.media.c2@1.0",
@@ -4946,7 +5231,7 @@ cc_prebuilt_library_shared {
"libXMFaceFocus1206", "libXMFaceFocus1206",
"android.hardware.media.c2-V1-ndk", "android.hardware.media.c2-V1-ndk",
"libbinder_ndk", "libbinder_ndk",
"libcodec2_aidl", "libcodec2_aidl_prebuilt",
"server_configurable_flags", "server_configurable_flags",
"libaconfig_storage_read_api_cc", "libaconfig_storage_read_api_cc",
"android.hardware.media.c2@1.0", "android.hardware.media.c2@1.0",
@@ -5107,6 +5392,54 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libcodec2_vndk_prebuilt",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libcodec2_vndk_prebuilt.so",
],
shared_libs: [
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"android.hardware.graphics.bufferqueue@2.0",
"android.hardware.graphics.common@1.2",
"android.hardware.common-V2-ndk",
"android.hardware.common.fmq-V1-ndk",
"android.hardware.media.bufferpool@2.0",
"android.hardware.media.bufferpool2-V2-ndk",
"android.hardware.media.c2-V1-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
"libdmabufheap",
"libfmq",
"libgralloctypes",
"libhidlbase",
"libion",
"liblog",
"libnativewindow",
"libstagefright_foundation",
"libstagefright_bufferpool@2.0.1",
"libstagefright_aidl_bufferpool2",
"libui",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libcodec2_vpp_AIMEMC_plugin", name: "libcodec2_vpp_AIMEMC_plugin",
owner: "xiaomi", owner: "xiaomi",
@@ -6515,6 +6848,100 @@ cc_prebuilt_library_shared {
soc_specific: 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: [
"liblog",
"libEGL",
"libGLESv2",
"libui",
"libutils",
"libstagefright_foundation",
"libcutils",
"libdolbyottcameracontrol",
"libhidlbase",
"libnativewindow",
"libdolbyeglcore",
"libcodec2_vndk",
"libcodec2",
"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 { cc_prebuilt_library_shared {
name: "libecoengine", name: "libecoengine",
owner: "xiaomi", owner: "xiaomi",
@@ -38018,6 +38445,15 @@ prebuilt_etc_xml {
soc_specific: true, soc_specific: true,
} }
prebuilt_etc_xml {
name: "manifest_media_c2_default.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/manifest_media_c2_default.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml { prebuilt_etc_xml {
name: "manifest_mmlpq.xml", name: "manifest_mmlpq.xml",
owner: "xiaomi", owner: "xiaomi",
@@ -38640,6 +39076,104 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "android.hardware.media.c2-mediatek-64b",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.media.c2-mediatek-64b",
],
shared_libs: [
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libcodec2_hal_common",
"libcodec2_aidl_prebuilt",
"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",
"libcutils",
"libavservices_minijail",
"libbinder",
"libbinder_ndk",
"libcodec2_mtk_c2store",
"libcodec2_mtk_vdec",
"libcodec2_mtk_venc",
"android.hardware.media.c2-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.media.c2@1.2-mediatek-64b",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.media.c2@1.2-mediatek-64b",
],
shared_libs: [
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libcodec2_hal_common",
"android.hardware.media.c2-V1-ndk",
"libcodec2_aidl",
"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",
"libcutils",
"libavservices_minijail",
"libbinder",
"libbinder_ndk",
"libcodec2_mtk_c2store",
"libcodec2_mtk_vdec",
"libcodec2_mtk_venc",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "android.hardware.neuralnetworks-shim-service-mtk", name: "android.hardware.neuralnetworks-shim-service-mtk",
owner: "xiaomi", owner: "xiaomi",
@@ -38968,7 +39502,7 @@ cc_prebuilt_binary {
shared_libs: [ shared_libs: [
"android.hardware.media.c2-V1-ndk", "android.hardware.media.c2-V1-ndk",
"libbinder_ndk", "libbinder_ndk",
"libcodec2_aidl", "libcodec2_aidl_prebuilt",
"server_configurable_flags", "server_configurable_flags",
"libaconfig_storage_read_api_cc", "libaconfig_storage_read_api_cc",
"libbase", "libbase",
@@ -39003,6 +39537,49 @@ cc_prebuilt_binary {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_binary {
name: "vendor.dolby.media.c2-service-vision",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/vendor.dolby.media.c2-service-vision",
],
shared_libs: [
"android.hardware.media.c2-V1-ndk",
"libbinder_ndk",
"libcodec2_aidl_prebuilt",
"libstagefright_aidl_bufferpool2",
"server_configurable_flags",
"libaconfig_storage_read_api_cc",
"libbase",
"liblog",
"libcodec2",
"libcodec2_hal_common",
"libcodec2_vndk",
"libutils",
"android.hardware.media.c2@1.0",
"libcodec2_hidl@1.0",
"libbinder",
"libhidlbase",
"c2.dolby.store",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary { cc_prebuilt_binary {
name: "vendor.mediatek.hardware.gpuserv-service", name: "vendor.mediatek.hardware.gpuserv-service",
owner: "xiaomi", owner: "xiaomi",
+20
View File
@@ -567,6 +567,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-fs19xx-spatializer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx-spatializer.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-fs19xx-spatializer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx-spatializer.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-fs19xx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/dolby/dax-fs19xx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-fs19xx.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/dolby_vision.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/dolby_vision.cfg \
vendor/xiaomi/klee/proprietary/vendor/etc/ecc_list.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/ecc_list.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/ecc_list_preference.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_preference.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/ecc_list_preference.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ecc_list_preference.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/elliptic_sensor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/elliptic_sensor.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/elliptic_sensor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/elliptic_sensor.xml \
@@ -607,6 +608,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.graphics.composer@3.3-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.composer@3.3-service.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.graphics.composer@3.3-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.composer@3.3-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.identity@5.0-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.identity@5.0-service.mitee.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.identity@5.0-service.mitee.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.identity@5.0-service.mitee.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.media.c2-mediatek-64b.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.media.c2-mediatek-64b.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.neuralnetworks-shim-service-mtk.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.security.keymint.mitee@3.0-service.rc \
@@ -634,6 +636,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/init/tee-supplicant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tee-supplicant.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/tee-supplicant.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tee-supplicant.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/touch_boost.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/touch_boost.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/touch_boost.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/touch_boost.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.dolby.media.c2-default-service-dax.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2-default-service-dax.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.dolby.media.c2-default-service-dax.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2-default-service-dax.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.dolby.media.c2-service-vision.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.dolby.media.c2-service-vision.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmagent-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmagent-service.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmagent-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmagent-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mmlpq@V1-service.rc \
vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mms-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mms-service.rc \ vendor/xiaomi/klee/proprietary/vendor/etc/init/vendor.mediatek.hardware.mms-service.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.mediatek.hardware.mms-service.rc \
@@ -741,6 +744,8 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/camera_extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/camera_extensions.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/permissions/camera_extensions.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/camera_extensions.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \ vendor/xiaomi/klee/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \ vendor/xiaomi/klee/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
vendor/xiaomi/klee/proprietary/vendor/etc/seccomp_policy/android.hardware.media.c2@1.2-extended-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/android.hardware.media.c2@1.2-extended-seccomp-policy \
vendor/xiaomi/klee/proprietary/vendor/etc/seccomp_policy/android.hardware.media.c2@1.2-mediatek-seccomp-policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/android.hardware.media.c2@1.2-mediatek-seccomp-policy \
vendor/xiaomi/klee/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \ vendor/xiaomi/klee/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \
vendor/xiaomi/klee/proprietary/vendor/etc/slp_conf:$(TARGET_COPY_OUT_VENDOR)/etc/slp_conf \ vendor/xiaomi/klee/proprietary/vendor/etc/slp_conf:$(TARGET_COPY_OUT_VENDOR)/etc/slp_conf \
vendor/xiaomi/klee/proprietary/vendor/etc/smartpa_param/AW_DSP.bin:$(TARGET_COPY_OUT_VENDOR)/etc/smartpa_param/AW_DSP.bin \ vendor/xiaomi/klee/proprietary/vendor/etc/smartpa_param/AW_DSP.bin:$(TARGET_COPY_OUT_VENDOR)/etc/smartpa_param/AW_DSP.bin \
@@ -1117,6 +1122,10 @@ PRODUCT_PACKAGES += \
android.hardware.audio.core-impl-mediatek \ android.hardware.audio.core-impl-mediatek \
android.hardware.bluetooth.audio-impl-mediatek \ android.hardware.bluetooth.audio-impl-mediatek \
android.hardware.security.keymint-V3-ndk-v36 \ android.hardware.security.keymint-V3-ndk-v36 \
c2.dolby.client \
c2.dolby.hevc.dec \
c2.dolby.hevc.sec.dec \
c2.dolby.store \
com.xiaomi.camdfx \ com.xiaomi.camdfx \
com.xiaomi.camhal.extmodel.ec_executor \ com.xiaomi.camhal.extmodel.ec_executor \
com.xiaomi.camhal.extmodel.intent_aware_sys \ com.xiaomi.camhal.extmodel.intent_aware_sys \
@@ -1265,13 +1274,17 @@ PRODUCT_PACKAGES += \
libccci_util \ libccci_util \
libcmdl \ libcmdl \
libcmdl_ndk.mtk.vndk \ libcmdl_ndk.mtk.vndk \
libcodec2_aidl_prebuilt \
libcodec2_fsr \ libcodec2_fsr \
libcodec2_hal_common_prebuilt \
libcodec2_hidl_plugin_prebuilt \
libcodec2_mtk_c2store \ libcodec2_mtk_c2store \
libcodec2_mtk_vdec \ libcodec2_mtk_vdec \
libcodec2_mtk_venc \ libcodec2_mtk_venc \
libcodec2_soft_ac4dec \ libcodec2_soft_ac4dec \
libcodec2_soft_ddpdec \ libcodec2_soft_ddpdec \
libcodec2_store_dolby \ libcodec2_store_dolby \
libcodec2_vndk_prebuilt \
libcodec2_vpp_AIMEMC_plugin \ libcodec2_vpp_AIMEMC_plugin \
libcodec2_vpp_AISR_plugin \ libcodec2_vpp_AISR_plugin \
libcodec2_vpp_fa_plugin \ libcodec2_vpp_fa_plugin \
@@ -1314,6 +1327,9 @@ PRODUCT_PACKAGES += \
libdlbdsservice \ libdlbdsservice \
libdlbpreg \ libdlbpreg \
libdmshal \ libdmshal \
libdolbydecoderprocessor \
libdolbyeglcore \
libdolbyottcameracontrol \
libecoengine \ libecoengine \
libfeature.aiseg.assist.linux \ libfeature.aiseg.assist.linux \
libfeature.hdr10 \ libfeature.hdr10 \
@@ -2307,6 +2323,7 @@ PRODUCT_PACKAGES += \
manifest_cameraprovider.xml \ manifest_cameraprovider.xml \
manifest_hwcomposer.xml \ manifest_hwcomposer.xml \
manifest_isphal.xml \ manifest_isphal.xml \
manifest_media_c2_default.xml \
manifest_mmlpq.xml \ manifest_mmlpq.xml \
manifest_mtkgpuserv.xml \ manifest_mtkgpuserv.xml \
manifest_uievent.xml \ manifest_uievent.xml \
@@ -2339,6 +2356,8 @@ PRODUCT_PACKAGES += \
android.hardware.gnss-service.mediatek \ android.hardware.gnss-service.mediatek \
android.hardware.graphics.composer@3.3-service \ android.hardware.graphics.composer@3.3-service \
android.hardware.identity-service.mitee@5.0 \ android.hardware.identity-service.mitee@5.0 \
android.hardware.media.c2-mediatek-64b \
android.hardware.media.c2@1.2-mediatek-64b \
android.hardware.neuralnetworks-shim-service-mtk \ android.hardware.neuralnetworks-shim-service-mtk \
android.hardware.secure_element@1.2-service-mediatek \ android.hardware.secure_element@1.2-service-mediatek \
android.hardware.security.keymint@3.0-service.mitee \ android.hardware.security.keymint@3.0-service.mitee \
@@ -2348,6 +2367,7 @@ PRODUCT_PACKAGES += \
tetheroffloadservice \ tetheroffloadservice \
vendor.dolby.dms.service \ vendor.dolby.dms.service \
vendor.dolby.media.c2-default-service-dax \ vendor.dolby.media.c2-default-service-dax \
vendor.dolby.media.c2-service-vision \
vendor.mediatek.hardware.gpuserv-service \ vendor.mediatek.hardware.gpuserv-service \
vendor.mediatek.hardware.mmagent-service \ vendor.mediatek.hardware.mmagent-service \
vendor.mediatek.hardware.mmlpq@V1-service \ vendor.mediatek.hardware.mmlpq@V1-service \
Binary file not shown.
Binary file not shown.
Binary file not shown.
+52
View File
@@ -0,0 +1,52 @@
# Path : /vendor/etc/dolby_vision.cfg
# Date : 2025/10/23
# Brand Model: Redmi klee 2511FRT34C
#Configuration Start
[Display]
ID = 0
Width = 1268
Height = 2756
[Global]
DoViBrightPicModeIndex = 0
IDK_Version = SW_4.5.2
DMSwVersion = 4.0
DeviceModelName = NULL
DefaultOutputFormat = YUV
Tmax = 2000
Tmin = 0.0001
TPrimaries = 0.68 0.32 0.265 0.69 0.15 0.06 0.307 0.320
TEOTF = POWER
Tgamma = 2.2
#BLUBrightness = 15.0 47.0 63.0 79.0 111.0
BLUPwm = 57.6836 172.039 179.946 187.8685 201.5034
BLULight = 289.3014 920.2069 1239.5847 1560.19 2000.0
BLULightMin = 0.0001 0.0001 0.0001 0.0001 0.0001
Ambient = 3
TSurroundReflection = 0.5
TScreenReflection = 0.0005
ALDelayMilliSec = 0
ALResponseFall = 0.04
ALResponseRise = 0.08
ALOperationalRate = 50
TFrontLux = 1000
TFrontLuxScale = 1
[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
@@ -0,0 +1,7 @@
service android-hardware-media-c2-hal /vendor/bin/hw/android.hardware.media.c2-mediatek-64b
class hal
user mediacodec
group camera drmrpc mediadrm media_rw sdcard_rw media system audio inet net_bt net_bt_admin net_bw_acct sdcard_r
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
@@ -0,0 +1,6 @@
service vendor.dolby.media.c2-service-vision /vendor/bin/hw/vendor.dolby.media.c2-service-vision
class hal
user mediacodec
group camera mediadrm drmrpc
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
@@ -0,0 +1,44 @@
connect: 1
fcntl64: 1
socket: 1
writev: 1
clock_nanosleep: 1
eventfd2: 1
sched_getparam: 1
sched_getscheduler :1
setsockopt: 1
bind: 1
listen: 1
# Add more for 32bits process, from android.hardware.media.c2@1.1-default-arm.policy
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
ftruncate64: 1
getuid32: 1
open: 1
fstat64: 1
readlink: 1
fstatfs64: 1
_llseek: 1
fstatat64: 1
ugetrlimit: 1
# crash dump policy additions
sigreturn: 1
futex: 1
#mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
getpriority: 1
mlock: 1
munlock: 1
fchmod: 1
getuid: 1
mmap: 1
getrlimit: 1
newfstatat: 1
fstat: 1
fstatfs: 1
unlinkat: 1
sched_setscheduler: 1
mkdirat: 1
@@ -0,0 +1,88 @@
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
futex: 1
# ioctl calls are filtered via the selinux policy.
ioctl: 1
sched_yield: 1
close: 1
dup: 1
ppoll: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
getuid: 1
getrlimit: 1
fstat: 1
newfstatat: 1
fstatfs: 1
memfd_create: 1
ftruncate: 1
# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
# parser support for '<' is in this needs to be modified to also prevent
# |old_address| and |new_address| from touching the exception vector page, which
# on ARM is statically loaded at 0xffff 0000. See
# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
# for more details.
mremap: arg3 == 3 || arg3 == MREMAP_MAYMOVE
munmap: 1
prctl: 1
writev: 1
sigaltstack: 1
clone: 1
exit: 1
lseek: 1
rt_sigprocmask: 1
openat: 1
write: 1
nanosleep: 1
setpriority: 1
set_tid_address: 1
getdents64: 1
readlinkat: 1
read: 1
pread64: 1
gettimeofday: 1
faccessat: 1
exit_group: 1
restart_syscall: 1
rt_sigreturn: 1
getrandom: 1
madvise: 1
sched_setaffinity: 1
sched_getaffinity: 1
sched_getparam: 1
sched_getscheduler: 1
recvfrom: 1
# crash dump policy additions
clock_gettime: 1
getpid: 1
gettid: 1
pipe2: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#mprotect: arg2 in 0x1|0x2
munmap: 1
#mmap: arg2 in 0x1|0x2
geteuid: 1
getgid: 1
getegid: 1
getgroups: 1
unlinkat: 1
sched_setscheduler: 1
mkdirat: 1
@@ -0,0 +1,9 @@
<manifest version="1.0" type="device">
<!-- AIDL fragment -->
<hal format="aidl">
<name>android.hardware.media.c2</name>
<version>1</version>
<fqname>IComponentStore/default</fqname>
<fqname>IComponentStore/dolby</fqname>
</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.