diff options
author | Burt P <pburt0@gmail.com> | 2019-08-19 00:38:55 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-08-22 23:10:17 +0200 |
commit | 4a33434d40bb9b3d4d36fb65c80f36dfa492daf6 (patch) | |
tree | 80ca73bf824eceff1938169b3be2ea045389d3a5 /deps/sysobj_early/include | |
parent | 5ea868d6caefeb3dcc93f50631a17c3a1681bd74 (diff) |
monitors: SVDs, fixes
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 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/deps/sysobj_early/include/util_edid.h b/deps/sysobj_early/include/util_edid.h index 9714bfbb..4efee6b3 100644 --- a/deps/sysobj_early/include/util_edid.h +++ b/deps/sysobj_early/include/util_edid.h @@ -31,8 +31,8 @@ typedef struct { float vert_freq_hz; int is_interlaced; int stereo_mode; - int pixel_clock_khz; - int src; /* 0: edid, 1: etb, 2: std, 3: dtd, 4: cea-dtd, ... */ + uint64_t pixel_clock_khz; + int src; /* 0: edid, 1: etb, 2: std, 3: dtd, 4: cea-dtd, 5: svd ... */ uint64_t pixels; /* h*v: easier to compare */ char class_inch[6]; } edid_output; @@ -48,6 +48,12 @@ struct edid_dtd { edid_output out; }; +struct edid_svd { + uint8_t v; + int is_native; + edid_output out; +}; + struct edid_cea_header { uint8_t *ptr; int type, len; @@ -65,10 +71,6 @@ struct edid_cea_audio { int max_kbps; /* formats 2-8 */ }; -struct edid_cea_video { - struct edid_cea_header header; -}; - struct edid_cea_vendor_spec { struct edid_cea_header header; }; @@ -107,6 +109,9 @@ typedef struct { int dtd_count; struct edid_dtd *dtds; + int svd_count; + struct edid_svd *svds; + int cea_block_count; struct edid_cea_block *cea_blocks; |