aboutsummaryrefslogtreecommitdiff
path: root/system/hwc3/EdidInfo.h
blob: bcccebfddb509643e392fa18211c0e0136385072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <cinttypes>
#include <optional>
#include <span>

namespace aidl::android::hardware::graphics::composer3::impl {

struct EdidInfo {
    uint32_t mWidthMillimeters = 0;
    uint32_t mHeightMillimeters = 0;

    static std::optional<EdidInfo> parse(std::span<const uint8_t> blob);
};

}  // namespace aidl::android::hardware::graphics::composer3::impl