Mac Developer Library

Developer

QuickTime Constants Reference

Options
Deployment Target:

On This Page

QuickTime Constants Reference

This reference covers the constants common to multiple QuickTime frameworks.

Constants

  • Identify the four-character type codes of atoms.

    Declaration

    enum { ConnectionSpeedPrefsType = 'cspd', ConnectionSpeedIsValidPrefsType = 'vspd' }; enum { kEffectNameAtom = 'name', /* name of effect */ kEffectTypeAtom = 'type', /* codec sub-type for effect */ kEffectManufacturerAtom = 'manu' /* codec manufacturer for effect */ }; enum { kGraphicsExportGroup = 'expo', kGraphicsExportFileType = 'ftyp', kGraphicsExportMIMEType = 'mime', kGraphicsExportExtension = 'ext ', kGraphicsExportDescription = 'desc' }; enum { kInputMapSubInputID = 'subi' }; enum { kMovieMediaDataReference = 'mmdr', /* data reference */ kMovieMediaDefaultDataReferenceID = 'ddri', /* atom id*/ kMovieMediaSlaveTime = 'slti', /* boolean*/ kMovieMediaSlaveAudio = 'slau', /* boolean*/ kMovieMediaSlaveGraphicsMode = 'slgr', /* boolean*/ kMovieMediaAutoPlay = 'play', /* boolean*/ kMovieMediaLoop = 'loop', /* UInt8 (0=no loop, 1=loop, 2=palindrome loop )*/ kMovieMediaUseMIMEType = 'mime', /* string indicating the MIME type to use for the dataref (usually not required )*/ kMovieMediaTitle = 'titl', /* string of the media's title (tooltips )*/ kMovieMediaAltText = 'altt', /* string of alternate text if media isn't loaded */ kMovieMediaClipBegin = 'clpb', /* MovieMediaTimeRecord of start time of embedded media */ kMovieMediaClipDuration = 'clpd', /* MovieMediaTimeRecord of duration of embedded media */ kMovieMediaRegionAtom = 'regi', /* contains subatoms that describe layout */ kMovieMediaSlaveTrackDuration = 'sltr', /* Boolean indicating that media handler should adjust track and media based on actual embedded movie duration */ kMovieMediaEnableFrameStepping = 'enfs', /* boolean. if true stepping on external movie steps frames within embedded movie.*/ kMovieMediaBackgroundColor = 'bkcl', /* RGBColor.*/ kMovieMediaPrerollTime = 'prer' /* SInt32 indicating preroll time */ }; enum { kMovieMediaSpatialAdjustment = 'fit ', /* OSType from kMovieMediaFit **/ kMovieMediaRectangleAtom = 'rect', kMovieMediaTop = 'top ', kMovieMediaLeft = 'left', kMovieMediaWidth = 'wd ', kMovieMediaHeight = 'ht ' }; enum { kQTEventType = 'evnt', kAction = 'actn', kWhichAction = 'whic', kActionParameter = 'parm', kActionTarget = 'targ', kActionFlags = 'flag', kActionParameterMinValue = 'minv', kActionParameterMaxValue = 'maxv', kActionListAtomType = 'list', kExpressionContainerAtomType = 'expr', kConditionalAtomType = 'test', kOperatorAtomType = 'oper', kOperandAtomType = 'oprn', kCommentAtomType = 'why ', kCustomActionHandler = 'cust', kCustomHandlerID = 'id ', kCustomHandlerDesc = 'desc', kQTEventRecordAtomType = 'erec' }; enum { kQTParseTextHREFText = 'text', /* string */ kQTParseTextHREFBaseURL = 'burl', /* string */ kQTParseTextHREFClickPoint = 'clik', /* Point; if present, QTParseTextHREF will expand URLs to support server-side image maps */ kQTParseTextHREFUseAltDelim = 'altd', /* boolean; if no kQTParseTextHREFDelimiter, delim is ':'*/ kQTParseTextHREFDelimiter = 'delm', /* character */ kQTParseTextHREFRecomposeHREF = 'rhrf' /* Boolean; if true, QTParseTextHREF returns recomposed HREF with URL expanded as appropriate */ }; enum { kQTResolutionSettings = 'reso', kQTTargetDataSize = 'dasz', kQTDontRecompress = 'dntr', kQTInterlaceStyle = 'ilac', kQTColorSyncProfile = 'iccp', kQTThumbnailSettings = 'thum', kQTEnableExif = 'exif', /* UInt8 (boolean)*/ kQTMetaData = 'meta' }; enum { kQTSConnectionPrefsType = 'stcm', /* root atom that all other atoms are contained in*/ /* kQTSNotUsedForProxyPrefsType = 'nopr', // comma-delimited list of URLs that are never used for proxies */ kQTSConnectionMethodPrefsType = 'mthd', /* connection method (OSType that matches one of the following three )*/ kQTSDirectConnectPrefsType = 'drct', /* used if direct connect (QTSDirectConnectPrefsRecord )*/ /* kQTSRTSPProxyPrefsType = 'rtsp', // used if RTSP Proxy (QTSProxyPrefsRecord )*/ kQTSSOCKSPrefsType = 'sock' /* used if SOCKS Proxy (QTSProxyPrefsRecord )*/ }; enum { kQTSNullNotification = 'null', /* NULL */ kQTSErrorNotification = 'err ', /* QTSErrorParams *, optional */ kQTSNewPresDetectedNotification = 'newp', /* QTSNewPresDetectedParams * */ kQTSPresBeginChangingNotification = 'prcb', /* NULL */ kQTSPresDoneChangingNotification = 'prcd', /* NULL */ kQTSPresentationChangedNotification = 'prch', /* NULL */ kQTSNewStreamNotification = 'stnw', /* QTSNewStreamParams * */ kQTSStreamBeginChangingNotification = 'stcb', /* QTSStream */ kQTSStreamDoneChangingNotification = 'stcd', /* QTSStream */ kQTSStreamChangedNotification = 'stch', /* QTSStreamChangedParams * */ kQTSStreamGoneNotification = 'stgn', /* QTSStreamGoneParams * */ kQTSPreviewAckNotification = 'pvak', /* QTSStream */ kQTSPrerollAckNotification = 'pack', /* QTSStream */ kQTSStartAckNotification = 'sack', /* QTSStream */ kQTSStopAckNotification = 'xack', /* QTSStream */ kQTSStatusNotification = 'stat', /* QTSStatusParams * */ kQTSURLNotification = 'url ', /* QTSURLParams * */ kQTSDurationNotification = 'dura', /* QTSDurationAtom * */ kQTSNewPresentationNotification = 'nprs', /* QTSPresentation */ kQTSPresentationGoneNotification = 'xprs', /* QTSPresentation */ kQTSPresentationDoneNotification = 'pdon', /* NULL */ kQTSBandwidthAlertNotification = 'bwal', /* QTSBandwidthAlertParams * */ kQTSAnnotationsChangedNotification = 'meta' /* NULL */ }; enum { kQTSStatisticsInfo = 'stat', /* QTSStatisticsParams * */ kQTSMinStatusDimensionsInfo = 'mstd', /* QTSDimensionParams * */ kQTSNormalStatusDimensionsInfo = 'nstd', /* QTSDimensionParams * */ kQTSTotalDataRateInfo = 'drtt', /* UInt32*, add to what's there */ kQTSTotalDataRateInInfo = 'drti', /* UInt32*, add to what's there */ kQTSTotalDataRateOutInfo = 'drto', /* UInt32*, add to what's there */ kQTSLostPercentInfo = 'lpct', /* QTSLostPercentParams *, add to what's there */ kQTSNumViewersInfo = 'nviw', /* UInt32* */ kQTSMediaTypeInfo = 'mtyp', /* OSType * */ kQTSNameInfo = 'name', /* QTSNameParams * */ kQTSCanHandleSendDataType = 'chsd', /* QTSCanHandleSendDataTypeParams * */ kQTSAnnotationsInfo = 'meta', /* QTAtomContainer */ kQTSRemainingBufferTimeInfo = 'btms', /* UInt32* remaining buffer time before playback, in microseconds */ kQTSInfo_SettingsText = 'sttx', /* QTSSettingsTextParams * */ kQTSInfo_AverageFrameRate = 'fps ' /* UnsignedFixed * */ }; enum { kQTSStreamMediaType = 'strm' }; enum { kQTSTargetBufferDurationInfo = 'bufr', /* Fixed * in seconds; expected, not actual */ kQTSDurationInfo = 'dura', /* QTSDurationAtom * */ kQTSSoundLevelMeteringEnabledInfo = 'mtrn', /* Boolean * */ kQTSSoundLevelMeterInfo = 'levm', /* LevelMeterInfoPtr */ kQTSSourceTrackIDInfo = 'otid', /* UInt32* */ kQTSSourceLayerInfo = 'olyr', /* UInt16* */ kQTSSourceLanguageInfo = 'olng', /* UInt16* */ kQTSSourceTrackFlagsInfo = 'otfl', /* SInt32* */ kQTSSourceDimensionsInfo = 'odim', /* QTSDimensionParams * */ kQTSSourceVolumesInfo = 'ovol', /* QTSVolumesParams * */ kQTSSourceMatrixInfo = 'omat', /* MatrixRecord * */ kQTSSourceClipRectInfo = 'oclp', /* Rect * */ kQTSSourceGraphicsModeInfo = 'ogrm', /* QTSGraphicsModeParams * */ kQTSSourceScaleInfo = 'oscl', /* Point * */ kQTSSourceBoundingRectInfo = 'orct', /* Rect * */ kQTSSourceUserDataInfo = 'oudt', /* UserData */ kQTSSourceInputMapInfo = 'oimp', /* QTAtomContainer */ kQTSInfo_DataProc = 'datp', /* QTSDataProcParams * */ kQTSInfo_SendDataExtras = 'dext', /* QTSSendDataExtrasParams * */ kQTSInfo_HintTrackID = 'htid', /* long* */ kQTSInfo_URL = 'url ', /* Handle *, cstring in handle */ kQTSInfo_Authentication = 'auup', /* QTSAuthenticationParams */ kQTSInfo_MediaPacketizer = 'rmpk' /* ComponentInstance */ }; enum { kQTVRNodeHeaderAtomType = 'ndhd', kQTVRHotSpotParentAtomType = 'hspa', kQTVRHotSpotAtomType = 'hots', kQTVRHotSpotInfoAtomType = 'hsin', kQTVRLinkInfoAtomType = 'link' }; enum { kQTVRObjectInfoAtomID = 1, kQTVRObjectImageTrackRefAtomID = 1, /* New with 2.1, it adds a track reference to select between multiple image tracks */ kQTVRObjectHotSpotTrackRefAtomID = 1 /* New with 2.1, it adds a track reference to select between multiple hotspot tracks */ }; enum { kQTVRStringAtomType = 'vrsg', kQTVRStringEncodingAtomType = 'vrse', /* New with 2.1*/ kQTVRPanoSampleDataAtomType = 'pdat', kQTVRObjectInfoAtomType = 'obji', kQTVRImageTrackRefAtomType = 'imtr', /* Parent is kQTVRObjectInfoAtomType. Required if track ref is not 1 as required by 2.0 format.*/ kQTVRHotSpotTrackRefAtomType = 'hstr', /* Parent is kQTVRObjectInfoAtomType. Required if track ref is not 1 as required by 2.0 format.*/ kQTVRAngleRangeAtomType = 'arng', kQTVRTrackRefArrayAtomType = 'tref', kQTVRPanConstraintAtomType = 'pcon', kQTVRTiltConstraintAtomType = 'tcon', kQTVRFOVConstraintAtomType = 'fcon', kQTVRCubicViewAtomType = 'cuvw', /* New with 5.0*/ kQTVRCubicFaceDataAtomType = 'cufa' /* New with 5.0*/ }; enum { kQTVRWorldHeaderAtomType = 'vrsc', kQTVRImagingParentAtomType = 'imgp', kQTVRPanoImagingAtomType = 'impn', kQTVRObjectImagingAtomType = 'imob', kQTVRNodeParentAtomType = 'vrnp', kQTVRNodeIDAtomType = 'vrni', kQTVRNodeLocationAtomType = 'nloc', kQTVRCursorParentAtomType = 'vrcp', /* New with 2.1*/ kQTVRCursorAtomType = 'CURS', /* New with 2.1*/ kQTVRColorCursorAtomType = 'crsr' /* New with 2.1*/ }; enum { kSpriteAtomType = 'sprt', kSpriteImagesContainerAtomType = 'imct', kSpriteImageAtomType = 'imag', kSpriteImageDataAtomType = 'imda', kSpriteImageDataRefAtomType = 'imre', kSpriteImageDataRefTypeAtomType = 'imrt', kSpriteImageGroupIDAtomType = 'imgr', kSpriteImageRegistrationAtomType = 'imrg', kSpriteImageDefaultImageIndexAtomType = 'defi', kSpriteSharedDataAtomType = 'dflt', kSpriteNameAtomType = 'name', kSpriteImageNameAtomType = 'name', kSpriteUsesImageIDsAtomType = 'uses', /* leaf data is an array of QTAtomID's, one per image used */ kSpriteBehaviorsAtomType = 'beha', kSpriteImageBehaviorAtomType = 'imag', kSpriteCursorBehaviorAtomType = 'crsr', kSpriteStatusStringsBehaviorAtomType = 'sstr', kSpriteVariablesContainerAtomType = 'vars', kSpriteStringVariableAtomType = 'strv', kSpriteFloatingPointVariableAtomType = 'flov' }; enum { kTargetMovie = 'moov', /* no data */ kTargetMovieName = 'mona', /* (PString movieName ) */ kTargetMovieID = 'moid', /* (long movieID ) */ kTargetRootMovie = 'moro', /* no data */ kTargetParentMovie = 'mopa', /* no data */ kTargetChildMovieTrackName = 'motn', /* (PString childMovieTrackName ) */ kTargetChildMovieTrackID = 'moti', /* (long childMovieTrackID ) */ kTargetChildMovieTrackIndex = 'motx', /* (long childMovieTrackIndex ) */ kTargetChildMovieMovieName = 'momn', /* (PString childMovieName ) */ kTargetChildMovieMovieID = 'momi', /* (long childMovieID ) */ kTargetTrackName = 'trna', /* (PString trackName ) */ kTargetTrackID = 'trid', /* (long trackID ) */ kTargetTrackType = 'trty', /* (OSType trackType ) */ kTargetTrackIndex = 'trin', /* (long trackIndex ) */ kTargetSpriteName = 'spna', /* (PString spriteName ) */ kTargetSpriteID = 'spid', /* (QTAtomID spriteID ) */ kTargetSpriteIndex = 'spin', /* (short spriteIndex ) */ kTargetQD3DNamedObjectName = 'nana', /* (CString objectName ) */ kTargetCurrentQTEventParams = 'evpa' /* no data */ }; enum { kTrackModifierInput = 0x696E , /* is really 'in'*/ kTrackModifierType = 0x7479 , /* is really 'ty'*/ kTrackModifierReference = 'ssrc', kTrackModifierObjectID = 'obid', kTrackModifierInputName = 'name' }; enum { kTrackPropertyMediaType = 'mtyp', /* OSType */ kTrackPropertyInstantiation = 'inst' /* MovieMediaInstantiationInfoRecord */ }; enum { kTrackReferenceChapterList = 'chap', kTrackReferenceTimeCode = 'tmcd', kTrackReferenceModifier = 'ssrc' }; enum { kTweenEntry = 'twen', kTweenData = 'data', kTweenType = 'twnt', kTweenStartOffset = 'twst', kTweenDuration = 'twdu', kTweenFlags = 'flag', kTweenOutputMin = 'omin', kTweenOutputMax = 'omax', kTweenSequenceElement = 'seqe', kTween3dInitialCondition = 'icnd', kTweenInterpolationID = 'intr', kTweenRegionData = 'qdrg', kTweenPictureData = 'PICT', kListElementType = 'type', kListElementDataType = 'daty', kNameAtom = 'name', kInitialRotationAtom = 'inro', kNonLinearTweenHeader = 'nlth' }; enum { MovieAID = 'moov', MovieHeaderAID = 'mvhd', ClipAID = 'clip', RgnClipAID = 'crgn', MatteAID = 'matt', MatteCompAID = 'kmat', TrackAID = 'trak', UserDataAID = 'udta', TrackHeaderAID = 'tkhd', EditsAID = 'edts', EditListAID = 'elst', MediaAID = 'mdia', MediaHeaderAID = 'mdhd', MediaInfoAID = 'minf', VideoMediaInfoHeaderAID = 'vmhd', SoundMediaInfoHeaderAID = 'smhd', GenericMediaInfoHeaderAID = 'gmhd', GenericMediaInfoAID = 'gmin', DataInfoAID = 'dinf', DataRefAID = 'dref', SampleTableAID = 'stbl', STSampleDescAID = 'stsd', STTimeToSampAID = 'stts', STSyncSampleAID = 'stss', STSampleToChunkAID = 'stsc', STShadowSyncAID = 'stsh', HandlerAID = 'hdlr', STSampleSizeAID = 'stsz', STChunkOffsetAID = 'stco', STChunkOffset64AID = 'co64', STSampleIDAID = 'stid', STCompositionOffsetAID = 'ctts', STSampleDependencyAID = 'sdtp', STCompositionShiftLeastGreatestAID = 'cslg', STPartialSyncSampleAID = 'stps', DataRefContainerAID = 'drfc', TrackReferenceAID = 'tref', ColorTableAID = 'ctab', LoadSettingsAID = 'load', PropertyAtomAID = 'code', InputMapAID = 'imap', MovieBufferHintsAID = 'mbfh', MovieDataRefAliasAID = 'mdra', SoundLocalizationAID = 'sloc', CompressedMovieAID = 'cmov', CompressedMovieDataAID = 'cmvd', DataCompressionAtomAID = 'dcom', ReferenceMovieRecordAID = 'rmra', ReferenceMovieDescriptorAID = 'rmda', ReferenceMovieDataRefAID = 'rdrf', ReferenceMovieVersionCheckAID = 'rmvc', ReferenceMovieDataRateAID = 'rmdr', ReferenceMovieComponentCheckAID = 'rmcd', ReferenceMovieQualityAID = 'rmqu', ReferenceMovieLanguageAID = 'rmla', ReferenceMovieCPURatingAID = 'rmcs', ReferenceMovieAlternateGroupAID = 'rmag', ReferenceMovieNetworkStatusAID = 'rnet', CloneMediaAID = 'clon', FileTypeAID = 'ftyp', SecureContentInfoAID = 'sinf', SecureContentSchemeTypeAID = 'schm', SecureContentSchemeInfoAID = 'schi' }; enum { MovieResourceAtomType = 'moov', MovieDataAtomType = 'mdat', FreeAtomType = 'free', SkipAtomType = 'skip', WideAtomPlaceholderType = 'wide' }; enum { quickTimeImageFileImageDescriptionAtom = 'idsc', quickTimeImageFileImageDataAtom = 'idat', quickTimeImageFileMetaDataAtom = 'meta', quickTimeImageFileColorSyncProfileAtom = 'iicc' };

    Constants

    • kMovieMediaDefaultDataReferenceID

      Atom id.

    • kMovieMediaSlaveTime

      Boolean.

    • kMovieMediaSlaveGraphicsMode

      Boolean.

    • kMovieMediaBackgroundColor

      RGBColor..

    • kMovieMediaPrerollTime

      SInt32 indicating preroll time.

    • kQTParseTextHREFText

      String.

    • kQTEnableExif

      UInt8 (Boolean).

    • kTargetChildMovieTrackIndex

      (long childMovieTrackIndex).

    • kTargetChildMovieMovieName

      (PString childMovieName).

    • kTargetTrackType

      (OSType trackType).

    • kTargetTrackIndex

      (long trackIndex).

    • kTargetSpriteName

      (PString spriteName).

    • kTargetSpriteID

      (QTAtomID spriteID).

    • kTargetQD3DNamedObjectName

      (CString objectName).

    • kTargetCurrentQTEventParams

      No data.

  • Constants passed to FCompressImage.

    Declaration

    enum { codecFlagUseImageBuffer = (1L << 0), /* decompress */ codecFlagUseScreenBuffer = (1L << 1), /* decompress */ codecFlagUpdatePrevious = (1L << 2), /* compress */ codecFlagNoScreenUpdate = (1L << 3), /* decompress */ codecFlagWasCompressed = (1L << 4), /* compress */ codecFlagDontOffscreen = (1L << 5), /* decompress */ codecFlagUpdatePreviousComp = (1L << 6), /* compress */ codecFlagForceKeyFrame = (1L << 7), /* compress */ codecFlagOnlyScreenUpdate = (1L << 8), /* decompress */ codecFlagLiveGrab = (1L << 9), /* compress */ codecFlagDiffFrame = (1L << 9), /* decompress */ codecFlagDontUseNewImageBuffer = (1L << 10), /* decompress */ codecFlagInterlaceUpdate = (1L << 11), /* decompress */ codecFlagCatchUpDiff = (1L << 12), /* decompress */ codecFlagSupportDisable = (1L << 13), /* decompress */ codecFlagReenable = (1L << 14) /* decompress */ };

    Constants

    • codecFlagUpdatePrevious

      Controls whether your compressor updates the previous image during compression. This flag is only used with sequences that are being temporally compressed. If this flag is set to 1, your compressor should copy the current frame into the previous frame buffer at the end of the frame-compression sequence. Use the source image.

    • codecFlagWasCompressed

      Indicates to your compressor that the image to be compressed has been compressed before. This information may be useful to compressors that can compensate for the image degradation that may otherwise result from repeated compression and decompression of the same image. This flag is set to 1 to indicate that the image was previously compressed. This flag is set to 0 if the image was not previously compressed.

    • codecFlagUpdatePreviousComp

      Controls whether your compressor updates the previous image buffer with the compressed image. This flag is only used with temporal compression. If this flag is set to 1, your compressor should update the previous frame buffer at the end of the frame-compression sequence, allowing your compressor to perform frame differencing against the compression results. Use the image that results from the compression operation. If this flag is set to 0, your compressor should not modify the previous frame buffer during compression.

    • codecFlagLiveGrab

      Indicates whether the current sequence results from grabbing live video. When working with live video, your compressor should operate as quickly as possible and disable any additional processing, such as compensation for previously compressed data. This flag is set to 1 when you are compressing from a live video source.

    • codecFlagDiffFrame

      Decompress.

    • codecFlagSupportDisable

      Decompress.

  • Constants that represent codec flags.

    Declaration

    enum { codecCompletionSource = (1 << 0), /* asynchronous codec is done with source data */ codecCompletionDest = (1 << 1), /* asynchronous codec is done with destination data */ codecCompletionDontUnshield = (1 << 2), /* on dest complete don't unshield cursor */ codecCompletionWentOffscreen = (1 << 3), /* codec used offscreen buffer */ codecCompletionUnlockBits = (1 << 4), /* on dest complete, call ICMSequenceUnlockBits */ codecCompletionForceChainFlush = (1 << 5), /* ICM needs to flush the whole chain */ codecCompletionDropped = (1 << 6), /* codec decided to drop this frame */ codecCompletionDecoded = (1 << 10), /* codec has decoded this frame; if it is cancelled and rescheduled, set icmFrameAlreadyDecoded in ICMFrameTimeRecord.flags */ codecCompletionNotDisplayable = (1 << 11), /* the frame may still be scheduled for decode, but will not be able to be displayed because the buffer containing it will need to be recycled to display earlier frames. */ codecCompletionNotDrawn = (1 << 12) /* set in conjunction with codecCompletionDest to indicate that the frame was not drawn */ }; enum { codecFlagOutUpdateOnNextIdle = (1L << 9), codecFlagOutUpdateOnDataSourceChange = (1L << 10), codecFlagSequenceSensitive = (1L << 11), codecFlagOutUpdateOnTimeChange = (1L << 12), codecFlagImageBufferNotSourceImage = (1L << 13), codecFlagUsedNewImageBuffer = (1L << 14), codecFlagUsedImageBuffer = (1L << 15) }; enum { codecInfoDoes1 = (1L << 0), /* codec can work with 1-bit pixels */ codecInfoDoes2 = (1L << 1), /* codec can work with 2-bit pixels */ codecInfoDoes4 = (1L << 2), /* codec can work with 4-bit pixels */ codecInfoDoes8 = (1L << 3), /* codec can work with 8-bit pixels */ codecInfoDoes16 = (1L << 4), /* codec can work with 16-bit pixels */ codecInfoDoes32 = (1L << 5), /* codec can work with 32-bit pixels */ codecInfoDoesDither = (1L << 6), /* codec can do ditherMode */ codecInfoDoesStretch = (1L << 7), /* codec can stretch to arbitrary sizes */ codecInfoDoesShrink = (1L << 8), /* codec can shrink to arbitrary sizes */ codecInfoDoesMask = (1L << 9), /* codec can mask to clipping regions */ codecInfoDoesTemporal = (1L << 10), /* codec can handle temporal redundancy */ codecInfoDoesDouble = (1L << 11), /* codec can stretch to double size exactly */ codecInfoDoesQuad = (1L << 12), /* codec can stretch to quadruple size exactly */ codecInfoDoesHalf = (1L << 13), /* codec can shrink to half size */ codecInfoDoesQuarter = (1L << 14), /* codec can shrink to quarter size */ codecInfoDoesRotate = (1L << 15), /* codec can rotate on decompress */ codecInfoDoesHorizFlip = (1L << 16), /* codec can flip horizontally on decompress */ codecInfoDoesVertFlip = (1L << 17), /* codec can flip vertically on decompress */ codecInfoHasEffectParameterList = (1L << 18), /* codec implements get effects parameter list call, once was codecInfoDoesSkew */ codecInfoDoesBlend = (1L << 19), /* codec can blend on decompress */ codecInfoDoesReorder = (1L << 19), /* codec can rearrange frames during compression */ codecInfoDoesWarp = (1L << 20), /* codec can warp arbitrarily on decompress */ codecInfoDoesMultiPass = (1L << 20), /* codec can perform multi-pass compression */ codecInfoDoesRecompress = (1L << 21), /* codec can recompress image without accumulating errors */ codecInfoDoesSpool = (1L << 22), /* codec can spool image data */ codecInfoDoesRateConstrain = (1L << 23) /* codec can data rate constrain */ }; enum { codecLockBitsShieldCursor = (1 << 0) /* shield cursor */ };

    Constants

    • codecCompletionSource

      The Image Compression Manager is done with the source buffer. The Image Compression Manager sets this flag to 1 when it is done with the processing associated with the source buffer. For compression operations, the source is the uncompressed pixel map you are compressing. For decompression operations, the source is the decompressed data you are decompressing.

    • codecCompletionDest

      The Image Compression Manager is done with the destination buffer. The Image Compression Manager sets this flag to 1 when it is done with the processing associated with the destination buffer.

    • codecCompletionWentOffscreen

      Codec used offscreen buffer.

    • codecCompletionUnlockBits

      On dest complete, call ICMSequenceUnlockBits.

    • codecCompletionForceChainFlush

      ICM needs to flush the whole chain.

    • codecCompletionDropped

      Codec decided to drop this frame.

    • codecCompletionDecoded

      Codec has decoded this frame; if it is cancelled and rescheduled, set icmFrameAlreadyDecoded in ICMFrameTimeRecord.flags.

    • codecCompletionNotDisplayable

      The frame may still be scheduled for decode, but will not be able to be displayed because the buffer containing it will need to be recycled to display earlier frames..

    • codecCompletionNotDrawn

      Set in conjunction with codecCompletionDest to indicate that the frame was not drawn.

    • codecFlagUsedImageBuffer

      Indicates to your application that the decompressor used the offscreen image buffer for this frame. If this flag is set to 1, the decompressor used the image buffer. If this flag is set to 0, the decompressor did not use the image buffer.

    • codecInfoDoes1

      Codec can work with 1-bit pixels.

    • codecInfoDoes2

      Codec can work with 2-bit pixels.

    • codecInfoDoes4

      Codec can work with 4-bit pixels.

    • codecInfoDoes8

      Codec can work with 8-bit pixels.

    • codecInfoDoes16

      Codec can work with 16-bit pixels.

    • codecInfoDoes32

      Codec can work with 32-bit pixels.

    • codecInfoDoesDither

      Codec can dither images.

    • codecInfoDoesStretch

      Codec can stretch images to arbitrary sizes.

    • codecInfoDoesShrink

      Codec can shrink images to arbitrary sizes.

    • codecInfoDoesMask

      Codec can mask images to clipping regions.

    • codecInfoDoesTemporal

      Codec can handle temporal redundancy.

    • codecInfoDoesDouble

      Codec can stretch images to exactly double size.

    • codecInfoDoesQuad

      Codec can stretch images to exactly quadruple size.

    • codecInfoDoesHalf

      Codec can shrink images to exactly half size.

    • codecInfoDoesQuarter

      Codec can shrink images to exactly quarter size.

    • codecInfoDoesRotate

      Codec can rotate images during decompression.

    • codecInfoDoesHorizFlip

      Codec can flip images horizontally during decompression.

    • codecInfoDoesVertFlip

      Codec can flip images vertically during decompression.

    • codecInfoHasEffectParameterList

      Codec implements QTGetEffectsList.

    • codecInfoDoesBlend

      Codec can blend image during decompression.

    • codecInfoDoesReorder

      Codec can rearrange frames during compression.

    • codecInfoDoesWarp

      Codec can warp image arbitrarily during decompression.

    • codecInfoDoesMultiPass

      Codec can perform multi-pass compression.

    • codecInfoDoesRecompress

      Codec can recompress image without accumulating errors.

    • codecInfoDoesSpool

      Codec can spool image data.

  • Constants passed to VDSetCompression.

    Declaration

    enum { codecLosslessQuality = 0x00000400, codecMaxQuality = 0x000003FF, codecMinQuality = 0x00000000, codecLowQuality = 0x00000100, codecNormalQuality = 0x00000200, codecHighQuality = 0x00000300 };

    Constants

    • codecLosslessQuality

      Lossless compression or decompression. This special value is valid only for components that can support lossless compression or decompression.

    • codecMaxQuality

      The maximum standard value.

    • codecMinQuality

      The minimum valid value.

    • codecLowQuality

      Low-quality image reproduction. This value should correspond to the lowest image quality that still results in acceptable display characteristics.

    • codecNormalQuality

      Image reproduction of normal quality.

  • Constants passed to CodecInfo.

    Declaration

    enum { codecInfoDepth1 = (1L << 0), /* compressed data at 1 bpp depth available */ codecInfoDepth2 = (1L << 1), /* compressed data at 2 bpp depth available */ codecInfoDepth4 = (1L << 2), /* compressed data at 4 bpp depth available */ codecInfoDepth8 = (1L << 3), /* compressed data at 8 bpp depth available */ codecInfoDepth16 = (1L << 4), /* compressed data at 16 bpp depth available */ codecInfoDepth32 = (1L << 5), /* compressed data at 32 bpp depth available */ codecInfoDepth24 = (1L << 6), /* compressed data at 24 bpp depth available */ codecInfoDepth33 = (1L << 7), /* compressed data at 1 bpp monochrome depth available */ codecInfoDepth34 = (1L << 8), /* compressed data at 2 bpp grayscale depth available */ codecInfoDepth36 = (1L << 9), /* compressed data at 4 bpp grayscale depth available */ codecInfoDepth40 = (1L << 10), /* compressed data at 8 bpp grayscale depth available */ codecInfoStoresClut = (1L << 11), /* compressed data can have custom cluts */ codecInfoDoesLossless = (1L << 12), /* compressed data can be stored in lossless format */ codecInfoSequenceSensitive = (1L << 13) /* compressed data is sensitive to out of sequence decoding */ };

    Constants

    • codecInfoDepth1

      Compressed data available at 1 bit-per-pixel depth.

    • codecInfoDepth2

      Compressed data available at 2 bit-per-pixel depth.

    • codecInfoDepth4

      Compressed data available at 4 bit-per-pixel depth.

    • codecInfoDepth8

      Compressed data available at 8 bit-per-pixel depth.

    • codecInfoDepth16

      Compressed data available at 16 bit-per-pixel depth.

    • codecInfoDepth32

      Compressed data available at 32 bit-per-pixel depth.

    • codecInfoDepth24

      Compressed data available at 24 bit-per-pixel depth.

    • codecInfoDepth33

      Compressed data available at 1 bit-per-pixel monochrome depth.

    • codecInfoDepth34

      Compressed data available at 2 bit-per-pixel grayscale depth.

    • codecInfoDepth36

      Compressed data available at 4 bit-per-pixel grayscale depth.

    • codecInfoDepth40

      Compressed data available at 8 bit-per-pixel grayscale depth.

    • codecInfoStoresClut

      Compressed data can have custom color lookup tables.

    • codecInfoDoesLossless

      Compressed data can be stored in lossless format.

  • Constants passed to CreateMovieFile.

    Declaration

    enum { createMovieFileDeleteCurFile = 1L << 31, createMovieFileDontCreateMovie = 1L << 30, createMovieFileDontOpenFile = 1L << 29, createMovieFileDontCreateResFile = 1L << 28 };

    Constants

    • createMovieFileDontOpenFile

      Controls whether the function opens the new movie file. If you set this flag to 1, the Movie Toolbox does not open the new movie file. In this case, the function ignores the outDataHandler parameter. If you set this flag to 0, the Movie Toolbox opens the new movie file and returns its reference number into the field referenced by outDataHandler.

  • Constants passed to FlattenMovieData.

    Declaration

    enum { flattenAddMovieToDataFork = 1L << 0, flattenActiveTracksOnly = 1L << 2, flattenDontInterleaveFlatten = 1L << 3, flattenFSSpecPtrIsDataRefRecordPtr = 1L << 4, flattenCompressMovieResource = 1L << 5, flattenForceMovieResourceBeforeMovieData = 1L << 6 };

  • Constants that represent the flags and preferences for ICM sessions.

    Declaration

    enum { icmFrameTimeHasVirtualStartTimeAndDuration = 1 << 0, icmFrameAlreadyDecoded = 1 << 1, icmFrameTimeIsNonScheduledDisplayTime = 1 << 2, icmFrameTimeHasDecodeTime = 1 << 3, icmFrameTimeDecodeImmediately = 1 << 4, icmFrameTimeDoNotDisplay = 1 << 5 }; enum { kICMGetChainUltimateParent = 0, kICMGetChainParent = 1, kICMGetChainChild = 2, kICMGetChainUltimateChild = 3 }; enum { kICMImageBufferNoPreference = 0, kICMImageBufferPreferMainMemory = 1, kICMImageBufferPreferVideoMemory = 2 }; enum { kICMNoDeinterlacing = 0, kICMDeinterlaceFields = 1 }; enum { kICMPixelFormatIsPlanarMask = 0x0F , /* these bits in formatFlags indicate how many planes there are; they're 0 if chunky */ kICMPixelFormatIsIndexed = (1L << 4), kICMPixelFormatIsSupportedByQD = (1L << 5), kICMPixelFormatIsMonochrome = (1L << 6), kICMPixelFormatHasAlphaChannel = (1L << 7) }; enum { kICMSequenceTaskWeight = 'twei', /* data is pointer to UInt32*/ kICMSequenceTaskName = 'tnam', /* data is pointer to OSType */ kICMSequenceUserPreferredCodecs = 'punt' /* data is pointer to CodecComponentHandle */ }; enum { kICMTempThenAppMemory = 1L << 12, kICMAppThenTempMemory = 1L << 13 };

    Constants

    • icmFrameTimeHasVirtualStartTimeAndDuration

      Indicates that virtualStartTime and virtualDuration are valid.

    • icmFrameTimeHasDecodeTime

      Indicates that decodeTime is valid.

    • kICMPixelFormatIsPlanarMask

      If this flag is 1, the pixel format is a planar mask and bitsPerPixel[] represents the bits for each pixel component. If this flag is 0, the pixel format is chunky (not planar) and bitsPerPixel[0] represents the bits per pixel. Chunky pixel formats pack the different components together. For example, 3 pixels of 32-bit ARGB is represented in memory as ARGBARGBARGB. Planar formats pack the different components separately. If the pixel format is planar, then (formatFlags & kICMPixelFormatIsPlanarMask) is equal to the number of components.

    • kICMPixelFormatIsIndexed

      If the pixel format is indexed (which, by definition, means that there are no individual components) then this flag is 1. Generally, color modes of 8 bit per pixel or less are indexed.

    • kICMPixelFormatIsSupportedByQD

      If this flag is 1, you can call QuickDraw on PixMap structures that store this kind of pixel data. With Macintosh, the classic QD pixel formats will have this set, but not any of the YUV pixel formats. With Windows, more formats will have this set, because the Windows implementation of QuickDraw needs to support more pixel formats.

    • kICMSequenceUserPreferredCodecs

      Data is pointer to CodecComponentHandle.

  • Constants passed to ImageFieldSequenceExtractCombine.

    Declaration

    enum { evenField1ToEvenFieldOut = 1 << 0, evenField1ToOddFieldOut = 1 << 1, oddField1ToEvenFieldOut = 1 << 2, oddField1ToOddFieldOut = 1 << 3, evenField2ToEvenFieldOut = 1 << 4, evenField2ToOddFieldOut = 1 << 5, oddField2ToEvenFieldOut = 1 << 6, oddField2ToOddFieldOut = 1 << 7 };

  • Constants passed to QTSetComponentProperty.

    Declaration

    enum { kComponentPropertyCacheFlagNotPersistent = (1L << 0), /* property metadata should not be saved in persistent cache */ kComponentPropertyCacheFlagIsDynamic = (1L << 1) /* property metadata should not cached at all */ }; enum { kComponentPropertyClassPropertyInfo = 'pnfo', /* property info class */ /* property info property IDs */ kComponentPropertyInfoList = 'list', /* array of ComponentPropertyInfo (CFData ), one for each property */ kComponentPropertyCacheSeed = 'seed', /* property cache seed value */ kComponentPropertyCacheFlags = 'flgs', /* see kComponentPropertyCache flags */ kComponentPropertyExtendedInfo = 'meta' /* CFDictionary with extended property information */ };

    Constants

    • kComponentPropertyCacheFlagNotPersistent

      Property metadata should not be saved in persistent cache.

    • kComponentPropertyCacheFlagIsDynamic

      Property metadata should not be cached at all.

    • kComponentPropertyClassPropertyInfo

      A QTComponentPropertyInfo structure that defines a property information class. Also 'pnfo'.

    • kComponentPropertyInfoList

      An array of QTComponentPropertyInfo structures, one for each property. Also 'list'.

    • kComponentPropertyCacheSeed

      A component property cache seed value. Also 'seed'.

    • kComponentPropertyCacheFlags

      One of the following two flags: Also 'flgs'.

  • Constants grouped with kDataHCanRead.

    Declaration

    enum { kDataHCanRead = 1L << 0, kDataHSpecialRead = 1L << 1, kDataHSpecialReadFile = 1L << 2, kDataHCanWrite = 1L << 3, kDataHSpecialWrite = 1 << 4, kDataHSpecialWriteFile = 1 << 5, kDataHCanStreamingWrite = 1 << 6, kDataHMustCheckDataRef = 1 << 7 };

    Constants

    • kDataHCanRead

      Indicates that your data handler can read from the volume.

    • kDataHSpecialRead

      Indicates that your data handler can read from the volume using a specialized method. For example, your data handler might support access to networked multimedia servers using a special protocol. In that case, your component would set this flag to 1 whenever the volume resides on a supported server.

    • kDataHSpecialReadFile

      Reserved for use by Apple.

    • kDataHCanWrite

      Indicates that your data handler can write data to the volume. In particular, use this flag to indicate that your data handler's DataHPutData function will work with this volume.

    • kDataHSpecialWrite

      Indicates that your data handler can write to the volume using a specialized method. As with the kDataHSpecialRead flag, your data handler would use this flag to indicate that your component can access the volume using specialized support (for example, special network protocols).

    • kDataHCanStreamingWrite

      Indicates that your data handler can support the special write functions for capturing movie data when writing to this volume.

  • Constants passed to QTVRWrapAndConstrain.

    Declaration

    enum { kQTVRPan = 0, kQTVRTilt = 1, kQTVRFieldOfView = 2, kQTVRViewCenterH = 4, /* WrapAndConstrain only */ kQTVRViewCenterV = 5 /* WrapAndConstrain only */ };

  • Constants that represent the properties of sprites.

    Declaration

    enum { kGetSpriteWorldInvalidRegionAndLeaveIntact = -1L, kGetSpriteWorldInvalidRegionAndThenSetEmpty = -2L }; enum { kKeyFrameAndSingleOverride = 1L << 1, kKeyFrameAndAllOverrides = 1L << 2 }; enum { kNoQTIdleEvents = -1 }; enum { kOnlyDrawToSpriteWorld = 1L << 0, kSpriteWorldPreflight = 1L << 1 }; enum { kScaleSpritesToScaleWorld = 1L << 1, kSpriteWorldHighQuality = 1L << 2, kSpriteWorldDontAutoInvalidate = 1L << 3, kSpriteWorldInvisible = 1L << 4, kSpriteWorldDirtyInsteadOfFlush = 1L << 5 }; enum { kSpritePropertyMatrix = 1, kSpritePropertyImageDescription = 2, kSpritePropertyImageDataPtr = 3, kSpritePropertyVisible = 4, kSpritePropertyLayer = 5, kSpritePropertyGraphicsMode = 6, kSpritePropertyImageDataSize = 7, kSpritePropertyActionHandlingSpriteID = 8, kSpritePropertyCanBeHitTested = 9, kSpritePropertyImageIndex = 100, kSpriteTrackPropertyBackgroundColor = 101, kSpriteTrackPropertyOffscreenBitDepth = 102, kSpriteTrackPropertySampleFormat = 103, kSpriteTrackPropertyScaleSpritesToScaleWorld = 104, kSpriteTrackPropertyHasActions = 105, kSpriteTrackPropertyVisible = 106, kSpriteTrackPropertyQTIdleEventsFrequency = 107, kSpriteTrackPropertyAllSpritesHitTestingMode = 108, kSpriteTrackPropertyPreferredDepthInterpretationMode = 109, kSpriteImagePropertyRegistrationPoint = 1000, kSpriteImagePropertyGroupID = 1001 };

  • Constants passed to QTSampleTableGetSampleFlags.

    Declaration

    enum { mediaSampleNotSync = 1 << 0, /* sample is not a sync sample (eg. is frame differenced */ mediaSampleShadowSync = 1 << 1, /* sample is a shadow sync */ mediaSampleDroppable = 1 << 27, /* sample is not required to be decoded for later samples to be decoded properly */ mediaSamplePartialSync = 1 << 16, /* sample is a partial sync (e.g., I frame after open GOP ) */ mediaSampleHasRedundantCoding = 1 << 24, /* sample is known to contain redundant coding */ mediaSampleHasNoRedundantCoding = 1 << 25, /* sample is known not to contain redundant coding */ mediaSampleIsDependedOnByOthers = 1 << 26, /* one or more other samples depend upon the decode of this sample */ mediaSampleIsNotDependedOnByOthers = 1 << 27, /* synonym for mediaSampleDroppable */ mediaSampleDependsOnOthers = 1 << 28, /* sample's decode depends upon decode of other samples */ mediaSampleDoesNotDependOnOthers = 1 << 29, /* sample's decode does not depend upon decode of other samples */ mediaSampleEarlierDisplayTimesAllowed = 1 << 30 /* samples later in decode order may have earlier display times */ };

    Constants

    • mediaSampleNotSync

      Returned for frame-differenced video sample data.

  • Constants grouped with movieFileSpecValid.

    Declaration

    enum { pasteInParallel = 1 << 0, showUserSettingsDialog = 1 << 1, movieToFileOnlyExport = 1 << 2, movieFileSpecValid = 1 << 3 };

  • Constants passed to MovieImportDataRef.

    Declaration

    enum { movieImportCreateTrack = 1, movieImportInParallel = 2, movieImportMustUseTrack = 4, movieImportWithIdle = 16 }; enum { movieImportResultUsedMultipleTracks = 8, movieImportResultNeedIdles = 32, movieImportResultComplete = 64 };

    Constants

    • movieImportResultNeedIdles

      Undocumented

  • Constants passed to MovieProgressProc.

    Declaration

    enum { movieProgressOpen = 0, movieProgressUpdatePercent = 1, movieProgressClose = 2 }; enum { progressOpFlatten = 1, progressOpInsertTrackSegment = 2, progressOpInsertMovieSegment = 3, progressOpPaste = 4, progressOpAddMovieSelection = 5, progressOpCopy = 6, progressOpCut = 7, progressOpLoadMovieIntoRam = 8, progressOpLoadTrackIntoRam = 9, progressOpLoadMediaIntoRam = 10, progressOpImportMovie = 11, progressOpExportMovie = 12 };

    Constants

    • movieProgressOpen

      Indicates the start of a long operation. This is always the first message sent to your function. Your function can use this message to trigger the display of your progress window.

    • movieProgressUpdatePercent

      Passes completion information to your function. The Movie Toolbox repeatedly sends this message to your function. The percentDone parameter indicates the relative completion of the operation. You can use this value to update your progress window.

    • movieProgressClose

      Indicates the end of a long operation. This is always the last message sent to your function. Your function can use this message as an indication to remove its progress window.

    • progressOpFlatten

      Your application has called the FlattenMovie or FlattenMovieData function.

    • progressOpInsertTrackSegment

      Your application has called the InsertTrackSegment function. The Movie Toolbox calls the progress function that is assigned to the movie that contains the destination track.

    • progressOpInsertMovieSegment

      Your application has called the InsertMovieSegment function. The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpPaste

      Your application has called the PasteMovieSelection function. The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpAddMovieSelection

      Your application has called the AddMovieSelection function. The Movie Toolbox calls the progress function that is assigned to the destination movie. The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpCopy

      Your application has called the CopyMovieSelection function The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpCut

      Your application has called the CutMovieSelection function. The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpLoadMovieIntoRam

      Your application has called the LoadMovieIntoRam function. The Movie Toolbox calls the progress function that is assigned to the destination movie.

    • progressOpLoadTrackIntoRam

      Your application has called the LoadTrackIntoRam function. The Movie Toolbox calls the progress function that is assigned to the destination track.

    • progressOpLoadMediaIntoRam

      Your application has called the LoadMediaIntoRam function. The Movie Toolbox calls the progress function that is assigned to the destination media.

    • progressOpImportMovie

      Your application has called the ConvertFileToMovieFile function. The Movie Toolbox calls the progress function that is associated with the destination movie file. This flag is also used, as appropriate, for the PasteHandleIntoMovie functions.

  • Constants that represent the properties of new movies.

    Declaration

    enum { newMovieActive = 1 << 0, newMovieDontResolveDataRefs = 1 << 1, newMovieDontAskUnresolvedDataRefs = 1 << 2, newMovieDontAutoAlternates = 1 << 3, newMovieDontUpdateForeBackPointers = 1 << 4, newMovieDontAutoUpdateClock = 1 << 5, newMovieAsyncOK = 1 << 8, newMovieIdleImportOK = 1 << 10, newMovieDontInteractWithUser = 1 << 11 };

  • Constants passed to NewMovieController.

    Declaration

    enum { mcTopLeftMovie = 1 << 0, /* usually centered */ mcScaleMovieToFit = 1 << 1, /* usually only scales down */ mcWithBadge = 1 << 2, /* give me a badge */ mcNotVisible = 1 << 3, /* don't show controller */ mcWithFrame = 1 << 4 /* gimme a frame */ };

  • Constants that represent options for QuickTime preference dialogs.

    Declaration

    enum { pdActionConfirmDialog = 1, /* no param */ pdActionSetAppleMenu = 2, /* param is MenuRef */ pdActionSetEditMenu = 3, /* param is MenuRef */ pdActionGetDialogValues = 4, /* param is QTAtomContainer */ pdActionSetPreviewUserItem = 5, /* param is long*/ pdActionSetPreviewPicture = 6, /* param is QTParamPreviewPtr;*/ pdActionSetColorPickerEventProc = 7, /* param is UserEventUPP */ pdActionSetDialogTitle = 8, /* param is StringPtr */ pdActionGetSubPanelMenu = 9, /* param is MenuRef * */ pdActionActivateSubPanel = 10, /* param is long */ pdActionConductStopAlert = 11, /* param is StringPtr */ pdActionModelessCallback = 12, /* param is QTParamDialogEventPtr */ pdActionFetchPreview = 13, /* param is QTParamFetchPreviewPtr */ pdActionSetDialogSettings = 14, /* param is QTAtomContainer */ pdActionGetDialogSettings = 15, /* param is QTAtomContainer */ pdActionGetNextSample = 16, /* param is QTAtomContainer with effect sample to change - createdDialog may be NIL */ pdActionGetPreviousSample = 17, /* param is QTAtomContainer with effect sample to change - createdDialog may be NIL */ pdActionCompactSample = 18, /* param is QTAtomContainer with effect sample to compact, - createdDialog may be NIL */ pdActionSetEditCallout = 19, /* param is QTParamPreviewCalloutPtr, can be NIL */ pdActionSetSampleTime = 20, /* param is QTParamSampleTimePtr, can be NIL */ pdActionDoEditCommand = 21, /* param is long with menu command (ie, mcMenuCut etc ) */ pdActionGetSubPanelMenuValue = 22, /* param is long and returns current sub-panel value selected by the effect */ /* Action codes and typedefs used for custom controls within effects */ pdActionCustomNewControl = 23, /* param is QTCustomControlNewPtr */ pdActionCustomDisposeControl = 24, /* param is QTCustomControlNewPtr */ pdActionCustomPositionControl = 25, /* param is QTCustomControlPositionControlPtr */ pdActionCustomShowHideControl = 26, /* param is QTCustomControlShowHideControlPtr */ pdActionCustomHandleEvent = 27, /* param is QTCustomControlHandleEventPtr */ pdActionCustomSetFocus = 28, /* param is QTCustomControlSetFocusPtr */ pdActionCustomSetEditMenu = 29, /* param is QTCustomControlSetEditMenuPtr */ pdActionCustomSetPreviewPicture = 30, /* param is QTCustomControlSetPreviewPicturePtr */ pdActionCustomSetEditCallout = 31, /* param is QTCustomControlSetEditCalloutPtr */ pdActionCustomGetEnableValue = 32, /* param is QTCustomControlGetEnableValuePtr */ pdActionCustomSetSampleTime = 33, /* param is QTCustomControlSetSampleTimePtr */ pdActionCustomGetValue = 34, /* param is QTCustomControlGetValue */ pdActionCustomDoEditCommand = 35, /* param is QTCustomControlDoEditCommand */ /* more actions for the dialog */ pdActionRunInEventLoop = 36, /* param is QTEventLoopDescriptionPtr - OS X only */ pdActionConvertSettingsToXML = 37, /* param is QTAtomContainer * inbound, Handle * outbound contains the XML - createdDialog may be NIL */ pdActionConvertSettingsToXMLWithComments = 38, /* param is QTAtomContainer * inbound, Handle * outbound contains the XML with comments - createdDialog may be NIL */ pdActionConvertSettingsToText = 39, /* param is QTAtomContainer * inbound, Handle * outbound contains human readable text - createdDialog may be NIL */ pdActionConvertXMLToSettings = 40, /* param is Handle * inbound, QTAtomContainer * outbound contains parameters - createdDialog may be NIL */ pdActionSetPropertyComponent = 41 /* param is QTParamComponentPropertyPtr */ }; enum { pdOptionsCollectOneValue = 0x00000001 , /* should collect a single value only */ pdOptionsAllowOptionalInterpolations = 0x00000002 , /* non-novice interpolation options are shown */ pdOptionsModalDialogBox = 0x00000004 , /* dialog box should be modal */ pdOptionsEditCurrentEffectOnly = 0x00000008 , /* List of effects will not be shown */ pdOptionsHidePreview = 0x00000010 , /* Preview item will not be shown */ pdOptionsDisplayAsSheet = 0x00000020 /* Dialog will be used as a sheet (on platforms that support it ) */ }; enum { pdSampleTimeDisplayOptionsNone = 0x00000000 };

    Constants

    • pdActionModelessCallback

      Parameter is QTParamDialogEventPtr.

    • pdActionFetchPreview

      Parameter is QTParamFetchPreviewPtr.

    • pdActionSetDialogSettings

      Parameter is QTAtomContainer.

    • pdActionGetDialogSettings

      Parameter is QTAtomContainer.

    • pdActionGetNextSample

      Parameter is QTAtomContainer with effect sample to change - createdDialog may be NIL.

    • pdActionGetPreviousSample

      Parameter is QTAtomContainer with effect sample to change - createdDialog may be NIL.

    • pdActionCompactSample

      Parameter is QTAtomContainer with effect sample to compact, - createdDialog may be NIL.

    • pdActionSetEditCallout

      Parameter is QTParamPreviewCalloutPtr, can be NIL.

    • pdActionSetSampleTime

      Parameter is QTParamSampleTimePtr, can be NIL.

    • pdActionDoEditCommand

      Parameter is long with menu command (that is, mcMenuCut etc).

    • pdActionGetSubPanelMenuValue

      Parameter is long and returns current sub-panel value selected by the effect.

    • pdActionCustomNewControl

      Parameter is QTCustomControlNewPtr.

    • pdActionCustomDisposeControl

      Parameter is QTCustomControlNewPtr.

    • pdActionCustomPositionControl

      Parameter is QTCustomControlPositionControlPtr.

    • pdActionCustomShowHideControl

      Parameter is QTCustomControlShowHideControlPtr.

    • pdActionCustomHandleEvent

      Parameter is QTCustomControlHandleEventPtr.

    • pdActionCustomSetFocus

      Parameter is QTCustomControlSetFocusPtr.

    • pdActionCustomSetEditMenu

      Parameter is QTCustomControlSetEditMenuPtr.

    • pdActionCustomSetPreviewPicture

      Parameter is QTCustomControlSetPreviewPicturePtr.

    • pdActionCustomSetEditCallout

      Parameter is QTCustomControlSetEditCalloutPtr.

    • pdActionCustomGetEnableValue

      Parameter is QTCustomControlGetEnableValuePtr.

    • pdActionCustomSetSampleTime

      Parameter is QTCustomControlSetSampleTimePtr.

    • pdActionCustomGetValue

      Parameter is QTCustomControlGetValue.

    • pdActionCustomDoEditCommand

      Parameter is QTCustomControlDoEditCommand.

    • pdActionRunInEventLoop

      Parameter is QTEventLoopDescriptionPtr - OS X only.

    • pdActionConvertSettingsToXML

      Parameter is QTAtomContainer inbound, Handle outbound contains the XML - createdDialog may be NIL.

    • pdActionConvertSettingsToXMLWithComments

      Parameter is QTAtomContainer inbound, Handle outbound contains the XML with comments - createdDialog may be NIL.

    • pdActionConvertSettingsToText

      Parameter is QTAtomContainer inbound, Handle outbound contains human readable text - createdDialog may be NIL.

    • pdActionConvertXMLToSettings

      Parameter is Handle inbound, QTAtomContainer outbound contains parameters - createdDialog may be NIL.

    • pdActionSetPropertyComponent

      Parameter is QTParamComponentPropertyPtr.

    • pdOptionsModalDialogBox

      Dialog box should be modal.

    • pdOptionsEditCurrentEffectOnly

      List of effects will not be shown.

    • pdOptionsHidePreview

      Preview item will not be shown.

  • Constants that represent constants for Standard Compression.

    Declaration

    enum { /* * Indicates the client is ready to use the ICM compression session * API to perform compression operations. StdCompression disables * frame reordering and multi pass encoding if this flag is cleared. */ scAllowEncodingWithCompressionSession = 1L << 8, /* * Indicates the client does not want the user to change the frame * reordering setting. */ scDisableFrameReorderingItem = 1L << 9, /* * Indicates the client does not want the user to change the multi * pass encoding setting */ scDisableMultiPassEncodingItem = 1L << 10 }; enum { /* * Specifies if frame reordering can occur in encoding. */ scVideoAllowFrameReorderingType = 'bfra', /* pointer to Boolean */ /* * The settings to control multi pass encoding. */ scVideoMultiPassEncodingSettingsType = 'mpes' /* pointer to SCVideoMutiPassEncodingSettings struct*/ }; enum { scListEveryCodec = 1L << 1, scAllowZeroFrameRate = 1L << 2, scAllowZeroKeyFrameRate = 1L << 3, scShowBestDepth = 1L << 4, scUseMovableModal = 1L << 5, scDisableFrameRateItem = 1L << 6, scShowDataRateAsKilobits = 1L << 7 }; enum { scOKItem = 1, scCancelItem = 2, scCustomItem = 3 }; enum { scPositionRect = 2, scPositionDialog = 3, scSetTestImagePictHandle = 4, scSetTestImagePictFile = 5, scSetTestImagePixMap = 6, scGetBestDeviceRect = 7, scRequestImageSettings = 10, scCompressImage = 11, scCompressPicture = 12, scCompressPictureFile = 13, scRequestSequenceSettings = 14, scCompressSequenceBegin = 15, scCompressSequenceFrame = 16, scCompressSequenceEnd = 17, scDefaultPictHandleSettings = 18, scDefaultPictFileSettings = 19, scDefaultPixMapSettings = 20, scGetInfo = 21, scSetInfo = 22, scNewGWorld = 23 }; enum { scPreferCropping = 1 << 0, scPreferScaling = 1 << 1, scPreferScalingAndCropping = scPreferScaling | scPreferCropping, scDontDetermineSettingsFromTestImage = 1 << 2 }; enum { scSpatialSettingsType = 'sptl', /* pointer to SCSpatialSettings struct*/ scTemporalSettingsType = 'tprl', /* pointer to SCTemporalSettings struct*/ scDataRateSettingsType = 'drat', /* pointer to SCDataRateSettings struct*/ scColorTableType = 'clut', /* pointer to CTabHandle */ scProgressProcType = 'prog', /* pointer to ProgressRecord struct*/ scExtendedProcsType = 'xprc', /* pointer to SCExtendedProcs struct*/ scPreferenceFlagsType = 'pref', /* pointer to long*/ scSettingsStateType = 'ssta', /* pointer to Handle */ scSequenceIDType = 'sequ', /* pointer to ImageSequence */ scWindowPositionType = 'wndw', /* pointer to Point */ scCodecFlagsType = 'cflg', /* pointer to CodecFlags */ scCodecSettingsType = 'cdec', /* pointer to Handle */ scForceKeyValueType = 'ksim', /* pointer to long*/ scCompressionListType = 'ctyl', /* pointer to OSType Handle */ scCodecManufacturerType = 'cmfr', /* pointer to OSType */ scAvailableCompressionListType = 'avai', /* pointer to OSType Handle */ scWindowOptionsType = 'shee', /* pointer to SCWindowSettings struct*/ scSoundVBRCompressionOK = 'cvbr', /* pointer to Boolean */ scSoundSampleRateChangeOK = 'rcok', /* pointer to Boolean */ scSoundCompressionType = 'ssct', /* pointer to OSType */ scSoundSampleRateType = 'ssrt', /* pointer to UnsignedFixed */ scSoundInputSampleRateType = 'ssir', /* pointer to UnsignedFixed */ scSoundSampleSizeType = 'ssss', /* pointer to short*/ scSoundChannelCountType = 'sscc' /* pointer to short*/ }; enum { scTestImageWidth = 80, scTestImageHeight = 80 }; enum { scUserCancelled = 1 }; enum { scWindowRefKindCarbon = 'carb' /* WindowRef */ };

    Constants

    • scVideoAllowFrameReorderingType

      Pointer to Boolean.

    • scSpatialSettingsType

      A video track's SCSpatialSettings structure.

    • scTemporalSettingsType

      A video track's SCTemporalSettings structure.

    • scDataRateSettingsType

      A video track's SCDataRateSettings structure.

    • scCodecSettingsType

      Pointer to Handle.

    • scForceKeyValueType

      Pointer to long.

    • scCodecManufacturerType

      Pointer to OSType.

    • scAvailableCompressionListType

      Pointer to OSType Handle.

    • scWindowOptionsType

      Pointer to SCWindowSettings struct.

    • scSoundVBRCompressionOK

      Pointer to Boolean.

    • scSoundSampleRateChangeOK

      Pointer to Boolean.

    • scSoundCompressionType

      A sound track's compression type constant; see Codec Identifiers.

    • scSoundSampleRateType

      An UnsignedFixed value that represents a sound track's sampling rate.

    • scSoundInputSampleRateType

      Pointer to UnsignedFixed.

    • scSoundSampleSizeType

      A short integer that represents a sound track's sample size.

    • scSoundChannelCountType

      A short integer that represents a sound track's channel count.

  • Constants passed to SGPanelGetDITLForSize.

    Declaration

    enum { kSGSmallestDITLSize = -1, /* requestedSize h and v set to this to retrieve small size */ kSGLargestDITLSize = -2 /* requestedSize h and v set to this to retrieve large size */ };

  • Identify media types in QuickTime.

    Declaration

    enum { VideoMediaType = 'vide', SoundMediaType = 'soun', TextMediaType = 'text', BaseMediaType = 'gnrc', MPEGMediaType = 'MPEG', MusicMediaType = 'musi', TimeCodeMediaType = 'tmcd', SpriteMediaType = 'sprt', FlashMediaType = 'flsh', MovieMediaType = 'moov', TweenMediaType = 'twen', ThreeDeeMediaType = 'qd3d', SkinMediaType = 'skin', HandleDataHandlerSubType = 'hndl', PointerDataHandlerSubType = 'ptr ', NullDataHandlerSubType = 'null', ResourceDataHandlerSubType = 'rsrc', URLDataHandlerSubType = 'url ', AliasDataHandlerSubType = 'alis', WiredActionHandlerType = 'wire' };

    Constants

    • SoundMediaType

      Sound channel.

    • TextMediaType

      Text media.

  • Constants passed to SpriteWorldHitTest.

    Declaration

    enum { spriteHitTestBounds = 1L << 0, /* point must only be within sprite's bounding box */ spriteHitTestImage = 1L << 1, /* point must be within the shape of the sprite's image */ spriteHitTestInvisibleSprites = 1L << 2, /* invisible sprites may be hit tested */ spriteHitTestIsClick = 1L << 3, /* for codecs that want mouse events */ spriteHitTestLocInDisplayCoordinates = 1L << 4, /* set if you want to pass a display coordiate point to SpriteHitTest */ spriteHitTestTreatAllSpritesAsHitTestable = 1L << 5 /* set if you want to override each sprites hittestable property as true */ };

  • Constants that represent the properties of text.

    Declaration

    enum { /* set property parameter / get property parameter */ kTextTextHandle = 1, /* Handle / preallocated Handle */ kTextTextPtr = 2, /* Pointer */ kTextTEStyle = 3, /* TextStyle * / TextStyle **/ kTextSelection = 4, /* long [2] / long [2]*/ kTextBackColor = 5, /* RGBColor * / RGBColor **/ kTextForeColor = 6, /* RGBColor * / RGBColor **/ kTextFace = 7, /* long / long **/ kTextFont = 8, /* long / long **/ kTextSize = 9, /* long / long **/ kTextAlignment = 10, /* short * / short **/ kTextHilite = 11, /* hiliteRecord * / hiliteRecord **/ kTextDropShadow = 12, /* dropShadowRecord * / dropShadowRecord **/ kTextDisplayFlags = 13, /* long / long **/ kTextScroll = 14, /* TimeValue * / TimeValue **/ kTextRelativeScroll = 15, /* Point **/ kTextHyperTextFace = 16, /* hyperTextSetFace * / hyperTextSetFace **/ kTextHyperTextColor = 17, /* hyperTextSetColor * / hyperTextSetColor **/ kTextKeyEntry = 18, /* short*/ kTextMouseDown = 19, /* Point **/ kTextTextBox = 20, /* Rect * / Rect **/ kTextEditState = 21, /* short / short **/ kTextLength = 22 /* / long **/ }; enum { dfDontDisplay = 1 << 0, /* Don't display the text */ dfDontAutoScale = 1 << 1, /* Don't scale text as track bounds grows or shrinks */ dfClipToTextBox = 1 << 2, /* Clip update to the textbox */ dfUseMovieBGColor = 1 << 3, /* Set text background to movie's background color */ dfShrinkTextBoxToFit = 1 << 4, /* Compute minimum box to fit the sample */ dfScrollIn = 1 << 5, /* Scroll text in until last of text is in view */ dfScrollOut = 1 << 6, /* Scroll text out until last of text is gone (if both set, scroll in then out)*/ dfHorizScroll = 1 << 7, /* Scroll text horizontally (otherwise it's vertical )*/ dfReverseScroll = 1 << 8, /* vert: scroll down rather than up; horiz: scroll backwards (justfication dependent )*/ dfContinuousScroll = 1 << 9, /* new samples cause previous samples to scroll out */ dfFlowHoriz = 1 << 10, /* horiz scroll text flows in textbox rather than extend to right */ dfContinuousKaraoke = 1 << 11, /* ignore begin offset, hilite everything up to the end offset (karaoke )*/ dfDropShadow = 1 << 12, /* display text with a drop shadow */ dfAntiAlias = 1 << 13, /* attempt to display text anti aliased */ dfKeyedText = 1 << 14, /* key the text over background */ dfInverseHilite = 1 << 15, /* Use inverse hiliting rather than using hilite color */ dfTextColorHilite = 1 << 16 /* changes text color in place of hiliting. */ };

    Constants

    • kTextSelection

      Long [2] long [2].

    • kTextScroll

      The text scroll position.

    • kTextRelativeScroll

      Point.

    • kTextHyperTextFace

      HyperTextSetFace hyperTextSetFace.

    • kTextHyperTextColor

      HyperTextSetColor hyperTextSetColor.

    • kTextKeyEntry

      Short.

    • kTextMouseDown

      Point.

    • kTextTextBox

      Rect Rect.

    • kTextEditState

      Short short.

    • kTextLength

      Long.

    • dfDontDisplay

      Does not display the specified sample.

    • dfDontAutoScale

      Does not scale the text if the track bounds increase.

    • dfClipToTextBox

      Clips to just the text box. This is useful if the text overlays the video.

    • dfUseMovieBGColor

      Set text background to movie’s background color.

    • dfShrinkTextBoxToFit

      Recalculates size of the textBox parameter to just fit the given text and stores this rectangle with the text data.

    • dfScrollIn

      Scrolls the text in until the last of the text is in view. This flag is associated with the scrollDelay parameter.

    • dfScrollOut

      Scrolls text out until the last of the text is out of view. This flag is associated with the scrollDelay parameter. If both dfScrollIn and dfScrollOut are set, the text is scrolled in, then out.

    • dfHorizScroll

      Scrolls a single line of text horizontally. If the dfHorizScroll flag is not set, then the scrolling is vertical.

    • dfReverseScroll

      If set, scrolls vertically down, rather than up. If not set, horizontal scrolling proceeds toward the left rather than toward the right.

  • Constants passed to ToneDescription.

    Declaration

    enum { kSoftSynthComponentSubType = 'ss ', kGMSynthComponentSubType = 'gm ' };

    Constants

    • kSoftSynthComponentSubType

      Software synthesizer; value is 'ss '.

  • Constants that identify arithmetic and logical operations.

    Declaration

    kOperatorAdd = 'add ' kOperatorSubtract = 'sub ' kOperatorMultiply = 'mult' kOperatorDivide = 'div ' kOperatorOr = 'or ' kOperatorAnd = 'and ' kOperatorNot = 'not ' kOperatorLessThan = '< ' kOperatorLessThanEqualTo = '<= ' kOperatorEqualTo = '= ' kOperatorNotEqualTo = '!= ' kOperatorGreaterThan = '> ' kOperatorGreaterThanEqualTo = '>= ' kOperatorModulo = 'mod ' kOperatorIntegerDivide = 'idiv' kOperatorAbsoluteValue = 'abs ' kOperatorNegate = 'neg '

  • Identify codec components and data types in QuickTime.

    Declaration

    kAnimationCodecType ='rle ' kAVRJPEGCodecType ='avr ' kBaseCodecType ='base' kBMPCodecType ='WRLE' kCinepakCodecType ='cvid' kCloudCodecType ='clou' kCMYKCodecType ='cmyk' kComponentVideoCodecType ='yuv2' kComponentVideoSigned ='yuvu' kComponentVideoUnsigned ='yuvs' kDVCNTSCCodecType ='dvc ' kDVCPALCodecType ='dvcp' kDVCProNTSCCodecType ='dvpn' kDVCProPALCodecType ='dvpp' kFireCodecType ='fire' kFLCCodecType ='flic' k48RGBCodecType ='b48r' kGIFCodecType ='gif ' kGraphicsCodecType ='smc ' kH261CodecType ='h261' kH263CodecType ='h263' kIndeo4CodecType ='IV41' kJPEGCodecType ='jpeg' kMacPaintCodecType ='PNTG' kMicrosoftVideo1CodecType ='msvc' kMotionJPEGACodecType ='mjpa' kMotionJPEGBCodecType ='mjpb' kMpegYUV420CodecType ='myuv' kOpenDMLJPEGCodecType ='dmb1' kPhotoCDCodecType ='kpcd' kPlanarRGBCodecType ='8BPS' kPNGCodecType ='png ' kQuickDrawCodecType ='qdrw' kQuickDrawGXCodecType ='qdgx' kRawCodecType ='raw ' kSGICodecType ='.SGI' k16GrayCodecType ='b16g' k64ARGBCodecType ='b64a' kSorensonCodecType ='SVQ1' kSorensonYUV9CodecType ='syv9' kTargaCodecType ='tga ' k32AlphaGrayCodecType ='b32a' kTIFFCodecType ='tiff' kVectorCodecType ='path' kVideoCodecType ='rpza' kWaterRippleCodecType ='ripl' kWindowsRawCodecType ='WRAW' kYUV420CodecType ='y420

    Discussion

    All codec components of the same type provide the same kinds of services and support a common application programming interface.

  • Constants that represent the properties of codecs.

    Declaration

    codecImageBufferIsInPCIMemory = 1L << 5 codecSupportsOutOfOrderDisplayTimes = 1L << 8 codecSupportsScheduledBackwardsPlaybackWithDifferenceFrames = 1L << 9 codecConditionNewMask = 1L << 6 codecInfoResourceType = 'cdci' codecInterfaceVersion = 2 codecSuggestedBufferSentinel = 'sent' codecMinimumDataSize = 32768L

    Constants

    • codecImageBufferIsInPCIMemory

      Codec image buffer is across a PCI bus; byte writes are bad.

    • codecSupportsOutOfOrderDisplayTimes

      Codec supports frames queued in one order for display in a different order, for example IPB content.

    • codecSupportsScheduledBackwardsPlaybackWithDifferenceFrames

      Codec can use additional buffers to minimize redecoding during backwards playback.

    • codecInfoResourceType

      Codec info resource type.

    • codecInterfaceVersion

      High word returned in component GetVersion.

    • codecSuggestedBufferSentinel

      Codec public resource containing suggested data pattern to put past end of data buffer.

  • Constants that represent codec types.

    Declaration

    kDVCPro50NTSCCodecType = 'dv5n' kDVCPro50PALCodecType = 'dv5p' kDVCPro100NTSCCodecType = 'dv1n' kDVCPro100PALCodecType = 'dv1p' kDVCPROHD720pCodecType = 'dvhp' kDVCPROHD1080i60CodecType = 'dvh6' kDVCPROHD1080i50CodecType = 'dvh5' kSorenson3CodecType = 'SVQ3' kMPEG4VisualCodecType = 'mp4v' k422YpCbCr8CodecType = '2vuy' k444YpCbCr8CodecType = 'v308' k4444YpCbCrA8CodecType = 'v408' k422YpCbCr16CodecType = 'v216' k422YpCbCr10CodecType = 'v210' k444YpCbCr10CodecType = 'v410' k4444YpCbCrA8RCodecType = 'r408' kJPEG2000CodecType = 'mjp2' kPixletCodecType = 'pxlt' kH264CodecType = 'avc1'

    Constants

    • kSorenson3CodecType

      Available in QuickTime 5 and later.

    • k422YpCbCr8CodecType

      Component Y'CbCr 8-bit 4:2:2.

    • k444YpCbCr8CodecType

      Component Y'CbCr 8-bit 4:4:4.

    • k4444YpCbCrA8CodecType

      Component Y'CbCrA 8-bit 4:4:4:4.

    • k422YpCbCr16CodecType

      Component Y'CbCr 10,12,14,16-bit 4:2:2.

    • k422YpCbCr10CodecType

      Component Y'CbCr 10-bit 4:2:2.

    • k444YpCbCr10CodecType

      Component Y'CbCr 10-bit 4:4:4.

    • k4444YpCbCrA8RCodecType

      Component Y'CbCrA 8-bit 4:4:4:4, rendering format. full range alpha, zero biased YUV.

  • Identify default colors for a graphics importer component.

    Declaration

    blackColor =33 blueColor =409 cyanColor =273 greenColor =341 magentaColor =137 redColor =205 whiteColor =30 yellowColor =69

  • Constants that represent color modes.

    Declaration

    useColorMatching = 4 graphicsModePreWhiteAlpha = 257 graphicsModePreBlackAlpha = 258 graphicsModeComposition = 259 graphicsModePreMulColorAlpha = 261 graphicsModePerComponentAlpha = 272 kQTAlphaMode = 'almo' kQTAlphaModePreMulColor = 'almp'

    Constants

    • kQTAlphaMode

      UInt32; for example, graphicsModeStraightAlpha or graphicsModePreBlackAlpha.

    • kQTAlphaModePreMulColor

      RGBColor; used if kQTAlphaMode is graphicsModePreMulColorAlpha.

  • Constants that represent selectors for component calls.

    Declaration

    kClockGetTimeSelect = 0x0001 kClockNewCallBackSelect = 0x0002 kClockDisposeCallBackSelect = 0x0003 kClockCallMeWhenSelect = 0x0004 kClockCancelCallBackSelect = 0x0005 kClockRateChangedSelect = 0x0006 kClockTimeChangedSelect = 0x0007 kClockSetTimeBaseSelect = 0x0008 kClockStartStopChangedSelect = 0x0009 kClockGetRateSelect = 0x000A kClockGetTimesForRateChangeSelect = 0x000B kClockGetRateChangeConstraintsSelect = 0x000C kSCGetCompressionExtendedSelect = 0x0001 kSCPositionRectSelect = 0x0002 kSCPositionDialogSelect = 0x0003 kSCSetTestImagePictHandleSelect = 0x0004 kSCSetTestImagePictFileSelect = 0x0005 kSCSetTestImagePixMapSelect = 0x0006 kSCGetBestDeviceRectSelect = 0x0007 kSCRequestImageSettingsSelect = 0x000A kSCCompressImageSelect = 0x000B kSCCompressPictureSelect = 0x000C kSCCompressPictureFileSelect = 0x000D kSCRequestSequenceSettingsSelect = 0x000E kSCCompressSequenceBeginSelect = 0x000F kSCCompressSequenceFrameSelect = 0x0010 kSCCompressSequenceEndSelect = 0x0011 kSCDefaultPictHandleSettingsSelect = 0x0012 kSCDefaultPictFileSettingsSelect = 0x0013 kSCDefaultPixMapSettingsSelect = 0x0014 kSCGetInfoSelect = 0x0015 kSCSetInfoSelect = 0x0016 kSCNewGWorldSelect = 0x0017 kSCSetCompressFlagsSelect = 0x0018 kSCGetCompressFlagsSelect = 0x0019 kSCGetSettingsAsTextSelect = 0x001A kSCGetSettingsAsAtomContainerSelect = 0x001B kSCSetSettingsFromAtomContainerSelect = 0x001C kSCCompressSequenceFrameAsyncSelect = 0x001D kSCAsyncIdleSelect = 0x001E kSCCopyCompressionSessionOptionsSelect = 0x001F kSCAudioInvokeLegacyCodecOptionsDialogSelect = 0x0081 kTweenerInitializeSelect = 0x0001 kTweenerDoTweenSelect = 0x0002 kTweenerResetSelect = 0x0003 kTCGetCurrentTimeCodeSelect = 0x0101 kTCGetTimeCodeAtTimeSelect = 0x0102 kTCTimeCodeToStringSelect = 0x0103 kTCTimeCodeToFrameNumberSelect = 0x0104 kTCFrameNumberToTimeCodeSelect = 0x0105 kTCGetSourceRefSelect = 0x0106 kTCSetSourceRefSelect = 0x0107 kTCSetTimeCodeFlagsSelect = 0x0108 kTCGetTimeCodeFlagsSelect = 0x0109 kTCSetDisplayOptionsSelect = 0x010A kTCGetDisplayOptionsSelect = 0x010B kMovieImportHandleSelect = 0x0001 kMovieImportFileSelect = 0x0002 kMovieImportSetSampleDurationSelect = 0x0003 kMovieImportSetSampleDescriptionSelect = 0x0004 kMovieImportSetMediaFileSelect = 0x0005 kMovieImportSetDimensionsSelect = 0x0006 kMovieImportSetChunkSizeSelect = 0x0007 kMovieImportSetProgressProcSelect = 0x0008 kMovieImportSetAuxiliaryDataSelect = 0x0009 kMovieImportSetFromScrapSelect = 0x000A kMovieImportDoUserDialogSelect = 0x000B kMovieImportSetDurationSelect = 0x000C kMovieImportGetAuxiliaryDataTypeSelect = 0x000D kMovieImportValidateSelect = 0x000E kMovieImportGetFileTypeSelect = 0x000F kMovieImportDataRefSelect = 0x0010 kMovieImportGetSampleDescriptionSelect = 0x0011 kMovieImportGetMIMETypeListSelect = 0x0012 kMovieImportSetOffsetAndLimitSelect = 0x0013 kMovieImportGetSettingsAsAtomContainerSelect = 0x0014 kMovieImportSetSettingsFromAtomContainerSelect = 0x0015 kMovieImportSetOffsetAndLimit64Select = 0x0016 kMovieImportIdleSelect = 0x0017 kMovieImportValidateDataRefSelect = 0x0018 kMovieImportGetLoadStateSelect = 0x0019 kMovieImportGetMaxLoadedTimeSelect = 0x001A kMovieImportEstimateCompletionTimeSelect = 0x001B kMovieImportSetDontBlockSelect = 0x001C kMovieImportGetDontBlockSelect = 0x001D kMovieImportSetIdleManagerSelect = 0x001E kMovieImportSetNewMovieFlagsSelect = 0x001F kMovieImportGetDestinationMediaTypeSelect = 0x0020 kMovieImportSetMediaDataRefSelect = 0x0021 kMovieImportDoUserDialogDataRefSelect = 0x0022 kMovieExportToHandleSelect = 0x0080 kMovieExportToFileSelect = 0x0081 kMovieExportGetAuxiliaryDataSelect = 0x0083 kMovieExportSetProgressProcSelect = 0x0084 kMovieExportSetSampleDescriptionSelect = 0x0085 kMovieExportDoUserDialogSelect = 0x0086 kMovieExportGetCreatorTypeSelect = 0x0087 kMovieExportToDataRefSelect = 0x0088 kMovieExportFromProceduresToDataRefSelect = 0x0089 kMovieExportAddDataSourceSelect = 0x008A kMovieExportValidateSelect = 0x008B kMovieExportGetSettingsAsAtomContainerSelect = 0x008C kMovieExportSetSettingsFromAtomContainerSelect = 0x008D kMovieExportGetFileNameExtensionSelect = 0x008E kMovieExportGetShortFileTypeStringSelect = 0x008F kMovieExportGetSourceMediaTypeSelect = 0x0090 kMovieExportSetGetMoviePropertyProcSelect = 0x0091 kTextExportGetDisplayDataSelect = 0x0100 kTextExportGetTimeFractionSelect = 0x0101 kTextExportSetTimeFractionSelect = 0x0102 kTextExportGetSettingsSelect = 0x0103 kTextExportSetSettingsSelect = 0x0104 kMIDIImportGetSettingsSelect = 0x0100 kMIDIImportSetSettingsSelect = 0x0101 kMovieExportNewGetDataAndPropertiesProcsSelect = 0x0100 kMovieExportDisposeGetDataAndPropertiesProcsSelect = 0x0101 kGraphicsImageImportSetSequenceEnabledSelect = 0x0100 kGraphicsImageImportGetSequenceEnabledSelect = 0x0101 kPreviewShowDataSelect = 0x0001 kPreviewMakePreviewSelect = 0x0002 kPreviewMakePreviewReferenceSelect = 0x0003 kPreviewEventSelect = 0x0004 kDataCodecDecompressSelect = 0x0001 kDataCodecGetCompressBufferSizeSelect = 0x0002 kDataCodecCompressSelect = 0x0003 kDataCodecBeginInterruptSafeSelect = 0x0004 kDataCodecEndInterruptSafeSelect = 0x0005 kDataCodecDecompressPartialSelect = 0x0006 kDataCodecCompressPartialSelect = 0x0007 kDataHGetDataSelect = 0x0002 kDataHPutDataSelect = 0x0003 kDataHFlushDataSelect = 0x0004 kDataHOpenForWriteSelect = 0x0005 kDataHCloseForWriteSelect = 0x0006 kDataHOpenForReadSelect = 0x0008 kDataHCloseForReadSelect = 0x0009 kDataHSetDataRefSelect = 0x000A kDataHGetDataRefSelect = 0x000B kDataHCompareDataRefSelect = 0x000C kDataHTaskSelect = 0x000D kDataHScheduleDataSelect = 0x000E kDataHFinishDataSelect = 0x000F kDataHFlushCacheSelect = 0x0010 kDataHResolveDataRefSelect = 0x0011 kDataHGetFileSizeSelect = 0x0012 kDataHCanUseDataRefSelect = 0x0013 kDataHGetVolumeListSelect = 0x0014 kDataHWriteSelect = 0x0015 kDataHPreextendSelect = 0x0016 kDataHSetFileSizeSelect = 0x0017 kDataHGetFreeSpaceSelect = 0x0018 kDataHCreateFileSelect = 0x0019 kDataHGetPreferredBlockSizeSelect = 0x001A kDataHGetDeviceIndexSelect = 0x001B kDataHIsStreamingDataHandlerSelect = 0x001C kDataHGetDataInBufferSelect = 0x001D kDataHGetScheduleAheadTimeSelect = 0x001E kDataHSetCacheSizeLimitSelect = 0x001F kDataHGetCacheSizeLimitSelect = 0x0020 kDataHGetMovieSelect = 0x0021 kDataHAddMovieSelect = 0x0022 kDataHUpdateMovieSelect = 0x0023 kDataHDoesBufferSelect = 0x0024 kDataHGetFileNameSelect = 0x0025 kDataHGetAvailableFileSizeSelect = 0x0026 kDataHGetMacOSFileTypeSelect = 0x0027 kDataHGetMIMETypeSelect = 0x0028 kDataHSetDataRefWithAnchorSelect = 0x0029 kDataHGetDataRefWithAnchorSelect = 0x002A kDataHSetMacOSFileTypeSelect = 0x002B kDataHSetTimeBaseSelect = 0x002C kDataHGetInfoFlagsSelect = 0x002D kDataHScheduleData64Select = 0x002E kDataHWrite64Select = 0x002F kDataHGetFileSize64Select = 0x0030 kDataHPreextend64Select = 0x0031 kDataHSetFileSize64Select = 0x0032 kDataHGetFreeSpace64Select = 0x0033 kDataHAppend64Select = 0x0034 kDataHReadAsyncSelect = 0x0035 kDataHPollReadSelect = 0x0036 kDataHGetDataAvailabilitySelect = 0x0037 kDataHGetFileSizeAsyncSelect = 0x003A kDataHGetDataRefAsTypeSelect = 0x003B kDataHSetDataRefExtensionSelect = 0x003C kDataHGetDataRefExtensionSelect = 0x003D kDataHGetMovieWithFlagsSelect = 0x003E kDataHGetFileTypeOrderingSelect = 0x0040 kDataHCreateFileWithFlagsSelect = 0x0041 kDataHGetMIMETypeAsyncSelect = 0x0042 kDataHGetInfoSelect = 0x0043 kDataHSetIdleManagerSelect = 0x0044 kDataHDeleteFileSelect = 0x0045 kDataHSetMovieUsageFlagsSelect = 0x0046 kDataHUseTemporaryDataRefSelect = 0x0047 kDataHGetTemporaryDataRefCapabilitiesSelect = 0x0048 kDataHRenameFileSelect = 0x0049 kDataHGetAvailableFileSize64Select = 0x004E kDataHGetDataAvailability64Select = 0x004F kDataHPlaybackHintsSelect = 0x0103 kDataHPlaybackHints64Select = 0x010E kDataHGetDataRateSelect = 0x0110 kDataHSetTimeHintsSelect = 0x0111 kVDGetMaxSrcRectSelect = 0x0001 kVDGetActiveSrcRectSelect = 0x0002 kVDSetDigitizerRectSelect = 0x0003 kVDGetDigitizerRectSelect = 0x0004 kVDGetVBlankRectSelect = 0x0005 kVDGetMaskPixMapSelect = 0x0006 kVDGetPlayThruDestinationSelect = 0x0008 kVDUseThisCLUTSelect = 0x0009 kVDSetInputGammaValueSelect = 0x000A kVDGetInputGammaValueSelect = 0x000B kVDSetBrightnessSelect = 0x000C kVDGetBrightnessSelect = 0x000D kVDSetContrastSelect = 0x000E kVDSetHueSelect = 0x000F kVDSetSharpnessSelect = 0x0010 kVDSetSaturationSelect = 0x0011 kVDGetContrastSelect = 0x0012 kVDGetHueSelect = 0x0013 kVDGetSharpnessSelect = 0x0014 kVDGetSaturationSelect = 0x0015 kVDGrabOneFrameSelect = 0x0016 kVDGetMaxAuxBufferSelect = 0x0017 kVDGetDigitizerInfoSelect = 0x0019 kVDGetCurrentFlagsSelect = 0x001A kVDSetKeyColorSelect = 0x001B kVDGetKeyColorSelect = 0x001C kVDAddKeyColorSelect = 0x001D kVDGetNextKeyColorSelect = 0x001E kVDSetKeyColorRangeSelect = 0x001F kVDGetKeyColorRangeSelect = 0x0020 kVDSetDigitizerUserInterruptSelect = 0x0021 kVDSetInputColorSpaceModeSelect = 0x0022 kVDGetInputColorSpaceModeSelect = 0x0023 kVDSetClipStateSelect = 0x0024 kVDGetClipStateSelect = 0x0025 kVDSetClipRgnSelect = 0x0026 kVDClearClipRgnSelect = 0x0027 kVDGetCLUTInUseSelect = 0x0028 kVDSetPLLFilterTypeSelect = 0x0029 kVDGetPLLFilterTypeSelect = 0x002A kVDGetMaskandValueSelect = 0x002B kVDSetMasterBlendLevelSelect = 0x002C kVDSetPlayThruDestinationSelect = 0x002D kVDSetPlayThruOnOffSelect = 0x002E kVDSetFieldPreferenceSelect = 0x002F kVDGetFieldPreferenceSelect = 0x0030 kVDPreflightDestinationSelect = 0x0032 kVDPreflightGlobalRectSelect = 0x0033 kVDSetPlayThruGlobalRectSelect = 0x0034 kVDSetInputGammaRecordSelect = 0x0035 kVDGetInputGammaRecordSelect = 0x0036 kVDSetBlackLevelValueSelect = 0x0037 kVDGetBlackLevelValueSelect = 0x0038 kVDSetWhiteLevelValueSelect = 0x0039 kVDGetWhiteLevelValueSelect = 0x003A kVDGetVideoDefaultsSelect = 0x003B kVDGetNumberOfInputsSelect = 0x003C kVDGetInputFormatSelect = 0x003D kVDSetInputSelect = 0x003E kVDGetInputSelect = 0x003F kVDSetInputStandardSelect = 0x0040 kVDSetupBuffersSelect = 0x0041 kVDGrabOneFrameAsyncSelect = 0x0042 kVDDoneSelect = 0x0043 kVDSetCompressionSelect = 0x0044 kVDCompressOneFrameAsyncSelect = 0x0045 kVDCompressDoneSelect = 0x0046 kVDReleaseCompressBufferSelect = 0x0047 kVDGetImageDescriptionSelect = 0x0048 kVDResetCompressSequenceSelect = 0x0049 kVDSetCompressionOnOffSelect = 0x004A kVDGetCompressionTypesSelect = 0x004B kVDSetTimeBaseSelect = 0x004C kVDSetFrameRateSelect = 0x004D kVDGetDataRateSelect = 0x004E kVDGetSoundInputDriverSelect = 0x004F kVDGetDMADepthsSelect = 0x0050 kVDGetPreferredTimeScaleSelect = 0x0051 kVDReleaseAsyncBuffersSelect = 0x0052 kVDSetDataRateSelect = 0x0054 kVDGetTimeCodeSelect = 0x0055 kVDUseSafeBuffersSelect = 0x0056 kVDGetSoundInputSourceSelect = 0x0057 kVDGetCompressionTimeSelect = 0x0058 kVDSetPreferredPacketSizeSelect = 0x0059 kVDSetPreferredImageDimensionsSelect = 0x005A kVDGetPreferredImageDimensionsSelect = 0x005B kVDGetInputNameSelect = 0x005C kVDSetDestinationPortSelect = 0x005D kVDGetDeviceNameAndFlagsSelect = 0x005E kVDCaptureStateChangingSelect = 0x005F kVDGetUniqueIDsSelect = 0x0060 kVDSelectUniqueIDsSelect = 0x0061 kVDCopyPreferredAudioDeviceSelect = 0x0063 kVDIIDCGetFeaturesSelect = 0x0200 kVDIIDCSetFeaturesSelect = 0x0201 kVDIIDCGetDefaultFeaturesSelect = 0x0202 kVDIIDCGetCSRDataSelect = 0x0203 kVDIIDCSetCSRDataSelect = 0x0204 kVDIIDCGetFeaturesForSpecifierSelect = 0x0205 kXMLParseDataRefSelect = 0x0001 kXMLParseFileSelect = 0x0002 kXMLParseDisposeXMLDocSelect = 0x0003 kXMLParseGetDetailedParseErrorSelect = 0x0004 kXMLParseAddElementSelect = 0x0005 kXMLParseAddAttributeSelect = 0x0006 kXMLParseAddMultipleAttributesSelect = 0x0007 kXMLParseAddAttributeAndValueSelect = 0x0008 kXMLParseAddMultipleAttributesAndValuesSelect = 0x0009 kXMLParseAddAttributeValueKindSelect = 0x000A kXMLParseAddNameSpaceSelect = 0x000B kXMLParseSetOffsetAndLimitSelect = 0x000C kXMLParseSetEventParseRefConSelect = 0x000D kXMLParseSetStartDocumentHandlerSelect = 0x000E kXMLParseSetEndDocumentHandlerSelect = 0x000F kXMLParseSetStartElementHandlerSelect = 0x0010 kXMLParseSetEndElementHandlerSelect = 0x0011 kXMLParseSetCharDataHandlerSelect = 0x0012 kXMLParseSetPreprocessInstructionHandlerSelect = 0x0013 kXMLParseSetCommentHandlerSelect = 0x0014 kXMLParseSetCDataHandlerSelect = 0x0015 kSGInitializeSelect = 0x0001 kSGSetDataOutputSelect = 0x0002 kSGGetDataOutputSelect = 0x0003 kSGSetGWorldSelect = 0x0004 kSGGetGWorldSelect = 0x0005 kSGNewChannelSelect = 0x0006 kSGDisposeChannelSelect = 0x0007 kSGStartPreviewSelect = 0x0010 kSGStartRecordSelect = 0x0011 kSGIdleSelect = 0x0012 kSGStopSelect = 0x0013 kSGPauseSelect = 0x0014 kSGPrepareSelect = 0x0015 kSGReleaseSelect = 0x0016 kSGGetMovieSelect = 0x0017 kSGSetMaximumRecordTimeSelect = 0x0018 kSGGetMaximumRecordTimeSelect = 0x0019 kSGGetStorageSpaceRemainingSelect = 0x001A kSGGetTimeRemainingSelect = 0x001B kSGGrabPictSelect = 0x001C kSGGetLastMovieResIDSelect = 0x001D kSGSetFlagsSelect = 0x001E kSGGetFlagsSelect = 0x001F kSGSetDataProcSelect = 0x0020 kSGNewChannelFromComponentSelect = 0x0021 kSGDisposeDeviceListSelect = 0x0022 kSGAppendDeviceListToMenuSelect = 0x0023 kSGSetSettingsSelect = 0x0024 kSGGetSettingsSelect = 0x0025 kSGGetIndChannelSelect = 0x0026 kSGUpdateSelect = 0x0027 kSGGetPauseSelect = 0x0028 kSGSettingsDialogSelect = 0x0029 kSGGetAlignmentProcSelect = 0x002A kSGSetChannelSettingsSelect = 0x002B kSGGetChannelSettingsSelect = 0x002C kSGGetModeSelect = 0x002D kSGSetDataRefSelect = 0x002E kSGGetDataRefSelect = 0x002F kSGNewOutputSelect = 0x0030 kSGDisposeOutputSelect = 0x0031 kSGSetOutputFlagsSelect = 0x0032 kSGSetChannelOutputSelect = 0x0033 kSGGetDataOutputStorageSpaceRemainingSelect = 0x0034 kSGHandleUpdateEventSelect = 0x0035 kSGSetOutputNextOutputSelect = 0x0036 kSGGetOutputNextOutputSelect = 0x0037 kSGSetOutputMaximumOffsetSelect = 0x0038 kSGGetOutputMaximumOffsetSelect = 0x0039 kSGGetOutputDataReferenceSelect = 0x003A kSGWriteExtendedMovieDataSelect = 0x003B kSGGetStorageSpaceRemaining64Select = 0x003C kSGGetDataOutputStorageSpaceRemaining64Select = 0x003D kSGWriteMovieDataSelect = 0x0100 kSGAddFrameReferenceSelect = 0x0101 kSGGetNextFrameReferenceSelect = 0x0102 kSGGetTimeBaseSelect = 0x0103 kSGSortDeviceListSelect = 0x0104 kSGAddMovieDataSelect = 0x0105 kSGChangedSourceSelect = 0x0106 kSGAddExtendedFrameReferenceSelect = 0x0107 kSGGetNextExtendedFrameReferenceSelect = 0x0108 kSGAddExtendedMovieDataSelect = 0x0109 kSGAddOutputDataRefToMediaSelect = 0x010A kSGSetSettingsSummarySelect = 0x010B kSGSetChannelUsageSelect = 0x0080 kSGGetChannelUsageSelect = 0x0081 kSGSetChannelBoundsSelect = 0x0082 kSGGetChannelBoundsSelect = 0x0083 kSGSetChannelVolumeSelect = 0x0084 kSGGetChannelVolumeSelect = 0x0085 kSGGetChannelInfoSelect = 0x0086 kSGSetChannelPlayFlagsSelect = 0x0087 kSGGetChannelPlayFlagsSelect = 0x0088 kSGSetChannelMaxFramesSelect = 0x0089 kSGGetChannelMaxFramesSelect = 0x008A kSGSetChannelRefConSelect = 0x008B kSGSetChannelClipSelect = 0x008C kSGGetChannelClipSelect = 0x008D kSGGetChannelSampleDescriptionSelect = 0x008E kSGGetChannelDeviceListSelect = 0x008F kSGSetChannelDeviceSelect = 0x0090 kSGSetChannelMatrixSelect = 0x0091 kSGGetChannelMatrixSelect = 0x0092 kSGGetChannelTimeScaleSelect = 0x0093 kSGChannelPutPictureSelect = 0x0094 kSGChannelSetRequestedDataRateSelect = 0x0095 kSGChannelGetRequestedDataRateSelect = 0x0096 kSGChannelSetDataSourceNameSelect = 0x0097 kSGChannelGetDataSourceNameSelect = 0x0098 kSGChannelSetCodecSettingsSelect = 0x0099 kSGChannelGetCodecSettingsSelect = 0x009A kSGGetChannelTimeBaseSelect = 0x009B kSGGetChannelRefConSelect = 0x009C kSGGetChannelDeviceAndInputNamesSelect = 0x009D kSGSetChannelDeviceInputSelect = 0x009E kSGSetChannelSettingsStateChangingSelect = 0x009F kSGInitChannelSelect = 0x0180 kSGWriteSamplesSelect = 0x0181 kSGGetDataRateSelect = 0x0182 kSGAlignChannelRectSelect = 0x0183 kSGPanelGetDitlSelect = 0x0200 kSGPanelGetTitleSelect = 0x0201 kSGPanelCanRunSelect = 0x0202 kSGPanelInstallSelect = 0x0203 kSGPanelEventSelect = 0x0204 kSGPanelItemSelect = 0x0205 kSGPanelRemoveSelect = 0x0206 kSGPanelSetGrabberSelect = 0x0207 kSGPanelSetResFileSelect = 0x0208 kSGPanelGetSettingsSelect = 0x0209 kSGPanelSetSettingsSelect = 0x020A kSGPanelValidateInputSelect = 0x020B kSGPanelSetEventFilterSelect = 0x020C kSGPanelGetDITLForSizeSelect = 0x020D kSGGetSrcVideoBoundsSelect = 0x0100 kSGSetVideoRectSelect = 0x0101 kSGGetVideoRectSelect = 0x0102 kSGGetVideoCompressorTypeSelect = 0x0103 kSGSetVideoCompressorTypeSelect = 0x0104 kSGSetVideoCompressorSelect = 0x0105 kSGGetVideoCompressorSelect = 0x0106 kSGGetVideoDigitizerComponentSelect = 0x0107 kSGSetVideoDigitizerComponentSelect = 0x0108 kSGVideoDigitizerChangedSelect = 0x0109 kSGSetVideoBottlenecksSelect = 0x010A kSGGetVideoBottlenecksSelect = 0x010B kSGGrabFrameSelect = 0x010C kSGGrabFrameCompleteSelect = 0x010D kSGDisplayFrameSelect = 0x010E kSGCompressFrameSelect = 0x010F kSGCompressFrameCompleteSelect = 0x0110 kSGAddFrameSelect = 0x0111 kSGTransferFrameForCompressSelect = 0x0112 kSGSetCompressBufferSelect = 0x0113 kSGGetCompressBufferSelect = 0x0114 kSGGetBufferInfoSelect = 0x0115 kSGSetUseScreenBufferSelect = 0x0116 kSGGetUseScreenBufferSelect = 0x0117 kSGGrabCompressCompleteSelect = 0x0118 kSGDisplayCompressSelect = 0x0119 kSGSetFrameRateSelect = 0x011A kSGGetFrameRateSelect = 0x011B kSGSetPreferredPacketSizeSelect = 0x0121 kSGGetPreferredPacketSizeSelect = 0x0122 kSGSetUserVideoCompressorListSelect = 0x0123 kSGGetUserVideoCompressorListSelect = 0x0124 kSGSetSoundInputDriverSelect = 0x0100 kSGGetSoundInputDriverSelect = 0x0101 kSGSoundInputDriverChangedSelect = 0x0102 kSGSetSoundRecordChunkSizeSelect = 0x0103 kSGGetSoundRecordChunkSizeSelect = 0x0104 kSGSetSoundInputRateSelect = 0x0105 kSGGetSoundInputRateSelect = 0x0106 kSGSetSoundInputParametersSelect = 0x0107 kSGGetSoundInputParametersSelect = 0x0108 kSGSetAdditionalSoundRatesSelect = 0x0109 kSGGetAdditionalSoundRatesSelect = 0x010A kSGSetFontNameSelect = 0x0100 kSGSetFontSizeSelect = 0x0101 kSGSetTextForeColorSelect = 0x0102 kSGSetTextBackColorSelect = 0x0103 kSGSetJustificationSelect = 0x0104 kSGGetTextReturnToSpaceValueSelect = 0x0105 kSGSetTextReturnToSpaceValueSelect = 0x0106 kSGGetInstrumentSelect = 0x0100 kSGSetInstrumentSelect = 0x0101 kQTVideoOutputGetDisplayModeListSelect = 0x0001 kQTVideoOutputGetCurrentClientNameSelect = 0x0002 kQTVideoOutputSetClientNameSelect = 0x0003 kQTVideoOutputGetClientNameSelect = 0x0004 kQTVideoOutputBeginSelect = 0x0005 kQTVideoOutputEndSelect = 0x0006 kQTVideoOutputSetDisplayModeSelect = 0x0007 kQTVideoOutputGetDisplayModeSelect = 0x0008 kQTVideoOutputSaveStateSelect = 0x000A kQTVideoOutputRestoreStateSelect = 0x000B kQTVideoOutputGetGWorldSelect = 0x000C kQTVideoOutputGetGWorldParametersSelect = 0x000D kQTVideoOutputGetIndSoundOutputSelect = 0x000E kQTVideoOutputGetClockSelect = 0x000F kQTVideoOutputSetEchoPortSelect = 0x0010 kQTVideoOutputGetIndImageDecompressorSelect = 0x0011 kQTVideoOutputBaseSetEchoPortSelect = 0x0012 kQTVideoOutputCopyIndAudioOutputDeviceUIDSelect = 0x0016

  • Identify the types of components.

    Declaration

    clockComponentType ='clok' compressorComponentType ='imco' CreateFilePreviewComponentType ='pmak' DataHandlerType ='dhlr' decompressorComponentType ='imdc' MediaHandlerType ='mhlr' MovieControllerComponentType ='play' MovieExportType ='spit' MovieImportType ='eat ' SeqGrabChannelType ='sgch' SeqGrabComponentType ='barg' SeqGrabCompressionPanelType ='cmpr' SeqGrabPanelType ='sgpn' SeqGrabSourcePanelType ='sour' ShowFilePreviewComponentType ='pnot' StandardCompressionSubType ='imag' StandardCompressionSubTypeSound ='soun' StandardCompressionType ='scdi' systemMicrosecondClock ='micr' systemMillisecondClock ='mill' systemSecondClock ='seco' systemTickClock ='tick' videoDigitizerComponentType ='vdig'

    Discussion

    All components of the same type or subtype provide the same kinds of services and support a common application programming interface. Codecs have their own set of types.

  • Constants that contain the flags and IDs of component properties.

    Declaration

    uppCallComponentGetComponentPropertyInfoProcInfo = 0x0003FFF0 uppCallComponentGetComponentPropertyProcInfo = 0x0003FFF0 uppCallComponentSetComponentPropertyProcInfo = 0x0000FFF0 uppCallComponentAddComponentPropertyListenerProcInfo = 0x0000FFF0 uppCallComponentRemoveComponentPropertyListenerProcInfo = 0x0000FFF0 kCallComponentExecuteWiredActionSelect = -9 kComponentPropertyFlagCanSetLater = (1L << 0) kComponentPropertyFlagCanSetNow = (1L << 1) kComponentPropertyFlagCanGetNow = (1L << 3) kComponentPropertyFlagHasExtendedInfo = (1L << 4) kComponentPropertyFlagValueMustBeReleased = (1L << 5) kComponentPropertyFlagValueIsCFTypeRef = (1L << 6) kComponentPropertyFlagGetBufferMustBeInitialized = (1L << 7) kQTComponentPropertyListenerCollectionContextVersion = 1 kQTGetComponentPropertyInfoSelect = -11 kQTGetComponentPropertySelect = -12 kQTSetComponentPropertySelect = -13 kQTAddComponentPropertyListenerSelect = -14 kQTRemoveComponentPropertyListenerSelect = -15

  • Identify errors generated while executing QuickTime calls.

    Declaration

    // General QuickTime errors couldNotResolveDataRef =-2000 badImageDescription =-2001 badPublicMovieAtom =-2002 cantFindHandler =-2003 cantOpenHandler =-2004 badComponentType =-2005 noMediaHandler =-2006 noDataHandler =-2007 invalidMedia =-2008 invalidTrack =-2009 invalidMovie =-2010 invalidSampleTable =-2011 invalidDataRef =-2012 invalidHandler =-2013 invalidDuration =-2014 invalidTime =-2015 cantPutPublicMovieAtom =-2016 badEditList =-2017 mediaTypesDontMatch =-2018 progressProcAborted =-2019 movieToolboxUninitialized =-2020 noRecordOfApp =-2020 wfFileNotFound =-2021 cantCreateSingleForkFile =-2022 invalidEditState =-2023 nonMatchingEditState =-2024 staleEditState =-2025 userDataItemNotFound =-2026 maxSizeToGrowTooSmall =-2027 badTrackIndex =-2028 trackIDNotFound =-2029 trackNotInMovie =-2030 timeNotInTrack =-2031 timeNotInMedia =-2032 badEditIndex =-2033 internalQuickTimeError =-2034 cantEnableTrack =-2035 invalidRect =-2036 invalidSampleNum =-2037 invalidChunkNum =-2038 invalidSampleDescIndex =-2039 invalidChunkCache =-2040 invalidSampleDescription =-2041 dataNotOpenForRead =-2042 dataNotOpenForWrite =-2043 dataAlreadyOpenForWrite =-2044 dataAlreadyClosed =-2045 endOfDataReached =-2046 dataNoDataRef =-2047 noMovieFound =-2048 invalidDataRefContainer =-2049 badDataRefIndex =-2050 noDefaultDataRef =-2051 couldNotUseAnExistingSample =-2052 featureUnsupported =-2053 unsupportedAuxiliaryImportData =-2057 auxiliaryExportDataUnavailable =-2058 samplesAlreadyInMediaErr =-2059 noSourceTreeFoundErr =-2060 sourceNotFoundErr =-2061 movieTextNotFoundErr =-2062 missingRequiredParameterErr =-2063 invalidSpriteWorldPropertyErr =-2064 invalidSpritePropertyErr =-2065 gWorldsNotSameDepthAndSizeErr =-2066 invalidSpriteIndexErr =-2067 invalidImageIndexErr =-2068 invalidSpriteIDErr =-2069 // QuickTime Music Architecture errors internalComponentErr =-2070 notImplementedMusicOSErr =-2071 cantSendToSynthesizerOSErr =-2072 cantReceiveFromSynthesizerOSErr =-2073 illegalVoiceAllocationOSErr =-2074 illegalPartOSErr =-2075 illegalChannelOSErr =-2076 illegalKnobOSErr =-2077 illegalKnobValueOSErr =-2078 illegalInstrumentOSErr =-2079 illegalControllerOSErr =-2080 midiManagerAbsentOSErr =-2081 synthesizerNotRespondingOSErr =-2082 synthesizerOSErr =-2083 illegalNoteChannelOSErr =-2084 noteChannelNotAllocatedOSErr =-2085 tunePlayerFullOSErr =-2086 tuneParseOSErr =-2087 noExportProcAvailableErr =-2089 videoOutputInUseErr =-2090 // Windows-specific errors componentDllLoadErr =-2091 componentDllEntryNotFoundErr =-2092 qtmlDllLoadErr =-2093 qtmlDllEntryNotFoundErr =-2094 qtmlUninitialized =-2095 unsupportedOSErr =-2096 unsupportedProcessorErr =-2097 noVideoTrackInMovieErr =-2054 noSoundTrackInMovieErr =-2055 soundSupportNotAvailableErr =-2056 // QT atom errors cannotFindAtomErr =-2101 notLeafAtomErr =-2102 atomsNotOfSameTypeErr =-2103 atomIndexInvalidErr =-2104 duplicateAtomTypeAndIDErr =-2105 invalidAtomErr =-2106 invalidAtomContainerErr =-2107 invalidAtomTypeErr =-2108 cannotBeLeafAtomErr =-2109 // Data access errors pathTooLongErr =-2110 emptyPathErr =-2111 noPathMappingErr =-2112 pathNotVerifiedErr =-2113 unknownFormatErr =-2114 wackBadFileErr =-2115 wackForkNotFoundErr =-2116 wackBadMetaDataErr =-2117 qfcbNotFoundErr =-2118 qfcbNotCreatedErr =-2119 AAPNotCreatedErr =-2120 AAPNotFoundErr =-2121 ASDBadHeaderErr =-2122 ASDBadForkErr =-2123 ASDEntryNotFoundErr =-2124 fileOffsetTooBigErr =-2125 notAllowedToSaveMovieErr =-2126 qtNetworkAlreadyAllocatedErr =-2127 urlDataHHTTPProtocolErr =-2129 urlDataHHTTPNoNetDriverErr =-2130 urlDataHHTTPURLErr =-2131 urlDataHHTTPRedirectErr =-2132 urlDataHFTPProtocolErr =-2133 urlDataHFTPShutdownErr =-2134 urlDataHFTPBadUserErr =-2135 urlDataHFTPBadPasswordErr =-2136 urlDataHFTPServerErr =-2137 urlDataHFTPDataConnectionErr =-2138 urlDataHFTPNoDirectoryErr =-2139 urlDataHFTPQuotaErr =-2140 urlDataHFTPPermissionsErr =-2141 urlDataHFTPFilenameErr =-2142 urlDataHFTPNoNetDriverErr =-2143 urlDataHFTPBadNameListErr =-2144 urlDataHFTPNeedPasswordErr =-2145 urlDataHFTPNoPasswordErr =-2146 urlDataHFTPServerDisconnectedErr =-2147 urlDataHFTPURLErr =-2148 notEnoughDataErr =-2149 qtActionNotHandledErr =-2157 // Digitizing errors digiUnimpErr =-2201 qtParamErr =-2202 matrixErr =-2203 notExactMatrixErr =-2204 noMoreKeyColorsErr =-2205 notExactSizeErr =-2206 badDepthErr =-2207 noDMAErr =-2208 badCallOrderErr =-2209 // Codec errors codecErr =-8960 noCodecErr =-8961 codecUnimpErr =-8962 codecSizeErr =-8963 codecScreenBufErr =-8964 codecImageBufErr =-8965 codecSpoolErr =-8966 codecAbortErr =-8967 codecWouldOffscreenErr =-8968 codecBadDataErr =-8969 codecDataVersErr =-8970 codecExtensionNotFoundErr =-8971 scTypeNotFoundErr =-8971 codecConditionErr =-8972 codecOpenErr =-8973 codecCantWhenErr =-8974 codecCantQueueErr =-8975 codecNothingToBlitErr =-8976 codecNoMemoryPleaseWaitErr =-8977 codecDisabledErr =-8978 codecNeedToFlushChainErr =-8979 lockPortBitsBadSurfaceErr =-8980 lockPortBitsWindowMovedErr =-8981 lockPortBitsWindowResizedErr =-8982 lockPortBitsWindowClippedErr =-8983 lockPortBitsBadPortErr =-8984 lockPortBitsSurfaceLostErr =-8985 codecParameterDialogConfirm =-8986 codecNeedAccessKeyErr =-8987 codecOffscreenFailedErr =-8988 codecDroppedFrameErr =-8989 directXObjectAlreadyExists =-8990 lockPortBitsWrongGDeviceErr =-8991 codecOffscreenFailedPleaseRetryErr =-8992 // Sequence Grabber errors noDeviceForChannel =-9400, grabTimeComplete =-9401, cantDoThatInCurrentMode =-9402, notEnoughMemoryToGrab =-9403, notEnoughDiskSpaceToGrab =-9404, couldntGetRequiredComponent =-9405, badSGChannel =-9406, seqGrabInfoNotAvailable =-9407, deviceCantMeetRequest =-9408, // Movie Controller errors badControllerHeight =-9994, editingNotAllowed =-9995, controllerBoundsNotExact =-9996, cannotSetWidthOfAttachedController =-9997, controllerHasFixedHeight =-9998, cannotMoveAttachedController =-9999 // QuickTime VR Errors notAQTVRMovieErr =-30540 constraintReachedErr =-30541 callNotSupportedByNodeErr =-30542 selectorNotSupportedByNodeErr =-30543 invalidNodeIDErr =-30544 invalidViewStateErr =-30545 timeNotInViewErr =-30546 propertyNotSupportedByNodeErr =-30547 settingNotSupportedByNodeErr =-30548 limitReachedErr =-30549 invalidNodeFormatErr =-30550 invalidHotSpotIDErr =-30551 noMemoryNodeFailedInitialize =-30552 streamingNodeNotReadyErr =-30553 qtvrLibraryLoadErr =-30554 qtvrUninitialized =-30555

    Constants

    • noRecordOfApp

      A replica of the movieToolboxUninitialized error.

    • cantCreateSingleForkFile

      The file to be created already exists.

    • componentDllLoadErr

      Windows error returned when a component is loading.

    • componentDllEntryNotFoundErr

      Windows error returned when a component is loading.

    • qtmlDllLoadErr

      Windows error returned when the QuickTime Media Layer is loading.

    • qtmlDllEntryNotFoundErr

      Windows error returned when the QuickTime Media Layer is loading.

    • digiUnimpErr

      Digitizer feature is unimplemented.

    • qtParamErr

      Bad input parameter (out of range, for example).

    • matrixErr

      Bad matrix; the digitizer did nothing.

    • notExactMatrixErr

      Warning of a bad matrix; the digitizer did its best.

    • noMoreKeyColorsErr

      All the key indexes are in use.

    • notExactSizeErr

      Can't digitize to the exact size requested.

    • badDepthErr

      Can't digitize into the requested pixel depth.

    • noDMAErr

      Can't do DMA digitizing; that is, can't go to the requested destination.

    • badCallOrderErr

      A status call was made before being set up first.

    Discussion

    The Movie Toolbox provides two error values to your application: the current error and the sticky error. The current error is the result code from the last Movie Toolbox function; it is updated each time your application calls a Movie Toolbox function. The sticky error value contains the first nonzero result code from any Movie Toolbox function that you called after having cleared the sticky error with ClearMoviesStickyError.

  • Identify the formats of graphics files and the applications that create them.

    Declaration

    // File types ftAdobePremiereMovie ='MooV' ftAfterDarkModule ='ADgm' ftClip3Dgraphic ='EZ3D' ftCricketChart ='CGPC' ftCricketDrawing ='CKDT' ftDesignCADDrawing ='DCAD' ftImageStudioGraphic ='RIFF' ftKaleidaGraphGraphic ='QPCT' ftMacFlowChart ='FLCH' ftMacSpinDataSet ='D2BN' ftMoviePlayerMovie ='MooV' ftPixelPaint ='PX01' ftSuper3DDrawing ='3DBX' ftSwivel3DDrawing ='SMDL' ftVersaCADDrawing ='2D ' // Creator codes sigAdobePremiere ='PrMr' sigAfterDark ='ADrk' sigAldusSuper3D ='SP3D' sigAutoCAD ='ACAD' sigClip3D ='EZ3E' sigCricketDraw ='CRDW' sigCricketGraph ='CGRF' sigDeltagraphPro ='DGRH' sigDesign2 ='DESG' sigDesignCAD ='ASBC' sigDesignStudio ='MRJN' sigDigDarkroom ='DIDR' sigDreams ='PHNX' sigDynaperspective ='PERS' sigGenericCADD ='CAD3' sigGraphMaster ='GRAM' sigImageStudio ='FSPE' sigInfiniD ='SID' sigKaleidaGraph ='QKPT' sigKidPix ='Kid2' sigLabVIEW ='LBVW' sigMacDraft ='MD20' sigMacDraw ='MDRW' sigMacFlow ='MCFL' sigMacSpin ='D2SP' sigMiniCad ='CDP3' sigModelShop ='MDSP' sigMoviePlayer ='TVOD' sigMovieRecorder ='mrcr' sigOasis ='TAOA' sigOBJECTMASTER ='BROW' sigOfoto ='APLS' sigOmnis5 ='Q2$$' sigOptix ='PIXL' sigPhotoMac ='PMAC' sigPictureCompressor ='ppxi' sigPICTViewer ='MDTS' sigPixelPaint ='PIXR' sigScreenPlay ='SPLY' sigSmoothie ='Smoo' sigStudio1 ='ST/1' sigStudio32 ='ST32' sigStudio8 ='ST/8' sigSwivel3D ='SWVL' sigVersaCad ='VCAD'

    Discussion

    Constant names for creator codes are written as sig followed by the application name. Constant names for file types are written as ft followed by the document type.

  • Determine how images will be transferred.

    Declaration

    // Boolean modes // src modes are used with bitmaps and text; // pat modes are used with lines and shapes srcCopy =0 srcOr =1 srcXor =2 srcBic =3 notSrcCopy =4 notSrcOr =5 notSrcXor =6 notSrcBic =7 patCopy =8 patOr =9 patXor =10 patBic =11 notPatCopy =12 notPatOr =13 notPatXor =14 notPatBic =15 // Text dimming grayishTextOr =49 // Highlighting hilite =50 hilitetransfermode =50 // Arithmetic modes blend =32 addPin =33 addOver =34 subPin =35 addMax =37 adMax =37 subOver =38 adMin =39 ditherCopy =64 // Transparent mode transparent =36

    Constants

    • srcCopy

      If the source is black, apply the foreground color to the destination; if the source is white, apply the background color; otherwise apply weighted portions of the foreground and background colors.

    • srcOr

      If the source is black, apply the foreground color to the destination; if the source is white, do nothing; otherwise apply weighted portions of the foreground color.

    • srcXor

      If the source is black, invert the destination (this operation is undefined for a colored destination). Otherwise, do nothing.

    • srcBic

      If the source is black, apply the background color to the destination. If the source is white, do nothing. Otherwise, apply weighted portions of the background color.

    • notSrcCopy

      If the source is white, apply the foreground color to the destination; if the source is black, apply the background color; otherwise apply weighted portions of the foreground and background colors.

    • notSrcOr

      If the source is white, apply the foreground color to the destination; if the source is black, do nothing; otherwise apply weighted portions of the foreground color.

    • notSrcXor

      If the source is white, invert the destination (this operation is undefined for a colored destination pixel). Otherwise, do nothing.

    • notSrcBic

      If the source is white, apply the background color to the destination. If the source is black, do nothing. Otherwise, apply weighted portions of the background color.

    • patCopy

      If the source is black, apply the foreground color to the destination; if the source is white, apply the background color; otherwise apply weighted portions of the foreground and background colors.

    • patOr

      If the source is black, apply the foreground color to the destination; if the source is white, do nothing; otherwise apply weighted portions of the foreground color.

    • patXor

      If the source is black, invert the destination (this operation is undefined for a colored destination). Otherwise, do nothing.

    • patBic

      If the source is black, apply the background color to the destination. If the source is white, do nothing. Otherwise, apply weighted portions of the background color.

    • notPatCopy

      If the source is white, apply the foreground color to the destination; if the source is black, apply the background color; otherwise apply weighted portions of the foreground and background colors.

    • notPatOr

      If the source is white, apply the foreground color to the destination; if the source is black, do nothing; otherwise apply weighted portions of the foreground color.

    • notPatXor

      If the source is white, invert the destination (this operation is undefined for a colored destination pixel). Otherwise, do nothing.

    • grayishTextOr

      Dim the destination. If in color, replace it with a blend of the foreground and background; if black-and-white, replace it with dithered black and white. This mode is used primarily for text.

    • hilite

      Replace the background color with the highlight color.

    • hilitetransfermode

      Replace the background color with the highlight color.

    • blend

      Replace the destination with a blend of the source and destination colors. If the destination is a bitmap, this is the same as srcCopy.

    • addPin

      Replace the destination with the sum of the source and destination, up to a maximum value. If the destination is a bitmap, this is the same as srcBic.

    • addOver

      Replace the destination with the sum of the source and destination, but if the resulting red, green, or blue value exceeds 65536, then subtract 65536 from it. If the destination is a bitmap, this is the same as srcXor.

    • subPin

      Replace the destination with the difference between the source and destination, but not less than a minimum value. If the destination is a bitmap, this is the same as srcOr.

    • addMax

      Compare the source and destination, and replace the destination with the greater value of each of the red, green, and blue components. If the destination is a bitmap, this is the same as srcBic.

    • adMax

      Compare the source and destination, and replace the destination with the greater value of each of the red, green, and blue components. If the destination is a bitmap, this is the same as srcBic.

    • subOver

      Replace the destination with the difference between the source and destination, but if the resulting red, green, or blue value is negative, then add 65536 to it. If the destination is a bitmap, this is the same as srcXor.

    • adMin

      Compare the source and destination, and replace the destination with the lesser value of each of the red, green, and blue components. If the destination is a bitmap, this is the same as srcOr.

    • ditherCopy

      Replace the destination with a dither mix of the source and destination.

    • transparent

      Replace the destination with the source if the source is not equal to the background.

    Discussion

    For more information about graphics transfer modes, see Inside Macintosh: Imaging With QuickDraw.

  • Identify languages, scripts, numbering systems, calendar systems, and geographical regions.

    Declaration

    // Language codes: langAfrikaans =141 // smRoman script langBreton =142 // smRoman or smRoman/Celtic script langAlbanian =36 // smRoman script langAmharic =85 // smEthiopic script langArabic =12 // smArabic script langArmenian =51 // smArmenian script langAssamese =68 // smBengali script langAymara =134 // smRoman script langAzerbaijanAr =50 // Azerbaijani in smArabic script langAzerbaijani =49 // Azerbaijani in smCyrillic script langBasque =129 // smRoman script langBelorussian =46 // Synonym for langByelorussian langUzbek =47 // smCyrillic script langBengali =67 // smBengali script langBulgarian =44 // smCyrillic script langBurmese =77 // smBurmese script langByelorussian =46 // smCyrillic script langCatalan =130 // smRoman script langChewa =92 // synonym for langNyanja langCroatian =18 // modified smRoman/Croatian script langCzech =38 // smCentralEuroRoman script langDanish =7 // smRoman script langDutch =4 // smRoman script langDzongkha =137 // (Bhutan ) smTibetan script langEnglish =0 // smRoman script langEsperanto =94 // smRoman script langEstonian =27 // smCentralEuroRoman script langFaroese =30 // smRoman/Icelandic script langFarsi =31 // modified smArabic/Farsi script langFinnish =13 // smRoman script langFlemish =34 // smRoman script langFrench =1 // smRoman script langGalician =140 // smRoman script langGeorgian =52 // smGeorgian script langGerman =2 // smRoman script langGreek =14 // Greek script using smRoman script langGreekPoly =148 // smGreek script langGreenlandic =149 // smRoman script langGuarani =133 // smRoman script langGujarati =69 // smGujarati script langHebrew =10 // smHebrew script langHindi =21 // smDevanagari script langHungarian =26 // smCentralEuroRoman script langIcelandic =15 // modified smRoman/Icelandic script langIndonesian =81 // smRoman script langInuktitut =143 // Inuit using smEthiopic script langIrishGaelic =35 // smRoman or smRoman/Celtic script langIrishGaelicScript =146 // smRoman/Gaelic script langItalian =3 // smRoman script langJapanese =11 // smJapanese script langJavaneseRom =138 // Javanese in smRoman script langKannada =73 // smKannada script langKashmiri =61 // smArabic script langKazakh =48 // smCyrillic script langKhmer =78 // smKhmer script langKinyarwanda =90 // smRoman script langKirghiz =54 // smCyrillic script langKorean =23 // smKorean script langKurdish =60 // smArabic script langLao =79 // smLao script langLatin =131 // smRoman script langLatvian =28 // smCentralEuroRoman script langLithuanian =24 // smCentralEuroRoman script langMacedonian =43 // smCyrillic script langMalagasy =93 // smRoman script langMalayalam =72 // smMalayalam script langMalayArabic =84 // Malay in smArabic script langMalayRoman =83 // Malay in smRoman script langMaltese =16 // smRoman script langManxGaelic =145 // smRoman or smRoman/Celtic script langMarathi =66 // smDevanagari script langMoldavian =53 // smCyrillic script langMongolian =57 // Mongolian in smMongolian script langMongolianCyr =58 // Mongolian in smCyrillic script langNepali =64 // smDevanagari script langNorwegian =9 // smRoman script langNyanja =92 // smRoman script langOriya =71 // smOriya script langOromo =87 // smEthiopic script langPashto =59 // smArabic script langPersian =31 // Synonym for langFarsi langPolish =25 // smCentralEuroRoman script langPortuguese =8 // smRoman script langPunjabi =70 // smGurmukhi script langQuechua =132 // smRoman script langRomanian =37 // modified smRoman/Romanian script langRuanda =90 // synonym for langKinyarwanda langRundi =91 // smRoman script langRussian =32 // smCyrillic script langSami =29 // language of the Sami in Scandanavia langSanskrit =65 // smDevanagari script langScottishGaelic =144 // smRoman or smRoman/Celtic script langSerbian =42 // smCyrillic script langSimpChinese =33 // Mandarin in smSimpChinese script langSindhi =62 // smArabic script langSinhalese =76 // smSinhalese script langSlovak =39 // smCentralEuroRoman script langSlovenian =40 // modified smRoman/Croatian script langSomali =88 // smRoman script langSpanish =6 // smRoman script langSundaneseRom =139 // Sundanese in smRoman script langSwahili =89 // smRoman script langSwedish =5 // smRoman script langTagalog =82 // smRoman script langTajiki =55 // smCyrillic script langTamil =74 // smTamil script langTatar =135 // smCyrillic script langTelugu =75 // smTelugu script langThai =22 // smThai script langTibetan =63 // smTibetan script langTigrinya =86 // smEthiopic script langTongan =147 // smRoman script langTradChinese =19 // Mandarin in smTradChinese script langTurkish =17 // modified smRoman/Turkish script langTurkmen =56 // smCyrillic script langUighur =136 // smArabic script langUkrainian =45 // modified smCyrillic/Ukrainian script langUrdu =20 // smArabic script langVietnamese =80 // smVietnamese script langWelsh =128 // modified smRoman/Celtic script langYiddish =41 // smHebrew script langUnspecified =32767 // Script codes smArabic =4 smArmenian =24 smBengali =13 smBurmese =19 smCentralEuroRoman =29 smCyrillic =7 smDevanagari =9 smEthiopic =28 smExtArabic =31 // extended Arabic smGeez =28 // Synonym for smEthiopic smGeorgian =23 smGreek =6 smGujarati =11 smGurmukhi =10 smHebrew =5 smJapanese =1 smKannada =16 // Kannada/Kanarese smKhmer =20 // Khmer/Cambodian smKorean =3 smLao =22 smMalayalam =17 smMongolian =27 smOriya =12 smRoman =0 smRSymbol =8 // Right-left symbol smSimpChinese =25 // Simplified Chinese smSinhalese =18 smTamil =14 smTelugu =15 smThai =21 smTibetan =26 smTradChinese =2 // Traditional Chinese smUnicodeScript =0x7E // Unicode smUninterp =32 // Uninterpreted symbols smVietnamese =30 // Calendar codes calGregorian =0 calArabicCivil =1 calArabicLunar =2 calJapanese =3 calJewish =4 calCoptic =5 calPersian =6 // Integer format codes intWestern =0 intArabic =1 intRoman =2 intJapanese =3 intEuropean =4 // Region codes verAfrikaans =102 verArabic =16 verArmenian =84 verAustralia =15 verAustria =92 verBengali =60 verBhutan =83 verBrazil =71 verBreton =77 verBritain =2 verBulgaria =72 verByeloRussian =61 verCatalonia =73 verChina =52 verCroatia =68 verCyprus =23 verCzech =56 verDenmark =9 verEngCanada =82 verEsperanto =103 verEstonia =44 verFarEastGeneric =58 verFaroeIsl =47 verFinland =17 verFlemish =6 verFrance =1 verFrBelgium =98 verFrCanada =11 verFrenchUniversal =91 verFrSwiss =18 verGeorgian =85 verGermany =3 verGreece =20 verGreecePoly =40 verGreenland =107 verGrSwiss =19 verGujarati =94 verHungary =43 verIceland =21 verIndiaHindi =33 verIndiaUrdu =96 verInternational =37 verIran =48 verIreland =50 verIrishGaelicScript =81 verIsrael =13 verItalianSwiss =36 verItaly =4 verJapan =14 verKorea =51 verLatvia =45 verLithuania =41 verMacedonian =67 verMagyar =59 verMalta =22 verManxGaelic =76 verMarathi =104 verMultilingual =74 verNepal =106 verNetherlands =5 verNorway =12 verNunavut =78 verNynorsk =101 verPakistanUrdu =34 verPoland =42 verPortugal =10 verPunjabi =95 verRomania =39 verRussia =49 verSami =46 verScottishGaelic =75 verScriptGeneric =55 verSerbian =65 verSingapore =100 verSlovak =57 verSlovenian =66 verSpain =8 verSpLatinAmerica =86 verSweden =7 verTaiwan =53 verThailand =54 verTibetan =105 verTonga =88 verTurkey =24 verTurkishModified =35 verUkraine =62 verUS =0 verUzbek =99 verVietnam =97 verWelsh =79

    Constants

    • langIrishGaelic

      Irish Gaelic for Ireland (without dot above).

    • verIreland

      Irish Gaelic for Ireland (without dot above).

    • langIrishGaelicScript

      Irish Gaelic for Ireland (using dot above).

    • verIrishGaelicScript

      Irish Gaelic for Ireland (using dot above).

    • langSimpChinese

      Chinese using simplified characters.

    • smSimpChinese

      Chinese using simplified characters.

    • verChina

      Chinese using simplified characters.

    • langTradChinese

      Chinese using traditional characters.

    • smTradChinese

      Chinese using traditional characters.

    • verTaiwan

      Chinese using traditional characters.

    • smCentralEuroRoman

      Script for Czech, Slovak, Polish, Hungarian, and the Baltic languages.

    • smRSymbol

      Right-left symbol for bidirectional scripts (such as Arabic and Hebrew).

    • verFarEastGeneric

      Generic Far East system (no language or script).

    • verGreece

      Monotonic modern Greek.

    • verGreecePoly

      Polytonic ancient Greek.

    • verInternational

      English for international use.

    • verMultilingual

      No language or script.

    • verScriptGeneric

      Generic script system (no language or script).

    • verSpain

      Spanish for Spain.

    • verSpLatinAmerica

      Spanish for Latin America.

    Discussion

    For more information about localization codes, see Inside Macintosh: Text. For general information about localization, see Guide to Macintosh Software Localization (Addison-Wesley 1992, ISBN 0-201-60856-1).