File: info.h

package info (click to toggle)
libdisplay-info 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,460 kB
  • sloc: ansic: 10,055; python: 294; sh: 131; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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