summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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,