Last change
on this file since 78293 was 51223, checked in by vboxsync, 11 years ago |
Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.
|
-
Property svn:eol-style
set to
native
|
File size:
1.2 KB
|
Line | |
---|
1 | /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.h,v 1.10 2000/06/07 22:03:09 tsi Exp $ */
|
---|
2 |
|
---|
3 | /* xf86DDC.h
|
---|
4 | *
|
---|
5 | * This file contains all information to interpret a standard EDIC block
|
---|
6 | * transmitted by a display device via DDC (Display Data Channel). So far
|
---|
7 | * there is no information to deal with optional EDID blocks.
|
---|
8 | * DDC is a Trademark of VESA (Video Electronics Standard Association).
|
---|
9 | *
|
---|
10 | * Copyright 1998 by Egbert Eich <[email protected]>
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef XF86_DDC_H
|
---|
14 | # define XF86_DDC_H
|
---|
15 |
|
---|
16 | #include "edid.h"
|
---|
17 | #include "xf86i2c.h"
|
---|
18 | #include "xf86str.h"
|
---|
19 |
|
---|
20 | /* speed up / slow down */
|
---|
21 | typedef enum {
|
---|
22 | DDC_SLOW,
|
---|
23 | DDC_FAST
|
---|
24 | } xf86ddcSpeed;
|
---|
25 |
|
---|
26 | typedef void (* DDC1SetSpeedProc)(ScrnInfoPtr, xf86ddcSpeed);
|
---|
27 |
|
---|
28 | extern xf86MonPtr xf86DoEDID_DDC1(
|
---|
29 | int scrnIndex,
|
---|
30 | DDC1SetSpeedProc DDC1SetSpeed,
|
---|
31 | unsigned int (*DDC1Read)(ScrnInfoPtr)
|
---|
32 | );
|
---|
33 |
|
---|
34 | extern xf86MonPtr xf86DoEDID_DDC2(
|
---|
35 | int scrnIndex,
|
---|
36 | I2CBusPtr pBus
|
---|
37 | );
|
---|
38 |
|
---|
39 | extern xf86MonPtr xf86PrintEDID(
|
---|
40 | xf86MonPtr monPtr
|
---|
41 | );
|
---|
42 |
|
---|
43 | extern xf86MonPtr xf86InterpretEDID(
|
---|
44 | int screenIndex, Uchar *block
|
---|
45 | );
|
---|
46 |
|
---|
47 | extern xf86vdifPtr xf86InterpretVdif(
|
---|
48 | CARD8 *c
|
---|
49 | );
|
---|
50 |
|
---|
51 | extern Bool xf86SetDDCproperties(
|
---|
52 | ScrnInfoPtr pScreen,
|
---|
53 | xf86MonPtr DDC
|
---|
54 | );
|
---|
55 |
|
---|
56 | extern void xf86print_vdif(
|
---|
57 | xf86vdifPtr v
|
---|
58 | );
|
---|
59 |
|
---|
60 | #endif
|
---|
61 |
|
---|
62 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.