diff options
author | Burt P <pburt0@gmail.com> | 2019-08-18 20:49:02 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-08-22 23:10:17 +0200 |
commit | 5ea868d6caefeb3dcc93f50631a17c3a1681bd74 (patch) | |
tree | f1174525ec9f002682d48d050a4996a3d8519a87 /deps/sysobj_early/include | |
parent | 2b59d02098064b2779ec01fe0040da3bf0ebe217 (diff) |
monitors: etb and standard timings
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'deps/sysobj_early/include')
-rw-r--r-- | deps/sysobj_early/include/util_edid.h | 16 |
1 files changed, 15 insertions, 1 deletions
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; |