Home
last modified time | relevance | path

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

/external/chromium_org/ui/display/util/
Dedid_parser_unittest.cc100 std::vector<uint8_t> edid( in TEST() local
102 EXPECT_FALSE(ParseOutputOverscanFlag(edid, &flag)); in TEST()
105 edid.assign(kInternalDisplay, kInternalDisplay + charsize(kInternalDisplay)); in TEST()
106 EXPECT_FALSE(ParseOutputOverscanFlag(edid, &flag)); in TEST()
109 edid.assign(kOverscanDisplay, kOverscanDisplay + charsize(kOverscanDisplay)); in TEST()
110 EXPECT_TRUE(ParseOutputOverscanFlag(edid, &flag)); in TEST()
114 edid.assign( in TEST()
116 EXPECT_FALSE(ParseOutputOverscanFlag(edid, &flag)); in TEST()
122 edid.assign(kOverscanDisplay, kOverscanDisplay + charsize(kOverscanDisplay)); in TEST()
123 edid[150] = '\0'; in TEST()
[all …]
Dedid_parser.cc33 bool GetDisplayIdFromEDID(const std::vector<uint8_t>& edid, in GetDisplayIdFromEDID() argument
40 ParseOutputDeviceData(edid, &manufacturer_id, &product_name); in GetDisplayIdFromEDID()
56 bool ParseOutputDeviceData(const std::vector<uint8_t>& edid, in ParseOutputDeviceData() argument
73 if (edid.size() < kManufacturerOffset + kManufacturerLength) { in ParseOutputDeviceData()
79 *reinterpret_cast<const uint16_t*>(&edid[kManufacturerOffset]); in ParseOutputDeviceData()
90 if (edid.size() < kDescriptorOffset + (i + 1) * kDescriptorLength) in ParseOutputDeviceData()
101 if (edid[offset] == 0 && edid[offset + 1] == 0 && edid[offset + 2] == 0 && in ParseOutputDeviceData()
102 edid[offset + 3] == kMonitorNameDescriptor && edid[offset + 4] == 0) { in ParseOutputDeviceData()
103 std::string found_name(reinterpret_cast<const char*>(&edid[offset + 5]), in ParseOutputDeviceData()
124 bool ParseOutputOverscanFlag(const std::vector<uint8_t>& edid, in ParseOutputOverscanFlag() argument
[all …]
Dedid_parser.h23 DISPLAY_UTIL_EXPORT bool GetDisplayIdFromEDID(const std::vector<uint8_t>& edid,
32 const std::vector<uint8_t>& edid,
37 const std::vector<uint8_t>& edid,
/external/chromium_org/ui/display/util/x11/
Dedid_parser_x11.cc30 bool GetEDIDProperty(XID output, std::vector<uint8_t>* edid) { in GetEDIDProperty() argument
73 edid->assign(prop, prop + nitems); in GetEDIDProperty()
85 std::vector<uint8_t> edid; in GetOutputDeviceData() local
86 if (!GetEDIDProperty(output, &edid)) in GetOutputDeviceData()
90 edid, manufacturer_id, human_readable_name); in GetOutputDeviceData()
99 std::vector<uint8_t> edid; in GetDisplayId() local
100 if (!GetEDIDProperty(output_id, &edid)) in GetDisplayId()
103 bool result = GetDisplayIdFromEDID(edid, output_index, display_id_out); in GetDisplayId()
114 std::vector<uint8_t> edid; in GetOutputOverscanFlag() local
115 if (!GetEDIDProperty(output, &edid)) in GetOutputOverscanFlag()
[all …]
/external/chromium_org/ui/ozone/platform/dri/chromeos/
Ddisplay_snapshot_dri.cc86 std::vector<uint8_t> edid( in DisplaySnapshotDri() local
90 has_proper_display_id_ = GetDisplayIdFromEDID(edid, index, &display_id_); in DisplaySnapshotDri()
91 ParseOutputDeviceData(edid, NULL, &display_name_); in DisplaySnapshotDri()
92 ParseOutputOverscanFlag(edid, &overscan_flag_); in DisplaySnapshotDri()
/external/kernel-headers/original/uapi/linux/
Dv4l2-subdev.h156 __u8 __user *edid; member
/external/kernel-headers/original/uapi/drm/
Dexynos_drm.h93 uint64_t edid; member