VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/xf86DDC.h@ 37801

最後變更 在這個檔案從37801是 17471,由 vboxsync 提交於 16 年 前

export to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
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 xf86MonPtr xf86DoEDID_DDC1(
28 int scrnIndex,
29 DDC1SetSpeedProc DDC1SetSpeed,
30 unsigned int (*DDC1Read)(ScrnInfoPtr)
31);
32
33extern xf86MonPtr xf86DoEDID_DDC2(
34 int scrnIndex,
35 I2CBusPtr pBus
36);
37
38extern xf86MonPtr xf86PrintEDID(
39 xf86MonPtr monPtr
40);
41
42extern xf86MonPtr xf86InterpretEDID(
43 int screenIndex, Uchar *block
44);
45
46extern void
47xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
48
49extern Bool xf86SetDDCproperties(
50 ScrnInfoPtr pScreen,
51 xf86MonPtr DDC
52);
53
54DisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
55
56#endif
57
58
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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