Author SHA1 Message Date
Raya Mahardika b4502a81ea Revert "sdm845-common: Update namespace_imports to sdm845-4.19"
This reverts commit 96c51d5d97.
2026-10-25 17:26:27 +00:00
duckyduckg fc47733b7e sdm845-common: Patch codec2 for legacy 128x32 alignment
Note: values were taken from stock msmnile codec2 using ghidra.

on kona platforms or newer or older, if IsCameraCustomFormat fails c2 enforces 512x512 alignment.
after this patch with IsCameraCustomFormat disabled on legacy CamX,
incoming buffers retain standard Venus 128x32 alignment.

1. qc2::QC2Buffer::Graphic::GetAlignedHeight
   - File_Offset: 0x138D2
   - Assembly:
     0x138D2: 00 F2 FF 11 -> 00 F2 1F 01  ; addw r1, r0, #0x1f
     0x138D6: 40 F2 FF 12 -> 40 F2 1F 02  ; movw r2, #0x1f
   - ALIGN(h, 512) -> ALIGN(h, 32)

2. qc2::QC2Buffer::Graphic::GetAlignedWidth
   - File_Offset: 0x1397C
   - Assembly:
     0x1397C: 00 F2 FF 11 -> 00 F2 7F 01  ; addw r1, r0, #0x7f
     0x13980: 40 F2 FF 12 -> 40 F2 7F 02  ; movw r2, #0x7f
   - ALIGN(w, 512) -> ALIGN(w, 128)

Change-Id: I154b556cbefdbbd47a6c315d38fb468aed39f1b7
Signed-off-by: duckyduckg <duckyduckg65@gmail.com>
2026-10-23 18:47:57 +00:00
Edwin Moquete 285d3dc4e6 sdm845-common: Update C2 blobs from FP4.QREL.15.20.0.20260821145807
Change-Id: I5ae3c31baa0fb9eb17d0dae75ce5bd37859cbeb4
2026-10-23 18:47:51 +00:00
LuK1337 dda6ed4095 sdm845-common: Update WFD vendor blobs from FP4.QREL.15.20.0.20260821145807
Change-Id: I6f8c4da7384e85ab4a65b7d084bda18381a16b05
2026-10-23 18:43:34 +00:00
Michael Bestas 514c2a108c sdm845-common: Update WFD system blobs from marvel_g A171WEH.20
Change-Id: I733c2bf342175474ce7f02d467a17ded6f0a8760
2026-10-23 18:37:17 +00:00
Raya Mahardika e003903536 sdm845-common: Drop Audiosphere 2026-10-23 18:34:58 +00:00
Raya Mahardika ba7f6711b6 sdm845-common: Fix PLT stub target alignment in libC2D2 bridge
Change-Id: I4c9650aeeb4244468e110164d22e967ef5576e02
2026-10-05 11:14:30 +00:00
Raya Mahardika b81d342bb1 sdm845-common: Fix 32-bit gsl_memory_alloc_pure ABI bridge in libC2D2
- Instead of intercepting gsl_memory_alloc_pure in libgsl.so (which corrupted
  the stack frame and crashed 5-argument callers like libGLESv2_adreno in
  android.hardware.camera.provider-service_32), bridge the legacy 3-argument
  calling convention directly inside libC2D2.so.
- Restore standard Pong calling convention in 32-bit libgsl.so while keeping
  the defensive null check on error return.

Change-Id: I494c15e9f7cca5bcb8a0d786e0034b8fed5dfd9e
2026-10-05 01:15:54 +00:00
Raya Mahardika baca65a148 sdm845-common: Fix gsl_memory_alloc_pure ABI mismatch in 32-bit libgsl
- When graphics blobs were updated from pong, gsl_memory_alloc_pure changed
  its calling convention to 64-bit size, causing 32-bit legacy blobs like libC2D2
  to pass mismatched arguments (flags corrupted to memdesc pointer, memdesc null).
- This caused kgsl_sharedmem_alloc to fail and crash vendor.qti.media.c2@1.0-service
  on null pointer dereference during video encoding (e.g. scrcpy, video recording).
- Add trampoline to correctly bridge 32-bit gsl_memory_alloc_pure calls to
  gsl_memory_alloc_pure_64 and add null check on error path in libgsl.

