sm7325-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
This commit is contained in:
dianlujitao 2024-09-08 21:26:39 +08:00 committed by Michael Bestas
parent bc24d53b81
commit 7072eff760
No known key found for this signature in database
GPG Key ID: CC95044519BE6669
4 changed files with 4 additions and 50 deletions

View File

@ -209,6 +209,10 @@ PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.1-service.motorola_lahaina
# Media
PRODUCT_PACKAGES += \
libcodec2_hidl@1.0.vendor \
libcodec2_vndk.vendor
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/init.qti.media.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qti.media.sh \
$(LOCAL_PATH)/media/init.qti.media.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qti.media.rc
@ -228,18 +232,6 @@ PRODUCT_PACKAGES += \
MotoActions \
MotoCommonOverlay
# OMX
PRODUCT_PACKAGES += \
libcodec2_hidl@1.0.vendor \
libcodec2_vndk.vendor \
libOmxAacEnc \
libOmxAmrEnc \
libOmxCore \
libOmxEvrcEnc \
libOmxG711Enc \
libOmxQcelp13Enc \
libstagefrighthw
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \

View File

@ -48,7 +48,6 @@ lib_fixups: lib_fixups_user_type = {
): lib_fixup_vendor_suffix,
(
'libofflinelog',
'libOmxCore',
'libqsap_sdk',
'libril',
'libthermalclient',

View File

@ -65,19 +65,6 @@
<instance>software</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOmx</name>
<instance>default</instance>
</interface>
<interface>
<name>IOmxStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>

View File

@ -7,7 +7,6 @@
# libmdmcutback depends on libqsap_sdk, which is a gnu makefile target
# libmotext_inf, libril-qcril-hook-oem depend on libril, which is a gnu makefile target
# libqti-perfd, libgameoptfeature, thermal-engine depends on libthermalclient, which is device specific
# libOmxVideoDSMode depends on libOmxCore, which is a gnu makefile target
# ADSP
vendor/bin/adsprpcd
@ -551,29 +550,6 @@ vendor/lib64/libQnnHtpV68Stub.so
# OEM
vendor/bin/motobox;SYMLINK=vendor/bin/expat
# OMX
vendor/lib/libOmxAacDec.so
vendor/lib/libOmxAlacDec.so
vendor/lib/libOmxAmrDec.so
vendor/lib/libOmxAmrwbplusDec.so
vendor/lib/libOmxApeDec.so
vendor/lib/libOmxDsdDec.so
vendor/lib/libOmxEvrcDec.so
vendor/lib/libOmxG711Dec.so
vendor/lib/libOmxQcelp13Dec.so
vendor/lib/libOmxVideoDSMode.so;DISABLE_CHECKELF
vendor/lib/libOmxWmaDec.so
vendor/lib/libdsd2pcm.so
vendor/lib64/libOmxAacDec.so
vendor/lib64/libOmxAlacDec.so
vendor/lib64/libOmxAmrDec.so
vendor/lib64/libOmxAmrwbplusDec.so
vendor/lib64/libOmxApeDec.so
vendor/lib64/libOmxEvrcDec.so
vendor/lib64/libOmxG711Dec.so
vendor/lib64/libOmxQcelp13Dec.so
vendor/lib64/libOmxWmaDec.so
# Perf
vendor/bin/hw/vendor.qti.hardware.perf@2.2-service
vendor/bin/poweropt-service