Codebase list edid-decode / ffd6b4f
New upstream snapshot. Debian Janitor 1 year, 5 months ago
4 changed file(s) with 24 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
0 edid-decode (0.1~git20220315.cb74358c2896+git20221104.0.2c2f3df-1) UNRELEASED; urgency=low
0 edid-decode (0.1~git20220315.cb74358c2896+git20221214.0.e052f5f-1) UNRELEASED; urgency=low
11
22 * New upstream snapshot.
33 * New upstream snapshot.
4 * New upstream snapshot.
45
5 -- Debian Janitor <janitor@jelmer.uk> Thu, 17 Nov 2022 21:37:13 -0000
6 -- Debian Janitor <janitor@jelmer.uk> Sun, 18 Dec 2022 12:14:54 -0000
67
78 edid-decode (0.1~git20220315.cb74358c2896-1) unstable; urgency=medium
89
290290 }
291291 t->hratio = t->hact / d;
292292 t->vratio = t->vact / d;
293
294 if (t->hratio == 8 && t->vratio == 5) {
295 t->hratio = 16;
296 t->vratio = 10;
297 }
293298 }
294299
295300 std::string edid_state::dtd_type(unsigned cnt)
20732073 };
20742074
20752075 static const char *colorimetry2_map[] = {
2076 "Reserved MD0",
2077 "Reserved MD1",
2078 "Reserved MD2",
2079 "Reserved MD3",
2076 "Gamut Boundary Description Metadata Profile P0",
2077 "Reserved Gamut Boundary Description Metadata Profile P1",
2078 "Reserved Gamut Boundary Description Metadata Profile P2",
2079 "Reserved Gamut Boundary Description Metadata Profile P3",
20802080 "Default",
20812081 "sRGB",
20822082 "ICtCp",
20942094 for (i = 0; i < ARRAY_SIZE(colorimetry1_map); i++)
20952095 if (x[0] & (1 << i))
20962096 printf(" %s\n", colorimetry1_map[i]);
2097 if (x[1] & 0xf)
2098 fail("Reserved bits MD0-MD3 must be 0.\n");
2097 // Bits MD0-MD3 are used to indicate which HDMI Gamut Boundary Description
2098 // Metadata Profiles are supported.
2099 //
2100 // HDMI 1.3a in section 5.3.12 describes 4 possible profiles, but it marks
2101 // P3 as 'defined in a future specification'.
2102 //
2103 // HDMI 1.4b, however, only specifies profile P0 in section 8.3.3. And I've
2104 // only seen P0 in practice. My assumption is that profiles P1-P3 are never
2105 // used, and so these bits should be 0.
2106 if (x[1] & 0xe)
2107 fail("Reserved bits MD1-MD3 must be 0.\n");
20992108 for (i = 0; i < ARRAY_SIZE(colorimetry2_map); i++)
21002109 if (x[1] & (1 << i))
21012110 printf(" %s\n", colorimetry2_map[i]);
10351035 printf(" Left bezel size: %.1f pixels\n",
10361036 pix_mult * x[15] / 10.0);
10371037 } else {
1038 fail("No bezel information, but the pixel multiplier is non-zero.\n");
1038 fail("Bezel information bit is set, but the pixel multiplier is zero.\n");
10391039 }
10401040 printf(" Tile resolution: %ux%u\n", tile_width + 1, tile_height + 1);
10411041 } else if (pix_mult) {