diff options
author | Tharaga Balachandran <quic_tbalacha@quicinc.com> | 2023-08-24 12:40:11 -0400 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2024-03-20 01:30:25 +0800 |
commit | cddefa268daee357611a8b6742f2a6ea02a2217e (patch) | |
tree | 0e409c82f0c0c0d0ee9dbadcea0d5388d16a7cb3 | |
parent | 49e7decf6f30328426864ca16066d441eb7f953c (diff) |
gralloc: Add plane layout component type blobumineko
Change-Id: If265d9c87de0c9745e2b6463cdbc68617c49bf90
(cherry picked from commit b856446cd607a41546a0ba6a8f456eef623e1bab)
-rw-r--r-- | gralloc/QtiGralloc.h | 2 | ||||
-rw-r--r-- | gralloc/QtiGrallocMetadata.h | 1 |
2 files changed, 3 insertions, 0 deletions
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<uint8_t> &in, bool *out); Error encodeMetadataState(bool *in, hidl_vec<uint8_t> *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 |