From 5ea868d6caefeb3dcc93f50631a17c3a1681bd74 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 18 Aug 2019 20:49:02 -0500 Subject: monitors: etb and standard timings Signed-off-by: Burt P --- deps/sysobj_early/include/util_edid.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'deps/sysobj_early/include') diff --git a/deps/sysobj_early/include/util_edid.h b/deps/sysobj_early/include/util_edid.h index 45dad136..9714bfbb 100644 --- a/deps/sysobj_early/include/util_edid.h +++ b/deps/sysobj_early/include/util_edid.h @@ -26,14 +26,22 @@ typedef struct { float horiz_cm, vert_cm; float diag_cm, diag_in; + int horiz_blanking, vert_blanking; int horiz_pixels, vert_lines, vert_pixels; + float vert_freq_hz; int is_interlaced; int stereo_mode; int pixel_clock_khz; - int src; /* 0: edid, 1: dtd, 2: cea-dtd, ... */ + int src; /* 0: edid, 1: etb, 2: std, 3: dtd, 4: cea-dtd, ... */ + uint64_t pixels; /* h*v: easier to compare */ char class_inch[6]; } edid_output; +struct edid_std { + uint8_t *ptr; + edid_output out; +}; + struct edid_dtd { uint8_t *ptr; int cea_ext; @@ -90,6 +98,12 @@ typedef struct { int ext_blocks, ext_blocks_ok, ext_blocks_fail; uint8_t *ext_ok; + int etb_count; + edid_output etbs[24]; + + int std_count; + struct edid_std stds[8]; + int dtd_count; struct edid_dtd *dtds; -- cgit v1.2.3