edid-decode: add --replace-serial-numbers option
commit4bed391f9b59d56e06d3e977a4cd427b5fd3e9c9
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 15 Jun 2022 14:50:41 +0000 (15 16:50 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 15 Jun 2022 14:50:41 +0000 (15 16:50 +0200)
tree8cf1a0eedea340b449d0eaad164ce94376ec6217
parentcc1aeb00500d1ac725577354af9cd2637f47ef71
edid-decode: add --replace-serial-numbers option

This replaces any serial numbers by '123456' in the EDID itself.
It differs from the --hide-serial-numbers option that just shows
them as '...' in the human readable output, but leaves them in the
EDID hex dump.

Replacing the serial numbers will also update the checksums, so
incorrect checksums in the original EDID will no longer be detected
when using this option.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
edid-decode.1
edid-decode.cpp
edid-decode.h
parse-base-block.cpp
parse-cta-block.cpp
parse-displayid-block.cpp
parse-ls-ext-block.cpp