一.EDID数据格式:
EDID 1.3 data format
Byte sequence
00-19 Header information
00–07 Header information "00h FFh FFh FFh FFh FFh FFh 00h"
08–09
Manufacturer ID. These IDs are assigned by Microsoft. "00001=A”;
“00010=B”; ... “11010=Z”. Bit 7 (at address 08h) is 0, the first
character (letter) is located at bits 6 → 2 (at address 08h), the second
character (letter) is located at bits 1 & 0 (at address 08h) and
bits 7 → 5 (at address 09h), and the third character (letter) is located
at bits 4 → 0 (at address 09h).
10–11 Product ID Code (stored as LSB first). Assigned by manufacturer.
12–15
32-bit Serial Number. No requirement for the format. Usually stored as
LSB first. In order to maintain compatibility with previous
requirements the field should set at least one byte of the field to be
non-zero if an ASCII serial number descriptor is provided in the
detailed timing section.
16 Week of Manufacture. This varies by
manufacturer. One way is to count January 1–7 as week 1, January 8–15
as week 2 and so on. Some count based on the week number
(Sunday-Saturday). Valid range is 1-54.
17 Year of Manufacture. Add 1990 to the value for actual year.
18 EDID Version Number "01h"
19 EDID Revision Number "03h"
20-24 Basic display parameters
20 Video input definition
7 0=analog 1=digital
6 video level
00=0.7, 0.3; 01=0.714, 0.286; 10=1, 0.4; 11=0.7, 0
5
4 blank-to-black setup
3 separate syncs
2 composite sync
1 sync on green
0 serration vsync 1=DFP 1.x compatible
21 Maximum Horizontal Image Size (in centimeters).
22 Maximum Vertical Image Size (in centimetres).
23 Display Gamma. Divide by 100, then add 1 for actual value.
24 Power Management and Supported Feature(s):
7 standby
6 suspend
5 active-off/low power
4 Display type:
00=monochrome, 01=RGB colour, 10=non RGB multicolour, 11=undefined
3
2 standard colour space
1 preferred timing mode
0 default GTF supported
25-34 Chromaticity coordinates
25 low significant bits for Red X (bit 7-6), Red Y (bit 5-4), Green X (bit 3-2), Green Y (bit 1-0).
26 low significant bits for Blue X (bit 7-6), Blue Y (bit 5-4), White X (bit 3-2), White Y (bit 1-0).
27–34
high significant bits for Red X, Red Y, Green X, Green Y, Blue X, Blue
Y, White X, White Y. To decode actual value, rearrange bits as
follows: High significant bits 7-0 for (channel), low significant bits
for (channel). Actual value is between 0.000 and 0.999, but encoded
value is between 000h and 3FFh. Normalize by *999/1023.
35 Established timing I:
720×400@70 Hz, 720×400@88 Hz, 640×480@60 Hz, 640×480@67 Hz, 640×480@72 Hz, 640×480@75 Hz, 800×600@56 Hz, 800×600@60 Hz
36 Established timing II:
800×600@72
Hz, 800×600@75 Hz, 832×624@75 Hz, 1024×768@87 Hz (Interlaced),
1024×768@60 Hz, 1024×768@70 Hz, 1024×768@75 Hz, 1280×1024@75 Hz
37 Manufacturer's reserved timing:
00h for none
bit 7: 1152x870 @ 75 Hz (Mac II, Apple)
38–53 Standard timing identification
First byte: Horizontal resolution. Multiply by 8, then add 248 for actual value.
Second byte:
bit 7-6
Aspect ratio. Actual vertical resolution depends on horizontal resolution.
00=16:10, 01=4:3, 10=5:4, 11=16:9 (00=1:1 prior to v1.3)
bit 5-0
Vertical frequency. Add 60 to get actual value.
54–71 Descriptor Block 1
54–55 Pixel Clock (in 10 kHz) or 0 (55 MSB 54 LSB)
If Pixel Clock is non null:
56: Horizontal Active (in pixels)
57: Horizontal Blanking (in pixels)
58: Horizontal Active high (4 upper bits)
Horizontal Blanking high (4 lower bits)
59: Vertical Active (in lines)
60: Vertical Blanking (in lines)
61: high significant bits for Vertical Active (4 upper bits)
high significant bits for Vertical Blanking (4 lower bits)
62: Horizontal Sync Offset (in pixels)
63: Horizontal Sync Pulse Width (in pixels)
64: Vertical Sync Offset (in lines) (4 upper bits)
Vertical Sync Pulse Width (in lines) (4 lower bits)
65: high significant bits for Horizontal Sync Offset (bit 7-6)
high significant bits for Horizontal Sync Pulse Width (bit