summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2021-12-07 08:39:17 -0800
committerLinux Build Service Account <lnxbuild@localhost>2021-12-07 08:39:17 -0800
commit56043d1be2129a6959b9ca01334846f629ddb128 (patch)
treecf67e571c82c7d4f5aa6937b429e575d7c7615d7
parent69eb478b8ef2e484e580b9469d81b5fd974c11ee (diff)
parentfad04d798e2dce95958051b0e9bb6172bf7f9286 (diff)
Merge fad04d798e2dce95958051b0e9bb6172bf7f9286 on remote branch
Change-Id: I4b29ebb96ad05734eb92062c4309e721aaaa52ae
-rw-r--r--mm-core/Android.mk4
-rw-r--r--mm-core/src/default/qc_registry_table.c21
-rw-r--r--mm-core/src/default/qc_registry_table_android.c17
-rw-r--r--mm-core/src/registry_table.c23
-rw-r--r--mm-core/src/registry_table_android.c34
5 files changed, 59 insertions, 40 deletions
diff --git a/mm-core/Android.mk b/mm-core/Android.mk
index b735db0c..c8a114d3 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 taro $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)))
+ifneq (,$(filter lito bengal kona lahaina holi $(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 taro $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)))
+ifneq (,$(filter lito bengal kona lahaina holi $(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/default/qc_registry_table.c b/mm-core/src/default/qc_registry_table.c
index ed0ab561..dc348aa7 100644
--- a/mm-core/src/default/qc_registry_table.c
+++ b/mm-core/src/default/qc_registry_table.c
@@ -36,26 +36,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "qc_omx_core.h"
-omx_core_cb_type core[] =
-{
- {
- "OMX.qcom.xxx.yyy.zzz",
- NULL, // Create instance function
- // Unique instance handle
- {
- NULL
- },
- NULL, // Shared object library handle
- #ifdef _ANDROID_
- "abc.so",
- #else
- "efg.so.1",
- #endif
- {
- "ijk.lmn"
- }
- }
-};
+omx_core_cb_type core[] = {};
const unsigned int SIZE_OF_CORE = sizeof(core) / sizeof(omx_core_cb_type);
diff --git a/mm-core/src/default/qc_registry_table_android.c b/mm-core/src/default/qc_registry_table_android.c
index 5eb170c5..3d00feb2 100644
--- a/mm-core/src/default/qc_registry_table_android.c
+++ b/mm-core/src/default/qc_registry_table_android.c
@@ -37,22 +37,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "qc_omx_core.h"
-omx_core_cb_type core[] =
-{
- {
- "OMX.qcom.xxx.yyy.zzz",
- NULL, // Create instance function
- // Unique instance handle
- {
- NULL
- },
- NULL, // Shared object library handle
- "abc.so",
- {
- "efg.ijk"
- }
- }
-};
+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.c b/mm-core/src/registry_table.c
index d793e7c2..f141b002 100644
--- a/mm-core/src/registry_table.c
+++ b/mm-core/src/registry_table.c
@@ -37,8 +37,29 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "qc_omx_core.h"
-omx_core_cb_type core[] = {};
+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_
+};
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 be7d94c6..d5dfead5 100644
--- a/mm-core/src/registry_table_android.c
+++ b/mm-core/src/registry_table_android.c
@@ -37,6 +37,38 @@ 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);