raphael: 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. * Imported media_codecs.xml, media_codecs_c2.xml, media_codecs_performance.xml from coral
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright (C) 2015-2020 The Linux Foundation. All rights reserved.
|
||||
Not a contribution.
|
||||
Copyright (C) 2012 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.
|
||||
-->
|
||||
<Included>
|
||||
<Decoders>
|
||||
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus" update="true" rank="100"/>
|
||||
<!-- SimpleOMXComponet based software decoder-->
|
||||
</Decoders>
|
||||
</Included>
|
||||
25
device.mk
25
device.mk
@@ -369,16 +369,12 @@ PRODUCT_PACKAGES += \
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_codecs_performance_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_c2.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_profiles.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml \
|
||||
$(LOCAL_PATH)/configs/media/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
|
||||
|
||||
$(call inherit-product-if-exists, hardware/qcom-caf/sm8150/media/product.mk)
|
||||
|
||||
# Properties
|
||||
PRODUCT_SYSTEM_EXT_PROPERTIES += \
|
||||
media.settings.xml=/vendor/etc/media_profiles_vendor.xml \
|
||||
@@ -435,25 +431,6 @@ PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_nfc/android.hardware.se.omapi.uicc.xml \
|
||||
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_nfc/com.android.nfc_extras.xml
|
||||
|
||||
# OMX
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.media.omx@1.0-service \
|
||||
libc2dcolorconvert \
|
||||
libcodec2_hidl@1.0.vendor \
|
||||
libcodec2_vndk.vendor \
|
||||
libmm-omxcore \
|
||||
libOmxAacEnc \
|
||||
libOmxAmrEnc \
|
||||
libOmxCore \
|
||||
libOmxEvrcEnc \
|
||||
libOmxG711Enc \
|
||||
libOmxQcelp13Enc \
|
||||
libOmxVdec \
|
||||
libOmxVenc \
|
||||
libstagefrighthw \
|
||||
libstagefright_omx.vendor \
|
||||
libstagefright_softomx_plugin.vendor
|
||||
|
||||
# QDCM
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/etc/qdcm_calib_data_samsung_ea8076_fhd_cmd_dsi_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_samsung_ea8076_fhd_cmd_dsi_panel.xml \
|
||||
|
||||
@@ -47,12 +47,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@2.2::ISoundTriggerHw/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.media.omx</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.0::IOmx/default</fqname>
|
||||
<fqname>@1.0::IOmxStore/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.display.color</name>
|
||||
<transport>hwbinder</transport>
|
||||
|
||||
@@ -9,6 +9,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
||||
|
||||
# OMX
|
||||
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||
|
||||
# Inherit from raphael device
|
||||
$(call inherit-product, device/xiaomi/raphael/device.mk)
|
||||
|
||||
|
||||
@@ -790,20 +790,6 @@ vendor/bin/vppservice|99524e6e27bf4f8c4b5c5234f887413623cfdb0f
|
||||
vendor/etc/configstore/vpp.configstore.xml|ed961545186c66fd9523f25866c74f2e11ee63d7
|
||||
vendor/etc/init/vppservice.rc|24c089e0e413cbb3fa6daaf0af4215870bdf1b8e
|
||||
vendor/lib/libI420colorconvert.so|09a63a93d9cf2f78e31cb996a617071572e4f3db
|
||||
vendor/lib/libMpeg4SwEncoder.so|ed6478056d874c784dd649b172e7f0bb3188ba9f
|
||||
vendor/lib/libOmxAacDec.so|c3d19eb5668973a6d7b64133d1b607a384167875
|
||||
vendor/lib/libOmxAlacDec.so|17fbc925be0efdcfeb3473081016ba0203d6fea5
|
||||
vendor/lib/libOmxAlacDecSw.so|be917abb87f621c8d721a03ed42016ae12bdbf8a
|
||||
vendor/lib/libOmxAmrDec.so|fdbab94512df85478417112b793c4a4cee46e7ec
|
||||
vendor/lib/libOmxAmrwbplusDec.so|0346a6f6da04bac6e7d6464e205e2b1d1ce881a1
|
||||
vendor/lib/libOmxApeDec.so|8f49462382e71f3b51f3269824fa49111ceb2ea8
|
||||
vendor/lib/libOmxDsdDec.so|93832f5a8e016a0cd419fca916f29a7987d4af9e
|
||||
vendor/lib/libOmxEvrcDec.so|e26f066a89944ee36450c5325b45e5529de60882
|
||||
vendor/lib/libOmxG711Dec.so|7e310d958e5a68caeacef44a48acf0be5497beb6
|
||||
vendor/lib/libOmxQcelp13Dec.so|ec0650fee64998b47cfed806cda26f0eb8fd85a8
|
||||
vendor/lib/libOmxVideoDSMode.so;DISABLE_DEPS|7c971196e417c1632150f1749bf18ded10def8b5
|
||||
vendor/lib/libOmxVpp.so;DISABLE_CHECKELF|ff50ac05e0b97a6a1a018164cfd1e4d601fc170c
|
||||
vendor/lib/libOmxWmaDec.so|09ea4d8b190fbfcc61698c46f46c97b0f45fcdfc
|
||||
vendor/lib/libdsd2pcm.so|c5ab1afd7a5a23bf83d80b5ac74247c3dd2085af
|
||||
vendor/lib/libmm-color-convertor.so|904f9daeca6323b7d240c2f640a92852bac88146
|
||||
vendor/lib/libmulawdec.so|89ebb1d9e77911f1abe37405016839d8436a9825
|
||||
@@ -819,17 +805,6 @@ vendor/lib/vendor.qti.hardware.vpp@1.1.so|3e0467d0c30bb6cccab12d2e67dacc5ea852b3
|
||||
vendor/lib/vendor.qti.hardware.vpp@1.2.so|d1226cfbeee864b7cac52bcee37fdf4524892fd6
|
||||
vendor/lib/vendor.qti.hardware.vpp@1.3.so|6ff4979c9632ce9f244aeba7a0804332328f3fa9
|
||||
vendor/lib64/libI420colorconvert.so|ea24367de946f2c2a7f81b78c0a805edf8fd2d64
|
||||
vendor/lib64/libMpeg4SwEncoder.so|17a2e12c6bb2184a73c54174f1ec14a2ccff4b11
|
||||
vendor/lib64/libOmxAacDec.so|4e419724fb940a1fb93b018028dbf3ae6bd9e6ea
|
||||
vendor/lib64/libOmxAlacDec.so|9182e31c172ca4794cfccc557e497b4e43bd08ef
|
||||
vendor/lib64/libOmxAmrDec.so|f94271e8c1d58d4db9eea90e41c0d64773953d07
|
||||
vendor/lib64/libOmxAmrwbplusDec.so|31bbb7fb8b5fe5f4c5c30c39b67300bf0d0cc148
|
||||
vendor/lib64/libOmxApeDec.so|f001e769e861a90c568635e32d445bd6e3b782ee
|
||||
vendor/lib64/libOmxEvrcDec.so|c46237c40fc9ca24109d55dd82c64137768d68c5
|
||||
vendor/lib64/libOmxG711Dec.so|e321b72ebf4cf36b3e7b7ff33a3e00870cd3a461
|
||||
vendor/lib64/libOmxQcelp13Dec.so|1e428b6dbd8a3f010c1f5fa208a14c362a502cf6
|
||||
vendor/lib64/libOmxVpp.so;DISABLE_CHECKELF|23ae4cd2860131786e3b34ed380eb81fd849cf6c
|
||||
vendor/lib64/libOmxWmaDec.so|46e5cc33f54a863f499c73302b679cb81fead0c7
|
||||
vendor/lib64/libmm-color-convertor.so|ade617dc02ec472e68755568d6295ab328aa97be
|
||||
vendor/lib64/libmulawdec.so|9a21d843c7bd2a516e0f1ce375855b767947b314
|
||||
vendor/lib64/libstagefright_soft_qtiflacdec.so|8531b262078659ec4f63f39a69c24605d4a0cd90
|
||||
|
||||
@@ -49,7 +49,6 @@ function lib_to_package_fixup_vendor_variants() {
|
||||
vendor.qti.imsrtpservice@3.0)
|
||||
echo "${1}_vendor"
|
||||
;;
|
||||
libOmxCore | \
|
||||
libgrallocutils | \
|
||||
libwfdaac_vendor | \
|
||||
libwpa_client) ;;
|
||||
|
||||
@@ -181,10 +181,6 @@ ro.hardware.fp.udfps=true
|
||||
# Keystore
|
||||
ro.hardware.keystore_desede=true
|
||||
|
||||
# Media
|
||||
debug.stagefright.ccodec=1
|
||||
debug.stagefright.omx_default_rank=0
|
||||
|
||||
# Netflix
|
||||
ro.netflix.bsp_rev=Q855-16947-1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user