summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-12-15 15:22:08 -0800
committerAndreas Huber <andih@google.com>2009-12-15 15:22:08 -0800
commit8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd (patch)
treed2ac9d7dbbd665bda5f3019ad27db3a925158061 /include
parent1af80bc3fefb999756ef4847e72b2dcfd0b88a4a (diff)
downloadframeworks_av-8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd.zip
frameworks_av-8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd.tar.gz
frameworks_av-8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd.tar.bz2
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 &);