Home
last modified time | relevance | path

Searched refs:edid_buf (Results 1 – 1 of 1) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp2763 std::array<uint8_t, 128> edid_buf{ in getDisplayFakeEdid() local
2794 edid_buf[55] = clock >> 8; in getDisplayFakeEdid()
2795 edid_buf[56] = width & 0xff; in getDisplayFakeEdid()
2796 edid_buf[58] = (width >> 4) & 0xf0; in getDisplayFakeEdid()
2797 edid_buf[59] = height & 0xff; in getDisplayFakeEdid()
2798 edid_buf[61] = (height >> 4) & 0xf0; in getDisplayFakeEdid()
2802 memcpy(&edid_buf[95], mMonitorDescription.data(), mMonitorDescription.size()); in getDisplayFakeEdid()
2805 unsigned int sum = std::accumulate(edid_buf.begin(), edid_buf.end() - 1, 0); in getDisplayFakeEdid()
2806 edid_buf[127] = (0x100 - (sum & 0xFF)) & 0xFF; in getDisplayFakeEdid()
2808 outDataSize = std::min<uint32_t>(outDataSize, edid_buf.size()); in getDisplayFakeEdid()
[all …]