~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.6.0/xf86DDC.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

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