aboutsummaryrefslogtreecommitdiffstats
path: root/parse-displayid-block.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-07-09 10:14:36 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-07-09 10:14:36 +0200
commit4d94efe95158f5552da365145dfb46e541118ffc (patch)
tree5c16dfc27456387456a98f4393e41a47e40233e5 /parse-displayid-block.cpp
parentbecb0efd507149b9771803eef91f4b1273cbe941 (diff)
edid-decode: drop preparse_total_dtds for DisplayID and VTB-Ext
preparse_total_dtds counter is for base and CTA blocks only. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-displayid-block.cpp')
-rw-r--r--parse-displayid-block.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/parse-displayid-block.cpp b/parse-displayid-block.cpp
index 4164687..8a261b3 100644
--- a/parse-displayid-block.cpp
+++ b/parse-displayid-block.cpp
@@ -1385,19 +1385,6 @@ void edid_state::preparse_displayid_block(const unsigned char *x)
case 0x0e:
preparse_xfer_ids |= 1 << ((x[offset + 1] >> 4) & 0x0f);
break;
- case 0x03:
- preparse_total_dtds += len / 20;
- break;
- case 0x04:
- preparse_total_dtds += len / 11;
- break;
- case 0x13:
- for (unsigned i = 0; i < len; i += (x[offset + 3 + i + 2] & 0x40) ? 17 : 14)
- preparse_total_dtds++;
- break;
- case 0x22:
- preparse_total_dtds += len / 20;
- break;
default:
break;
}

Privacy Policy