AgeCommit message (Collapse)AuthorFilesLines
2022-12-14edid-decode: fix error message for tiled topo pixel multiplierHEADmasterSimon Ser1-1/+1
This message was copy-pasted from a few lines below. Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-12-02edid-decode: allow Colorimetry bit MD0 to be setHans Verkuil1-6/+15
It was my understanding that the bits MD0-3 are always to be cleared, but in an obscure corner of the HDMI spec it uses these bits for Gamut Boundary Description Metadata Profiles. Update the code to accept MD0 to be 1. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-11-23Add special case for 16:10 aspect ratioSimon Ser1-0/+5
The mathematical aspect ratio is 8:5 but people use 16:10. For instance: > git grep 16:10 parse-base-block.cpp:749: x[14] & 0x20 ? " 16:10" : "", parse-base-block.cpp:764: printf("16:10"); parse-displayid-block.cpp:284: s += "16:10"; parse-displayid-block.cpp:471: s += "16:10"; Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-11-04edid-decode: fix horizontal front porch for CVT RBv2Simon Ser1-1/+1
According to CVT 2.0 table 3-2, C_H_FRONT_PORCH is 8 for both RBv2 and RBv3. Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-10-11edid-decode: report image size in mm based on given diagonalHans Verkuil1-0/+4
This makes it easier to map diagonal values to width x height values in mm. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-10-06edid-decode: fix clock step for CVT RBv3Simon Ser1-1/+1
According to CVT 2.0 table 3-2, C_CLOCK_STEP = 0.001 for both RBv2 and RBv3. Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-10-04edid-decode: fix typo for tiled display bezelSimon Ser1-6/+6
The spec uses the word "bezel", not "bevel". Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-23edid-decode: add test/cta-vfpdb.testHans Verkuil2-0/+112
Add a test EDID to check the VFPDB parser. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-23edid-decode: bit 1 of DTS-HD value indicates DTS:XHans Verkuil1-0/+7
Bit 1 of the DTS-HD Audio Format Code dependent value indicates DTS:X support, based on reverse engineering efforts. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: val.zapod.vz@gmail.com
2022-09-09edid-decode: drop 'T8VTDB' altogetherHans Verkuil1-1/+1
Just show the DMT without the 'T8VTDB' prefix: the output is more understandable that way, and the only VTDB type that can store a DMT is the Type VIII. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-09edid-decode: show the DMT for 'T8VTDB'Hans Verkuil2-3/+9
In the VFPDB the 'T8VTDB' format is a bit obscure: it refers to the first DMT in the DisplayID Type VIII Data Block, so preparse that DMT ID and show it after the 'T8VTDB' prefix. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2022-09-05edid-decode: fix handling of HDMI Forum EDID Extension Override Data BlockHans Verkuil4-11/+26
The presence of this DB changes the way Extension Blocks are counted. Take this into consideration when checking for valid values. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-05edid-decode: add test/cta-eeodb.testHans Verkuil2-0/+28
Add a test EDID to verify handling of the HDMI Forum EDID Extension Override Data Block. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-05edid-decode: convert /test/cta-timings.test to hex dumpHans Verkuil1-0/+0
The EDIDs in the test directory are supposed to be all hex dumps, not binaries. Except for this one, so convert it to a hex dump. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-09-05edid-decode: [[clang::fallthrough]] is __EMSCRIPTEN__ specificHans Verkuil2-0/+4
The [[clang::fallthrough]] construct fails on some compilers. It is needed to avoid warnings when compiling edid-decode.js, so just put in under #ifdef __EMSCRIPTEN__. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-08-03edid-decode: downgrade missing display product name to warningSimon Ser1-1/+1
The E-EDID 1.4 spec says: > The model name of the display product may be listed (optional > but recommended) in the Display Product Name (ASCII) String > Descriptor (tag #FCh). So a missing Display Product Name descriptor shouldn't fail conformance. E-EDID 1.3 still requires the monitor name, so keep failing in that case. Signed-off-by: Simon Ser <contact@emersion.fr> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-16edid-decode: replace Container IDs as wellHans Verkuil7-31/+52
Rename --replace-serial-numbers with --replace-unique-ids: this will also replace Container IDs with a fixed value (all zeroes). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-16edid-decode: replace serial numbers for LS-EXT UTF 16/32Hans Verkuil1-6/+19
Just for fun, since I've never seen this in practice. But I couldn't help myself... Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-16edid-decode: add UTF 16/32 BE ls-ext test filesHans Verkuil3-1/+55
Really just for fun, since I've never seen LS-EXT being used in real EDIDs, let alone using UTF 16/32. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-16edid-decode: update README with emscripten infoHans Verkuil1-0/+17
Describe the emscripten setup. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-16edid-decode: add emscripten directoryHans Verkuil4-12/+167
Drop the _build directory from the Makefile, it's overkill. To build edid-decode.js add an emscripten directory and place the edid-decode.html and edid-decode.ico files there. Copied with permission from Ilia Mirkin's website https://people.freedesktop.org/~imirkin/edid-decode/. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-06-15edid-decode: Rewrite build to accept multiple jobsBård Eirik Winther1-6/+12
Change the compilation from a single command to building object files before linking. Allows for parallel compilation. Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: revert the build rule for edid-decode.js, that didn't work]
2022-06-15edid-decode: add --replace-serial-numbers optionHans Verkuil7-53/+164
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>
2022-05-25edid-decode: improve preferred/native video timing reportingHans Verkuil3-33/+111
Depending on which CTA-861 version the EDID parser of the Sink is based on, the results for preferred and native video timing might well be different. Report the various possibilities depending on which CTA-861 version is used in the parser. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-05-25edid-decode: update test/cta-timings.testHans Verkuil1-0/+0
The first preferred timing in the VFPDB should match the native resolution in the NVRDB. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-05-25edid-decode: add test/cta-timings.testHans Verkuil2-1/+4
New test EDID containing the latest CTA-861 video timings: DisplayID Type VII, VIII and X, and an OVT timing. Also uses these in the VFPDB and in the new Native Video Resolution Data Block. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-05-25edid-decode: fix OVT bugsHans Verkuil1-4/+4
Fix the use of a wrong index (i instead of rate_index), and in the preparse code the EDID offset calculation was missing a " + i". Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-04-06edid-decode: 'make clean' also cleans edid-decode.js/wasmHans Verkuil1-1/+1
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-04-05edid-decode: Fix Visual Studio builds. Use static crt while release compiles.Wencey Wang4-2/+68
Fix Visual Studio build with project file edited and getsubopt from musl. Uses static crt while release build to get rid of msvcrt.dll Signed-off-by: Wencey Wang <wenceywang@dreamry.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-04-05edid-decode: issue warning if sRGB support isn't indicatedHans Verkuil3-2/+21
RGB colorimetry is ambiguous: it can be interpreted as either sRGB (Windows and linux display drivers assume sRGB) or as using the default RGB colorimetry as defined in the base block (Mac drivers do this). This is not a problem if the base colorimetry is equal to sRGB, but if it differs, then it is recommended to indicate sRGB explicitly in the Colorimetry Data Block. Support for this bit was added in CTA-861.6. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-04-05edid-decode: build edid-decode.js without warningsHans Verkuil3-117/+124
Fix various build warnings when running 'make edid-decode.js'. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-04-05.gitignore: add edid-decode.wasm/jsHans Verkuil1-0/+2
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-30edid-decode: calculate and show remaining unused spaceHans Verkuil6-10/+22
Report how many bytes in an Extension Block are unused, where applicable. This helps determining how full an Extension Block is. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
EXTRA_EXPORTED_RUNTIME_METHODS was deprecated in favor of EXPORTED_RUNTIME_METHODS. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: update documentation with new timings.Hans Verkuil1-2/+8
Also update/clarify some of the existing timing type namings. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: add DisplayID 2.1 and CTA-861.6 to the list of standardsHans Verkuil1-3/+3
DisplayID 2.1 replaces DisplayID 2.0 + E9 errata. CTA-861.6 is an addendum to CTA-861-H. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: add --ovt, --list-rids and --list-rid-timingsHans Verkuil4-8/+218
Add the new --ovt, --list-rids and --list-rid-timings options to edid-decode. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: add OVT supportHans Verkuil5-4/+368
Add support for the new CTA-861.6 Optimized Video Timings. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: update DisplayID Type XHans Verkuil1-15/+34
Add support for EVS and Additional_Vertical_Blank_Time as per CTA-861.6. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: support new colorimetry bitsHans Verkuil1-8/+19
Add support for sRGB and Default colorimetry in the Colorimetry Data Block as per CTA-861.6. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: add support for NVRDBHans Verkuil3-0/+45
Support the Native Video Resolution Data Block as per CTA-861.6. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-15edid-decode: add support for new CTA-861.6 Audio Coding TypesHans Verkuil1-0/+19
Adding Auro-Cx and MPEG-D USAC support as per CTA-861.6. Also improve the checks for reserved bits in the Short Audio Descriptors. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-10edid-decode: partial Apple VSDB decodingHans Verkuil3-0/+28
Googling uncovered a snippet of code from Apple that indicates what the first two bytes are. Implement and document this. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-03-01edid-decode: fix usage message: add missing >Hans Verkuil1-1/+1
hblank=<hblank -> hblank=<hblank> Ditto for vblank. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2022-02-28edid-decode: the 590 MHz limitation for 4:2:0 is for HDMI 2.1 onlyHans Verkuil1-1/+1
HDMI 2.0 had no 590 MHz limitation, that was added in 2.1. I still don't understand why, the spec gives no rationale for this. In any case, clarify the warning that it is for HDMI 2.1 only (and presumable future higher versions as well). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-02-18edid-decode: fix incorrect voltage levelHans Verkuil1-5/+7
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-cisco@xs4all.nl> Reported-by: Morten Leikvoll <leikvoll@cyviz.com>
2022-02-04edid-decode: report CTA VTDBs as VTDB N (where N is >= 1)Hans Verkuil1-4/+6
This helps associate the preferred format (reported as e.g. VTDB 1) with the corresponding VTDB. This is similar to how 18 byte DTDs are reported. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2021-12-09edid-decode: add support for new CABLE_STATUS bit in SCDSHans Verkuil1-0/+2
Missed this new bit. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2021-11-07edid-decode: add --diagonal optionHans Verkuil3-6/+53
If specified, this will enable additional checks against the image size. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2021-11-07edid-decode: improve image size checksHans Verkuil3-14/+52
Carefully check if the image sizes in the base and DisplayID blocks are consistent. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

Privacy Policy