#ifndef _IOKIT_IOGRAPHICSTYPES_H
#define _IOKIT_IOGRAPHICSTYPES_H
#include <IOKit/IOTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#define IOGRAPHICSTYPES_REV 6
typedef SInt32 IOIndex;
typedef UInt32 IOSelect;
typedef UInt32 IOFixed1616;
typedef UInt32 IODisplayVendorID;
typedef UInt32 IODisplayProductID;
typedef SInt32 IODisplayModeID;
enum {
kIODisplayModeIDBootProgrammable = (long)0xFFFFFFFB,
kIODisplayModeIDReservedBase = (long)0x80000000
};
enum {
kIOMaxPixelBits = 64
};
typedef char IOPixelEncoding[ kIOMaxPixelBits ];
#define IO1BitIndexedPixels "P"
#define IO2BitIndexedPixels "PP"
#define IO4BitIndexedPixels "PPPP"
#define IO8BitIndexedPixels "PPPPPPPP"
#define IO16BitDirectPixels "-RRRRRGGGGGBBBBB"
#define IO32BitDirectPixels "--------RRRRRRRRGGGGGGGGBBBBBBBB"
#define IOYUV422Pixels "Y4U2V2"
#define IO8BitOverlayPixels "O8"
#define IOPagedPixels "Page1"
#define IO_SampleTypeAlpha 'A'
#define IO_SampleTypeSkip '-'
enum {
kIOCLUTPixels = 0,
kIOFixedCLUTPixels = 1,
kIORGBDirectPixels = 2,
kIOMonoDirectPixels = 3,
kIOMonoInverseDirectPixels = 4
};
struct IOPixelInformation {
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 componentCount;
UInt32 bitsPerComponent;
UInt32 componentMasks[ 8 * 2 ];
IOPixelEncoding pixelFormat;
UInt32 flags;
UInt32 activeWidth;
UInt32 activeHeight;
UInt32 reserved[ 2 ];
};
typedef struct IOPixelInformation IOPixelInformation;
typedef UInt32 IOAppleTimingID;
struct IODisplayModeInformation {
UInt32 nominalWidth;
UInt32 nominalHeight;
IOFixed1616 refreshRate;
IOIndex maxDepthIndex;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IODisplayModeInformation IODisplayModeInformation;
enum {
kDisplayModeSafetyFlags = 0x00000007,
kDisplayModeAlwaysShowFlag = 0x00000008,
kDisplayModeNeverShowFlag = 0x00000080,
kDisplayModeNotResizeFlag = 0x00000010,
kDisplayModeRequiresPanFlag = 0x00000020,
kDisplayModeInterlacedFlag = 0x00000040,
kDisplayModeSimulscanFlag = 0x00000100,
kDisplayModeBuiltInFlag = 0x00000400,
kDisplayModeNotPresetFlag = 0x00000200,
kDisplayModeStretchedFlag = 0x00000800,
kDisplayModeNotGraphicsQualityFlag = 0x00001000,
kDisplayModeTelevisionFlag = 0x00100000
};
enum {
kDisplayModeValidFlag = 0x00000001,
kDisplayModeSafeFlag = 0x00000002,
kDisplayModeDefaultFlag = 0x00000004
};
struct IOFramebufferInformation {
IOPhysicalAddress baseAddress;
UInt32 activeWidth;
UInt32 activeHeight;
IOByteCount bytesPerRow;
IOByteCount bytesPerPlane;
UInt32 bitsPerPixel;
UInt32 pixelType;
UInt32 flags;
UInt32 reserved[ 4 ];
};
typedef struct IOFramebufferInformation IOFramebufferInformation;
enum {
kFramebufferSupportsCopybackCache = 0x00010000,
kFramebufferSupportsWritethruCache = 0x00020000,
kFramebufferSupportsGammaCorrection = 0x00040000,
kFramebufferDisableAltivecAccess = 0x00080000
};
typedef IOIndex IOPixelAperture;
enum {
kIOFBSystemAperture = 0
};
typedef UInt16 IOColorComponent;
struct IOColorEntry {
UInt16 index;
IOColorComponent red;
IOColorComponent green;
IOColorComponent blue;
};
typedef struct IOColorEntry IOColorEntry;
enum {
kSetCLUTByValue = 0x00000001, kSetCLUTImmediately = 0x00000002, kSetCLUTWithLuminance = 0x00000004 };
enum {
kIOPowerAttribute = 'powr',
kIOHardwareCursorAttribute = 'crsr',
kIOMirrorAttribute = 'mirr',
kIOMirrorDefaultAttribute = 'mrdf',
kIOCapturedAttribute = 'capd',
kIOCursorControlAttribute = 'crsc',
kIOSystemPowerAttribute = 'spwr',
kIOVRAMSaveAttribute = 'vrsv',
kIODeferCLUTSetAttribute = 'vclt'
};
enum {
kIOMirrorIsPrimary = 0x80000000,
kIOMirrorHWClipped = 0x40000000
};
enum {
kIOMirrorDefault = 0x00000001,
kIOMirrorForced = 0x00000002
};
struct IODetailedTimingInformationV1 {
UInt32 pixelClock; UInt32 horizontalActive; UInt32 horizontalBlanking; UInt32 horizontalBorder; UInt32 horizontalSyncOffset; UInt32 horizontalSyncWidth; UInt32 verticalActive; UInt32 verticalBlanking; UInt32 verticalBorder; UInt32 verticalSyncOffset; UInt32 verticalSyncWidth; };
typedef struct IODetailedTimingInformationV1 IODetailedTimingInformationV1;
struct IODetailedTimingInformationV2 {
UInt32 __reservedA[5];
UInt32 scalerFlags;
UInt32 horizontalScaled;
UInt32 verticalScaled;
UInt32 signalConfig;
UInt32 signalLevels;
UInt64 pixelClock;
UInt64 minPixelClock; UInt64 maxPixelClock;
UInt32 horizontalActive; UInt32 horizontalBlanking; UInt32 horizontalSyncOffset; UInt32 horizontalSyncPulseWidth;
UInt32 verticalActive; UInt32 verticalBlanking; UInt32 verticalSyncOffset; UInt32 verticalSyncPulseWidth;
UInt32 horizontalBorderLeft; UInt32 horizontalBorderRight; UInt32 verticalBorderTop; UInt32 verticalBorderBottom;
UInt32 horizontalSyncConfig;
UInt32 horizontalSyncLevel; UInt32 verticalSyncConfig;
UInt32 verticalSyncLevel;
UInt32 __reservedB[8]; };
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformationV2;
typedef struct IODetailedTimingInformationV2 IODetailedTimingInformation;
struct IOTimingInformation {
IOAppleTimingID appleTimingID; UInt32 flags;
union {
IODetailedTimingInformationV1 v1;
IODetailedTimingInformationV2 v2;
} detailedInfo;
};
typedef struct IOTimingInformation IOTimingInformation;
enum {
kIODetailedTimingValid = 0x80000000,
kIOScalingInfoValid = 0x40000000
};
enum {
kIOScaleStretchToFit = 0x00000001
};
struct IOFBDisplayModeDescription {
IODisplayModeInformation info;
IOTimingInformation timingInfo;
};
typedef struct IOFBDisplayModeDescription IOFBDisplayModeDescription;
struct IODisplayTimingRange
{
UInt32 __reservedA[2]; UInt32 version; UInt32 __reservedB[5];
UInt64 minPixelClock; UInt64 maxPixelClock;
UInt32 maxPixelError; UInt32 supportedSyncFlags;
UInt32 supportedSignalLevels;
UInt32 __reservedC[1];
UInt32 minFrameRate; UInt32 maxFrameRate; UInt32 minLineRate; UInt32 maxLineRate;
UInt32 maxHorizontalTotal; UInt32 maxVerticalTotal; UInt32 __reservedD[2];
UInt8 charSizeHorizontalActive;
UInt8 charSizeHorizontalBlanking;
UInt8 charSizeHorizontalSyncOffset;
UInt8 charSizeHorizontalSyncPulse;
UInt8 charSizeVerticalActive;
UInt8 charSizeVerticalBlanking;
UInt8 charSizeVerticalSyncOffset;
UInt8 charSizeVerticalSyncPulse;
UInt8 charSizeHorizontalBorderLeft;
UInt8 charSizeHorizontalBorderRight;
UInt8 charSizeVerticalBorderTop;
UInt8 charSizeVerticalBorderBottom;
UInt8 charSizeHorizontalTotal; UInt8 charSizeVerticalTotal; UInt16 __reservedE;
UInt32 minHorizontalActiveClocks;
UInt32 maxHorizontalActiveClocks;
UInt32 minHorizontalBlankingClocks;
UInt32 maxHorizontalBlankingClocks;
UInt32 minHorizontalSyncOffsetClocks;
UInt32 maxHorizontalSyncOffsetClocks;
UInt32 minHorizontalPulseWidthClocks;
UInt32 maxHorizontalPulseWidthClocks;
UInt32 minVerticalActiveClocks;
UInt32 maxVerticalActiveClocks;
UInt32 minVerticalBlankingClocks;
UInt32 maxVerticalBlankingClocks;
UInt32 minVerticalSyncOffsetClocks;
UInt32 maxVerticalSyncOffsetClocks;
UInt32 minVerticalPulseWidthClocks;
UInt32 maxVerticalPulseWidthClocks;
UInt32 minHorizontalBorderLeft;
UInt32 maxHorizontalBorderLeft;
UInt32 minHorizontalBorderRight;
UInt32 maxHorizontalBorderRight;
UInt32 minVerticalBorderTop;
UInt32 maxVerticalBorderTop;
UInt32 minVerticalBorderBottom;
UInt32 maxVerticalBorderBottom;
UInt32 __reservedF[8]; };
typedef struct IODisplayTimingRange IODisplayTimingRange;
enum {
kIORangeSupportsSignal_0700_0300 = 0x00000001,
kIORangeSupportsSignal_0714_0286 = 0x00000002,
kIORangeSupportsSignal_1000_0400 = 0x00000004,
kIORangeSupportsSignal_0700_0000 = 0x00000008,
};
enum {
kIORangeSupportsSeparateSyncs = 0x00000001,
kIORangeSupportsSyncOnGreen = 0x00000002,
kIORangeSupportsCompositeSync = 0x00000004,
kIORangeSupportsVSyncSerration = 0x00000008,
};
enum {
kIODigitalSignal = 0x00000001,
kIOAnalogSetupExpected = 0x00000002
};
enum {
kIOAnalogSignalLevel_0700_0300 = 0,
kIOAnalogSignalLevel_0714_0286 = 1,
kIOAnalogSignalLevel_1000_0400 = 2,
kIOAnalogSignalLevel_0700_0000 = 3
};
enum {
kIOSyncPositivePolarity = 0x00000001
};
struct IODisplayScalerInformation {
UInt32 __reservedA[1]; UInt32 version; UInt32 __reservedB[2];
IOOptionBits scalerFeatures;
UInt32 maxHorizontalPixels;
UInt32 maxVerticalPixels;
UInt32 __reservedC[5]; };
typedef struct IODisplayScalerInformation IODisplayScalerInformation;
enum {
kIOScaleStretchOnly = 0x00000001,
kIOScaleCanUpSamplePixels = 0x00000002,
kIOScaleCanDownSamplePixels = 0x00000004
};
enum {
kOrConnections = 0xffffffe,
kAndConnections = 0xffffffd
};
enum {
kConnectionFlags = 'flgs',
kConnectionSyncEnable = 'sync',
kConnectionSyncFlags = 'sycf',
kConnectionSupportsAppleSense = 'asns',
kConnectionSupportsLLDDCSense = 'lddc',
kConnectionSupportsHLDDCSense = 'hddc',
kConnectionEnable = 'enab',
kConnectionChanged = 'chng',
kConnectionPower = 'powr',
kConnectionPostWake = 'pwak',
kConnectionDisplayParameterCount = 'pcnt',
kConnectionDisplayParameters = 'parm',
kConnectionOverscan = 'oscn',
kConnectionVideoBest = 'vbst'
};
enum {
kIOConnectionBuiltIn = 0x00000800
};
enum {
kIOHSyncDisable = 0x00000001,
kIOVSyncDisable = 0x00000002,
kIOCSyncDisable = 0x00000004,
kIONoSeparateSyncControl = 0x00000040,
kIOTriStateSyncs = 0x00000080,
kIOSyncOnBlue = 0x00000008,
kIOSyncOnGreen = 0x00000010,
kIOSyncOnRed = 0x00000020
};
#define IO_DISPLAY_CAN_FILL 0x00000040
#define IO_DISPLAY_CAN_BLIT 0x00000020
#define IO_24BPP_TRANSFER_TABLE_SIZE 256
#define IO_15BPP_TRANSFER_TABLE_SIZE 256
#define IO_8BPP_TRANSFER_TABLE_SIZE 256
#define IO_12BPP_TRANSFER_TABLE_SIZE 256
#define IO_2BPP_TRANSFER_TABLE_SIZE 256
#define STDFB_BM256_TO_BM38_MAP_SIZE 256
#define STDFB_BM38_TO_BM256_MAP_SIZE 256
#define STDFB_BM38_TO_256_WITH_LOGICAL_SIZE \
(STDFB_BM38_TO_BM256_MAP_SIZE + (256/sizeof(int)))
#define STDFB_4BPS_TO_5BPS_MAP_SIZE 16
#define STDFB_5BPS_TO_4BPS_MAP_SIZE 32
enum {
kIOFBServerConnectType = 0,
kIOFBSharedConnectType = 1
};
enum {
kIOFBUserRequestProbe = 0x00000001
};
struct IOGPoint {
SInt16 x;
SInt16 y;
};
typedef struct IOGPoint IOGPoint;
struct IOGSize {
SInt16 width;
SInt16 height;
};
typedef struct IOGSize IOGSize;
struct IOGBounds {
SInt16 minx;
SInt16 maxx;
SInt16 miny;
SInt16 maxy;
};
typedef struct IOGBounds IOGBounds;
#if !defined(__Point__) && !defined(BINTREE_H) && !defined(__MACTYPES__)
#define __Point__
typedef IOGPoint Point;
#endif
#if !defined(__Bounds__) && !defined(BINTREE_H) && !defined(__MACTYPES__)
#define __Bounds__
typedef IOGBounds Bounds;
#endif
enum {
kTransparentEncoding = 0,
kInvertingEncoding
};
enum {
kTransparentEncodingShift = (kTransparentEncoding << 1),
kTransparentEncodedPixel = (0x01 << kTransparentEncodingShift),
kInvertingEncodingShift = (kInvertingEncoding << 1),
kInvertingEncodedPixel = (0x01 << kInvertingEncodingShift)
};
enum {
kHardwareCursorDescriptorMajorVersion = 0x0001,
kHardwareCursorDescriptorMinorVersion = 0x0000
};
struct IOHardwareCursorDescriptor {
UInt16 majorVersion;
UInt16 minorVersion;
UInt32 height;
UInt32 width;
UInt32 bitDepth; UInt32 maskBitDepth; UInt32 numColors; UInt32 * colorEncodings;
UInt32 flags;
UInt32 supportedSpecialEncodings;
UInt32 specialEncodings[16];
};
typedef struct IOHardwareCursorDescriptor IOHardwareCursorDescriptor;
enum {
kIOFBVBLInterruptType = 'vbl ',
kIOFBHBLInterruptType = 'hbl ',
kIOFBFrameInterruptType = 'fram',
kIOFBConnectInterruptType = 'dci ',
kIOFBChangedInterruptType = 'chng',
kIOFBOfflineInterruptType = 'remv',
kIOFBOnlineInterruptType = 'add '
};
enum {
kIOTimingIDInvalid = 0,
kIOTimingIDApple_FixedRateLCD = 42,
kIOTimingIDApple_512x384_60hz = 130,
kIOTimingIDApple_560x384_60hz = 135,
kIOTimingIDApple_640x480_67hz = 140,
kIOTimingIDApple_640x400_67hz = 145,
kIOTimingIDVESA_640x480_60hz = 150,
kIOTimingIDVESA_640x480_72hz = 152,
kIOTimingIDVESA_640x480_75hz = 154,
kIOTimingIDVESA_640x480_85hz = 158,
kIOTimingIDGTF_640x480_120hz = 159,
kIOTimingIDApple_640x870_75hz = 160,
kIOTimingIDApple_640x818_75hz = 165,
kIOTimingIDApple_832x624_75hz = 170,
kIOTimingIDVESA_800x600_56hz = 180,
kIOTimingIDVESA_800x600_60hz = 182,
kIOTimingIDVESA_800x600_72hz = 184,
kIOTimingIDVESA_800x600_75hz = 186,
kIOTimingIDVESA_800x600_85hz = 188,
kIOTimingIDVESA_1024x768_60hz = 190,
kIOTimingIDVESA_1024x768_70hz = 200,
kIOTimingIDVESA_1024x768_75hz = 204,
kIOTimingIDVESA_1024x768_85hz = 208,
kIOTimingIDApple_1024x768_75hz = 210,
kIOTimingIDApple_1152x870_75hz = 220,
kIOTimingIDAppleNTSC_ST = 230,
kIOTimingIDAppleNTSC_FF = 232,
kIOTimingIDAppleNTSC_STconv = 234,
kIOTimingIDAppleNTSC_FFconv = 236,
kIOTimingIDApplePAL_ST = 238,
kIOTimingIDApplePAL_FF = 240,
kIOTimingIDApplePAL_STconv = 242,
kIOTimingIDApplePAL_FFconv = 244,
kIOTimingIDVESA_1280x960_75hz = 250,
kIOTimingIDVESA_1280x960_60hz = 252,
kIOTimingIDVESA_1280x960_85hz = 254,
kIOTimingIDVESA_1280x1024_60hz = 260,
kIOTimingIDVESA_1280x1024_75hz = 262,
kIOTimingIDVESA_1280x1024_85hz = 268,
kIOTimingIDVESA_1600x1200_60hz = 280,
kIOTimingIDVESA_1600x1200_65hz = 282,
kIOTimingIDVESA_1600x1200_70hz = 284,
kIOTimingIDVESA_1600x1200_75hz = 286,
kIOTimingIDVESA_1600x1200_80hz = 288,
kIOTimingIDVESA_1600x1200_85hz = 289,
kIOTimingIDVESA_1792x1344_60hz = 296,
kIOTimingIDVESA_1792x1344_75hz = 298,
kIOTimingIDVESA_1856x1392_60hz = 300,
kIOTimingIDVESA_1856x1392_75hz = 302,
kIOTimingIDVESA_1920x1440_60hz = 304,
kIOTimingIDVESA_1920x1440_75hz = 306,
kIOTimingIDSMPTE240M_60hz = 400,
kIOTimingIDFilmRate_48hz = 410,
kIOTimingIDSony_1600x1024_76hz = 500,
kIOTimingIDSony_1920x1080_60hz = 510,
kIOTimingIDSony_1920x1080_72hz = 520,
kIOTimingIDSony_1920x1200_76hz = 540,
kIOTimingIDApple_0x0_0hz_Offline = 550
};
#define kIOFramebufferInfoKey "IOFramebufferInformation"
#define kIOFBWidthKey "IOFBWidth"
#define kIOFBHeightKey "IOFBHeight"
#define kIOFBRefreshRateKey "IOFBRefreshRate"
#define kIOFBFlagsKey "IOFBFlags"
#define kIOFBBytesPerRowKey "IOFBBytesPerRow"
#define kIOFBBytesPerPlaneKey "IOFBBytesPerPlane"
#define kIOFBBitsPerPixelKey "IOFBBitsPerPixel"
#define kIOFBComponentCountKey "IOFBComponentCount"
#define kIOFBBitsPerComponentKey "IOFBBitsPerComponent"
#define kIOFBDetailedTimingsKey "IOFBDetailedTimings"
#define kIOFBTimingRangeKey "IOFBTimingRange"
#define kIOFBScalerInfoKey "IOFBScalerInfo"
#define kIOFBCursorInfoKey "IOFBCursorInfo"
#define kIOFBHostAccessFlagsKey "IOFBHostAccessFlags"
#define kIOFBMemorySizeKey "IOFBMemorySize"
#define kIOFBProbeOptionsKey "IOFBProbeOptions"
#define kIOFBGammaWidthKey "IOFBGammaWidth"
#define kIOFBGammaCountKey "IOFBGammaCount"
#define kIOFBCLUTDeferKey "IOFBCLUTDefer"
#define kIOFBConfigKey "IOFBConfig"
#define kIOFBModesKey "IOFBModes"
#define kIOFBModeIDKey "ID"
#define kIOFBModeDMKey "DM"
#define kIOFBModeTMKey "TM"
#define kIOFBModeAIDKey "AID"
#define kIOFBModeDFKey "DF"
#define kIODisplayEDIDKey "IODisplayEDID"
#define kIODisplayLocationKey "IODisplayLocation" // CFString
#define kIODisplayConnectFlagsKey "IODisplayConnectFlags" // CFNumber
#define kIODisplayHasBacklightKey "IODisplayHasBacklight" // CFBoolean
#define kIODisplayIsDigitalKey "IODisplayIsDigital" // CFBoolean
#define kDisplayBundleKey "DisplayBundle"
#define kAppleDisplayTypeKey "AppleDisplayType"
#define kAppleSenseKey "AppleSense"
enum {
kDisplayVendorIDUnknown = 'unkn',
kDisplayProductIDGeneric = 0x717
};
#define kDisplayVendorID "DisplayVendorID" // CFNumber
#define kDisplayProductID "DisplayProductID" // CFNumber
#define kDisplaySerialNumber "DisplaySerialNumber" // CFNumber
#define kDisplaySerialString "DisplaySerialString" // CFString
#define kDisplayWeekOfManufacture "DisplayWeekManufacture" // CFNumber
#define kDisplayYearOfManufacture "DisplayYearManufacture" // CFNumber
#define kDisplayProductName "DisplayProductName"
#define kDisplayWhitePointX "DisplayWhitePointX"
#define kDisplayWhitePointY "DisplayWhitePointY"
#define kDisplayRedPointX "DisplayRedPointX"
#define kDisplayRedPointY "DisplayRedPointY"
#define kDisplayGreenPointX "DisplayGreenPointX"
#define kDisplayGreenPointY "DisplayGreenPointY"
#define kDisplayBluePointX "DisplayBluePointX"
#define kDisplayBluePointY "DisplayBluePointY"
#define kDisplayWhiteGamma "DisplayWhiteGamma"
#define kDisplayRedGamma "DisplayRedGamma"
#define kDisplayGreenGamma "DisplayGreenGamma"
#define kDisplayBlueGamma "DisplayBlueGamma"
#define kDisplayGammaChannels "DisplayGammaChannels" // CFNumber 1 or 3 channel count
#define kDisplayGammaEntryCount "DisplayGammaEntryCount" // CFNumber 1-based count of entries per channel
#define kDisplayGammaEntrySize "DisplayGammaEntrySize" // CFNumber size in bytes of each table entry
#define kDisplayGammaTable "DisplayGammaTable" // CFData
#define kDisplayBrightnessAffectsGamma "DisplayBrightnessAffectsGamma"
#define kDisplayViewAngleAffectsGamma "DisplayViewAngleAffectsGamma"
#define kDisplayCSProfile "DisplayCSProfile"
#define kDisplayHorizontalImageSize "DisplayHorizontalImageSize"
#define kDisplayVerticalImageSize "DisplayVerticalImageSize"
#define kDisplayFixedPixelFormat "DisplayFixedPixelFormat"
enum {
kDisplaySubPixelLayoutUndefined = 0x00000000,
kDisplaySubPixelLayoutRGB = 0x00000001,
kDisplaySubPixelLayoutBGR = 0x00000002,
kDisplaySubPixelLayoutQuadGBL = 0x00000003,
kDisplaySubPixelLayoutQuadGBR = 0x00000004,
kDisplaySubPixelConfigurationUndefined = 0x00000000,
kDisplaySubPixelConfigurationDelta = 0x00000001,
kDisplaySubPixelConfigurationStripe = 0x00000002,
kDisplaySubPixelConfigurationStripeOffset = 0x00000003,
kDisplaySubPixelConfigurationQuad = 0x00000004,
kDisplaySubPixelShapeUndefined = 0x00000000,
kDisplaySubPixelShapeRound = 0x00000001,
kDisplaySubPixelShapeSquare = 0x00000002,
kDisplaySubPixelShapeRectangular = 0x00000003,
kDisplaySubPixelShapeOval = 0x00000004,
kDisplaySubPixelShapeElliptical = 0x00000005
};
#define kDisplaySubPixelLayout "DisplaySubPixelLayout"
#define kDisplaySubPixelConfiguration "DisplaySubPixelConfiguration"
#define kDisplaySubPixelShape "DisplaySubPixelShape"
#define kIODisplayParametersKey "IODisplayParameters"
#define kIODisplayGUIDKey "IODisplayGUID"
#define kIODisplayValueKey "value"
#define kIODisplayMinValueKey "min"
#define kIODisplayMaxValueKey "max"
#define kIODisplayBrightnessKey "brightness"
#define kIODisplayContrastKey "contrast"
#define kIODisplayHorizontalPositionKey "horizontal-position"
#define kIODisplayHorizontalSizeKey "horizontal-size"
#define kIODisplayVerticalPositionKey "vertical-position"
#define kIODisplayVerticalSizeKey "vertical-size"
#define kIODisplayTrapezoidKey "trapezoid"
#define kIODisplayPincushionKey "pincushion"
#define kIODisplayParallelogramKey "parallelogram"
#define kIODisplayRotationKey "rotation"
#define kIODisplayTheatreModeKey "theatre-mode"
#define kIODisplayTheatreModeWindowKey "theatre-mode-window"
#define kIODisplayOverscanKey "oscn"
#define kIODisplayVideoBestKey "vbst"
#define kIODisplayParametersCommitKey "commit"
#define kIODisplayParametersDefaultKey "defaults"
#ifdef __cplusplus
}
#endif
#endif