Change-Id: Ic6b835fbf2ffd876789e9b332bc26634e303c0f4
2026-10-05 00:33:47 +00:00
Raya Mahardika 222fd447bf sdm845-common: Update blobs graphics from pong
Change-Id: I5299ef9b2512fc99abbb2e956be71eef249bcad6
2026-09-28 10:49:58 +00:00
Raya Mahardika 46489f7676 sdm845-common: Let build libspkprot from source
Change-Id: Ic44bd63322c04840c4602bb7c82f3e2c834e333d
2026-09-20 10:55:05 +00:00
Raya Mahardika 96c51d5d97 sdm845-common: Update namespace_imports to sdm845-4.19
Change-Id: I747f87722207db7bb80f010edcdf9a8be6c33e8a
2026-09-20 10:54:50 +00:00
Raya Mahardika 72924e9daa sdm845-common: Regenerate vendor
Change-Id: Ib33615496e721f22c5e6b62750120374a963b88f
2026-09-20 10:54:43 +00:00
189 changed files with 647 additions and 385 deletions

No files matched your search

+454 -127
View File
@@ -31,13 +31,16 @@ cc_prebuilt_library_shared {
"libcutils",
"libhardware",
"libgsl",
"libnativewindow",
"vendor.qti.hardware.display.mapper@2.0",
"vendor.qti.hardware.display.mapper@3.0",
"android.hardware.graphics.mapper@3.0",
"vendor.qti.hardware.display.mapperextensions@1.1",
"android.hardware.graphics.mapper@2.0",
"vendor.qti.hardware.display.mapper@4.0",
"android.hardware.graphics.mapper@4.0",
"android.hardware.graphics.mapper@2.0",
"libgralloc.qti",
"libgralloctypes",
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"libutils",
"libdl",
@@ -57,13 +60,16 @@ cc_prebuilt_library_shared {
"libcutils",
"libhardware",
"libgsl",
"libnativewindow",
"vendor.qti.hardware.display.mapper@2.0",
"vendor.qti.hardware.display.mapper@3.0",
"android.hardware.graphics.mapper@3.0",
"vendor.qti.hardware.display.mapperextensions@1.1",
"android.hardware.graphics.mapper@2.0",
"vendor.qti.hardware.display.mapper@4.0",
"android.hardware.graphics.mapper@4.0",
"android.hardware.graphics.mapper@2.0",
"libgralloc.qti",
"libgralloctypes",
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"libutils",
"libdl",
@@ -219,6 +225,44 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libVkLayer_ADRENO_qprofiler",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/egl/libVkLayer_ADRENO_qprofiler.so",
],
shared_libs: [
"liblog",
"libz",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/egl/libVkLayer_ADRENO_qprofiler.so",
],
shared_libs: [
"liblog",
"libz",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
relative_install_path: "egl",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libq3dtools_adreno",
owner: "xiaomi",
@@ -322,7 +366,6 @@ cc_prebuilt_library_shared {
"libllvm-glnext",
"libcutils",
"libhardware",
"libnativewindow",
"vendor.qti.hardware.display.mapper@2.0",
"android.hardware.graphics.mapper@2.0",
"vendor.qti.hardware.display.mapper@3.0",
@@ -330,6 +373,9 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"libutils",
"libnativewindow",
"vendor.qti.hardware.display.mapper@4.0",
"android.hardware.graphics.mapper@4.0",
"libc++",
"libc",
"libm",
@@ -348,7 +394,6 @@ cc_prebuilt_library_shared {
"libllvm-glnext",
"libcutils",
"libhardware",
"libnativewindow",
"vendor.qti.hardware.display.mapper@2.0",
"android.hardware.graphics.mapper@2.0",
"vendor.qti.hardware.display.mapper@3.0",
@@ -356,6 +401,9 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"libutils",
"libnativewindow",
"vendor.qti.hardware.display.mapper@4.0",
"android.hardware.graphics.mapper@4.0",
"libc++",
"libc",
"libm",
@@ -435,6 +483,8 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.display.mapperextensions@1.0",
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"vendor.qti.hardware.display.mapper@3.0",
"android.hardware.graphics.mapper@3.0",
"libc++",
"libc",
"libm",
@@ -459,6 +509,8 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.display.mapperextensions@1.0",
"vendor.qti.hardware.display.mapperextensions@1.1",
"libhidlbase",
"vendor.qti.hardware.display.mapper@3.0",
"android.hardware.graphics.mapper@3.0",
"libc++",
"libc",
"libm",
@@ -547,6 +599,59 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libadreno_app_profiles",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libadreno_app_profiles.so",
],
shared_libs: [
"libcutils",
"libhardware",
"libutils",
"libhidlbase",
"libhidlmemory",
"android.hidl.memory@1.0",
"vendor.qti.qspmhal@1.0_vendor",
"libdl",
"libz",
"liblog",
"libc++",
"libc",
"libm",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libadreno_app_profiles.so",
],
shared_libs: [
"libcutils",
"libhardware",
"libutils",
"libhidlbase",
"libhidlmemory",
"android.hidl.memory@1.0",
"vendor.qti.qspmhal@1.0_vendor",
"libdl",
"libz",
"liblog",
"libc++",
"libc",
"libm",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libadreno_utils",
owner: "xiaomi",
@@ -699,6 +804,7 @@ cc_prebuilt_library_shared {
},
},
compile_multilib: "both",
check_elf_files: false,
prefer: true,
soc_specific: true,
}
@@ -996,7 +1102,7 @@ cc_prebuilt_library_shared {
"liblog",
"libz",
"libsync",
"libion",
"libdmabufheap",
"libc++",
"libc",
"libm",
@@ -1012,7 +1118,7 @@ cc_prebuilt_library_shared {
"liblog",
"libz",
"libsync",
"libion",
"libdmabufheap",
"libc++",
"libc",
"libm",
@@ -1060,6 +1166,76 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libkcl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libkcl.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libkcl.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libkernelmanager",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libkernelmanager.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libkernelmanager.so",
],
shared_libs: [
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libllvm-glnext",
owner: "xiaomi",
@@ -1134,6 +1310,45 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libllvm-qgl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libllvm-qgl.so",
],
shared_libs: [
"libgsl",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libllvm-qgl.so",
],
shared_libs: [
"libgsl",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmdmdetect",
owner: "xiaomi",
@@ -2619,6 +2834,50 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.qspmhal@1.0_vendor",
stem: "vendor.qti.qspmhal@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.qspmhal@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "btaudio_offload_if",
owner: "xiaomi",
@@ -3620,33 +3879,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmm-hdcpmgr",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libmm-hdcpmgr.so",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libmmosal_vendor",
stem: "libmmosal",
@@ -3756,7 +3988,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "libqcodec2",
name: "libqcodec2_base",
owner: "xiaomi",
strip: {
none: true,
@@ -3764,14 +3996,136 @@ cc_prebuilt_library_shared {
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2.so",
"proprietary/vendor/lib/libqcodec2_base.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqdMetaData",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_basecodec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_basecodec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_core",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_core.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_platform",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_platform.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libjsoncpp",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_utils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_utils.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_platform",
"libhidlbase",
"android.hardware.graphics.mapper@3.0",
"libc++",
@@ -3786,6 +4140,38 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_v4l2codec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_v4l2codec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqtigef",
owner: "xiaomi",
@@ -3869,37 +4255,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libspkrprot",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libspkrprot.so",
],
shared_libs: [
"libaudioutils",
"libcutils",
"liblog",
"libtinyalsa",
"libtinycompress",
"libaudioroute",
"libexpat",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libwfdcodecv4l2_proprietary",
owner: "xiaomi",
@@ -4526,33 +4881,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libasphere",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/soundfx/libasphere.so",
],
shared_libs: [
"libcutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
relative_install_path: "soundfx",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdirac",
owner: "xiaomi",
@@ -4655,6 +4983,7 @@ cc_prebuilt_library_shared {
"vendor.qti.hardware.wifidisplaysession@1.0_vendor",
"libwfdsessionmodule",
"liblog",
"libwfdcommonutils_proprietary",
"libc++",
"libc",
"libm",
@@ -11693,7 +12022,6 @@ cc_prebuilt_library_shared {
"libjpeg",
"libpiex",
"libpng",
"libheif",
"libnativewindow",
"libEGL",
"libGLESv2",
@@ -11759,7 +12087,7 @@ cc_prebuilt_library_shared {
"vendor.display.config@2.0",
"libdisplayconfig.system.qti",
"libbinder_ndk",
"vendor.qti.hardware.display.config-V5-ndk",
"vendor.qti.hardware.display.config-V16-ndk",
"libc++",
"libc",
"libm",
@@ -11787,6 +12115,7 @@ cc_prebuilt_library_shared {
"libmmosal",
"liblog",
"libutils",
"libwfddisplayconfig",
"libc++",
"libc",
"libm",
@@ -11880,6 +12209,7 @@ cc_prebuilt_library_shared {
"android.hardware.graphics.allocator@4.0",
"android.hardware.graphics.allocator-V2-ndk",
"libbinder_ndk",
"libaudiobase",
"libc++",
"libc",
"libm",
@@ -11904,20 +12234,15 @@ cc_prebuilt_library_shared {
"proprietary/system_ext/lib64/libwfdnative.so",
],
shared_libs: [
"libinput_shim",
"libandroid_runtime",
"libgui",
"libui",
"libbinder",
"libinput",
"libnativehelper",
"libutils",
"liblog",
"libwfdclient",
"libhidlbase",
"libhidlmemory",
"libbinder",
"libgui",
"android.hidl.base@1.0",
"android.hidl.token@1.0-utils",
"android.hardware.graphics.common@1.0",
"android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0",
@@ -11951,6 +12276,7 @@ cc_prebuilt_library_shared {
"libmmosal",
"libwfdcommonutils",
"libwfdconfigutils",
"libwfdmminterface",
"liblog",
"libc",
"libm",
@@ -11988,14 +12314,15 @@ cc_prebuilt_library_shared {
"libwfdmminterface",
"libmedia_helper",
"libaudioclient",
"libaudiobase",
"libaudiofoundation",
"audioclient-types-aidl-cpp",
"android.media.audio.common.types-V4-cpp",
"android.media.audio.common.types-V5-cpp",
"libwfdmmsrc_system",
"libwfdavenhancements",
"libhidlbase",
"vendor.qti.hardware.wifidisplaysession@1.0",
"vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
"vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
"libbinder_ndk",
"libc++",
"libc",
@@ -12314,7 +12641,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
name: "vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
owner: "xiaomi",
strip: {
none: true,
@@ -12322,7 +12649,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so",
"proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk.so",
],
shared_libs: [
"libbinder_ndk",
@@ -12533,14 +12860,6 @@ dex_import {
],
}
dex_import {
name: "audiosphere",
owner: "xiaomi",
jars: [
"proprietary/system/framework/audiosphere.jar",
],
}
dex_import {
name: "tcmclient",
owner: "xiaomi",
@@ -12603,6 +12922,15 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "c2_manifest_vendor.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/c2_manifest_vendor.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine.xml",
owner: "xiaomi",
@@ -13333,20 +13661,19 @@ cc_prebuilt_binary {
"proprietary/vendor/bin/hw/vendor.qti.media.c2@1.0-service",
],
shared_libs: [
"libqcodec2",
"android.hardware.media.c2@1.0",
"android.hardware.media.omx@1.0",
"liblog",
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libqcodec2_platform",
"libqcodec2_core",
"android.hardware.media.c2@1.0",
"libavservices_minijail",
"libbinder",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libcodec2_vndk",
"libstagefright_omx",
"libstagefright_xmlparser",
"libutils",
"libvndksupport",
"libcodec2_hidl@1.0",
"libc++",
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2016, Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<permissions>
<library name="com.qualcomm.qti.audiosphere"
file="/system/framework/audiosphere.jar" />
</permissions>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+53 -14
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (C) 2012 - 2021 Qualcomm Technologies, Inc.
Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
@@ -47,10 +47,15 @@
<!-- AVC Profile 0 - Constrained Baseline,
1 - Constrained High,
2 - Constrained High2,
3 - BaseLine
4 - Main
3 - BaseLine,
4 - Main,
5 - High
HEVC Profile 0 - Main
1 - Main444
2 - SCC8b444
3 - MAIN44410b
4 - MAIN10b
5 - MAIN_STILL
-->
<!-- Level 0 - 3.1,
@@ -69,7 +74,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -84,7 +88,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -99,7 +102,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -114,7 +116,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -129,7 +130,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -144,7 +144,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -159,7 +158,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -168,6 +166,36 @@
</VideoCodec7>
</VideoFormats>
<!--
Enable HDR (High Dynamic Range) Support
This configuration controls whether the WFD (WiFi Display) session
supports HDR content transmission and processing.
Values:
0: Disabled
1: Enabled
-->
<EnableHDRInWfd>0</EnableHDRInWfd>
<!--
HDR format capabilities
HdrType : 1 = HDR10, 2 = HDR10 Plus (query from Display)
ColorStandard : 8 -> BT.2020
ColorTransfer : 4 -> ST2084
ColorRange : 1 -> Full
PeakBrightness: 4000 -> peak brightness index (query from Display)
-->
<HdrFormat>
<CodecName>H.265</CodecName>
<Profile>4</Profile>
<Level>4</Level>
<HdrType>2</HdrType>
<ColorStandard>8</ColorStandard>
<ColorTransfer>4</ColorTransfer>
<ColorRange>1</ColorRange>
<PeakBrightness>4000</PeakBrightness>
</HdrFormat>
<!--
Aux streaming is new addition
This is added for Direct streaming
@@ -278,9 +306,20 @@
<Wifi>0</Wifi>
<NoSP>0</NoSP>
</HIDInputPaths>
<!-- Supported HIDC input events -->
<CustomHIDCInputPaths>
<Infrared>0</Infrared>
<USB>3</USB>
<BT>0</BT>
<Zigbee>0</Zigbee>
<Wifi>0</Wifi>
<NoSP>0</NoSP>
</CustomHIDCInputPaths>
</InputEvents>
<!-- TCP port on which UIBC connection established -->
<TcpPort>4321</TcpPort>
<!-- 0/1 - support Custome HIDC or not -->
<CustomAppUIBCSupport>0</CustomAppUIBCSupport>
</UIBC>
</Capability>
@@ -746,11 +785,11 @@
<!--
Compensation delay for audio
This is maintain good AV sync in the mux TS A + V stream Recommended
value is 150 msec arrived at this number after fine tuning OEMs can
change this value in case they want
This is to maintain good AV sync in the mux TS A + V stream.
Recommended value is 150us arrived at this number after fine tuning.
OEMs can change this value in case they want.
-->
<AudioAVSyncDelay>-150</AudioAVSyncDelay>
<AudioAVSyncDelayUs>-150</AudioAVSyncDelayUs>
<!--
To disable/enable AV Sync - 1 or 0
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.
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.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.2-service-qti
class hal
user system
group system
#Below changes moved from init.target.rc as part of go/FR53051
on post-fs-data
mkdir /data/vendor/nnhal 0700 system system
@@ -1,9 +1,12 @@
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
###################################################################################################
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
# Confidential and Proprietary - Qualcomm Technologies, Inc.
###################################################################################################
#
# Not a contribution.
# Not a Contribution.
#
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,62 +21,69 @@
# See the License for the specific language governing permissions and
# limitations under the License.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
futex: 1
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE
prctl: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_WRITE_READ || arg1 == BINDER_SET_MAX_THREADS
# ioctl calls are filtered via the selinux policy.
ioctl: 1
sched_yield: 1
close: 1
openat: 1
mremap: 1
fstat64: 1
readlinkat: 1
pread64: 1
fstatfs64: 1
clock_gettime: 1
fstatat64: 1
read: 1
write: 1
fcntl64: 1
dup: 1
ppoll: 1
faccessat: 1
rt_sigaction: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
memfd_create: 1
ftruncate: 1
ftruncate64: 1
mremap: arg3 == 3
munmap: 1
prctl: 1
getuid32: 1
madvise: 1
rt_sigprocmask: 1
writev: 1
personality: 1
getrandom: 1
gettimeofday: 1
#set_tls: 1
statfs64: 1
ugetrlimit: 1
execve: 1
connect: 1
socket: arg0 == AF_UNIX
getpid: 1
gettid: 1
nanosleep: 1
restart_syscall: 1
set_tid_address: 1
open: 1
exit: 1
sched_getscheduler: 1
exit_group: 1
sigaltstack: 1
clone: 1
rt_sigreturn: 1
setpriority: 1
getpriority: 1
timer_create: 1
timer_delete: 1
timer_settime: 1
rt_sigtimedwait: 1
getdents64: 1
dup: 1
exit: 1
lseek: 1
rt_sigprocmask: 1
openat: 1
open: 1
fstat64: 1
write: 1
nanosleep: 1
setpriority: 1
set_tid_address: 1
getdents64: 1
readlinkat: 1
readlink: 1
read: 1
pread64: 1
fstatfs64: 1
gettimeofday: 1
faccessat: 1
_llseek: 1
fstatat64: 1
ugetrlimit: 1
exit_group: 1
restart_syscall: 1
rt_sigreturn: 1
getrandom: 1
madvise: 1
# crash dump policy additions
sigreturn: 1
clock_gettime: 1
futex: 1
getpid: 1
gettid: 1
pipe2: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
process_vm_readv: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
#mprotect: arg2 in 0x1|0x2
#mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
@@ -1,74 +0,0 @@
# Copyright (C) 2018 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.
# Organized by frequency of systemcall - in descending order for
# best performance.
futex: 1
ioctl: 1
write: 1
prctl: 1
clock_gettime: 1
getpriority: 1
read: 1
close: 1
writev: 1
dup: 1
ppoll: 1
mmap2: 1
getrandom: 1
eventfd2: 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: 1
munmap: 1
mprotect: 1
madvise: 1
openat: 1
sigaltstack: 1
clone: 1
setpriority: 1
getuid32: 1
fstat64: 1
fstatfs64: 1
pread64: 1
faccessat: 1
readlinkat: 1
exit: 1
rt_sigprocmask: 1
set_tid_address: 1
restart_syscall: 1
exit_group: 1
rt_sigreturn: 1
pipe2: 1
gettimeofday: 1
sched_yield: 1
nanosleep: 1
lseek: 1
_llseek: 1
sched_get_priority_max: 1
sched_get_priority_min: 1
statfs64: 1
sched_setscheduler: 1
fstatat64: 1
ugetrlimit: 1
getdents64: 1
getrandom: 1
@include /system/etc/seccomp_policy/crash_dump.arm.policy
@@ -0,0 +1,13 @@
#Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,9 +0,0 @@
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,67 +0,0 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# 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.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_VMA
prctl: 1
openat: 1
futex: 1
close: 1
read: 1
write: 1
fstat64: 1
fstatat64: 1
readlinkat: 1
fstatfs64: 1
pread64: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_SET_MAX_THREADS || arg1 == BINDER_WRITE_READ
ioctl: 1
faccessat: 1
clock_gettime: 1
getuid32: 1
rt_sigaction: 1
writev: 1
madvise: 1
_llseek: 1
rt_sigprocmask: 1
fcntl64: 1
#set_tls: 1
personality: 1
getrandom: 1
open: 1
ugetrlimit: 1
clone: 1
set_tid_address: 1
execve: 1
sched_getscheduler: 1
exit_group: 1
rt_sigreturn: 1
restart_syscall: 1
connect: 1
socket: arg0 == AF_UNIX
exit: 1
readlink: 1
getpid: 1
sigaltstack: 1
setpriority: 1
getdents64: 1
dup: 1
@@ -1,4 +1,4 @@
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# Copyright (c) 2020, 2022 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
@@ -92,3 +92,4 @@ tgkill: 1
gettid: 1
sched_yield: 1
flock: 1
getdents64: 1
@@ -0,0 +1,40 @@
<!-- Copyright (c) 2018 - 2019, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<!-- Codec2 HAl service -->
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
<instance>software</instance>
</interface>
</hal>
</manifest>
+2 -7
View File
@@ -135,12 +135,10 @@
<!--
Standby Resume capability is supported
-->
<!-- #ifdef OPLUS_BUG_STABILITY -->
<!-- Jeremy.lin@MULTIMEDIA.MEDIASERVER.WFD.1099213, 2021/08/02, Close Standby Resum -->
<StandbyResumeCapability>
<Valid>0</Valid>
<Valid>1</Valid>
</StandbyResumeCapability>
<!-- #endif OPLUS_BUG_STABILITY -->
<!--
Explicit AV format change
Not supported
@@ -706,10 +704,7 @@
To disable/enable audio stream playback
support during power suspend - 0 or 1
-->
<!-- #ifdef OPLUS_BUG_STABILITY -->
<!-- Liang.Xu@MULTIMEDIA.AUDIOSERVER.FRAMEWORK.1297775, 2020/04/03, Modify for audio should still playing on TV after screen off -->
<AudioStreamInSuspend>1</AudioStreamInSuspend>
<!-- #endif OPLUS_BUG_STABILITY -->
<!--
Compensation delay for audio
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.
Loaded 100 of 189 files, more files were not shown because too many files have changed in this diff. Show more