VirtualBox

source: vbox/trunk/src/VBox/Additions/linux/x11include/7.1/xorg/xf86DDC.h@ 3481

Last change on this file since 3481 was 1207, checked in by vboxsync, 18 years ago

Cleaned up EOL style and uppercase names

  • 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 <Egbert.Eich@Physik.TU-Darmstadt.DE>
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 */
21typedef enum {
22 DDC_SLOW,
23 DDC_FAST
24} xf86ddcSpeed;
25
26typedef void (* DDC1SetSpeedProc)(ScrnInfoPtr, xf86ddcSpeed);
27
28extern xf86MonPtr xf86DoEDID_DDC1(
29 int scrnIndex,
30 DDC1SetSpeedProc DDC1SetSpeed,
31 unsigned int (*DDC1Read)(ScrnInfoPtr)
32);
33
34extern xf86MonPtr xf86DoEDID_DDC2(
35 int scrnIndex,
36 I2CBusPtr pBus
37);
38
39extern xf86MonPtr xf86PrintEDID(
40 xf86MonPtr monPtr
41);
42
43extern xf86MonPtr xf86InterpretEDID(
44 int screenIndex, Uchar *block
45);
46
47extern xf86vdifPtr xf86InterpretVdif(
48 CARD8 *c
49);
50
51extern Bool xf86SetDDCproperties(
52 ScrnInfoPtr pScreen,
53 xf86MonPtr DDC
54);
55
56extern void xf86print_vdif(
57 xf86vdifPtr v
58);
59
60#endif
61
62
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