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
commit91da03b86ff9973af59ba4d64fee1fa89d9d0662 (patch)
tree38708cf333e54121a990b204c6b17f529f1c6375 /include
parent7e97608c9eebe8470f72a86aefc30c4063bf982e (diff)
parent8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd (diff)
downloadframeworks_av-91da03b86ff9973af59ba4d64fee1fa89d9d0662.zip
frameworks_av-91da03b86ff9973af59ba4d64fee1fa89d9d0662.tar.gz
frameworks_av-91da03b86ff9973af59ba4d64fee1fa89d9d0662.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 &);