#include "edid.h"
#include <stdint.h>
#include <math.h>
#include <memory.h>
#include <X11/Xatom.h>
Go to the source code of this file.
|
static int | get_bit (int in, int bit) |
|
static int | get_bits (int in, int begin, int end) |
|
static bool | decode_header (const uint8_t *edid) |
|
static int | decode_vendor_and_product_identification (const uint8_t *edid, MonitorInfo *info) |
|
static bool | decode_edid_version (const uint8_t *edid, MonitorInfo *info) |
|
static bool | decode_display_parameters (const uint8_t *edid, MonitorInfo *info) |
|
static double | decode_fraction (int high, int low) |
|
static bool | decode_color_characteristics (const uint8_t *edid, MonitorInfo *info) |
|
static bool | decode_established_timings (const uint8_t *edid, MonitorInfo *info) |
|
static bool | decode_standard_timings (const uint8_t *edid, MonitorInfo *info) |
|
static void | decode_lf_string (const uint8_t *s, int n_chars, char *result) |
|
static void | decode_display_descriptor (const uint8_t *desc, MonitorInfo *info) |
|
static void | decode_detailed_timing (const uint8_t *timing, DetailedTiming *detailed) |
|
static bool | decode_descriptors (const uint8_t *edid, MonitorInfo *info) |
|
static void | decode_check_sum (const uint8_t *edid, MonitorInfo *info) |
|
MonitorInfo * | decode_edid (const uint8_t *edid) |
|
static uint8_t * | get_property (Display *dpy, RROutput output, Atom atom, int *len) |
|
MonitorInfo * | read_edid_data (Display *disp, RROutput id) |
|
static void decode_check_sum |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static bool decode_color_characteristics |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static bool decode_descriptors |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static void decode_detailed_timing |
( |
const uint8_t * |
timing, |
|
|
DetailedTiming * |
detailed |
|
) |
| |
|
static |
static void decode_display_descriptor |
( |
const uint8_t * |
desc, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static bool decode_display_parameters |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static bool decode_edid_version |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static bool decode_established_timings |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static double decode_fraction |
( |
int |
high, |
|
|
int |
low |
|
) |
| |
|
static |
static bool decode_header |
( |
const uint8_t * |
edid | ) |
|
|
static |
static void decode_lf_string |
( |
const uint8_t * |
s, |
|
|
int |
n_chars, |
|
|
char * |
result |
|
) |
| |
|
static |
static bool decode_standard_timings |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static int decode_vendor_and_product_identification |
( |
const uint8_t * |
edid, |
|
|
MonitorInfo * |
info |
|
) |
| |
|
static |
static int get_bit |
( |
int |
in, |
|
|
int |
bit |
|
) |
| |
|
static |
static int get_bits |
( |
int |
in, |
|
|
int |
begin, |
|
|
int |
end |
|
) |
| |
|
static |
static uint8_t* get_property |
( |
Display * |
dpy, |
|
|
RROutput |
output, |
|
|
Atom |
atom, |
|
|
int * |
len |
|
) |
| |
|
static |
MonitorInfo* read_edid_data |
( |
Display * |
disp, |
|
|
RROutput |
id |
|
) |
| |