summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2022-11-29 01:31:39 -0800
committerLinux Build Service Account <lnxbuild@localhost>2022-11-29 01:31:39 -0800
commit398142a11cfeecee6cf99f1b49a37be810838dfb (patch)
tree280b15e9dc77613b81ee583020c59e252842108e
parent091aa2876c9425dd7088a47647cddf27c94de50c (diff)
parent6ccdeae2a737d0c2cea06270300c3badb1e74455 (diff)
Merge 6ccdeae2a737d0c2cea06270300c3badb1e74455 on remote branch
Change-Id: Ic5acd01ca37d849431f5fbbce0d4281c98a5f6d3
-rw-r--r--gralloc/color_extensions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gralloc/color_extensions.h b/gralloc/color_extensions.h
new file mode 100644
index 00000000..f670162b
--- /dev/null
+++ b/gralloc/color_extensions.h
@@ -0,0 +1,18 @@
+/*
+* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+* SPDX-License-Identifier: BSD-3-Clause-Clear
+*/
+#include <cstdint>
+
+#ifndef __COLOREXTENSIONS_H__
+#define __COLOREXTENSIONS_H__
+
+#define CUSTOM_METADATA_SIZE_BYTES 1024*42
+typedef struct CustomContentMetadata {
+ uint64_t size;
+ uint8_t metadataPayload[CUSTOM_METADATA_SIZE_BYTES];
+} CustomContentMetadata;
+
+
+#endif // __COLOREXTENSIONS_H__
+