sm8150-common: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2 * OMX HW audio codecs won't work without QCOM A/V enhancements, which we don't have on Lineage. Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64 Signed-off-by: firebird11 <hbgassel@gmail.com>
This commit is contained in:
committed by
firebird11
parent
bc0fd6f2a4
commit
fcab2f8ff8
261
Android.bp
261
Android.bp
@@ -676,27 +676,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqcodec2",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libqcodec2.so"],
|
||||
shared_libs: ["libutils", "libcutils", "liblog", "libcodec2_vndk", "libqdMetaData", "libhidlbase", "android.hardware.graphics.mapper@3.0", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/vendor/lib64/libqcodec2.so"],
|
||||
shared_libs: ["libutils", "libcutils", "liblog", "libcodec2_vndk", "libqdMetaData", "libhidlbase", "android.hardware.graphics.mapper@3.0", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libscveCommon",
|
||||
owner: "xiaomi",
|
||||
@@ -1111,212 +1090,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxAacDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxAacDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxAlacDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxAlacDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxAmrDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxAmrDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxAmrwbplusDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxAmrwbplusDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxApeDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxApeDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxDsdDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxDsdDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libcutils", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxEvrcDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxEvrcDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxG711Dec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxG711Dec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxQcelp13Dec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxQcelp13Dec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxVideoDSMode",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxVideoDSMode.so"],
|
||||
shared_libs: ["liblog", "libmmosal_vendor", "libutils", "libwfdcommonutils_proprietary", "libwfdmmservice_proprietary", "libbinder", "libwfdutils_proprietary", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxVpp",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxVpp.so"],
|
||||
shared_libs: ["liblog", "libutils", "libbinder", "libcutils", "libvppclient", "vendor.qti.hardware.vpp@1.1", "vendor.qti.hardware.vpp@1.2", "vendor.qti.hardware.capabilityconfigstore@1.0", "libhidlbase", "libhidltransport", "libhwbinder", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libOmxWmaDec",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libOmxWmaDec.so"],
|
||||
shared_libs: ["libutils", "liblog", "libion", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libacdb-fts",
|
||||
owner: "xiaomi",
|
||||
@@ -1453,23 +1226,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libdsd2pcm",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libdsd2pcm.so"],
|
||||
shared_libs: ["liblog", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libfastcrc",
|
||||
owner: "xiaomi",
|
||||
@@ -1623,6 +1379,23 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqcodec2",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libqcodec2.so"],
|
||||
shared_libs: ["libutils", "libcutils", "liblog", "libcodec2_vndk", "libqdMetaData", "libhidlbase", "android.hardware.graphics.mapper@3.0", "libc++", "libc", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libqtigef",
|
||||
owner: "xiaomi",
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# device specific syscalls
|
||||
# extension of services/mediacodec/minijail/seccomp_policy/mediacodec-seccomp-arm.policy
|
||||
pselect6: 1
|
||||
eventfd2: 1
|
||||
sendto: 1
|
||||
recvfrom: 1
|
||||
_llseek: 1
|
||||
sysinfo: 1
|
||||
getcwd: 1
|
||||
getdents64: 1
|
||||
ARM_cacheflush: 1
|
||||
inotify_init1: 1
|
||||
inotify_add_watch: 1
|
||||
inotify_rm_watch: 1
|
||||
uname: 1
|
||||
ueventd: 1
|
||||
timer_create: 1
|
||||
timer_settime: 1
|
||||
rt_sigtimedwait: 1
|
||||
45
proprietary/vendor/etc/system_properties.xml
vendored
45
proprietary/vendor/etc/system_properties.xml
vendored
@@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<configs>
|
||||
<property name="vidc_dec_log_in" value="0"/>
|
||||
<property name="vidc_dec_log_out" value="0"/>
|
||||
<property name="vidc_enc_log_in" value="0"/>
|
||||
<property name="vidc_enc_log_out" value="0"/>
|
||||
<property name="vidc_enc_csc_custom_matrix" value="0"/>
|
||||
<property name="vidc_perf_control_enable" value="0"/>
|
||||
<!-- Buffer size : internal : 200 MB (200 X 1), output : 200 MB (12.5 X 16) -->
|
||||
<property name="vidc_dec_sec_prefetch_size_internal" value="209715200"/>
|
||||
<property name="vidc_dec_sec_prefetch_size_output" value="13434880"/>
|
||||
<!-- Bitmask for arb mode: 1: AVC, 2: HEVC, 4: MPEG2 -->
|
||||
<property name="vidc_dec_arb_mode_override" value="7"/>
|
||||
<!-- Bitmask for linear color: 1: 8-bit, 2: 10-bit -->
|
||||
<property name="vidc_enc_linear_color_format" value="0"/>
|
||||
<property name="vidc_enc_bitrate_savings_enable" value="1"/>
|
||||
</configs>
|
||||
BIN
proprietary/vendor/lib/libOmxAacDec.so
vendored
BIN
proprietary/vendor/lib/libOmxAacDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxAlacDec.so
vendored
BIN
proprietary/vendor/lib/libOmxAlacDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxAmrDec.so
vendored
BIN
proprietary/vendor/lib/libOmxAmrDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxAmrwbplusDec.so
vendored
BIN
proprietary/vendor/lib/libOmxAmrwbplusDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxApeDec.so
vendored
BIN
proprietary/vendor/lib/libOmxApeDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxDsdDec.so
vendored
BIN
proprietary/vendor/lib/libOmxDsdDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxEvrcDec.so
vendored
BIN
proprietary/vendor/lib/libOmxEvrcDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxG711Dec.so
vendored
BIN
proprietary/vendor/lib/libOmxG711Dec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxQcelp13Dec.so
vendored
BIN
proprietary/vendor/lib/libOmxQcelp13Dec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxVideoDSMode.so
vendored
BIN
proprietary/vendor/lib/libOmxVideoDSMode.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxVpp.so
vendored
BIN
proprietary/vendor/lib/libOmxVpp.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libOmxWmaDec.so
vendored
BIN
proprietary/vendor/lib/libOmxWmaDec.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libdsd2pcm.so
vendored
BIN
proprietary/vendor/lib/libdsd2pcm.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib64/libqcodec2.so
vendored
BIN
proprietary/vendor/lib64/libqcodec2.so
vendored
Binary file not shown.
@@ -121,14 +121,12 @@ PRODUCT_COPY_FILES += \
|
||||
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/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.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 \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/wfdhdcphalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdhdcphalservice.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/wfdvndservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wfdvndservice.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/seccomp_policy/wifidisplayhalservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/wifidisplayhalservice.policy \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/ssg/ta_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/ta_config.json \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/ssg/tz_whitelist.json:$(TARGET_COPY_OUT_VENDOR)/etc/ssg/tz_whitelist.json \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/wfdconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wfdconfig.xml \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/wifi/aoa_cldb_falcon.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/aoa_cldb_falcon.bin \
|
||||
vendor/xiaomi/sm8150-common/proprietary/vendor/etc/wifi/aoa_cldb_swl14.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/aoa_cldb_swl14.bin \
|
||||
@@ -176,7 +174,6 @@ PRODUCT_PACKAGES += \
|
||||
libllvm-qcom \
|
||||
libmdsprpc \
|
||||
libmmosal_vendor \
|
||||
libqcodec2 \
|
||||
libscveCommon \
|
||||
libscveCommon_stub \
|
||||
libscveObjectSegmentation \
|
||||
@@ -197,18 +194,6 @@ PRODUCT_PACKAGES += \
|
||||
vendor.qti.hardware.vpp@1.3 \
|
||||
sound_trigger.primary.msmnile \
|
||||
libFileMux_proprietary \
|
||||
libOmxAacDec \
|
||||
libOmxAlacDec \
|
||||
libOmxAmrDec \
|
||||
libOmxAmrwbplusDec \
|
||||
libOmxApeDec \
|
||||
libOmxDsdDec \
|
||||
libOmxEvrcDec \
|
||||
libOmxG711Dec \
|
||||
libOmxQcelp13Dec \
|
||||
libOmxVideoDSMode \
|
||||
libOmxVpp \
|
||||
libOmxWmaDec \
|
||||
libacdb-fts \
|
||||
libacdbloader \
|
||||
libacdbrtac \
|
||||
@@ -217,7 +202,6 @@ PRODUCT_PACKAGES += \
|
||||
libaudcal \
|
||||
libcapiv2svacnn \
|
||||
libcapiv2vop \
|
||||
libdsd2pcm \
|
||||
libfastcrc \
|
||||
libgcs-calwrapper \
|
||||
libgcs-ipc \
|
||||
@@ -227,6 +211,7 @@ PRODUCT_PACKAGES += \
|
||||
libmmrtpdecoder_proprietary \
|
||||
libmmrtpencoder_proprietary \
|
||||
libmulawdec \
|
||||
libqcodec2 \
|
||||
libqtigef \
|
||||
libsmwrapper \
|
||||
libwfdcodecv4l2_proprietary \
|
||||
|
||||
Reference in New Issue
Block a user