summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-12-15 15:38:40 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-12-15 15:38:40 -0800
commitd93447910055565726836a1cdcfc3bad7c95f98c (patch)
tree70b8e7b8635a0ba4b5dbffab5d3e21df018e236d /include
parentaab601168caec83cf1ca3f235d3a6b308a5dedaa (diff)
parentd980e656baa842592944c6fed371c9b37b2feea9 (diff)
downloadframeworks_base-d93447910055565726836a1cdcfc3bad7c95f98c.zip
frameworks_base-d93447910055565726836a1cdcfc3bad7c95f98c.tar.gz
frameworks_base-d93447910055565726836a1cdcfc3bad7c95f98c.tar.bz2
am d980e656: Merge change Ic7e91eee into eclair-mr2
Merge commit 'd980e656baa842592944c6fed371c9b37b2feea9' into eclair-mr2-plus-aosp * commit 'd980e656baa842592944c6fed371c9b37b2feea9': Add a new API to support determining the roles of an OMX component specified by name. Remove unneeded OMXSoftwareCodecsPlugin.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXPluginBase.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXPluginBase.h b/include/media/stagefright/OMXPluginBase.h
index 61cc50a..2fd8e12 100644
--- a/include/media/stagefright/OMXPluginBase.h
+++ b/include/media/stagefright/OMXPluginBase.h
@@ -22,6 +22,9 @@
#include <OMX_Component.h>
+#include <utils/String8.h>
+#include <utils/Vector.h>
+
namespace android {
struct OMXComponentBase;
@@ -44,6 +47,10 @@ struct OMXPluginBase {
size_t size,
OMX_U32 index) = 0;
+ virtual OMX_ERRORTYPE getRolesOfComponent(
+ const char *name,
+ Vector<String8> *roles) = 0;
+
private:
OMXPluginBase(const OMXPluginBase &);
OMXPluginBase &operator=(const OMXPluginBase &);