edid-decode: build: compile with -Wno-variadic-macros
[edid-decode.git] / README
blob0a1154213f80afeca49fb9f28e42acf88ff94a36
1 This utility is maintained here:
3 https://git.linuxtv.org/edid-decode.git/
5 To build this do:
7 git clone git://linuxtv.org/edid-decode.git
8 cd edid-decode
9 meson setup build
10 meson compile -C build
11 meson install -C build
13 Patches and bug reports can be sent to the linux-media@vger.kernel.org
14 mailinglist (see https://www.linuxtv.org/lists.php). Please make sure
15 that 'edid-decode' appears in the subject line and don't forget to
16 add a 'Signed-off-by' line when submitting patches!
18 If you don't know what that is, then see:
19 https://elinux.org/Developer_Certificate_Of_Origin
21 New sample EDIDs are welcome. Please note that these must be real
22 EDIDs read from real hardware, so no artificially constructed EDIDs.
24 The naming of EDIDs in the data directory is:
26 <vendor>-<model>-<port>[-tileX]
28 <port> is one of dp, hdmi, vga, dvi
29 When a tile is also specified, then dp should include the DP connector
30 number, e.g. dp1-tile0, dp2-tile1.
32 All lower case.
34 If the EDID was modified by other devices in the chain (e.g. AV Receivers),
35 then name the EDID as:
37 <TV vendor>-<TV model>-<TV port>-<AV vendor>-<AV model>-<AV port>
39 The test directory contains some special input files to verify the
40 edid-decode parser and hand-crafted EDIDs to test rarely seen
41 EDID features.
43 I host a simple website where you can paste an EDID and get the full
44 edid-decode output here:
46 https://hverkuil.home.xs4all.nl/edid-decode/edid-decode.html
48 This is updated regularly with the latest edid-decode. It uses emscripten
49 and the html file is maintained in the emscripten directory of edid-decode.
50 To build it, set the project up using the provided crossfile:
52         meson setup build-wasm --cross-file ./emscripten/wasm-crossfile.txt --prefix=$(pwd)/install-wasm
53         meson install -C build-wasm
54         # serve the files using a local webserver
55         cd install-wasm/bin
56         python3 -m http.server
58 This assumes that emscripten is installed, of course. The location of the
59 toolchain can be adjusted in emscripten/wasm-crossfile.txt. Currently
60 it assumes that the emscripten tools are in your $PATH.
61 See also https://emscripten.org/docs/getting_started/Tutorial.html and
62 https://mesonbuild.com/Cross-compilation.html.
64 You can find a very large collection of EDIDs here:
65 https://github.com/linuxhw/EDID
67 This collection has been used to test edid-decode.
69 I can also be contacted directly:
71 Hans Verkuil <hverkuil-cisco@xs4all.nl>
73 Regards,
75         Hans