VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.99-20090831/xf86DDC.h@ 32915

Last change on this file since 32915 was 22658, checked in by vboxsync, 15 years ago

export Xorg 1.6.99 headers to OSE

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1
2/* xf86DDC.h
3 *
4 * This file contains all information to interpret a standard EDIC block
5 * transmitted by a display device via DDC (Display Data Channel). So far
6 * there is no information to deal with optional EDID blocks.
7 * DDC is a Trademark of VESA (Video Electronics Standard Association).
8 *
9 * Copyright 1998 by Egbert Eich <[email protected]>
10 */
11
12#ifndef XF86_DDC_H
13# define XF86_DDC_H
14
15#include "edid.h"
16#include "xf86i2c.h"
17#include "xf86str.h"
18
19/* speed up / slow down */
20typedef enum {
21 DDC_SLOW,
22 DDC_FAST
23} xf86ddcSpeed;
24
25typedef void (* DDC1SetSpeedProc)(ScrnInfoPtr, xf86ddcSpeed);
26
27extern _X_EXPORT xf86MonPtr xf86DoEDID_DDC1(
28 int scrnIndex,
29 DDC1SetSpeedProc DDC1SetSpeed,
30 unsigned int (*DDC1Read)(ScrnInfoPtr)
31);
32
33extern _X_EXPORT xf86MonPtr xf86DoEDID_DDC2(
34 int scrnIndex,
35 I2CBusPtr pBus
36);
37
38extern _X_EXPORT xf86MonPtr xf86DoEEDID(int scrnIndex, I2CBusPtr pBus, Bool);
39
40extern _X_EXPORT xf86MonPtr xf86PrintEDID(
41 xf86MonPtr monPtr
42);
43
44extern _X_EXPORT xf86MonPtr xf86InterpretEDID(
45 int screenIndex, Uchar *block
46);
47
48extern _X_EXPORT xf86MonPtr xf86InterpretEEDID(
49 int screenIndex, Uchar *block
50);
51
52extern _X_EXPORT void
53xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
54
55extern _X_EXPORT Bool xf86SetDDCproperties(
56 ScrnInfoPtr pScreen,
57 xf86MonPtr DDC
58);
59
60extern _X_EXPORT DisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
61
62extern _X_EXPORT Bool
63xf86MonitorIsHDMI(xf86MonPtr mon);
64
65extern _X_EXPORT xf86MonPtr
66xf86DoDisplayID(int scrnIndex, I2CBusPtr pBus);
67
68extern _X_EXPORT void
69xf86DisplayIDMonitorSet(int scrnIndex, MonPtr mon, xf86MonPtr DDC);
70
71extern _X_EXPORT DisplayModePtr
72FindDMTMode(int hsize, int vsize, int refresh, Bool rb);
73
74extern _X_EXPORT const DisplayModeRec DMTModes[];
75
76#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette