2022-04-10 11:07:42 +02:00
|
|
|
#ifndef INFO_H
|
|
|
|
#define INFO_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Private header for the high-level API.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <libdisplay-info/info.h>
|
|
|
|
|
2023-07-05 15:20:56 +02:00
|
|
|
/**
|
|
|
|
* 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 {
|
2023-07-05 13:46:18 +02:00
|
|
|
struct di_hdr_static_metadata hdr_static_metadata;
|
2023-07-05 15:20:56 +02:00
|
|
|
struct di_color_primaries color_primaries;
|
2023-07-06 15:09:33 +02:00
|
|
|
struct di_supported_signal_colorimetry supported_signal_colorimetry;
|
2023-07-05 15:20:56 +02:00
|
|
|
};
|
|
|
|
|
2022-04-10 11:07:42 +02:00
|
|
|
struct di_info {
|
|
|
|
struct di_edid *edid;
|
2022-08-02 12:18:19 +02:00
|
|
|
|
|
|
|
char *failure_msg;
|
2023-07-05 15:20:56 +02:00
|
|
|
|
|
|
|
struct di_derived_info derived;
|
2022-04-10 11:07:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|