sm8150-common: Update codec2 stack from from munch-user V816.0.9.0.ULMMIXM
Change-Id: I29b3bdf548aaf45df84ed1ab4ffad3ea560de807
This commit is contained in:
1 parent
aea6bb9589
commit
92058926d4
14 files changed
+241
-26
No files matched your search
+175
-13
@@ -2785,7 +2785,7 @@ cc_prebuilt_library_shared {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqcodec2",
|
||||
name: "libqcodec2_base",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
@@ -2793,14 +2793,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++",
|
||||
@@ -2815,6 +2937,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",
|
||||
@@ -12278,6 +12432,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",
|
||||
@@ -13069,20 +13232,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++",
|
||||
|
||||
Binary file not shown.
+4
-1
@@ -1,4 +1,4 @@
|
||||
###################################################################################################
|
||||
###################################################################################################
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
@@ -87,3 +87,6 @@ geteuid32: 1
|
||||
getgid32: 1
|
||||
getegid32: 1
|
||||
getgroups32: 1
|
||||
|
||||
#video process sys
|
||||
inotify_add_watch: 1
|
||||
@@ -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
|
||||
@@ -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>
|
||||
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -118,8 +118,8 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/sdr_config.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sdr_config.cfg \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.base.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.ext.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.base-arm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base-arm.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.ext-arm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext-arm.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/qspm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qspm.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/vendor.qti.hardware.dsp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/vendor.qti.hardware.dsp.policy \
|
||||
@@ -213,7 +213,12 @@ PRODUCT_PACKAGES += \
|
||||
libmmrtpdecoder_proprietary \
|
||||
libmmrtpencoder_proprietary \
|
||||
libmulawdec \
|
||||
libqcodec2 \
|
||||
libqcodec2_base \
|
||||
libqcodec2_basecodec \
|
||||
libqcodec2_core \
|
||||
libqcodec2_platform \
|
||||
libqcodec2_utils \
|
||||
libqcodec2_v4l2codec \
|
||||
libqtigef \
|
||||
libsmwrapper \
|
||||
libwfdcodecv4l2_proprietary \
|
||||
@@ -541,6 +546,7 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.alarm-V1.0-java \
|
||||
android.hardware.neuralnetworks@1.3-service-qti-hta.xml \
|
||||
android.hardware.neuralnetworks@1.3-service-qti.xml \
|
||||
c2_manifest_vendor.xml \
|
||||
manifest_android.hardware.drm@1.3-service.widevine.xml \
|
||||
manifest_vendor.xiaomi.hardware.mlipay.xml \
|
||||
ATFWD-daemon \
|
||||
|
||||
Reference in new issue
Block a user