summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-07-28 17:56:36 -0700
committerChong Zhang <chz@google.com>2015-07-28 17:59:15 -0700
commitf42917964a76720932b23e67a05d034cd0cf346b (patch)
tree79937def38a4341e9eadf978a6265bb24839cff1 /include
parent70c1f74f3d4c43b67949f3e742195d60f4677462 (diff)
downloadframeworks_av-f42917964a76720932b23e67a05d034cd0cf346b.zip
frameworks_av-f42917964a76720932b23e67a05d034cd0cf346b.tar.gz
frameworks_av-f42917964a76720932b23e67a05d034cd0cf346b.tar.bz2
add GRALLOC_USAGE_HW_COMPOSER flag to video usage bits
bug: 22657091 Change-Id: I6a11bc15bba34035ef31c2f4d41196ece60d4ad9
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 2ca3f1c..05f6786 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -145,6 +145,12 @@ private:
kFlagIsGrallocUsageProtected = 4,
};
+ enum {
+ kVideoGrallocUsage = (GRALLOC_USAGE_HW_TEXTURE
+ | GRALLOC_USAGE_HW_COMPOSER
+ | GRALLOC_USAGE_EXTERNAL_DISP),
+ };
+
struct BufferInfo {
enum Status {
OWNED_BY_US,