1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951 |
- {
- File: QuickTime/MediaHandlers.h
-
- Contains: QuickTime Interfaces.
-
- Version: QuickTime 7.7.1
-
- Copyright: © 1990-2012 by Apple Inc., all rights reserved
-
- Bugs?: For bug reports, consult the following page on
- the World Wide Web:
-
- http://bugs.freepascal.org
-
- }
- { Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2009 }
- { Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2012 }
- {
- Modified for use with Free Pascal
- Version 308
- Please report any bugs to <[email protected]>
- }
- {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
- {$mode macpas}
- {$packenum 1}
- {$macro on}
- {$inline on}
- {$calling mwpascal}
- unit MediaHandlers;
- interface
- {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
- {$setc GAP_INTERFACES_VERSION := $0308}
- {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
- {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
- {$endc}
- {$ifc defined CPUPOWERPC and defined CPUI386}
- {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
- {$endc}
- {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
- {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
- {$endc}
- {$ifc not defined __ppc__ and defined CPUPOWERPC32}
- {$setc __ppc__ := 1}
- {$elsec}
- {$setc __ppc__ := 0}
- {$endc}
- {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
- {$setc __ppc64__ := 1}
- {$elsec}
- {$setc __ppc64__ := 0}
- {$endc}
- {$ifc not defined __i386__ and defined CPUI386}
- {$setc __i386__ := 1}
- {$elsec}
- {$setc __i386__ := 0}
- {$endc}
- {$ifc not defined __x86_64__ and defined CPUX86_64}
- {$setc __x86_64__ := 1}
- {$elsec}
- {$setc __x86_64__ := 0}
- {$endc}
- {$ifc not defined __arm__ and defined CPUARM}
- {$setc __arm__ := 1}
- {$elsec}
- {$setc __arm__ := 0}
- {$endc}
- {$ifc not defined __arm64__ and defined CPUAARCH64}
- {$setc __arm64__ := 1}
- {$elsec}
- {$setc __arm64__ := 0}
- {$endc}
- {$ifc defined cpu64}
- {$setc __LP64__ := 1}
- {$elsec}
- {$setc __LP64__ := 0}
- {$endc}
- {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
- {$error Conflicting definitions for __ppc__ and __i386__}
- {$endc}
- {$ifc defined __ppc__ and __ppc__}
- {$setc TARGET_CPU_PPC := TRUE}
- {$setc TARGET_CPU_PPC64 := FALSE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$setc TARGET_CPU_X86_64 := FALSE}
- {$setc TARGET_CPU_ARM := FALSE}
- {$setc TARGET_CPU_ARM64 := FALSE}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_IPHONE := FALSE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$setc TARGET_OS_EMBEDDED := FALSE}
- {$elifc defined __ppc64__ and __ppc64__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_PPC64 := TRUE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$setc TARGET_CPU_X86_64 := FALSE}
- {$setc TARGET_CPU_ARM := FALSE}
- {$setc TARGET_CPU_ARM64 := FALSE}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_IPHONE := FALSE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$setc TARGET_OS_EMBEDDED := FALSE}
- {$elifc defined __i386__ and __i386__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_PPC64 := FALSE}
- {$setc TARGET_CPU_X86 := TRUE}
- {$setc TARGET_CPU_X86_64 := FALSE}
- {$setc TARGET_CPU_ARM := FALSE}
- {$setc TARGET_CPU_ARM64 := FALSE}
- {$ifc defined(iphonesim)}
- {$setc TARGET_OS_MAC := FALSE}
- {$setc TARGET_OS_IPHONE := TRUE}
- {$setc TARGET_IPHONE_SIMULATOR := TRUE}
- {$elsec}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_IPHONE := FALSE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$endc}
- {$setc TARGET_OS_EMBEDDED := FALSE}
- {$elifc defined __x86_64__ and __x86_64__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_PPC64 := FALSE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$setc TARGET_CPU_X86_64 := TRUE}
- {$setc TARGET_CPU_ARM := FALSE}
- {$setc TARGET_CPU_ARM64 := FALSE}
- {$ifc defined(iphonesim)}
- {$setc TARGET_OS_MAC := FALSE}
- {$setc TARGET_OS_IPHONE := TRUE}
- {$setc TARGET_IPHONE_SIMULATOR := TRUE}
- {$elsec}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_IPHONE := FALSE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$endc}
- {$setc TARGET_OS_EMBEDDED := FALSE}
- {$elifc defined __arm__ and __arm__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_PPC64 := FALSE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$setc TARGET_CPU_X86_64 := FALSE}
- {$setc TARGET_CPU_ARM := TRUE}
- {$setc TARGET_CPU_ARM64 := FALSE}
- { will require compiler define when/if other Apple devices with ARM cpus ship }
- {$setc TARGET_OS_MAC := FALSE}
- {$setc TARGET_OS_IPHONE := TRUE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$setc TARGET_OS_EMBEDDED := TRUE}
- {$elifc defined __arm64__ and __arm64__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_PPC64 := FALSE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$setc TARGET_CPU_X86_64 := FALSE}
- {$setc TARGET_CPU_ARM := FALSE}
- {$setc TARGET_CPU_ARM64 := TRUE}
- { will require compiler define when/if other Apple devices with ARM cpus ship }
- {$setc TARGET_OS_MAC := FALSE}
- {$setc TARGET_OS_IPHONE := TRUE}
- {$setc TARGET_IPHONE_SIMULATOR := FALSE}
- {$setc TARGET_OS_EMBEDDED := TRUE}
- {$elsec}
- {$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
- {$endc}
- {$ifc defined __LP64__ and __LP64__ }
- {$setc TARGET_CPU_64 := TRUE}
- {$elsec}
- {$setc TARGET_CPU_64 := FALSE}
- {$endc}
- {$ifc defined FPC_BIG_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := TRUE}
- {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
- {$elifc defined FPC_LITTLE_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := FALSE}
- {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
- {$elsec}
- {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
- {$endc}
- {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
- {$setc CALL_NOT_IN_CARBON := FALSE}
- {$setc OLDROUTINENAMES := FALSE}
- {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
- {$setc OPAQUE_UPP_TYPES := TRUE}
- {$setc OTCARBONAPPLICATION := TRUE}
- {$setc OTKERNEL := FALSE}
- {$setc PM_USE_SESSION_APIS := TRUE}
- {$setc TARGET_API_MAC_CARBON := TRUE}
- {$setc TARGET_API_MAC_OS8 := FALSE}
- {$setc TARGET_API_MAC_OSX := TRUE}
- {$setc TARGET_CARBON := TRUE}
- {$setc TARGET_CPU_68K := FALSE}
- {$setc TARGET_CPU_MIPS := FALSE}
- {$setc TARGET_CPU_SPARC := FALSE}
- {$setc TARGET_OS_UNIX := FALSE}
- {$setc TARGET_OS_WIN32 := FALSE}
- {$setc TARGET_RT_MAC_68881 := FALSE}
- {$setc TARGET_RT_MAC_CFM := FALSE}
- {$setc TARGET_RT_MAC_MACHO := TRUE}
- {$setc TYPED_FUNCTION_POINTERS := TRUE}
- {$setc TYPE_BOOL := FALSE}
- {$setc TYPE_EXTENDED := FALSE}
- {$setc TYPE_LONGLONG := TRUE}
- uses MacTypes,Components,Events,ImageCompression,Movies,QuickdrawTypes,Sound;
- {$endc} {not MACOSALLINCLUDE}
- {$ifc TARGET_OS_MAC}
- {$ALIGN MAC68K}
- { QuickTime is not available to 64-bit clients }
- {$ifc not TARGET_CPU_64}
- type
- PrePrerollCompleteProcPtr = procedure( mh: MediaHandler; err: OSErr; refcon: UnivPtr );
- PrePrerollCompleteUPP = PrePrerollCompleteProcPtr;
- { derived media handler capability flags }
- const
- handlerHasSpatial = 1 shl 0;
- handlerCanClip = 1 shl 1;
- handlerCanMatte = 1 shl 2;
- handlerCanTransferMode = 1 shl 3;
- handlerNeedsBuffer = 1 shl 4;
- handlerNoIdle = 1 shl 5;
- handlerNoScheduler = 1 shl 6;
- handlerWantsTime = 1 shl 7;
- handlerCGrafPortOnly = 1 shl 8;
- handlerCanSend = 1 shl 9;
- handlerCanHandleComplexMatrix = 1 shl 10;
- handlerWantsDestinationPixels = 1 shl 11;
- handlerCanSendImageData = 1 shl 12;
- handlerCanPicSave = 1 shl 13;
- { media task flags }
- const
- mMustDraw = 1 shl 3;
- mAtEnd = 1 shl 4;
- mPreflightDraw = 1 shl 5;
- mSyncDrawing = 1 shl 6;
- mPrecompositeOnly = 1 shl 9;
- mSoundOnly = 1 shl 10;
- mDoIdleActionsBeforeDraws = 1 shl 11;
- mDisableIdleActions = 1 shl 12;
- { media task result flags }
- const
- mDidDraw = 1 shl 0;
- mNeedsToDraw = 1 shl 2;
- mDrawAgain = 1 shl 3;
- mPartialDraw = 1 shl 4;
- mWantIdleActions = 1 shl 5;
- const
- forceUpdateRedraw = 1 shl 0;
- forceUpdateNewBuffer = 1 shl 1;
- { media hit test flags }
- const
- mHitTestBounds = 1 shl 0; { point must only be within targetRefCon's bounding box }
- mHitTestImage = 1 shl 1; { point must be within the shape of the targetRefCon's image }
- mHitTestInvisible = 1 shl 2; { invisible targetRefCon's may be hit tested }
- mHitTestIsClick = 1 shl 3; { for codecs that want mouse events }
- { media is opaque flags }
- const
- mOpaque = 1 shl 0;
- mInvisible = 1 shl 1;
- { MediaSetPublicInfo/MediaGetPublicInfo selectors }
- const
- kMediaQTIdleFrequencySelector = FourCharCode('idfq');
- type
- GetMovieCompleteParamsPtr = ^GetMovieCompleteParams;
- GetMovieCompleteParams = record
- version: SInt16;
- theMovie: Movie;
- theTrack: Track;
- theMedia: Media;
- movieScale: TimeScale;
- mediaScale: TimeScale;
- movieDuration: TimeValue;
- trackDuration: TimeValue;
- mediaDuration: TimeValue;
- effectiveRate: Fixed;
- timeBase: TimeBase_fix;
- volume: SInt16;
- width: Fixed;
- height: Fixed;
- trackMovieMatrix: MatrixRecord;
- moviePort: CGrafPtr;
- movieGD: GDHandle;
- trackMatte: PixMapHandle;
- inputMap: QTAtomContainer;
- mediaContextID: QTMediaContextID;
- end;
- const
- kMediaVideoParamBrightness = 1;
- kMediaVideoParamContrast = 2;
- kMediaVideoParamHue = 3;
- kMediaVideoParamSharpness = 4;
- kMediaVideoParamSaturation = 5;
- kMediaVideoParamBlackLevel = 6;
- kMediaVideoParamWhiteLevel = 7;
- { These are for MediaGetInfo() and MediaSetInfo().}
- const
- kMHInfoEncodedFrameRate = FourCharCode('orat'); { Parameter is a MHInfoEncodedFrameRateRecord*.}
- { This holds the frame rate at which the track was encoded.}
- type
- MHInfoEncodedFrameRateRecordPtr = ^MHInfoEncodedFrameRateRecord;
- MHInfoEncodedFrameRateRecord = record
- encodedFrameRate: Fixed;
- end;
- type
- dataHandlePtr = ^Handle;
- dataHandleHandle = ^dataHandlePtr;
- type
- QTCustomActionTargetRecordPtr = ^QTCustomActionTargetRecord;
- QTCustomActionTargetRecord = record
- movie: Movie_fix;
- doMCActionCallbackProc: DoMCActionUPP;
- callBackRefcon: SIGNEDLONG;
- track: Track_fix;
- trackObjectRefCon: SIGNEDLONG;
- defaultTrack: Track_fix;
- defaultObjectRefCon: SIGNEDLONG;
- reserved1: SIGNEDLONG;
- reserved2: SIGNEDLONG;
- end;
- type
- QTCustomActionTargetPtr = ^QTCustomActionTargetRecord;
- MediaEQSpectrumBandsRecord = record
- count: SInt16;
- frequency: UnsignedFixedPtr; { pointer to array of frequencies}
- end;
- MediaEQSpectrumBandsRecordPtr = ^MediaEQSpectrumBandsRecord;
- {
- * CallComponentExecuteWiredAction()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function CallComponentExecuteWiredAction( ci: ComponentInstance; actionContainer: QTAtomContainer; actionAtom: QTAtom; target: QTCustomActionTargetPtr; event: QTEventRecordPtr ): ComponentResult; external name '_CallComponentExecuteWiredAction';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- { MediaCallRange2 }
- { These are unique to each type of media handler }
- { They are also included in the public interfaces }
- { Flags for MediaSetChunkManagementFlags}
- const
- kEmptyPurgableChunksOverAllowance = 1;
- {
- * MediaSetChunkManagementFlags()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaSetChunkManagementFlags( mh: MediaHandler; flags: UInt32; flagsMask: UInt32 ): ComponentResult; external name '_MediaSetChunkManagementFlags';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaGetChunkManagementFlags()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaGetChunkManagementFlags( mh: MediaHandler; var flags: UInt32 ): ComponentResult; external name '_MediaGetChunkManagementFlags';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaSetPurgeableChunkMemoryAllowance()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaSetPurgeableChunkMemoryAllowance( mh: MediaHandler; allowance: Size ): ComponentResult; external name '_MediaSetPurgeableChunkMemoryAllowance';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaGetPurgeableChunkMemoryAllowance()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaGetPurgeableChunkMemoryAllowance( mh: MediaHandler; var allowance: Size ): ComponentResult; external name '_MediaGetPurgeableChunkMemoryAllowance';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaEmptyAllPurgeableChunks()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaEmptyAllPurgeableChunks( mh: MediaHandler ): ComponentResult; external name '_MediaEmptyAllPurgeableChunks';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {**** These are the calls for dealing with the Generic media handler ****}
- {
- * MediaInitialize()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaInitialize( mh: MediaHandler; var gmc: GetMovieCompleteParams ): ComponentResult; external name '_MediaInitialize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetHandlerCapabilities()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetHandlerCapabilities( mh: MediaHandler; flags: SIGNEDLONG; flagsMask: SIGNEDLONG ): ComponentResult; external name '_MediaSetHandlerCapabilities';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaIdle()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaIdle( mh: MediaHandler; atMediaTime: TimeValue; flagsIn: SIGNEDLONG; var flagsOut: SIGNEDLONG; const (*var*) movieTime: TimeRecord ): ComponentResult; external name '_MediaIdle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetMediaInfo()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetMediaInfo( mh: MediaHandler; h: Handle ): ComponentResult; external name '_MediaGetMediaInfo';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaPutMediaInfo()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaPutMediaInfo( mh: MediaHandler; h: Handle ): ComponentResult; external name '_MediaPutMediaInfo';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetActive()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetActive( mh: MediaHandler; enableMedia: Boolean ): ComponentResult; external name '_MediaSetActive';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetRate()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetRate( mh: MediaHandler; rate: Fixed ): ComponentResult; external name '_MediaSetRate';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGGetStatus()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGGetStatus( mh: MediaHandler; var statusErr: ComponentResult ): ComponentResult; external name '_MediaGGetStatus';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaTrackEdited()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaTrackEdited( mh: MediaHandler ): ComponentResult; external name '_MediaTrackEdited';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetMediaTimeScale()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetMediaTimeScale( mh: MediaHandler; newTimeScale: TimeScale ): ComponentResult; external name '_MediaSetMediaTimeScale';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetMovieTimeScale()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetMovieTimeScale( mh: MediaHandler; newTimeScale: TimeScale ): ComponentResult; external name '_MediaSetMovieTimeScale';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetGWorld()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetGWorld( mh: MediaHandler; aPort: CGrafPtr; aGD: GDHandle ): ComponentResult; external name '_MediaSetGWorld';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetDimensions()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetDimensions( mh: MediaHandler; width: Fixed; height: Fixed ): ComponentResult; external name '_MediaSetDimensions';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetClip()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetClip( mh: MediaHandler; theClip: RgnHandle ): ComponentResult; external name '_MediaSetClip';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetMatrix()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetMatrix( mh: MediaHandler; var trackMovieMatrix: MatrixRecord ): ComponentResult; external name '_MediaSetMatrix';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetTrackOpaque()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetTrackOpaque( mh: MediaHandler; var trackIsOpaque: Boolean ): ComponentResult; external name '_MediaGetTrackOpaque';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetGraphicsMode()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetGraphicsMode( mh: MediaHandler; mode: SIGNEDLONG; const (*var*) opColor: RGBColor ): ComponentResult; external name '_MediaSetGraphicsMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetGraphicsMode()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetGraphicsMode( mh: MediaHandler; var mode: SIGNEDLONG; var opColor: RGBColor ): ComponentResult; external name '_MediaGetGraphicsMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGSetVolume()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGSetVolume( mh: MediaHandler; volume: SInt16 ): ComponentResult; external name '_MediaGSetVolume';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundBalance()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetSoundBalance( mh: MediaHandler; balance: SInt16 ): ComponentResult; external name '_MediaSetSoundBalance';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundBalance()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetSoundBalance( mh: MediaHandler; var balance: SInt16 ): ComponentResult; external name '_MediaGetSoundBalance';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetNextBoundsChange()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetNextBoundsChange( mh: MediaHandler; var when: TimeValue ): ComponentResult; external name '_MediaGetNextBoundsChange';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSrcRgn()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetSrcRgn( mh: MediaHandler; rgn: RgnHandle; atMediaTime: TimeValue ): ComponentResult; external name '_MediaGetSrcRgn';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaPreroll()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaPreroll( mh: MediaHandler; time: TimeValue; rate: Fixed ): ComponentResult; external name '_MediaPreroll';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSampleDescriptionChanged()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSampleDescriptionChanged( mh: MediaHandler; index: SIGNEDLONG ): ComponentResult; external name '_MediaSampleDescriptionChanged';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaHasCharacteristic()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaHasCharacteristic( mh: MediaHandler; characteristic: OSType; var hasIt: Boolean ): ComponentResult; external name '_MediaHasCharacteristic';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetOffscreenBufferSize()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetOffscreenBufferSize( mh: MediaHandler; var bounds: Rect; depth: SInt16; ctab: CTabHandle ): ComponentResult; external name '_MediaGetOffscreenBufferSize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetHints()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetHints( mh: MediaHandler; hints: SIGNEDLONG ): ComponentResult; external name '_MediaSetHints';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetName()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetName( mh: MediaHandler; var name: Str255; requestedLanguage: SIGNEDLONG; var actualLanguage: SIGNEDLONG ): ComponentResult; external name '_MediaGetName';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaForceUpdate()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaForceUpdate( mh: MediaHandler; forceUpdateFlags: SIGNEDLONG ): ComponentResult; external name '_MediaForceUpdate';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetDrawingRgn()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetDrawingRgn( mh: MediaHandler; var partialRgn: RgnHandle ): ComponentResult; external name '_MediaGetDrawingRgn';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGSetActiveSegment()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGSetActiveSegment( mh: MediaHandler; activeStart: TimeValue; activeDuration: TimeValue ): ComponentResult; external name '_MediaGSetActiveSegment';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaInvalidateRegion()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaInvalidateRegion( mh: MediaHandler; invalRgn: RgnHandle ): ComponentResult; external name '_MediaInvalidateRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetNextStepTime()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetNextStepTime( mh: MediaHandler; flags: SInt16; mediaTimeIn: TimeValue; var mediaTimeOut: TimeValue; rate: Fixed ): ComponentResult; external name '_MediaGetNextStepTime';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetNonPrimarySourceData()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetNonPrimarySourceData( mh: MediaHandler; inputIndex: SIGNEDLONG; dataDescriptionSeed: SIGNEDLONG; dataDescription: Handle; data: UnivPtr; dataSize: SIGNEDLONG; asyncCompletionProc: ICMCompletionProcRecordPtr; transferProc: ICMConvertDataFormatUPP; refCon: UnivPtr ): ComponentResult; external name '_MediaSetNonPrimarySourceData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaChangedNonPrimarySource()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaChangedNonPrimarySource( mh: MediaHandler; inputIndex: SIGNEDLONG ): ComponentResult; external name '_MediaChangedNonPrimarySource';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaTrackReferencesChanged()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaTrackReferencesChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTrackReferencesChanged';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSampleDataPointer()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetSampleDataPointer( mh: MediaHandler; sampleNum: SIGNEDLONG; var dataPtr: Ptr; var dataSize: SIGNEDLONG; var sampleDescIndex: SIGNEDLONG ): ComponentResult; external name '_MediaGetSampleDataPointer';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaReleaseSampleDataPointer()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaReleaseSampleDataPointer( mh: MediaHandler; sampleNum: SIGNEDLONG ): ComponentResult; external name '_MediaReleaseSampleDataPointer';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaTrackPropertyAtomChanged()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaTrackPropertyAtomChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTrackPropertyAtomChanged';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetTrackInputMapReference()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetTrackInputMapReference( mh: MediaHandler; inputMap: QTAtomContainer ): ComponentResult; external name '_MediaSetTrackInputMapReference';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetVideoParam()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetVideoParam( mh: MediaHandler; whichParam: SIGNEDLONG; var value: UInt16 ): ComponentResult; external name '_MediaSetVideoParam';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetVideoParam()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetVideoParam( mh: MediaHandler; whichParam: SIGNEDLONG; var value: UInt16 ): ComponentResult; external name '_MediaGetVideoParam';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaCompare()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaCompare( mh: MediaHandler; var isOK: Boolean; srcMedia: Media; srcMediaComponent: ComponentInstance ): ComponentResult; external name '_MediaCompare';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetClock()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetClock( mh: MediaHandler; var clock: ComponentInstance ): ComponentResult; external name '_MediaGetClock';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundOutputComponent()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetSoundOutputComponent( mh: MediaHandler; outputComponent: Component ): ComponentResult; external name '_MediaSetSoundOutputComponent';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundOutputComponent()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetSoundOutputComponent( mh: MediaHandler; var outputComponent: Component ): ComponentResult; external name '_MediaGetSoundOutputComponent';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundLocalizationData()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 2.5 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetSoundLocalizationData( mh: MediaHandler; data: Handle ): ComponentResult; external name '_MediaSetSoundLocalizationData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetInvalidRegion()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetInvalidRegion( mh: MediaHandler; rgn: RgnHandle ): ComponentResult; external name '_MediaGetInvalidRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSampleDescriptionB2N()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSampleDescriptionB2N( mh: MediaHandler; sampleDescriptionH: SampleDescriptionHandle ): ComponentResult; external name '_MediaSampleDescriptionB2N';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSampleDescriptionN2B()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSampleDescriptionN2B( mh: MediaHandler; sampleDescriptionH: SampleDescriptionHandle ): ComponentResult; external name '_MediaSampleDescriptionN2B';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaQueueNonPrimarySourceData()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaQueueNonPrimarySourceData( mh: MediaHandler; inputIndex: SIGNEDLONG; dataDescriptionSeed: SIGNEDLONG; dataDescription: Handle; data: UnivPtr; dataSize: SIGNEDLONG; asyncCompletionProc: ICMCompletionProcRecordPtr; const (*var*) frameTime: ICMFrameTimeRecord; transferProc: ICMConvertDataFormatUPP; refCon: UnivPtr ): ComponentResult; external name '_MediaQueueNonPrimarySourceData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaFlushNonPrimarySourceData()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaFlushNonPrimarySourceData( mh: MediaHandler; inputIndex: SIGNEDLONG ): ComponentResult; external name '_MediaFlushNonPrimarySourceData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetURLLink()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetURLLink( mh: MediaHandler; displayWhere: Point; var urlLink: Handle ): ComponentResult; external name '_MediaGetURLLink';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaMakeMediaTimeTable()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaMakeMediaTimeTable( mh: MediaHandler; var offsets: SIGNEDLONGPtr; startTime: TimeValue; endTime: TimeValue; timeIncrement: TimeValue; firstDataRefIndex: SInt16; lastDataRefIndex: SInt16; var retDataRefSkew: SIGNEDLONG ): ComponentResult; external name '_MediaMakeMediaTimeTable';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaHitTestForTargetRefCon()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaHitTestForTargetRefCon( mh: MediaHandler; flags: SIGNEDLONG; loc: Point; var targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaHitTestForTargetRefCon';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaHitTestTargetRefCon()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaHitTestTargetRefCon( mh: MediaHandler; targetRefCon: SIGNEDLONG; flags: SIGNEDLONG; loc: Point; var wasHit: Boolean ): ComponentResult; external name '_MediaHitTestTargetRefCon';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetActionsForQTEvent()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaGetActionsForQTEvent( mh: MediaHandler; event: QTEventRecordPtr; targetRefCon: SIGNEDLONG; var container: QTAtomContainer; var atom: QTAtom ): ComponentResult; external name '_MediaGetActionsForQTEvent';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaDisposeTargetRefCon()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaDisposeTargetRefCon( mh: MediaHandler; targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaDisposeTargetRefCon';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaTargetRefConsEqual()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaTargetRefConsEqual( mh: MediaHandler; firstRefCon: SIGNEDLONG; secondRefCon: SIGNEDLONG; var equal: Boolean ): ComponentResult; external name '_MediaTargetRefConsEqual';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetActionsCallback()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaSetActionsCallback( mh: MediaHandler; actionsCallbackProc: ActionsUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaSetActionsCallback';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaPrePrerollBegin()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaPrePrerollBegin( mh: MediaHandler; time: TimeValue; rate: Fixed; completeProc: PrePrerollCompleteUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaPrePrerollBegin';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaPrePrerollCancel()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaPrePrerollCancel( mh: MediaHandler; refcon: UnivPtr ): ComponentResult; external name '_MediaPrePrerollCancel';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaEnterEmptyEdit()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaEnterEmptyEdit( mh: MediaHandler ): ComponentResult; external name '_MediaEnterEmptyEdit';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaCurrentMediaQueuedData()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 3.0 and later
- * Windows: in qtmlClient.lib 3.0 and later
- }
- function MediaCurrentMediaQueuedData( mh: MediaHandler; var milliSecs: SIGNEDLONG ): ComponentResult; external name '_MediaCurrentMediaQueuedData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetEffectiveVolume()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetEffectiveVolume( mh: MediaHandler; var volume: SInt16 ): ComponentResult; external name '_MediaGetEffectiveVolume';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaResolveTargetRefCon()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaResolveTargetRefCon( mh: MediaHandler; container: QTAtomContainer; atom: QTAtom; var targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaResolveTargetRefCon';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundLevelMeteringEnabled()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetSoundLevelMeteringEnabled( mh: MediaHandler; var enabled: Boolean ): ComponentResult; external name '_MediaGetSoundLevelMeteringEnabled';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundLevelMeteringEnabled()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaSetSoundLevelMeteringEnabled( mh: MediaHandler; enable: Boolean ): ComponentResult; external name '_MediaSetSoundLevelMeteringEnabled';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundLevelMeterInfo()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetSoundLevelMeterInfo( mh: MediaHandler; levelInfo: LevelMeterInfoPtr ): ComponentResult; external name '_MediaGetSoundLevelMeterInfo';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetEffectiveSoundBalance()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetEffectiveSoundBalance( mh: MediaHandler; var balance: SInt16 ): ComponentResult; external name '_MediaGetEffectiveSoundBalance';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetScreenLock()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaSetScreenLock( mh: MediaHandler; lockIt: Boolean ): ComponentResult; external name '_MediaSetScreenLock';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetDoMCActionCallback()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaSetDoMCActionCallback( mh: MediaHandler; doMCActionCallbackProc: DoMCActionUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaSetDoMCActionCallback';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetErrorString()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetErrorString( mh: MediaHandler; theError: ComponentResult; var errorString: Str255 ): ComponentResult; external name '_MediaGetErrorString';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundEqualizerBands()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetSoundEqualizerBands( mh: MediaHandler; spectrumInfo: MediaEQSpectrumBandsRecordPtr ): ComponentResult; external name '_MediaGetSoundEqualizerBands';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundEqualizerBands()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaSetSoundEqualizerBands( mh: MediaHandler; spectrumInfo: MediaEQSpectrumBandsRecordPtr ): ComponentResult; external name '_MediaSetSoundEqualizerBands';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundEqualizerBandLevels()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetSoundEqualizerBandLevels( mh: MediaHandler; var bandLevels: UInt8 ): ComponentResult; external name '_MediaGetSoundEqualizerBandLevels';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaDoIdleActions()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaDoIdleActions( mh: MediaHandler ): ComponentResult; external name '_MediaDoIdleActions';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetSoundBassAndTreble()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaSetSoundBassAndTreble( mh: MediaHandler; bass: SInt16; treble: SInt16 ): ComponentResult; external name '_MediaSetSoundBassAndTreble';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetSoundBassAndTreble()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaGetSoundBassAndTreble( mh: MediaHandler; var bass: SInt16; var treble: SInt16 ): ComponentResult; external name '_MediaGetSoundBassAndTreble';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaTimeBaseChanged()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in QuickTimeLib 4.0 and later
- * Windows: in qtmlClient.lib 4.0 and later
- }
- function MediaTimeBaseChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTimeBaseChanged';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaMCIsPlayerEvent()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: in QuickTimeLib 4.1 and later
- * Windows: in qtmlClient.lib 4.1 and later
- }
- function MediaMCIsPlayerEvent( mh: MediaHandler; const (*var*) e: EventRecord; var handledIt: Boolean ): ComponentResult; external name '_MediaMCIsPlayerEvent';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetMediaLoadState()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: in QuickTimeLib 4.1 and later
- * Windows: in qtmlClient.lib 4.1 and later
- }
- function MediaGetMediaLoadState( mh: MediaHandler; var mediaLoadState: SIGNEDLONG ): ComponentResult; external name '_MediaGetMediaLoadState';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaVideoOutputChanged()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaVideoOutputChanged( mh: MediaHandler; vout: ComponentInstance ): ComponentResult; external name '_MediaVideoOutputChanged';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaEmptySampleCache()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaEmptySampleCache( mh: MediaHandler; sampleNum: SIGNEDLONG; sampleCount: SIGNEDLONG ): ComponentResult; external name '_MediaEmptySampleCache';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetPublicInfo()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaGetPublicInfo( mh: MediaHandler; infoSelector: OSType; infoDataPtr: UnivPtr; var ioDataSize: Size ): ComponentResult; external name '_MediaGetPublicInfo';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetPublicInfo()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaSetPublicInfo( mh: MediaHandler; infoSelector: OSType; infoDataPtr: UnivPtr; dataSize: Size ): ComponentResult; external name '_MediaSetPublicInfo';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaGetUserPreferredCodecs()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaGetUserPreferredCodecs( mh: MediaHandler; var userPreferredCodecs: CodecComponentHandle ): ComponentResult; external name '_MediaGetUserPreferredCodecs';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * MediaSetUserPreferredCodecs()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in QuickTimeLib 5.0 and later
- * Windows: in qtmlClient.lib 5.0 and later
- }
- function MediaSetUserPreferredCodecs( mh: MediaHandler; userPreferredCodecs: CodecComponentHandle ): ComponentResult; external name '_MediaSetUserPreferredCodecs';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- { Keyboard Focus Support}
- {
- * MediaRefConSetProperty()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaRefConSetProperty( mh: MediaHandler; refCon: SIGNEDLONG; propertyType: SIGNEDLONG; propertyValue: UnivPtr ): ComponentResult; external name '_MediaRefConSetProperty';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaRefConGetProperty()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaRefConGetProperty( mh: MediaHandler; refCon: SIGNEDLONG; propertyType: SIGNEDLONG; propertyValue: UnivPtr ): ComponentResult; external name '_MediaRefConGetProperty';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaNavigateTargetRefCon()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaNavigateTargetRefCon( mh: MediaHandler; navigation: SIGNEDLONG; var refCon: SIGNEDLONG ): ComponentResult; external name '_MediaNavigateTargetRefCon';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaGGetIdleManager()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaGGetIdleManager( mh: MediaHandler; var pim: IdleManager ): ComponentResult; external name '_MediaGGetIdleManager';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaGSetIdleManager()
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: in QuickTimeLib 6.0 and later
- * Windows: in qtmlClient.lib 6.0 and later
- }
- function MediaGSetIdleManager( mh: MediaHandler; im: IdleManager ): ComponentResult; external name '_MediaGSetIdleManager';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * MediaGGetLatency()
- *
- * Availability:
- * Mac OS X: in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- * Windows: in qtmlClient.lib 6.5 and later
- }
- function MediaGGetLatency( mh: MediaHandler; var latency: TimeRecord ): ComponentResult; external name '_MediaGGetLatency';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- { Aperture Mode Support}
- {
- * MediaSetTrackApertureModeDimensionsUsingSampleDescription()
- *
- * Summary:
- * Sets the three aperture mode dimension properties on the track,
- * calculating the values using the provided sample description.
- *
- * Parameters:
- *
- * mh:
- * [in] The media handler.
- *
- * sampleDesc:
- * [in] The sample description handle.
- *
- * Availability:
- * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- }
- function MediaSetTrackApertureModeDimensionsUsingSampleDescription( mh: MediaHandler; sampleDesc: SampleDescriptionHandle ): ComponentResult; external name '_MediaSetTrackApertureModeDimensionsUsingSampleDescription';
- (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
- {
- * MediaGetApertureModeClipRectForSampleDescriptionIndex()
- *
- * Summary:
- * Calculates a source clip rectangle appropriate for the current
- * aperture mode and the given sample description.
- *
- * Discussion:
- * If the track's aperture mode is kQTApertureMode_CleanAperture,
- * the rectangle should be the clean aperture as described by the
- * sample description (see
- * kICMImageDescriptionPropertyID_CleanApertureClipRect); otherwise
- * it should be the full dimensions of the sample description.
- *
- * Parameters:
- *
- * mh:
- * [in] The media handler.
- *
- * sampleDescIndex:
- * [in] Indicates the sample description index of sample
- * description in the media
- *
- * clipFixedRectOut:
- * [out] Points to a variable to receive the clip rectangle.
- *
- * Availability:
- * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- }
- function MediaGetApertureModeClipRectForSampleDescriptionIndex( mh: MediaHandler; sampleDescIndex: SIGNEDLONG; var clipFixedRectOut: FixedRect ): ComponentResult; external name '_MediaGetApertureModeClipRectForSampleDescriptionIndex';
- (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
- {
- * MediaGetApertureModeMatrixForSampleDescriptionIndex()
- *
- * Summary:
- * Calculates a matrix appropriate for the current aperture mode and
- * the given sample description.
- *
- * Discussion:
- * If the track's aperture mode is kQTApertureMode_CleanAperture or
- * kQTApertureMode_ProductionAperture, the matrix should scale
- * horizontally to compensate for the pixel aspect ratio. Otherwise
- * the matrix should be identity. If the track's aperture mode is
- * kQTApertureMode_CleanAperture, the matrix should translate the
- * top-left point of the clean aperture to the origin. (See
- * kICMImageDescriptionPropertyID_CleanApertureMatrix and
- * kICMImageDescriptionPropertyID_ProductionApertureMatrix.)
- *
- * Parameters:
- *
- * mh:
- * [in] The media handler.
- *
- * sampleDescIndex:
- * [in] Indicates the sample description index of sample
- * description in the media
- *
- * matrixOut:
- * [out] Points to a variable to receive the matrix.
- *
- * Availability:
- * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- }
- function MediaGetApertureModeMatrixForSampleDescriptionIndex( mh: MediaHandler; sampleDescIndex: SIGNEDLONG; var matrixOut: MatrixRecord ): ComponentResult; external name '_MediaGetApertureModeMatrixForSampleDescriptionIndex';
- (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
- {
- * MediaGenerateApertureModeDimensions()
- *
- * Summary:
- * Examines a movie and sets up track aperture mode dimensions.
- *
- * Discussion:
- * If the sample descriptions tracks lack tags describing clean
- * aperture and pixel aspect ratio information, the media data may
- * be scanned to see if the correct values can be divined and
- * attached. Then the aperture mode dimensions should be calculated
- * and set, as by
- * MediaSetTrackApertureModeDimensionsUsingSampleDescription.
- *
- * Parameters:
- *
- * mh:
- * [in] The media handler.
- *
- * Availability:
- * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- }
- function MediaGenerateApertureModeDimensions( mh: MediaHandler ): ComponentResult; external name '_MediaGenerateApertureModeDimensions';
- (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
- { selectors for component calls }
- const
- kCallComponentExecuteWiredActionSelect = -9;
- kMediaSetChunkManagementFlagsSelect = $0415;
- kMediaGetChunkManagementFlagsSelect = $0416;
- kMediaSetPurgeableChunkMemoryAllowanceSelect = $0417;
- kMediaGetPurgeableChunkMemoryAllowanceSelect = $0418;
- kMediaEmptyAllPurgeableChunksSelect = $0419;
- kMediaInitializeSelect = $0501;
- kMediaSetHandlerCapabilitiesSelect = $0502;
- kMediaIdleSelect = $0503;
- kMediaGetMediaInfoSelect = $0504;
- kMediaPutMediaInfoSelect = $0505;
- kMediaSetActiveSelect = $0506;
- kMediaSetRateSelect = $0507;
- kMediaGGetStatusSelect = $0508;
- kMediaTrackEditedSelect = $0509;
- kMediaSetMediaTimeScaleSelect = $050A;
- kMediaSetMovieTimeScaleSelect = $050B;
- kMediaSetGWorldSelect = $050C;
- kMediaSetDimensionsSelect = $050D;
- kMediaSetClipSelect = $050E;
- kMediaSetMatrixSelect = $050F;
- kMediaGetTrackOpaqueSelect = $0510;
- kMediaSetGraphicsModeSelect = $0511;
- kMediaGetGraphicsModeSelect = $0512;
- kMediaGSetVolumeSelect = $0513;
- kMediaSetSoundBalanceSelect = $0514;
- kMediaGetSoundBalanceSelect = $0515;
- kMediaGetNextBoundsChangeSelect = $0516;
- kMediaGetSrcRgnSelect = $0517;
- kMediaPrerollSelect = $0518;
- kMediaSampleDescriptionChangedSelect = $0519;
- kMediaHasCharacteristicSelect = $051A;
- kMediaGetOffscreenBufferSizeSelect = $051B;
- kMediaSetHintsSelect = $051C;
- kMediaGetNameSelect = $051D;
- kMediaForceUpdateSelect = $051E;
- kMediaGetDrawingRgnSelect = $051F;
- kMediaGSetActiveSegmentSelect = $0520;
- kMediaInvalidateRegionSelect = $0521;
- kMediaGetNextStepTimeSelect = $0522;
- kMediaSetNonPrimarySourceDataSelect = $0523;
- kMediaChangedNonPrimarySourceSelect = $0524;
- kMediaTrackReferencesChangedSelect = $0525;
- kMediaGetSampleDataPointerSelect = $0526;
- kMediaReleaseSampleDataPointerSelect = $0527;
- kMediaTrackPropertyAtomChangedSelect = $0528;
- kMediaSetTrackInputMapReferenceSelect = $0529;
- kMediaSetVideoParamSelect = $052B;
- kMediaGetVideoParamSelect = $052C;
- kMediaCompareSelect = $052D;
- kMediaGetClockSelect = $052E;
- kMediaSetSoundOutputComponentSelect = $052F;
- kMediaGetSoundOutputComponentSelect = $0530;
- kMediaSetSoundLocalizationDataSelect = $0531;
- kMediaGetInvalidRegionSelect = $053C;
- kMediaSampleDescriptionB2NSelect = $053E;
- kMediaSampleDescriptionN2BSelect = $053F;
- kMediaQueueNonPrimarySourceDataSelect = $0540;
- kMediaFlushNonPrimarySourceDataSelect = $0541;
- kMediaGetURLLinkSelect = $0543;
- kMediaMakeMediaTimeTableSelect = $0545;
- kMediaHitTestForTargetRefConSelect = $0546;
- kMediaHitTestTargetRefConSelect = $0547;
- kMediaGetActionsForQTEventSelect = $0548;
- kMediaDisposeTargetRefConSelect = $0549;
- kMediaTargetRefConsEqualSelect = $054A;
- kMediaSetActionsCallbackSelect = $054B;
- kMediaPrePrerollBeginSelect = $054C;
- kMediaPrePrerollCancelSelect = $054D;
- kMediaEnterEmptyEditSelect = $054F;
- kMediaCurrentMediaQueuedDataSelect = $0550;
- kMediaGetEffectiveVolumeSelect = $0551;
- kMediaResolveTargetRefConSelect = $0552;
- kMediaGetSoundLevelMeteringEnabledSelect = $0553;
- kMediaSetSoundLevelMeteringEnabledSelect = $0554;
- kMediaGetSoundLevelMeterInfoSelect = $0555;
- kMediaGetEffectiveSoundBalanceSelect = $0556;
- kMediaSetScreenLockSelect = $0557;
- kMediaSetDoMCActionCallbackSelect = $0558;
- kMediaGetErrorStringSelect = $0559;
- kMediaGetSoundEqualizerBandsSelect = $055A;
- kMediaSetSoundEqualizerBandsSelect = $055B;
- kMediaGetSoundEqualizerBandLevelsSelect = $055C;
- kMediaDoIdleActionsSelect = $055D;
- kMediaSetSoundBassAndTrebleSelect = $055E;
- kMediaGetSoundBassAndTrebleSelect = $055F;
- kMediaTimeBaseChangedSelect = $0560;
- kMediaMCIsPlayerEventSelect = $0561;
- kMediaGetMediaLoadStateSelect = $0562;
- kMediaVideoOutputChangedSelect = $0563;
- kMediaEmptySampleCacheSelect = $0564;
- kMediaGetPublicInfoSelect = $0565;
- kMediaSetPublicInfoSelect = $0566;
- kMediaGetUserPreferredCodecsSelect = $0567;
- kMediaSetUserPreferredCodecsSelect = $0568;
- kMediaRefConSetPropertySelect = $0569;
- kMediaRefConGetPropertySelect = $056A;
- kMediaNavigateTargetRefConSelect = $056B;
- kMediaGGetIdleManagerSelect = $056C;
- kMediaGSetIdleManagerSelect = $056D;
- kMediaGGetLatencySelect = $0571;
- kMediaSetTrackApertureModeDimensionsUsingSampleDescriptionSelect = $0579;
- kMediaGetApertureModeClipRectForSampleDescriptionIndexSelect = $057A;
- kMediaGetApertureModeMatrixForSampleDescriptionIndexSelect = $057B;
- kMediaGenerateApertureModeDimensionsSelect = $057C;
- {
- * NewPrePrerollCompleteUPP()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: available as macro/inline
- }
- function NewPrePrerollCompleteUPP( userRoutine: PrePrerollCompleteProcPtr ): PrePrerollCompleteUPP; external name '_NewPrePrerollCompleteUPP';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * DisposePrePrerollCompleteUPP()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: available as macro/inline
- }
- procedure DisposePrePrerollCompleteUPP( userUPP: PrePrerollCompleteUPP ); external name '_DisposePrePrerollCompleteUPP';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * InvokePrePrerollCompleteUPP()
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in QuickTime.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: available as macro/inline
- }
- procedure InvokePrePrerollCompleteUPP( mh: MediaHandler; err: OSErr; refcon: UnivPtr; userUPP: PrePrerollCompleteUPP ); external name '_InvokePrePrerollCompleteUPP';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {$endc} {not TARGET_CPU_64}
- {$endc} {TARGET_OS_MAC}
- {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
- end.
- {$endc} {not MACOSALLINCLUDE}
|