aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--edid-decode.cpp3
-rw-r--r--edid-decode.h1
-rw-r--r--parse-displayid-block.cpp13
-rw-r--r--parse-vtb-ext-block.cpp5
4 files changed, 0 insertions, 22 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp
index 4b9ba5a..222333d 100644
--- a/edid-decode.cpp
+++ b/edid-decode.cpp
@@ -973,9 +973,6 @@ void edid_state::preparse_extension(const unsigned char *x)
case 0x02:
preparse_cta_block(x);
break;
- case 0x10:
- preparse_vtb_ext_block(x);
- break;
case 0x70:
preparse_displayid_block(x);
break;
diff --git a/edid-decode.h b/edid-decode.h
index a2877b3..da1ef90 100644
--- a/edid-decode.h
+++ b/edid-decode.h
@@ -234,7 +234,6 @@ struct edid_state {
void parse_displayid_block(const unsigned char *x);
void parse_displayid_cta_data_block(const unsigned char *x);
- void preparse_vtb_ext_block(const unsigned char *x);
void parse_vtb_ext_block(const unsigned char *x);
void parse_ls_ext_block(const unsigned char *x);
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;
}
diff --git a/parse-vtb-ext-block.cpp b/parse-vtb-ext-block.cpp
index fb0606d..4936f1e 100644
--- a/parse-vtb-ext-block.cpp
+++ b/parse-vtb-ext-block.cpp
@@ -7,11 +7,6 @@
#include "edid-decode.h"
-void edid_state::preparse_vtb_ext_block(const unsigned char *x)
-{
- preparse_total_dtds += x[2];
-}
-
void edid_state::parse_vtb_ext_block(const unsigned char *x)
{
printf(" Version: %u\n", x[1]);

Privacy Policy