summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-05-22 12:55:03 -0700
committerAndreas Huber <andih@google.com>2012-05-22 12:55:03 -0700
commitbc098410be55f9d96f394b3981a0c482b83859b6 (patch)
tree45681d846f6862d558b04be1a4b36bb4a2b4c54f /include
parenta6490c65f93e1cbe969fba499978e8d64214108a (diff)
downloadframeworks_av-bc098410be55f9d96f394b3981a0c482b83859b6.zip
frameworks_av-bc098410be55f9d96f394b3981a0c482b83859b6.tar.gz
frameworks_av-bc098410be55f9d96f394b3981a0c482b83859b6.tar.bz2
Tell surface flinger that we want to protect output buffers from being
sent to HDMI (without HDCP) and push a few black frames on IDLE->LOADED similar to OMXCodec's behaviour. Change-Id: Iea6055a115151ca881220a70a31af6ade2c58cb3 related-to-bug: 6537187
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 23e3110..2371619 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -233,6 +233,8 @@ private:
status_t initNativeWindow();
+ status_t pushBlankBuffersToNativeWindow();
+
// Returns true iff all buffers on the given port have status OWNED_BY_US.
bool allYourBuffersAreBelongToUs(OMX_U32 portIndex);