mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-26 21:59:15 +01:00
af7d091dc9
Add a high-level function to get the supported additional signal colorimetries. This is only an interesting sub-set of the CTA-861-H defined colorimetries, for driving WCG and HDR displays. Wayland compositors will be interested in this. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
28 lines
566 B
C
28 lines
566 B
C
#ifndef INFO_H
|
|
#define INFO_H
|
|
|
|
/**
|
|
* Private header for the high-level API.
|
|
*/
|
|
|
|
#include <libdisplay-info/info.h>
|
|
|
|
/**
|
|
* All information here is derived from low-level information contained in
|
|
* struct di_info. These are exposed by the high-level API only.
|
|
*/
|
|
struct di_derived_info {
|
|
struct di_hdr_static_metadata hdr_static_metadata;
|
|
struct di_color_primaries color_primaries;
|
|
struct di_supported_signal_colorimetry supported_signal_colorimetry;
|
|
};
|
|
|
|
struct di_info {
|
|
struct di_edid *edid;
|
|
|
|
char *failure_msg;
|
|
|
|
struct di_derived_info derived;
|
|
};
|
|
|
|
#endif
|