From e5bfa7ff24164aa031ccc6c73de03331b209c781 Mon Sep 17 00:00:00 2001 From: Kevin DuBois Date: Tue, 22 Jan 2019 10:03:27 -0800 Subject: [PATCH] libcore: add definitions from graphics.commons@1.2 File was auto-generated by runnnig update-base-files.sh Test: header addition, built image. Fixes: 122943743 Change-Id: Ic94ae8f6c42d50ae154659b8922fcebf82437eed --- libsystem/include/system/graphics-base-v1.2.h | 28 +++++++++++++++++++ libsystem/include/system/graphics-base.h | 1 + 2 files changed, 29 insertions(+) create mode 100644 libsystem/include/system/graphics-base-v1.2.h diff --git a/libsystem/include/system/graphics-base-v1.2.h b/libsystem/include/system/graphics-base-v1.2.h new file mode 100644 index 000000000..85b74c693 --- /dev/null +++ b/libsystem/include/system/graphics-base-v1.2.h @@ -0,0 +1,28 @@ +// This file is autogenerated by hidl-gen. Do not edit manually. +// Source: android.hardware.graphics.common@1.2 +// Location: hardware/interfaces/graphics/common/1.2/ + +#ifndef HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_2_EXPORTED_CONSTANTS_H_ +#define HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_2_EXPORTED_CONSTANTS_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum { + HAL_HDR_HDR10_PLUS = 4, +} android_hdr_v1_2_t; + +typedef enum { + HAL_DATASPACE_DISPLAY_BT2020 = 142999552 /* ((STANDARD_BT2020 | TRANSFER_SRGB) | RANGE_FULL) */, +} android_dataspace_v1_2_t; + +typedef enum { + HAL_PIXEL_FORMAT_HSV_888 = 55 /* 0x37 */, +} android_pixel_format_v1_2_t; + +#ifdef __cplusplus +} +#endif + +#endif // HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_2_EXPORTED_CONSTANTS_H_ diff --git a/libsystem/include/system/graphics-base.h b/libsystem/include/system/graphics-base.h index ea920071c..92ee077a6 100644 --- a/libsystem/include/system/graphics-base.h +++ b/libsystem/include/system/graphics-base.h @@ -3,5 +3,6 @@ #include "graphics-base-v1.0.h" #include "graphics-base-v1.1.h" +#include "graphics-base-v1.2.h" #endif // SYSTEM_CORE_GRAPHICS_BASE_H_