L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
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
27
29
37int libedid_check_header(const unsigned char *edid);
38
46int libedid_checksum(const unsigned char *edid);
47
55unsigned libedid_version(const unsigned char *edid);
56
64unsigned libedid_revision(const unsigned char *edid);
65
72void libedid_pnp_id(const unsigned char *edid, unsigned char *id);
73
81void libedid_prefered_resolution(const unsigned char *edid,
82 unsigned *w, unsigned *h);
83
91unsigned libedid_num_ext_blocks(const unsigned char *edid);
92
100unsigned libedid_dump_standard_timings(const unsigned char *edid);
101
107void libedid_dump(const unsigned char *edid);
108
L4 compiler related defines.
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:199
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:196
unsigned libedid_dump_standard_timings(const unsigned char *edid)
Dump the standard timings to stdout.
void libedid_prefered_resolution(const unsigned char *edid, unsigned *w, unsigned *h)
Extract the display's prefered mode.
void libedid_dump(const unsigned char *edid)
Dump raw EDID data to stdout.
Libedid_consts
EDID constants.
Definition edid.h:24
unsigned libedid_num_ext_blocks(const unsigned char *edid)
Get the number of EDID extension blocks.
void libedid_pnp_id(const unsigned char *edid, unsigned char *id)
Extracts the display's PnP ID.
unsigned libedid_revision(const unsigned char *edid)
Returns the EDID revision number.
int libedid_check_header(const unsigned char *edid)
Check for valid EDID header.
int libedid_checksum(const unsigned char *edid)
Calculates the EDID checksum.
unsigned libedid_version(const unsigned char *edid)
Returns the EDID version number.
@ Libedid_block_size
Size of one EDID block in bytes.
Definition edid.h:25