Sebastian Wick
08a4d543c8
cta: Add support for the HDMI Audio Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-05-29 11:29:37 +02:00
Simon Ser
7067ab6ad1
displayid: add support for type III timings
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2024-03-21 17:15:27 +01:00
Simon Ser
179f481c8f
displayid: rename enum di_displayid_type_i_ii_vii_timing_aspect_ratio
...
This is also used by type III timings, and there is no other
competing aspect ratio enum in the DisplayID standard.
Signed-off-by: Simon Ser <contact@emersion.fr>
2024-03-21 17:09:18 +01:00
Sebastian Wick
8f4b0f768f
edid: Change error messages and di-edid-decode printing
...
Following the changes in edid-decode.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-21 15:47:34 +01:00
Sebastian Wick
2d48bf1d54
di-edid-decode/displayid: Print Type II Detailed Timings
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-20 14:00:59 +01:00
Sebastian Wick
bedd81f1b6
displayid: Handle Type II timings in di_displayid_type_i_ii_vii_timing
...
Type II timings are exactly the same as Type I except more tightly
packed and no information on the aspect ratio. As such, they fit neatly
into the Type I and Type VII structure.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-19 18:02:47 +01:00
Sebastian Wick
0eb10bda9e
cta: Parse DisplayID Type VII Video Timing Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-19 17:13:30 +01:00
Sebastian Wick
f36771f732
di-edid-decode/displayid: Make print_displayid_type_i_vii_timing generic
...
Instead of hardcoding the type of timing to DTD let the caller decide.
Also lets the caller set the level of indentation.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-19 17:11:50 +01:00
Sebastian Wick
adc25656c2
displayid: Use a single struct for Type I and Type VII timings
...
They only have a different resolution for the pixel clock which we can
represent by just using a type in the struct which fits the higher
resolution.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-03-19 16:52:28 +01:00
Simon Ser
8d221c1d3d
di-edid-decode: don't print manufacture week if unspecified
...
Fixes philips-ftv-2017.
Signed-off-by: Simon Ser <contact@emersion.fr>
2024-02-15 14:12:18 +01:00
Sebastian Wick
1388f16e71
cta: add support for Video Format Preference
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-02-15 11:02:47 +01:00
Sebastian Wick
63b483cd46
cta: Pull out speaker allocation struct
...
The speaker allocation format is reused in multiple CTA data blocks.
This commit pulls it into its own struct so it can be embedded into
other data block structs.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2024-02-14 17:27:28 +01:00
Christian Meissl
ebee35935d
di-edid-decode: fix rgb quantization output
...
the output accidentally used the ycc range for
testing support of rgb quantization
Signed-off-by: Christian Meissl <meissl.christian@gmail.com>
2023-12-03 16:23:10 +01:00
Simon Ser
8aa57fbed9
edid: turn range limits max pixel clock into an int64_t
...
An int32_t is not large enough:
MAX_UINT8 * 10 * 1000 * 1000 > MAX_INT32.
We already use int64_t for di_cta_video_format.pixel_clock.
Signed-off-by: Simon Ser <contact@emersion.fr>
Closes: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/issues/38
2023-11-05 10:12:47 +00:00
Sebastian Wick
506925a66b
cta: add support for InfoFrame Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-31 14:58:50 +01:00
Sebastian Wick
4698004913
cta: Add new data blocks from CTA-861.6
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-30 16:53:47 +01:00
Sebastian Wick
ddb32dafdb
cdi-edid-decode/cta: Take interlacing into account when printing VICs
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-30 15:04:06 +01:00
Sebastian Wick
05f9450913
di-edid-decode/cta: align VIC aspect ratio names
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-13 18:57:38 +01:00
Simon Ser
1f3913f76d
di-edid-decode/cta: print detailed info for VICs
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-13 02:37:01 +01:00
Sebastian Wick
5c2255047b
cta: add support for YCbCr 4:2:0 Capability Map
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 22:02:20 +00:00
Sebastian Wick
f7bd527557
cta: add support for YCbCr 4:2:0 Video
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 21:21:27 +01:00
Simon Ser
2ebc104594
cta: add support for speaker allocation data block
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-11 21:04:48 +01:00
Sebastian Wick
a55e759f7c
cta: parse HDR Dynamic Metadata Data Block
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-11 19:11:37 +00:00
Simon Ser
67b5d67a64
cta: add support for VESA DDDB
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-10 12:23:38 +00:00
Simon Ser
fc13fb4d53
displayid: add support for tiled display topology data block
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2023-01-09 22:49:01 +00:00
Sebastian Wick
4a8684d1b0
edid: add support for CVT timing code descriptors
...
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2023-01-04 02:12:22 +01:00
Sebastian Wick
8fbc366c7c
cta: parse short audio descriptors
...
Co-authored-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
2022-12-14 15:19:27 +01:00
Simon Ser
4e0fd2c979
di-edid-decode: print DMT reduced blanking flag
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
671c8d78d3
di-edid-decode: print full established timings III
...
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
5b81e0b578
di-edid-decode: add special case for 16:10 aspect ratio
...
The mathematical aspect ratio is 8:5 but people use 16:10.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-23 15:30:33 +01:00
Simon Ser
a001cab480
build: split off di-edid-decode into separate file
...
Avoids repeating the directory name.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-11-21 15:41:07 +01:00
Simon Ser
4af5b96140
di-edid-decode/cta: round VESA transfer characteristics
...
Fixes the differences with edid-decode.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-20 08:07:22 +00:00
Simon Ser
b7d0793a03
edid-decode/cta: align data block names with edid-decode
...
We were diverging here.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-20 08:07:22 +00:00
Simon Ser
97a8f16d1f
di-edid-decode: split into multiple files
...
di-edid-decode.c is getting bit and messy.
Use one file per spec.
Signed-off-by: Simon Ser <contact@emersion.fr>
2022-10-07 05:05:27 +00:00