summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParas Nagda <pnagda@codeaurora.org>2020-08-24 16:09:01 +0530
committerParas Nagda <pnagda@codeaurora.org>2020-08-24 16:09:01 +0530
commit767ec5b2643a3cc6e7cf51e18c64e73fe85a6136 (patch)
tree66719e740cb7688218ebe41f81a607a89f855276
parentf4929334582f37b38959cb208ce3ae15ba2d72f0 (diff)
mm-core: Remove vpp for atoll
Since VPP service is not supported on atoll removing the same from registry. Change-Id: Ibd7d3c0e0506965954bc73ee07a1d8305da69cea
-rw-r--r--mm-core/src/common/qc_omx_core.c10
-rw-r--r--mm-core/src/registry_table.c2
-rw-r--r--mm-core/src/registry_table_android.c2
3 files changed, 9 insertions, 5 deletions
diff --git a/mm-core/src/common/qc_omx_core.c b/mm-core/src/common/qc_omx_core.c
index f15d24b2..754c3b57 100644
--- a/mm-core/src/common/qc_omx_core.c
+++ b/mm-core/src/common/qc_omx_core.c
@@ -142,9 +142,13 @@ OMX_Init()
continue;
} else if (!strcmp("OMX.qcom.video.encoder.tme", core[i].name) || !strcmp("OMX.qcom.video.encoder.tme.secure", core[i].name))
continue;
- } else if (!strcmp(platform_name, "atoll") || !strcmp(platform_name, "trinket")) {
- //Trinket and Atoll both does not support vc1 hence don't add them in list
- if (!strcmp("OMX.qti.video.decoder.vc1sw", core[i].name))
+ } else if (!strcmp(platform_name, "atoll")) {
+ //Atoll does not support vc1 and vpp hence don't add them in list
+ if (!strcmp("OMX.qti.video.decoder.vc1sw", core[i].name) || !strcmp("OMX.qti.vdec.vpp", core[i].name))
+ continue;
+ } else if (!strcmp(platform_name, "trinket")) {
+ //Trinket does not support vc1 hence don't add them in list
+ if (!strcmp("OMX.qti.video.decoder.vc1sw", core[i].name))
continue;
} else if (!strcmp(platform_name, "msmnile")) {
//Hana does not support tme,tme secure hence donot add to list
diff --git a/mm-core/src/registry_table.c b/mm-core/src/registry_table.c
index e6d88ed3..8d392a5a 100644
--- a/mm-core/src/registry_table.c
+++ b/mm-core/src/registry_table.c
@@ -78,7 +78,7 @@ omx_core_cb_type core[] =
//Entries specific to msmsteppe
OMX_REGISTRY_ENTRY("OMX.qcom.video.encoder.tme", "libOmxVenc.so", "video_encoder.tme"),
OMX_REGISTRY_ENTRY("OMX.qcom.video.encoder.tme.secure", "libOmxVenc.so", "video_encoder.tme"),
- OMX_REGISTRY_ENTRY("OMX.qti.vdec.vpp", "libOmxVpp.so", "video_decoder.vpp"),
+// OMX_REGISTRY_ENTRY("OMX.qti.vdec.vpp", "libOmxVpp.so", "video_decoder.vpp"),
//#endif //_STEPPE_ || _ATOLL_
//#if !defined(_ATOLL_) && !defined(_TRINKET_)
diff --git a/mm-core/src/registry_table_android.c b/mm-core/src/registry_table_android.c
index ecf0d0f7..81b169dd 100644
--- a/mm-core/src/registry_table_android.c
+++ b/mm-core/src/registry_table_android.c
@@ -85,7 +85,7 @@ omx_core_cb_type core[] =
//Entries specific to msmsteppe
OMX_REGISTRY_ENTRY("OMX.qcom.video.encoder.tme", "libOmxVenc.so", "video_encoder.tme"),
OMX_REGISTRY_ENTRY("OMX.qcom.video.encoder.tme.secure", "libOmxVenc.so", "video_encoder.tme"),
- OMX_REGISTRY_ENTRY("OMX.qti.vdec.vpp", "libOmxVpp.so", "iv_processor.yuv"),
+// OMX_REGISTRY_ENTRY("OMX.qti.vdec.vpp", "libOmxVpp.so", "iv_processor.yuv"),
//#endif //_STEPPE_
//#if !defined(_ATOLL_) && !defined(_TRINKET_)