Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This makes it easier to map diagonal values to width x height values in
mm.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
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>
|
|
Add a test EDID to check the VFPDB parser.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Describe the emscripten setup.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
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]
|
|
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>
|
|
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>
|
|
The first preferred timing in the VFPDB should match the native
resolution in the NVRDB.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
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>
|
|
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
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>
|
|
Fix various build warnings when running 'make edid-decode.js'.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
Also update/clarify some of the existing timing type namings.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
Add the new --ovt, --list-rids and --list-rid-timings options to
edid-decode.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Add support for the new CTA-861.6 Optimized Video Timings.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Add support for EVS and Additional_Vertical_Blank_Time as
per CTA-861.6.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
Support the Native Video Resolution Data Block as per CTA-861.6.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
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>
|
|
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>
|
|
hblank=<hblank -> hblank=<hblank>
Ditto for vblank.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Missed this new bit.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
If specified, this will enable additional checks against the image size.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|
|
Carefully check if the image sizes in the base and DisplayID blocks
are consistent.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
|