aboutsummaryrefslogtreecommitdiffstats
path: root/parse-base-block.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-02-14 14:06:03 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-02-14 14:18:16 +0100
commit7b02132df3e9fb0d947e7097a2f99973662cfe44 (patch)
treeacaec8f568537be4109b8d2198305766fb72d4d5 /parse-base-block.cpp
parent80912aec18f49f097de3d0970ed8f1eab805d4de (diff)
edid-decode: the borders are not part of the front/back porches
Update DMT 4 and 5 accordingly, and add the borders to the horizontal and vertical blanking calculations. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-base-block.cpp')
-rw-r--r--parse-base-block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-base-block.cpp b/parse-base-block.cpp
index 9dbde81..550b622 100644
--- a/parse-base-block.cpp
+++ b/parse-base-block.cpp
@@ -45,9 +45,9 @@ static const struct {
36, 72, 108, false, 1, 3, 42, true } },
{ 0x04, 0x3140, 0x000000, { 640, 480, 4, 3, 25175, 0, false,
- 16, 96, 48, false, 10, 2, 33, false, 8, 8 } },
+ 8, 96, 40, false, 2, 2, 25, false, 8, 8 } },
{ 0x05, 0x314c, 0x000000, { 640, 480, 4, 3, 31500, 0, false,
- 24, 40, 128, false, 9, 3, 28, false, 8, 8 } },
+ 16, 40, 120, false, 1, 3, 20, false, 8, 8 } },
{ 0x06, 0x314f, 0x000000, { 640, 480, 4, 3, 31500, 0, false,
16, 64, 120, false, 1, 3, 16, false } },
{ 0x07, 0x3159, 0x000000, { 640, 480, 4, 3, 36000, 0, false,

Privacy Policy