haiku/headers/private/graphics/common/ddc.h
Axel Dörfler 96eb4ebe33 Made i2c.h and ddc.h C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-09-21 17:33:35 +00:00

29 lines
494 B
C

/*
* Copyright (c) 2003, Thomas Kurschel
* Distributed under the terms of the MIT License.
*/
#ifndef _DDC_H
#define _DDC_H
#include "i2c.h"
#include "edid.h"
#ifdef __cplusplus
extern "C" {
#endif
void ddc2_init_timing(i2c_bus *bus);
// read EDID and VDIF from monitor via ddc2
// (currently, *vdif and *vdif_len is always set to null)
status_t ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid,
void **vdif, size_t *vdifLength);
#ifdef __cplusplus
}
#endif
#endif /* _DDC_H */