Merge "gralloc: Add support for HEIF usage flag." into display-android-commonsys.lnx.1.0

This commit is contained in:
Linux Build Service Account
2018-10-22 11:56:33 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -71,6 +71,11 @@ inline int roundUpToPageSize(int x) {
/* This flag is set for WFD usecase */
#define GRALLOC_USAGE_PRIVATE_WFD (UINT32_C(1) << 21)
/* TODO(user): move these to use sanctioned vendor bits
* once end to end 64-bit support is available */
/* This flag is set for HEIF usecase */
#define GRALLOC_USAGE_PRIVATE_HEIF (UINT32_C(1) << 27)
/* TODO(user): Remove when clients stop referencing this flag */
#define GRALLOC_USAGE_PRIVATE_10BIT_TP 0