From b856446cd607a41546a0ba6a8f456eef623e1bab Mon Sep 17 00:00:00 2001 From: Tharaga Balachandran Date: Thu, 24 Aug 2023 12:40:11 -0400 Subject: [PATCH] gralloc: Add plane layout component type blob Change-Id: If265d9c87de0c9745e2b6463cdbc68617c49bf90 --- gralloc/QtiGralloc.h | 2 ++ gralloc/QtiGrallocMetadata.h | 1 + 2 files changed, 3 insertions(+) diff --git a/gralloc/QtiGralloc.h b/gralloc/QtiGralloc.h index d25b264e..16d33610 100644 --- a/gralloc/QtiGralloc.h +++ b/gralloc/QtiGralloc.h @@ -157,6 +157,8 @@ static const aidl::android::hardware::graphics::common::ExtendableType PlaneLayoutComponentType_Raw = {VENDOR_QTI, PLANE_COMPONENT_TYPE_RAW}; static const aidl::android::hardware::graphics::common::ExtendableType PlaneLayoutComponentType_Meta = {VENDOR_QTI, PLANE_COMPONENT_TYPE_META}; +static const aidl::android::hardware::graphics::common::ExtendableType + PlaneLayoutComponentType_Blob = {VENDOR_QTI, PLANE_COMPONENT_TYPE_BLOB}; Error decodeMetadataState(hidl_vec &in, bool *out); Error encodeMetadataState(bool *in, hidl_vec *out); diff --git a/gralloc/QtiGrallocMetadata.h b/gralloc/QtiGrallocMetadata.h index 6d139ddb..e638af90 100644 --- a/gralloc/QtiGrallocMetadata.h +++ b/gralloc/QtiGrallocMetadata.h @@ -87,6 +87,7 @@ #define PLANE_COMPONENT_TYPE_RAW 20003 #define PLANE_COMPONENT_TYPE_META 20004 +#define PLANE_COMPONENT_TYPE_BLOB 20005 #define MAX_NAME_LEN 256