L4Re - L4 Runtime Environment
edid.h
Go to the documentation of this file.
1 
4 /*
5  * (c) 2014 Matthias Lange <matthias.lange@kernkonzept.com>
6  *
7  * This file is part of TUD:OS and distributed under the terms of the
8  * GNU Lesser General Public License 2.1.
9  * Please see the COPYING-LGPL-2.1 file for details.
10  */
11 #pragma once
12 
13 #include <l4/sys/compiler.h>
14 
24 {
26 };
27 
28 __BEGIN_DECLS
29 
36 int libedid_check_header(const unsigned char *edid);
37 
44 int libedid_checksum(const unsigned char *edid);
45 
52 unsigned libedid_version(const unsigned char *edid);
53 
60 unsigned libedid_revision(const unsigned char *edid);
61 
68 void libedid_pnp_id(const unsigned char *edid, unsigned char *id);
69 
77 void libedid_prefered_resolution(const unsigned char *edid,
78  unsigned *w, unsigned *h);
79 
86 unsigned libedid_num_ext_blocks(const unsigned char *edid);
87 
94 unsigned libedid_dump_standard_timings(const unsigned char *edid);
95 
101 void libedid_dump(const unsigned char *edid);
102 
unsigned libedid_version(const unsigned char *edid)
Returns the EDID version number.
#define __END_DECLS
End section with C types and functions.
Definition: compiler.h:193
int libedid_check_header(const unsigned char *edid)
Check for valid EDID header.
L4 compiler related defines.
Size of one EDID block in bytes.
Definition: edid.h:25
unsigned libedid_num_ext_blocks(const unsigned char *edid)
Get the number of EDID extension blocks.
unsigned libedid_dump_standard_timings(const unsigned char *edid)
Dump the standard timings to stdout.
void libedid_dump(const unsigned char *edid)
Dump raw EDID data to stdout.
void libedid_prefered_resolution(const unsigned char *edid, unsigned *w, unsigned *h)
Extract the display&#39;s prefered mode.
int libedid_checksum(const unsigned char *edid)
Calculates the EDID checksum.
unsigned libedid_revision(const unsigned char *edid)
Returns the EDID revision number.
void libedid_pnp_id(const unsigned char *edid, unsigned char *id)
Extracts the display&#39;s PnP ID.
Libedid_consts
EDID constants.
Definition: edid.h:23