diff options
author | Arun Mirpuri <amirpuri@codeaurora.org> | 2021-09-30 11:25:04 -0700 |
---|---|---|
committer | Divya Sharma <divyash@codeaurora.org> | 2021-10-15 10:11:35 -0700 |
commit | 380e7b1eee4ad95fc5c421d652cc4b33418fd3b7 (patch) | |
tree | f084e4f9a96719a0cf7974a6cbbacf92f3a09e96 | |
parent | d7d4810c7392ce23cebfed691ce3f6c4824358c2 (diff) |
mm-core: Removing omx audio codec entries
Removing omx audio codec entries since
Codec 2.0 codecs are default media codecs
Change-Id: I57799985a5ad0e63ccf399b9ee5cd1ea4e6891a1
-rw-r--r-- | mm-core/Android.mk | 4 | ||||
-rw-r--r-- | mm-core/src/registry_table.c | 26 | ||||
-rw-r--r-- | mm-core/src/registry_table_android.c | 36 |
3 files changed, 6 insertions, 60 deletions
diff --git a/mm-core/Android.mk b/mm-core/Android.mk index c8a114d3..b735db0c 100644 --- a/mm-core/Android.mk +++ b/mm-core/Android.mk @@ -59,7 +59,7 @@ LOCAL_CFLAGS := $(OMXCORE_CFLAGS) LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp LOCAL_SRC_FILES += src/common/qc_omx_core.c -ifneq (,$(filter lito bengal kona lahaina holi $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM))) +ifneq (,$(filter lito bengal kona lahaina holi taro $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM))) LOCAL_SRC_FILES += src/registry_table_android.c else LOCAL_SRC_FILES += src/default/qc_registry_table_android.c @@ -100,7 +100,7 @@ endif LOCAL_SRC_FILES := src/common/omx_core_cmp.cpp LOCAL_SRC_FILES += src/common/qc_omx_core.c -ifneq (,$(filter lito bengal kona lahaina holi $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM))) +ifneq (,$(filter lito bengal kona lahaina holi taro $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM))) LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/registry_table.c else LOCAL_SRC_FILES += src/$(MM_CORE_TARGET)/default/qc_registry_table.c diff --git a/mm-core/src/registry_table.c b/mm-core/src/registry_table.c index 109f0212..d793e7c2 100644 --- a/mm-core/src/registry_table.c +++ b/mm-core/src/registry_table.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- -Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. +Copyright (c) 2018-2021, 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 @@ -37,29 +37,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "qc_omx_core.h" -omx_core_cb_type core[] = -{ - //Common entries - OMX_REGISTRY_ENTRY("OMX.qcom.file.muxer", "libOmxMux.so", "container_muxer.mp2"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.Qcelp13", "libOmxQcelp13Dec.so", "audio_decoder.Qcelp13"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.evrc", "libOmxEvrcDec.so", "audio_decoder.evrc"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.wma", "libOmxWmaDec.so", "audio_decoder.wma"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.wma10Pro", "libOmxWmaDec.so", "audio_decoder.wma"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.alac", "libOmxAlacDec.so", "audio_decoder.alac"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.ape", "libOmxApeDec.so", "audio_decoder.ape"), - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.dsd", "libOmxDsdDec.so", "audio_decoder.dsd"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.aac", "libOmxAacEnc.so", "audio_encoder.aac"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.qcelp13", "libOmxQcelp13Enc.so", "audio_encoder.qcelp13"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.evrc", "libOmxEvrcEnc.so", "audio_encoder.evrc"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.amrnb", "libOmxAmrEnc.so", "audio_encoder.amrnb"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.aac", "libOmxAacDec.so", "audio_decoder.aac"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.multiaac", "libOmxAacDec.so", "audio_decoder.aac"), -#ifdef _EN_ADDTNL_CDCS_ - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.mpegh", "libOmxMpeghDecSw.so", "audio_decoder.mpegh"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.mpegh", "libOmxMpeghEncSw.so", "audio_encoder.mpegh"), -#endif //_EN_ADDTNL_CDCS_ - -}; +omx_core_cb_type core[] = {}; const unsigned int SIZE_OF_CORE = sizeof(core) / sizeof(omx_core_cb_type); diff --git a/mm-core/src/registry_table_android.c b/mm-core/src/registry_table_android.c index b959375b..be7d94c6 100644 --- a/mm-core/src/registry_table_android.c +++ b/mm-core/src/registry_table_android.c @@ -1,5 +1,5 @@ /*-------------------------------------------------------------------------- -Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. +Copyright (c) 2018-2021, 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 @@ -37,38 +37,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "qc_omx_core.h" -omx_core_cb_type core[] = -{ +omx_core_cb_type core[] = {}; - //------------- Audio HW components ----------------------------------------------------------- - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.Qcelp13", "libOmxQcelp13Dec.so", "audio_decoder.Qcelp13"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.evrc", "libOmxEvrcDec.so", "audio_decoder.evrc"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.wma", "libOmxWmaDec.so", "audio_decoder.wma"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.wma10Pro", "libOmxWmaDec.so", "audio_decoder.wma"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.wmaLossLess", "libOmxWmaDec.so", "audio_decoder.wma"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.amrwbplus", "libOmxAmrwbplusDec.so", "audio_decoder.awbplus"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.alac", "libOmxAlacDec.so", "audio_decoder.alac"), - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.alac.sw", "libOmxAlacDecSw.so", "audio_decoder.alac"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.ape", "libOmxApeDec.so", "audio_decoder.ape"), - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.ape.sw", "libOmxApeDecSw.so", "audio_decoder.ape"), - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.dsd", "libOmxDsdDec.so", "audio_decoder.dsd"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.aac", "libOmxAacEnc.so", "audio_encoder.aac"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.qcelp13", "libOmxQcelp13Enc.so", "audio_encoder.qcelp13"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.evrc", "libOmxEvrcEnc.so", "audio_encoder.evrc"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.amrnb", "libOmxAmrEnc.so", "audio_encoder.amrnb"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.multiaac", "libOmxAacDec.so", "audio_decoder.aac"), - -#ifdef _EN_ADDTNL_CDCS_ - OMX_REGISTRY_ENTRY("OMX.qti.audio.decoder.mpegh", "libOmxMpeghDecSw.so", "audio_decoder.mpegh"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.encoder.mpegh", "libOmxMpeghEncSw.so", "audio_encoder.mpegh"), -#endif //_EN_ADDTNL_CDCS_ - - // HACK: Hidden components marker - OMX_REGISTRY_ENTRY("OMX.QCOM.CUST.COMP.START", NULL, NULL), - - // Hidden components - OMX_REGISTRY_ENTRY("OMX.qcom.file.muxer", "libOmxMux.so", "container_muxer.mp2"), - OMX_REGISTRY_ENTRY("OMX.qcom.audio.decoder.aac", "libOmxAacDec.so", "audio_decoder.aac"), - -}; const unsigned int SIZE_OF_CORE = sizeof(core) / sizeof(omx_core_cb_type); |