Loading...
Searching...
No Matches
edid.h
Go to the documentation of this file.
/*
* (c) 2014 Matthias Lange <matthias.lange@kernkonzept.com>
*
* This file is part of TUD:OS and distributed under the terms of the
* GNU Lesser General Public License 2.1.
* Please see the COPYING-LGPL-2.1 file for details.
*/
#pragma once
#include <l4/sys/compiler.h>
enum Libedid_consts
{
Libedid_block_size = 128,
};
__BEGIN_DECLS
int libedid_check_header(const unsigned char *edid);
int libedid_checksum(const unsigned char *edid);
unsigned libedid_version(const unsigned char *edid);
unsigned libedid_revision(const unsigned char *edid);
void libedid_pnp_id(const unsigned char *edid, unsigned char *id);
void libedid_prefered_resolution(const unsigned char *edid,
unsigned *w, unsigned *h);
unsigned libedid_num_ext_blocks(const unsigned char *edid);
unsigned libedid_dump_standard_timings(const unsigned char *edid);
void libedid_dump(const unsigned char *edid);
__END_DECLS
compiler.h
L4 compiler related defines.
libedid_dump_standard_timings
unsigned libedid_dump_standard_timings(const unsigned char *edid)
Dump the standard timings to stdout.
libedid_prefered_resolution
void libedid_prefered_resolution(const unsigned char *edid, unsigned *w, unsigned *h)
Extract the display's prefered mode.
libedid_dump
void libedid_dump(const unsigned char *edid)
Dump raw EDID data to stdout.
Libedid_consts
Libedid_consts
EDID constants.
Definition edid.h:24
libedid_num_ext_blocks
unsigned libedid_num_ext_blocks(const unsigned char *edid)
Get the number of EDID extension blocks.
libedid_pnp_id
void libedid_pnp_id(const unsigned char *edid, unsigned char *id)
Extracts the display's PnP ID.
libedid_revision
unsigned libedid_revision(const unsigned char *edid)
Returns the EDID revision number.
libedid_check_header
int libedid_check_header(const unsigned char *edid)
Check for valid EDID header.
libedid_checksum
int libedid_checksum(const unsigned char *edid)
Calculates the EDID checksum.
libedid_version
unsigned libedid_version(const unsigned char *edid)
Returns the EDID version number.
Libedid_block_size
@ Libedid_block_size
Size of one EDID block in bytes.
Definition edid.h:25