summaryrefslogtreecommitdiffstats
path: root/include/media/IMediaCodecList.h
diff options
context:
space:
mode:
authorRonghua Wu <ronghuawu@google.com>2015-03-26 13:52:57 -0700
committerRonghua Wu <ronghuawu@google.com>2015-04-13 18:01:51 -0700
commit9e6955a19bf77ebf27b770e910efbe1ebf1ceac0 (patch)
tree04fbb621d9f9262bdec827d80f9df998a48f90ff /include/media/IMediaCodecList.h
parent5795cb168634680fd5c835849c8fcf48dd6f532b (diff)
downloadframeworks_av-9e6955a19bf77ebf27b770e910efbe1ebf1ceac0.zip
frameworks_av-9e6955a19bf77ebf27b770e910efbe1ebf1ceac0.tar.gz
frameworks_av-9e6955a19bf77ebf27b770e910efbe1ebf1ceac0.tar.bz2
media: handle overrides and measure max codec instance.
Bug: 19620911 Change-Id: I68d5919284700f37ccc6c6b9f96cd87ccdd40e6a
Diffstat (limited to 'include/media/IMediaCodecList.h')
-rw-r--r--include/media/IMediaCodecList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/IMediaCodecList.h b/include/media/IMediaCodecList.h
index e93ea8b..12b52d7 100644
--- a/include/media/IMediaCodecList.h
+++ b/include/media/IMediaCodecList.h
@@ -21,6 +21,8 @@
#include <binder/IInterface.h>
#include <binder/Parcel.h>
+#include <media/stagefright/foundation/AMessage.h>
+
namespace android {
struct MediaCodecInfo;
@@ -33,6 +35,8 @@ public:
virtual size_t countCodecs() const = 0;
virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const = 0;
+ virtual const sp<AMessage> getGlobalSettings() const = 0;
+
virtual ssize_t findCodecByType(
const char *type, bool encoder, size_t startIndex = 0) const = 0;