aboutsummaryrefslogtreecommitdiff
path: root/base/src/componentbase.cpp
diff options
context:
space:
mode:
authorYong Yao <yong.yao@intel.com>2011-11-25 05:47:46 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:03:38 -0700
commit92528264a273da7a58fefc7b77b0437bbcc6c330 (patch)
treea4fc15f25660381bd68cc0b6f35a06f655fe0a02 /base/src/componentbase.cpp
parent44e493bfd5e5abeadd4431e294d3108235bdeb29 (diff)
downloadwrs_omxil_core-92528264a273da7a58fefc7b77b0437bbcc6c330.tar.gz
CAMERA: add setParameter for storeMetaDataInBuffers
BZ: 15257 Change-Id: I915d759af9476b78cd251c290cac876d006b64a4 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: http://android.intel.com:8080/25227 Reviewed-by: Seibel, Eric <eric.seibel@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: Gross, Mark <mark.gross@intel.com> Tested-by: Gross, Mark <mark.gross@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'base/src/componentbase.cpp')
-rw-r--r--base/src/componentbase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp
index 6aa3b91..13429cd 100644
--- a/base/src/componentbase.cpp
+++ b/base/src/componentbase.cpp
@@ -757,6 +757,11 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex(
return OMX_ErrorNone;
}
+ if (!strcmp(cParameterName, "OMX.google.android.index.storeMetaDataInBuffers")) {
+ *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexStoreMetaDataInBuffers);
+ return OMX_ErrorNone;
+ }
+
return OMX_ErrorUnsupportedIndex;
}