From 6cf19622fbb6d92cb0b4ba3b6179b825363d18ff Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Mon, 14 Sep 2020 04:37:48 +0200 Subject: [PATCH] universal7580: update gralloc header Change-Id: I7c370f91636c1813a46d5e8bf788aef9f14c51e5 (cherry picked from commit 33207c5f7a5f907224b6eb6b5c77b486b2be7381) --- include/hardware/gralloc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h index ad79e42..b45c8bc 100644 --- a/include/hardware/gralloc.h +++ b/include/hardware/gralloc.h @@ -136,6 +136,9 @@ enum { * handle this flag. */ GRALLOC_USAGE_FOREIGN_BUFFERS = 0x00200000U, + /* buffer will be used as input to HW HEIC image encoder */ + GRALLOC_USAGE_HW_IMAGE_ENCODER = 0x08000000U, + /* Mask of all flags which could be passed to a gralloc module for buffer * allocation. Any flags not in this mask do not need to be handled by * gralloc modules. */ -- 2.20.1