Merge "gralloc: Add plane layout component type blob"

This commit is contained in:
qctecmdr
2024-02-28 04:49:05 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 3 additions and 0 deletions

View File

@@ -159,6 +159,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);

View File

@@ -88,6 +88,7 @@
#define PLANE_COMPONENT_TYPE_RAW 20003
#define PLANE_COMPONENT_TYPE_META 20004
#define PLANE_COMPONENT_TYPE_BLOB 20005
#define MAX_NAME_LEN 256