35 lines
863 B
Diff
35 lines
863 B
Diff
--- mythtv-32.0/mythtv/libs/libmythui/platforms/drm/mythdrmhdr.cpp.orig 2022-05-07 21:51:08.080325514 +0200
|
|
+++ mythtv-32.0/mythtv/libs/libmythui/platforms/drm/mythdrmhdr.cpp 2022-05-07 21:52:22.596948499 +0200
|
|
@@ -18,31 +18,7 @@
|
|
HDMI_STATIC_METADATA_TYPE1 = 0,
|
|
};
|
|
|
|
-#if HAVE_STRUCT_HDR_METADATA_INFOFRAME
|
|
#include <drm_mode.h>
|
|
-#else
|
|
-struct hdr_metadata_infoframe {
|
|
- __u8 eotf;
|
|
- __u8 metadata_type;
|
|
- struct {
|
|
- __u16 x, y;
|
|
- } display_primaries[3];
|
|
- struct {
|
|
- __u16 x, y;
|
|
- } white_point;
|
|
- __u16 max_display_mastering_luminance;
|
|
- __u16 min_display_mastering_luminance;
|
|
- __u16 max_cll;
|
|
- __u16 max_fall;
|
|
-};
|
|
-
|
|
-struct hdr_output_metadata {
|
|
- __u32 metadata_type;
|
|
- union {
|
|
- struct hdr_metadata_infoframe hdmi_metadata_type1;
|
|
- };
|
|
-};
|
|
-#endif
|
|
}
|
|
|
|
#define LOC QString("HDR: ")
|