1 #pragma once 2 3 #include <cinttypes> 4 #include <optional> 5 #include <span> 6 7 namespace aidl::android::hardware::graphics::composer3::impl { 8 9 struct EdidInfo { 10 uint32_t mWidthMillimeters = 0; 11 uint32_t mHeightMillimeters = 0; 12 13 static std::optional<EdidInfo> parse(std::span<const uint8_t> blob); 14 }; 15 16 } // namespace aidl::android::hardware::graphics::composer3::impl 17