This is an automatic generated email to let you know that the following patch were queued:
Subject: edid-decode: fix incorrect voltage level Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Fri Feb 18 17:12:14 2022 +0100 Signal Level Standard reported 0.7/0.7 instead of 0.7/0.0 V. Also reworked this section to better match the terminlogy from the EDID standard. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> Reported-by: Morten Leikvoll <leikv...@cyviz.com> parse-base-block.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) --- diff --git a/parse-base-block.cpp b/parse-base-block.cpp index 048308b8701f..c8fcfeb63126 100644 --- a/parse-base-block.cpp +++ b/parse-base-block.cpp @@ -1414,16 +1414,18 @@ void edid_state::parse_base_block(const unsigned char *x) fail("Digital Video Interface Standard set to reserved value 0x%02x.\n", x[0x14] & 0x7f); } } else { + static const char * const voltages[] = { + "0.700 : 0.300 : 1.000 V p-p", + "0.714 : 0.286 : 1.000 V p-p", + "1.000 : 0.400 : 1.400 V p-p", + "0.700 : 0.000 : 0.700 V p-p" + }; unsigned voltage = (x[0x14] & 0x60) >> 5; unsigned sync = (x[0x14] & 0x0f); analog = 1; printf(" Analog display\n"); - printf(" Input voltage level: %s V\n", - voltage == 3 ? "0.7/0.7" : - voltage == 2 ? "1.0/0.4" : - voltage == 1 ? "0.714/0.286" : - "0.7/0.3"); + printf(" Signal Level Standard: %s\n", voltages[voltage]); if (x[0x14] & 0x10) printf(" Blank-to-black setup/pedestal\n"); _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits