mirror of
https://github.com/rdolbeau/NuBusFPGA.git
synced 2024-11-19 08:31:46 +00:00
359 lines
17 KiB
HTML
359 lines
17 KiB
HTML
mBaseOffset = 1 /*IdofmBaseOffset.*/
|
|
mRowBytes = 2 /*VideosResourceparameterId's*/
|
|
mBounds = 3 /*VideosResourceparameterId's*/
|
|
mVersion = 4 /*VideosResourceparameterId's*/
|
|
mHRes = 5 /*VideosResourceparameterId's*/
|
|
mVRes = 6 /*VideosResourceparameterId's*/
|
|
mPixelType = 7 /*VideosResourceparameterId's*/
|
|
mPixelSize = 8 /*VideosResourceparameterId's*/
|
|
mCmpCount = 9 /*VideosResourceparameterId's*/
|
|
mCmpSize = 10 /*VideosResourceparameterId's*/
|
|
mPlaneBytes = 11 /*VideosResourceparameterId's*/
|
|
mVertRefRate = 14 /*VideosResourceparameterId's*/
|
|
mVidParams = 1 /*Videoparameterblockid.*/
|
|
mTable = 2 /*Offsettothetable.*/
|
|
mPageCnt = 3 /*Numberofpages*/
|
|
mDevType = 4 /*DeviceType*/
|
|
oneBitMode = 128 /*IdofOneBitModeParameterlist.*/
|
|
twoBitMode = 129 /*IdofTwoBitModeParameterlist.*/
|
|
fourBitMode = 130 /*IdofFourBitModeParameterlist.*/
|
|
eightBitMode = 131/*IdofEightBitModeParameterlist.*/
|
|
sixteenBitMode = 132 /*IdofSixteenBitModeParameterlist.*/
|
|
thirtyTwoBitMode = 133 /*IdofThirtyTwoBitModeParameterlist.*/
|
|
firstVidMode = 128 /*Thenew,betterwaytodotheabove.*/
|
|
secondVidMode = 129 /*QuickDrawonlysupportssixvideo*/
|
|
thirdVidMode = 130 /*atthistime.*/
|
|
fourthVidMode = 131
|
|
fifthVidMode = 132
|
|
sixthVidMode = 133
|
|
spGammaDir = 64
|
|
spVidNamesDir = 65
|
|
/* kDeclROMtables = FOUR_CHAR_CODE('decl') */
|
|
/* kDetailedTimingFormat = FOUR_CHAR_CODE('arba') */ /*Timingisadetailedtiming*/
|
|
kDDCBlockSize = 128
|
|
kDDCBlockTypeEDID = 0/*EDIDblocktype.*/
|
|
kDDCForceReadBit = 0 /*ForceanewreadoftheEDID.*/
|
|
kDDCForceReadMask = (1<<kDDCForceReadBit)/*MaskforkddcForceReadBit.*/
|
|
timingInvalid_SM_T24 = 8 /*WorkaroundbuginSMThunder24card.*/
|
|
timingApple_FixedRateLCD = 42 /*Lumpallfixed-rateLCDsintoonecategory.*/
|
|
timingApple_512x384_60hz = 130 /*512x384(60Hz)Rubiktiming.*/
|
|
timingApple_560x384_60hz = 135 /*560x384(60Hz)Rubik-560timing.*/
|
|
timingApple_640x480_67hz = 140 /*640x480(67Hz)HRtiming.*/
|
|
timingApple_640x400_67hz = 145 /*640x400(67Hz)HR-400timing.*/
|
|
timingVESA_640x480_60hz = 150 /*640x480(60Hz)VGAtiming.*/
|
|
timingVESA_640x480_72hz = 152 /*640x480(72Hz)VGAtiming.*/
|
|
timingVESA_640x480_75hz = 154 /*640x480(75Hz)VGAtiming.*/
|
|
timingVESA_640x480_85hz = 158 /*640x480(85Hz)VGAtiming.*/
|
|
timingGTF_640x480_120hz = 159 /*640x480(120Hz)VESAGeneralizedTimingFormula*/
|
|
timingApple_640x870_75hz = 160 /*640x870(75Hz)FPDtiming.*/
|
|
timingApple_640x818_75hz = 165 /*640x818(75Hz)FPD-818timing.*/
|
|
timingApple_832x624_75hz = 170 /*832x624(75Hz)GoldFishtiming.*/
|
|
timingVESA_800x600_56hz = 180 /*800x600(56Hz)SVGAtiming.*/
|
|
timingVESA_800x600_60hz = 182 /*800x600(60Hz)SVGAtiming.*/
|
|
timingVESA_800x600_72hz = 184 /*800x600(72Hz)SVGAtiming.*/
|
|
timingVESA_800x600_75hz = 186 /*800x600(75Hz)SVGAtiming.*/
|
|
timingVESA_800x600_85hz = 188 /*800x600(85Hz)SVGAtiming.*/
|
|
timingVESA_1024x768_60hz = 190 /*1024x768(60Hz)VESA1K-60Hztiming.*/
|
|
timingVESA_1024x768_70hz = 200 /*1024x768(70Hz)VESA1K-70Hztiming.*/
|
|
timingVESA_1024x768_75hz = 204 /*1024x768(75Hz)VESA1K-75Hztiming(verysimilarto
|
|
timingVESA_1024x768_85hz = 208 /*1024x768(85Hz)VESAtiming.*/
|
|
timingApple_1024x768_75hz = 210 /*1024x768(75Hz)Apple19"RGB.*/
|
|
timingApple_1152x870_75hz = 220 /*1152x870(75Hz)Apple21"RGB.*/
|
|
timingAppleNTSC_ST = 230 /*512x384(60Hz,interlaced,non-convolved).*/
|
|
timingAppleNTSC_FF = 232 /*640x480(60Hz,interlaced,non-convolved).*/
|
|
timingAppleNTSC_STconv = 234 /*512x384(60Hz,interlaced,convolved).*/
|
|
timingAppleNTSC_FFconv = 236 /*640x480(60Hz,interlaced,convolved).*/
|
|
timingApplePAL_ST = 238 /*640x480(50Hz,interlaced,non-convolved).*/
|
|
timingApplePAL_FF = 240 /*768x576(50Hz,interlaced,non-convolved).*/
|
|
timingApplePAL_STconv = 242 /*640x480(50Hz,interlaced,convolved).*/
|
|
timingApplePAL_FFconv = 244 /*768x576(50Hz,interlaced,convolved).*/
|
|
timingVESA_1280x960_75hz = 250 /*1280x960(75Hz)*/
|
|
timingVESA_1280x960_60hz = 252 /*1280x960(60Hz)*/
|
|
timingVESA_1280x960_85hz = 254 /*1280x960(85Hz)*/
|
|
timingVESA_1280x1024_60hz = 260 /*1280x1024(60Hz)*/
|
|
timingVESA_1280x1024_75hz = 262 /*1280x1024(75Hz)*/
|
|
timingVESA_1280x1024_85hz = 268 /*1280x1024(85Hz)*/
|
|
timingVESA_1600x1200_60hz = 280 /*1600x1200(60Hz)VESAtiming.*/
|
|
timingVESA_1600x1200_65hz = 282 /*1600x1200(65Hz)VESAtiming.*/
|
|
timingVESA_1600x1200_70hz = 284 /*1600x1200(70Hz)VESAtiming.*/
|
|
timingVESA_1600x1200_75hz = 286 /*1600x1200(75Hz)VESAtiming(pixelclockis189.2
|
|
timingVESA_1600x1200_80hz = 288 /*1600x1200(80Hz)VESAtiming(pixelclockis216>?
|
|
timingVESA_1600x1200_85hz = 289 /*1600x1200(85Hz)VESAtiming(pixelclockis229.5
|
|
timingVESA_1792x1344_60hz = 296 /*1792x1344(60Hz)VESAtiming(204.75Mhzdotclock).
|
|
timingVESA_1792x1344_75hz = 298 /*1792x1344(75Hz)VESAtiming(261.75Mhzdotclock).
|
|
timingVESA_1856x1392_60hz = 300 /*1856x1392(60Hz)VESAtiming(218.25Mhzdotclock).
|
|
timingVESA_1856x1392_75hz = 302 /*1856x1392(75Hz)VESAtiming(288Mhzdotclock).
|
|
timingVESA_1920x1440_60hz = 304 /*1920x1440(60Hz)VESAtiming(234Mhzdotclock).
|
|
timingVESA_1920x1440_75hz = 306 /*1920x1440(75Hz)VESAtiming(297Mhzdotclock).
|
|
timingSMPTE240M_60hz = 400 /*60HzV,33.75KHzH,interlacedtiming,16:9aspect,typical
|
|
timingFilmRate_48hz = 410 /*48HzV,25.20KHzH,non-interlacedtiming,typicalresolutionof
|
|
timingSony_1600x1024_76hz = 500 /*1600x1024(76Hz)Sonytiming(pixelclockis170.447
|
|
timingSony_1920x1080_60hz = 510 /*1920x1080(60Hz)Sonytiming(pixelclockis159.84
|
|
timingSony_1920x1080_72hz = 520 /*1920x1080(72Hz)Sonytiming(pixelclockis216.023
|
|
timingSony_1920x1200_76hz = 540 /*1900x1200(76Hz)Sonytiming(pixelclockis243.20
|
|
timingApple_0x0_0hz_Offline = 550/*Indicatesthatthistimingwilltakethedisplayoff-line
|
|
timingApple12 = timingApple_512x384_60hz
|
|
timingApple12x = timingApple_560x384_60hz
|
|
timingApple13 = timingApple_640x480_67hz
|
|
timingApple13x = timingApple_640x400_67hz
|
|
timingAppleVGA = timingVESA_640x480_60hz
|
|
timingApple15 = timingApple_640x870_75hz
|
|
timingApple15x = timingApple_640x818_75hz
|
|
timingApple16 = timingApple_832x624_75hz
|
|
timingAppleSVGA = timingVESA_800x600_56hz
|
|
timingApple1Ka = timingVESA_1024x768_60hz
|
|
timingApple1Kb = timingVESA_1024x768_70hz
|
|
timingApple19 = timingApple_1024x768_75hz
|
|
timingApple21 = timingApple_1152x870_75hz
|
|
timingSony_1900x1200_74hz = 530 /*1900x1200(74Hz)Sonytiming(pixelclockis236.25
|
|
timingSony_1900x1200_76hz = timingSony_1920x1200_76hz/*1900x1200(76Hz)Sonytiming(pixelclockis245.48
|
|
kAllModesValid = 0 /*Allmodesnottrimmedbyprimaryinitaregood
|
|
kAllModesSafe = 1 /*Allmodesnottrimmedbyprimaryinitareknow
|
|
kReportsTagging = 2 /*Candetecttaggeddisplays(toidentifysmartmonitors)*/
|
|
kHasDirectConnection = 3 /*Trueimpliesthatdrivercantalkdirectlytodevice
|
|
kUncertainConnection = 5 /*Theremaynotbeadisplay(nosenselines?).
|
|
kTaggingInfoNonStandard = 6 /*SetwhencsConnectTaggedType/csConnectTaggedDataarenon-standard(i.e.,nottheApple
|
|
kReportsDDCConnection = 7 /*Cardcandoddc(setkHasDirectConnect&&kHasDDCConnectif
|
|
kHasDDCConnection = 8 /*Cardhasddcconnectnow.*/
|
|
kConnectionInactive = 9 /*SetwhentheconnectionisNOTcurrentlyactive(generally
|
|
kDependentConnection = 10 /*SetwhensomeascpectofTHISconnectiondependson
|
|
kBuiltInConnection = 11 /*SetwhenconnectionisKNOWNtobebuilt-in(this
|
|
kOverrideConnection = 12 /*Setwhenthereportedconnectionisnotthetrue
|
|
kFastCheckForDDC = 13 /*Setwhenall3aretrue:1)sensecodes
|
|
kReportsHotPlugging = 14/*Detectsandreportshotplugggingonconnector(viaVSL
|
|
kPanelConnect = 2 /*Forusewithfixed-in-placeLCDpanels.*/
|
|
kPanelTFTConnect = 2 /*AliasforkPanelConnect*/
|
|
kFixedModeCRTConnect = 3 /*Forusewithfixed-mode(i.e.,verylimitedrange)displays.
|
|
kMultiModeCRT1Connect = 4 /*320x200maybe,12"maybe,13"(default),16"certain,19"
|
|
kMultiModeCRT2Connect = 5 /*320x200maybe,12"maybe,13"certain,16"(default),19"
|
|
kMultiModeCRT3Connect = 6 /*320x200maybe,12"maybe,13"certain,16"certain,19"
|
|
kMultiModeCRT4Connect = 7 /*Expansiontolargemultimode(notyetused)*/
|
|
kModelessConnect = 8 /*Expansiontomodelessmodel(notyetused)*/
|
|
kFullPageConnect = 9 /*640x818(toget8bppin512Kcase)and640x870
|
|
kVGAConnect = 10 /*640x480VGAdefault--questioneverythingelse*/
|
|
kNTSCConnect = 11 /*NTSCST(default),FF,STconv,FFconv*/
|
|
kPALConnect = 12 /*PALST(default),FF,STconv,FFconv*/
|
|
kHRConnect = 13 /*Straight-6connect--640x480and640x400(toget8bpp
|
|
kMonoTwoPageConnect = 15 /*1152x870Applecolortwo-pagedisplay*/
|
|
kColorTwoPageConnect = 16 /*1152x870AppleB&Wtwo-pagedisplay*/
|
|
kColor16Connect = 17 /*832x624AppleB&Wtwo-pagedisplay*/
|
|
kColor19Connect = 18 /*1024x768AppleB&Wtwo-pagedisplay*/
|
|
kGenericCRT = 19 /*IndicatesnothingexceptthatconnectionisCRTinnature.
|
|
kGenericLCD = 20 /*IndicatesnothingexceptthatconnectionisLCDinnature.
|
|
kDDCConnect = 21 /*DDCconnection,alwayssetkHasDDCConnection*/
|
|
kNoConnect = 22/*Nodisplayisconnected-loadsensingorsimilar
|
|
kModeValid = 0 /*SaysthatthismodeshouldNOTbetrimmed.*/
|
|
kModeSafe = 1 /*Thismodedoesnotneedconfirmation*/
|
|
kModeDefault = 2 /*Thisisthedefaultmodeforthistypeof
|
|
kModeShowNow = 3 /*Thismodeshouldalwaysbeshown(eventhoughit
|
|
kModeNotResize = 4 /*Thismodeshouldnotbeusedtoresizethe
|
|
kModeRequiresPan = 5 /*Thismodehasmorepixelsthanareactuallydisplayed
|
|
kModeInterlaced = 6 /*Thismodeisinterlaced(singlepixellineslookbad).
|
|
kModeShowNever = 7 /*Thismodeshouldnotbeshownintheuser
|
|
kModeSimulscan = 8 /*Indicatesthatmorethanonedisplayconnectioncanbe
|
|
kModeNotPreset = 9 /*Indicatesthatthetimingisnotafactorypreset
|
|
kModeBuiltIn = 10 /*Indicatesthatthedisplaymodeisforthebuilt-in
|
|
kModeStretched = 11/*Indicatesthatthedisplaymodewillbestretched/distortedto
|
|
kDepthDependent = 0/*Saysthatthisdepthmodemaycausedependentchanges
|
|
kResolutionHasMultipleDepthSizes = 0/*SaysthatthismodehasdifferentcsHorizontalPixels csVerticalLinesat
|
|
kAVPowerOff = 0 /*Powerfullyoff*/
|
|
kAVPowerStandby = 1
|
|
kAVPowerSuspend = 2
|
|
kAVPowerOn = 3
|
|
kHardwareSleep = 128
|
|
kHardwareWake = 129
|
|
kHardwareWakeFromSuspend = 130
|
|
kHardwareWakeToDoze = 131
|
|
kHardwareWakeToDozeFromSuspend = 132
|
|
cscReset = 0
|
|
cscKillIO = 1
|
|
cscSetMode = 2
|
|
cscSetEntries = 3
|
|
cscSetGamma = 4
|
|
cscGrayPage = 5
|
|
cscGrayScreen = 5
|
|
cscSetGray = 6
|
|
cscSetInterrupt = 7
|
|
cscDirectSetEntries = 8
|
|
cscSetDefaultMode = 9
|
|
cscSwitchMode = 10 /*TakesaVDSwitchInfoPtr*/
|
|
cscSetSync = 11 /*TakesaVDSyncInfoPtr*/
|
|
cscSavePreferredConfiguration = 16 /*TakesaVDSwitchInfoPtr*/
|
|
cscSetHardwareCursor = 22 /*TakesaVDSetHardwareCursorPtr*/
|
|
cscDrawHardwareCursor = 23 /*TakesaVDDrawHardwareCursorPtr*/
|
|
cscSetConvolution = 24 /*TakesaVDConvolutionInfoPtr*/
|
|
cscSetPowerState = 25 /*TakesaVDPowerStatePtr*/
|
|
cscPrivateControlCall = 26 /*TakesaVDPrivateSelectorDataPtr*/
|
|
cscSetMultiConnect = 28 /*TakesaVDMultiConnectInfoPtr*/
|
|
cscSetClutBehavior = 29 /*TakesaVDClutBehavior*/
|
|
cscSetDetailedTiming = 31 /*TakesaVDDetailedTimingPtr*/
|
|
cscDoCommunication = 33 /*TakesaVDCommunicationPtr*/
|
|
cscProbeConnection = 34 /*Takesnilpointer(maygenerateakFBConnectInterruptServiceTypeserviceinterrupt)*/
|
|
cscUnusedCall = 127/*Thiscallusedtoexpendthescrnresource.Its
|
|
cscGetMode = 2
|
|
cscGetEntries = 3
|
|
cscGetPageCnt = 4
|
|
cscGetPages = 4 /*ThisiswhatC&D2callsit.*/
|
|
cscGetPageBase = 5
|
|
cscGetBaseAddr = 5 /*ThisiswhatC&D2callsit.*/
|
|
cscGetGray = 6
|
|
cscGetInterrupt = 7
|
|
cscGetGamma = 8
|
|
cscGetDefaultMode = 9
|
|
cscGetCurMode = 10 /*TakesaVDSwitchInfoPtr*/
|
|
cscGetSync = 11 /*TakesaVDSyncInfoPtr*/
|
|
cscGetConnection = 12 /*Returninformationabouttheconnectiontothedisplay*/
|
|
cscGetModeTiming = 13 /*Returntiminginfoforamode*/
|
|
cscGetModeBaseAddress = 14 /*Returnbaseaddressinformationaboutaparticularmode*/
|
|
cscGetScanProc = 15 /*QuickTimescanchasingroutine*/
|
|
cscGetPreferredConfiguration = 16 /*TakesaVDSwitchInfoPtr*/
|
|
cscGetNextResolution = 17 /*TakesaVDResolutionInfoPtr*/
|
|
cscGetVideoParameters = 18 /*TakesaVDVideoParametersInfoPtr*/
|
|
cscGetGammaInfoList = 20 /*TakesaVDGetGammaListPtr*/
|
|
cscRetrieveGammaTable = 21 /*TakesaVDRetrieveGammaPtr*/
|
|
cscSupportsHardwareCursor = 22 /*TakesaVDSupportsHardwareCursorPtr*/
|
|
cscGetHardwareCursorDrawState = 23 /*TakesaVDHardwareCursorDrawStatePtr*/
|
|
cscGetConvolution = 24 /*TakesaVDConvolutionInfoPtr*/
|
|
cscGetPowerState = 25 /*TakesaVDPowerStatePtr*/
|
|
cscPrivateStatusCall = 26 /*TakesaVDPrivateSelectorDataPtr*/
|
|
cscGetDDCBlock = 27 /*TakesaVDDDCBlockPtr*/
|
|
cscGetMultiConnect = 28 /*TakesaVDMultiConnectInfoPtr*/
|
|
cscGetClutBehavior = 29 /*TakesaVDClutBehaviorPtr*/
|
|
cscGetTimingRanges = 30 /*TakesaVDDisplayTimingRangePtr*/
|
|
cscGetDetailedTiming = 31 /*TakesaVDDetailedTimingPtr*/
|
|
cscGetCommunicationInfo = 32/*TakesaVDCommunicationInfoPtr*/
|
|
kDisableHorizontalSyncBit = 0
|
|
kDisableVerticalSyncBit = 1
|
|
kDisableCompositeSyncBit = 2
|
|
kEnableSyncOnBlue = 3
|
|
kEnableSyncOnGreen = 4
|
|
kEnableSyncOnRed = 5
|
|
kNoSeparateSyncControlBit = 6
|
|
kTriStateSyncBit = 7
|
|
kHorizontalSyncMask = 0x01
|
|
kVerticalSyncMask = 0x02
|
|
kCompositeSyncMask = 0x04
|
|
kDPMSSyncMask = 0x07
|
|
kTriStateSyncMask = 0x80
|
|
kSyncOnBlueMask = 0x08
|
|
kSyncOnGreenMask = 0x10
|
|
kSyncOnRedMask = 0x20
|
|
kSyncOnMask = 0x38
|
|
kDPMSSyncOn = 0
|
|
kDPMSSyncStandby = 1
|
|
kDPMSSyncSuspend = 2
|
|
kDPMSSyncOff = 7
|
|
kConvolved = 0
|
|
kLiveVideoPassThru = 1
|
|
kConvolvedMask = 0x01
|
|
kLiveVideoPassThruMask = 0x02
|
|
kRSCZero = 0
|
|
kRSCOne = 1
|
|
kRSCTwo = 2
|
|
kRSCThree = 3
|
|
kRSCFour = 4
|
|
kRSCFive = 5
|
|
kRSCSix = 6
|
|
kRSCSeven = 7
|
|
kESCZero21Inch = 0x00 /*21"RGB*/
|
|
kESCOnePortraitMono = 0x14 /*PortraitMonochrome*/
|
|
kESCTwo12Inch = 0x21 /*12"RGB*/
|
|
kESCThree21InchRadius = 0x31 /*21"RGB(Radius)*/
|
|
kESCThree21InchMonoRadius = 0x34 /*21"Monochrome(Radius)*/
|
|
kESCThree21InchMono = 0x35 /*21"Monochrome*/
|
|
kESCFourNTSC = 0x0A /*NTSC*/
|
|
kESCFivePortrait = 0x1E /*PortraitRGB*/
|
|
kESCSixMSB1 = 0x03 /*MultiScanBand-1(12"thru1Six")*/
|
|
kESCSixMSB2 = 0x0B /*MultiScanBand-2(13"thru19")*/
|
|
kESCSixMSB3 = 0x23 /*MultiScanBand-3(13"thru21")*/
|
|
kESCSixStandard = 0x2B /*13"/14"RGBor12"Monochrome*/
|
|
kESCSevenPAL = 0x00 /*PAL*/
|
|
kESCSevenNTSC = 0x14 /*NTSC*/
|
|
kESCSevenVGA = 0x17 /*VGA*/
|
|
kESCSeven16Inch = 0x2D /*16"RGB(GoldFish)*/
|
|
kESCSevenPALAlternate = 0x30 /*PAL(Alternate)*/
|
|
kESCSevenDDC = 0x3E /*DDCdisplay*/
|
|
kESCSevenNoDisplay = 0x3F/*Nodisplayconnected*/
|
|
kDepthMode1 = 128
|
|
kDepthMode2 = 129
|
|
kDepthMode3 = 130
|
|
kDepthMode4 = 131
|
|
kDepthMode5 = 132
|
|
kDepthMode6 = 133
|
|
kFirstDepthMode = 128 /*Theseconstantsareobsolete,andjustincluded*/
|
|
kSecondDepthMode = 129 /*forclientsthathaveconvertedtotheabove*/
|
|
kThirdDepthMode = 130 /*kDepthModeXXXconstants.*/
|
|
kFourthDepthMode = 131
|
|
kFifthDepthMode = 132
|
|
kSixthDepthMode = 133
|
|
kDisplayModeIDCurrent = 0x00 /*ReferencetheCurrentDisplayModeID*/
|
|
kDisplayModeIDInvalid = 0xFFFFFFFF /*AbogusDisplayModeIDinallcases*/
|
|
kDisplayModeIDFindFirstResolution = 0xFFFFFFFE /*UsedincscGetNextResolutiontoresetiterator*/
|
|
kDisplayModeIDNoMoreResolutions = 0xFFFFFFFD /*UsedincscGetNextResolutiontoindicateEndOfList*/
|
|
kDisplayModeIDFindFirstProgrammable = 0xFFFFFFFC /*UsedincscGetNextResolutiontofindunusedprogrammabletiming*/
|
|
kDisplayModeIDBootProgrammable = 0xFFFFFFFB /*ThisistheIDgivenatboottimeby
|
|
kDisplayModeIDReservedBase = 0x80000000/*Lowest(unsigned)DisplayModeIDreservedbyApple*/
|
|
kGammaTableIDFindFirst = 0xFFFFFFFE /*GetthefirstgammatableID*/
|
|
kGammaTableIDNoMoreTables = 0xFFFFFFFD /*Usedtoindicateendoflist*/
|
|
kGammaTableIDSpecific = 0x00/*Returntheinfoforthegiventableid*/
|
|
kActivateConnection = (0<<kConnectionInactive) /*Usedforactivatingaconnection(csConnectFlagsvalue).*/
|
|
kDeactivateConnection = (1<<kConnectionInactive)/*Usedfordeactivatingaconnection(csConnectFlagsvalue.)*/
|
|
kVideoDefaultBus = 0
|
|
kVideoBusTypeInvalid = 0
|
|
kVideoBusTypeI2C = 1
|
|
kVideoNoTransactionType = 0 /*Notransaction*/
|
|
kVideoSimpleI2CType = 1 /*SimpleI2Cmessage*/
|
|
kVideoDDCciReplyType = 2/*DDC/cimessage(withimbeddedlength)*/
|
|
kVideoReplyMicroSecDelayMask = (1<<0)/*Ifset thedrivershoulddelaycsMinReplyDelay
|
|
kSyncInterlaceMask = (1<<7)
|
|
kSyncAnalogCompositeMask = 0
|
|
kSyncAnalogCompositeSerrateMask = (1<<2)
|
|
kSyncAnalogCompositeRGBSyncMask = (1<<1)
|
|
kSyncAnalogBipolarMask = (1<<3)
|
|
kSyncAnalogBipolarSerrateMask = (1<<2)
|
|
kSyncAnalogBipolarSRGBSyncMask = (1<<1)
|
|
kSyncDigitalCompositeMask = (1<<4)
|
|
kSyncDigitalCompositeSerrateMask = (1<<2)
|
|
kSyncDigitalCompositeMatchHSyncMask = (1<<2)
|
|
kSyncDigitalSeperateMask = (1<<4)+(1<<3)
|
|
kSyncDigitalVSyncPositiveMask = (1<<2)
|
|
kSyncDigitalHSyncPositiveMask = (1<<1)
|
|
kDMSModeReady = 0 /*DisplayModeIDisconfiguredandready*/
|
|
kDMSModeNotReady = 1 /*DisplayModeIDisisbeingprogrammed*/
|
|
kDMSModeFree = 2/*DisplayModeIDisnotassociatedwithatiming*/
|
|
kTimingChangeRestrictedErr = -10930
|
|
kVideoI2CReplyPendingErr = -10931
|
|
kVideoI2CTransactionErr = -10932
|
|
kVideoI2CBusyErr = -10933
|
|
kVideoI2CTransactionTypeErr = -10934
|
|
kVideoBufferSizeErr = -10935
|
|
kRangeSupportsSignal_0700_0300_Bit = 0
|
|
kRangeSupportsSignal_0714_0286_Bit = 1
|
|
kRangeSupportsSignal_1000_0400_Bit = 2
|
|
kRangeSupportsSignal_0700_0000_Bit = 3
|
|
kRangeSupportsSignal_0700_0300_Mask = (1<<kRangeSupportsSignal_0700_0300_Bit)
|
|
kRangeSupportsSignal_0714_0286_Mask = (1<<kRangeSupportsSignal_0714_0286_Bit)
|
|
kRangeSupportsSignal_1000_0400_Mask = (1<<kRangeSupportsSignal_1000_0400_Bit)
|
|
kRangeSupportsSignal_0700_0000_Mask = (1<<kRangeSupportsSignal_0700_0000_Bit)
|
|
kDigitalSignalBit = 0 /*Donotset.MacOSdoesnotcurrentlysupport
|
|
kAnalogSetupExpectedBit = 1 /*Analogdisplays-displayexpectsablank-to-blacksetupor
|
|
kDigitalSignalMask = (1<<kDigitalSignalBit)
|
|
kAnalogSetupExpectedMask = (1<<kAnalogSetupExpectedBit)
|
|
kAnalogSignalLevel_0700_0300 = 0
|
|
kAnalogSignalLevel_0714_0286 = 1
|
|
kAnalogSignalLevel_1000_0400 = 2
|
|
kAnalogSignalLevel_0700_0000 = 3
|
|
kRangeSupportsSeperateSyncsBit = 0
|
|
kRangeSupportsSyncOnGreenBit = 1
|
|
kRangeSupportsCompositeSyncBit = 2
|
|
kRangeSupportsVSyncSerrationBit = 3
|
|
kRangeSupportsSeperateSyncsMask = (1<<kRangeSupportsSeperateSyncsBit)
|
|
kRangeSupportsSyncOnGreenMask = (1<<kRangeSupportsSyncOnGreenBit)
|
|
kRangeSupportsCompositeSyncMask = (1<<kRangeSupportsCompositeSyncBit)
|
|
kRangeSupportsVSyncSerrationMask = (1<<kRangeSupportsVSyncSerrationBit)
|
|
kSyncPositivePolarityBit = 0 /*Digitalseparatesyncpolarityforanaloginterfaces(0=>
|
|
kSyncPositivePolarityMask = (1<<kSyncPositivePolarityBit)
|
|
kSetClutAtSetEntries = 0 /*SetEntriesbehavioristoupdateclutduringSetEntriescall*/
|
|
kSetClutAtVBL = 1/*SetEntriesbehavioristoupateclutatnextvbl*/
|
|
|