summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManoj Kumar AVM <manojavm@codeaurora.org>2015-09-03 16:26:25 -0700
committerSatish Kamuju <skamuj@codeaurora.org>2015-10-06 17:38:07 +0530
commit63edd77ab527f615afc193ea50e15dfcdeb9fe6f (patch)
tree1d177718037f6b8964524da7dff21afdf8e08854 /include
parent1ee2a02ee471d8c5d7b3c3bd3ab720f3dcfea056 (diff)
downloadframeworks_av-63edd77ab527f615afc193ea50e15dfcdeb9fe6f.zip
frameworks_av-63edd77ab527f615afc193ea50e15dfcdeb9fe6f.tar.gz
frameworks_av-63edd77ab527f615afc193ea50e15dfcdeb9fe6f.tar.bz2
Stagefright: Addition of DS capability
Adding support for sending and receiving DS Mode events. Change-Id: I5be1c1e9b7c33b55f0f3aa71725b90cd0f90f0ad
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 33fb963..a346e2b 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -444,6 +444,15 @@ protected:
virtual status_t allocateBuffer(
OMX_U32 portIndex, size_t bufSize, BufferInfo &info);
+ virtual status_t setDSModeHint(sp<AMessage>& msg,
+ OMX_U32 flags, int64_t timeUs) {
+ return UNKNOWN_ERROR;
+ }
+
+ virtual bool getDSModeHint(const sp<AMessage>& msg) {
+ return false;
+ }
+
sp<IOMXObserver> createObserver();
DISALLOW_EVIL_CONSTRUCTORS(ACodec);