MediaHandlers.pas 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951
  1. {
  2. File: QuickTime/MediaHandlers.h
  3. Contains: QuickTime Interfaces.
  4. Version: QuickTime 7.7.1
  5. Copyright: © 1990-2012 by Apple Inc., all rights reserved
  6. Bugs?: For bug reports, consult the following page on
  7. the World Wide Web:
  8. http://bugs.freepascal.org
  9. }
  10. { Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2009 }
  11. { Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2012 }
  12. {
  13. Modified for use with Free Pascal
  14. Version 308
  15. Please report any bugs to <[email protected]>
  16. }
  17. {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
  18. {$mode macpas}
  19. {$packenum 1}
  20. {$macro on}
  21. {$inline on}
  22. {$calling mwpascal}
  23. unit MediaHandlers;
  24. interface
  25. {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
  26. {$setc GAP_INTERFACES_VERSION := $0308}
  27. {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
  28. {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
  29. {$endc}
  30. {$ifc defined CPUPOWERPC and defined CPUI386}
  31. {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
  32. {$endc}
  33. {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
  34. {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
  35. {$endc}
  36. {$ifc not defined __ppc__ and defined CPUPOWERPC32}
  37. {$setc __ppc__ := 1}
  38. {$elsec}
  39. {$setc __ppc__ := 0}
  40. {$endc}
  41. {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
  42. {$setc __ppc64__ := 1}
  43. {$elsec}
  44. {$setc __ppc64__ := 0}
  45. {$endc}
  46. {$ifc not defined __i386__ and defined CPUI386}
  47. {$setc __i386__ := 1}
  48. {$elsec}
  49. {$setc __i386__ := 0}
  50. {$endc}
  51. {$ifc not defined __x86_64__ and defined CPUX86_64}
  52. {$setc __x86_64__ := 1}
  53. {$elsec}
  54. {$setc __x86_64__ := 0}
  55. {$endc}
  56. {$ifc not defined __arm__ and defined CPUARM}
  57. {$setc __arm__ := 1}
  58. {$elsec}
  59. {$setc __arm__ := 0}
  60. {$endc}
  61. {$ifc not defined __arm64__ and defined CPUAARCH64}
  62. {$setc __arm64__ := 1}
  63. {$elsec}
  64. {$setc __arm64__ := 0}
  65. {$endc}
  66. {$ifc defined cpu64}
  67. {$setc __LP64__ := 1}
  68. {$elsec}
  69. {$setc __LP64__ := 0}
  70. {$endc}
  71. {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
  72. {$error Conflicting definitions for __ppc__ and __i386__}
  73. {$endc}
  74. {$ifc defined __ppc__ and __ppc__}
  75. {$setc TARGET_CPU_PPC := TRUE}
  76. {$setc TARGET_CPU_PPC64 := FALSE}
  77. {$setc TARGET_CPU_X86 := FALSE}
  78. {$setc TARGET_CPU_X86_64 := FALSE}
  79. {$setc TARGET_CPU_ARM := FALSE}
  80. {$setc TARGET_CPU_ARM64 := FALSE}
  81. {$setc TARGET_OS_MAC := TRUE}
  82. {$setc TARGET_OS_IPHONE := FALSE}
  83. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  84. {$setc TARGET_OS_EMBEDDED := FALSE}
  85. {$elifc defined __ppc64__ and __ppc64__}
  86. {$setc TARGET_CPU_PPC := FALSE}
  87. {$setc TARGET_CPU_PPC64 := TRUE}
  88. {$setc TARGET_CPU_X86 := FALSE}
  89. {$setc TARGET_CPU_X86_64 := FALSE}
  90. {$setc TARGET_CPU_ARM := FALSE}
  91. {$setc TARGET_CPU_ARM64 := FALSE}
  92. {$setc TARGET_OS_MAC := TRUE}
  93. {$setc TARGET_OS_IPHONE := FALSE}
  94. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  95. {$setc TARGET_OS_EMBEDDED := FALSE}
  96. {$elifc defined __i386__ and __i386__}
  97. {$setc TARGET_CPU_PPC := FALSE}
  98. {$setc TARGET_CPU_PPC64 := FALSE}
  99. {$setc TARGET_CPU_X86 := TRUE}
  100. {$setc TARGET_CPU_X86_64 := FALSE}
  101. {$setc TARGET_CPU_ARM := FALSE}
  102. {$setc TARGET_CPU_ARM64 := FALSE}
  103. {$ifc defined(iphonesim)}
  104. {$setc TARGET_OS_MAC := FALSE}
  105. {$setc TARGET_OS_IPHONE := TRUE}
  106. {$setc TARGET_IPHONE_SIMULATOR := TRUE}
  107. {$elsec}
  108. {$setc TARGET_OS_MAC := TRUE}
  109. {$setc TARGET_OS_IPHONE := FALSE}
  110. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  111. {$endc}
  112. {$setc TARGET_OS_EMBEDDED := FALSE}
  113. {$elifc defined __x86_64__ and __x86_64__}
  114. {$setc TARGET_CPU_PPC := FALSE}
  115. {$setc TARGET_CPU_PPC64 := FALSE}
  116. {$setc TARGET_CPU_X86 := FALSE}
  117. {$setc TARGET_CPU_X86_64 := TRUE}
  118. {$setc TARGET_CPU_ARM := FALSE}
  119. {$setc TARGET_CPU_ARM64 := FALSE}
  120. {$ifc defined(iphonesim)}
  121. {$setc TARGET_OS_MAC := FALSE}
  122. {$setc TARGET_OS_IPHONE := TRUE}
  123. {$setc TARGET_IPHONE_SIMULATOR := TRUE}
  124. {$elsec}
  125. {$setc TARGET_OS_MAC := TRUE}
  126. {$setc TARGET_OS_IPHONE := FALSE}
  127. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  128. {$endc}
  129. {$setc TARGET_OS_EMBEDDED := FALSE}
  130. {$elifc defined __arm__ and __arm__}
  131. {$setc TARGET_CPU_PPC := FALSE}
  132. {$setc TARGET_CPU_PPC64 := FALSE}
  133. {$setc TARGET_CPU_X86 := FALSE}
  134. {$setc TARGET_CPU_X86_64 := FALSE}
  135. {$setc TARGET_CPU_ARM := TRUE}
  136. {$setc TARGET_CPU_ARM64 := FALSE}
  137. { will require compiler define when/if other Apple devices with ARM cpus ship }
  138. {$setc TARGET_OS_MAC := FALSE}
  139. {$setc TARGET_OS_IPHONE := TRUE}
  140. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  141. {$setc TARGET_OS_EMBEDDED := TRUE}
  142. {$elifc defined __arm64__ and __arm64__}
  143. {$setc TARGET_CPU_PPC := FALSE}
  144. {$setc TARGET_CPU_PPC64 := FALSE}
  145. {$setc TARGET_CPU_X86 := FALSE}
  146. {$setc TARGET_CPU_X86_64 := FALSE}
  147. {$setc TARGET_CPU_ARM := FALSE}
  148. {$setc TARGET_CPU_ARM64 := TRUE}
  149. { will require compiler define when/if other Apple devices with ARM cpus ship }
  150. {$setc TARGET_OS_MAC := FALSE}
  151. {$setc TARGET_OS_IPHONE := TRUE}
  152. {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  153. {$setc TARGET_OS_EMBEDDED := TRUE}
  154. {$elsec}
  155. {$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
  156. {$endc}
  157. {$ifc defined __LP64__ and __LP64__ }
  158. {$setc TARGET_CPU_64 := TRUE}
  159. {$elsec}
  160. {$setc TARGET_CPU_64 := FALSE}
  161. {$endc}
  162. {$ifc defined FPC_BIG_ENDIAN}
  163. {$setc TARGET_RT_BIG_ENDIAN := TRUE}
  164. {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
  165. {$elifc defined FPC_LITTLE_ENDIAN}
  166. {$setc TARGET_RT_BIG_ENDIAN := FALSE}
  167. {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
  168. {$elsec}
  169. {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
  170. {$endc}
  171. {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
  172. {$setc CALL_NOT_IN_CARBON := FALSE}
  173. {$setc OLDROUTINENAMES := FALSE}
  174. {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
  175. {$setc OPAQUE_UPP_TYPES := TRUE}
  176. {$setc OTCARBONAPPLICATION := TRUE}
  177. {$setc OTKERNEL := FALSE}
  178. {$setc PM_USE_SESSION_APIS := TRUE}
  179. {$setc TARGET_API_MAC_CARBON := TRUE}
  180. {$setc TARGET_API_MAC_OS8 := FALSE}
  181. {$setc TARGET_API_MAC_OSX := TRUE}
  182. {$setc TARGET_CARBON := TRUE}
  183. {$setc TARGET_CPU_68K := FALSE}
  184. {$setc TARGET_CPU_MIPS := FALSE}
  185. {$setc TARGET_CPU_SPARC := FALSE}
  186. {$setc TARGET_OS_UNIX := FALSE}
  187. {$setc TARGET_OS_WIN32 := FALSE}
  188. {$setc TARGET_RT_MAC_68881 := FALSE}
  189. {$setc TARGET_RT_MAC_CFM := FALSE}
  190. {$setc TARGET_RT_MAC_MACHO := TRUE}
  191. {$setc TYPED_FUNCTION_POINTERS := TRUE}
  192. {$setc TYPE_BOOL := FALSE}
  193. {$setc TYPE_EXTENDED := FALSE}
  194. {$setc TYPE_LONGLONG := TRUE}
  195. uses MacTypes,Components,Events,ImageCompression,Movies,QuickdrawTypes,Sound;
  196. {$endc} {not MACOSALLINCLUDE}
  197. {$ifc TARGET_OS_MAC}
  198. {$ALIGN MAC68K}
  199. { QuickTime is not available to 64-bit clients }
  200. {$ifc not TARGET_CPU_64}
  201. type
  202. PrePrerollCompleteProcPtr = procedure( mh: MediaHandler; err: OSErr; refcon: UnivPtr );
  203. PrePrerollCompleteUPP = PrePrerollCompleteProcPtr;
  204. { derived media handler capability flags }
  205. const
  206. handlerHasSpatial = 1 shl 0;
  207. handlerCanClip = 1 shl 1;
  208. handlerCanMatte = 1 shl 2;
  209. handlerCanTransferMode = 1 shl 3;
  210. handlerNeedsBuffer = 1 shl 4;
  211. handlerNoIdle = 1 shl 5;
  212. handlerNoScheduler = 1 shl 6;
  213. handlerWantsTime = 1 shl 7;
  214. handlerCGrafPortOnly = 1 shl 8;
  215. handlerCanSend = 1 shl 9;
  216. handlerCanHandleComplexMatrix = 1 shl 10;
  217. handlerWantsDestinationPixels = 1 shl 11;
  218. handlerCanSendImageData = 1 shl 12;
  219. handlerCanPicSave = 1 shl 13;
  220. { media task flags }
  221. const
  222. mMustDraw = 1 shl 3;
  223. mAtEnd = 1 shl 4;
  224. mPreflightDraw = 1 shl 5;
  225. mSyncDrawing = 1 shl 6;
  226. mPrecompositeOnly = 1 shl 9;
  227. mSoundOnly = 1 shl 10;
  228. mDoIdleActionsBeforeDraws = 1 shl 11;
  229. mDisableIdleActions = 1 shl 12;
  230. { media task result flags }
  231. const
  232. mDidDraw = 1 shl 0;
  233. mNeedsToDraw = 1 shl 2;
  234. mDrawAgain = 1 shl 3;
  235. mPartialDraw = 1 shl 4;
  236. mWantIdleActions = 1 shl 5;
  237. const
  238. forceUpdateRedraw = 1 shl 0;
  239. forceUpdateNewBuffer = 1 shl 1;
  240. { media hit test flags }
  241. const
  242. mHitTestBounds = 1 shl 0; { point must only be within targetRefCon's bounding box }
  243. mHitTestImage = 1 shl 1; { point must be within the shape of the targetRefCon's image }
  244. mHitTestInvisible = 1 shl 2; { invisible targetRefCon's may be hit tested }
  245. mHitTestIsClick = 1 shl 3; { for codecs that want mouse events }
  246. { media is opaque flags }
  247. const
  248. mOpaque = 1 shl 0;
  249. mInvisible = 1 shl 1;
  250. { MediaSetPublicInfo/MediaGetPublicInfo selectors }
  251. const
  252. kMediaQTIdleFrequencySelector = FourCharCode('idfq');
  253. type
  254. GetMovieCompleteParamsPtr = ^GetMovieCompleteParams;
  255. GetMovieCompleteParams = record
  256. version: SInt16;
  257. theMovie: Movie;
  258. theTrack: Track;
  259. theMedia: Media;
  260. movieScale: TimeScale;
  261. mediaScale: TimeScale;
  262. movieDuration: TimeValue;
  263. trackDuration: TimeValue;
  264. mediaDuration: TimeValue;
  265. effectiveRate: Fixed;
  266. timeBase: TimeBase_fix;
  267. volume: SInt16;
  268. width: Fixed;
  269. height: Fixed;
  270. trackMovieMatrix: MatrixRecord;
  271. moviePort: CGrafPtr;
  272. movieGD: GDHandle;
  273. trackMatte: PixMapHandle;
  274. inputMap: QTAtomContainer;
  275. mediaContextID: QTMediaContextID;
  276. end;
  277. const
  278. kMediaVideoParamBrightness = 1;
  279. kMediaVideoParamContrast = 2;
  280. kMediaVideoParamHue = 3;
  281. kMediaVideoParamSharpness = 4;
  282. kMediaVideoParamSaturation = 5;
  283. kMediaVideoParamBlackLevel = 6;
  284. kMediaVideoParamWhiteLevel = 7;
  285. { These are for MediaGetInfo() and MediaSetInfo().}
  286. const
  287. kMHInfoEncodedFrameRate = FourCharCode('orat'); { Parameter is a MHInfoEncodedFrameRateRecord*.}
  288. { This holds the frame rate at which the track was encoded.}
  289. type
  290. MHInfoEncodedFrameRateRecordPtr = ^MHInfoEncodedFrameRateRecord;
  291. MHInfoEncodedFrameRateRecord = record
  292. encodedFrameRate: Fixed;
  293. end;
  294. type
  295. dataHandlePtr = ^Handle;
  296. dataHandleHandle = ^dataHandlePtr;
  297. type
  298. QTCustomActionTargetRecordPtr = ^QTCustomActionTargetRecord;
  299. QTCustomActionTargetRecord = record
  300. movie: Movie_fix;
  301. doMCActionCallbackProc: DoMCActionUPP;
  302. callBackRefcon: SIGNEDLONG;
  303. track: Track_fix;
  304. trackObjectRefCon: SIGNEDLONG;
  305. defaultTrack: Track_fix;
  306. defaultObjectRefCon: SIGNEDLONG;
  307. reserved1: SIGNEDLONG;
  308. reserved2: SIGNEDLONG;
  309. end;
  310. type
  311. QTCustomActionTargetPtr = ^QTCustomActionTargetRecord;
  312. MediaEQSpectrumBandsRecord = record
  313. count: SInt16;
  314. frequency: UnsignedFixedPtr; { pointer to array of frequencies}
  315. end;
  316. MediaEQSpectrumBandsRecordPtr = ^MediaEQSpectrumBandsRecord;
  317. {
  318. * CallComponentExecuteWiredAction()
  319. *
  320. * Availability:
  321. * Mac OS X: in version 10.0 and later in QuickTime.framework
  322. * CarbonLib: in CarbonLib 1.0.2 and later
  323. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  324. * Windows: in qtmlClient.lib 4.0 and later
  325. }
  326. function CallComponentExecuteWiredAction( ci: ComponentInstance; actionContainer: QTAtomContainer; actionAtom: QTAtom; target: QTCustomActionTargetPtr; event: QTEventRecordPtr ): ComponentResult; external name '_CallComponentExecuteWiredAction';
  327. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  328. { MediaCallRange2 }
  329. { These are unique to each type of media handler }
  330. { They are also included in the public interfaces }
  331. { Flags for MediaSetChunkManagementFlags}
  332. const
  333. kEmptyPurgableChunksOverAllowance = 1;
  334. {
  335. * MediaSetChunkManagementFlags()
  336. *
  337. * Availability:
  338. * Mac OS X: in version 10.2 and later in QuickTime.framework
  339. * CarbonLib: in CarbonLib 1.6 and later
  340. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  341. * Windows: in qtmlClient.lib 6.0 and later
  342. }
  343. function MediaSetChunkManagementFlags( mh: MediaHandler; flags: UInt32; flagsMask: UInt32 ): ComponentResult; external name '_MediaSetChunkManagementFlags';
  344. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  345. {
  346. * MediaGetChunkManagementFlags()
  347. *
  348. * Availability:
  349. * Mac OS X: in version 10.2 and later in QuickTime.framework
  350. * CarbonLib: in CarbonLib 1.6 and later
  351. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  352. * Windows: in qtmlClient.lib 6.0 and later
  353. }
  354. function MediaGetChunkManagementFlags( mh: MediaHandler; var flags: UInt32 ): ComponentResult; external name '_MediaGetChunkManagementFlags';
  355. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  356. {
  357. * MediaSetPurgeableChunkMemoryAllowance()
  358. *
  359. * Availability:
  360. * Mac OS X: in version 10.2 and later in QuickTime.framework
  361. * CarbonLib: in CarbonLib 1.6 and later
  362. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  363. * Windows: in qtmlClient.lib 6.0 and later
  364. }
  365. function MediaSetPurgeableChunkMemoryAllowance( mh: MediaHandler; allowance: Size ): ComponentResult; external name '_MediaSetPurgeableChunkMemoryAllowance';
  366. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  367. {
  368. * MediaGetPurgeableChunkMemoryAllowance()
  369. *
  370. * Availability:
  371. * Mac OS X: in version 10.2 and later in QuickTime.framework
  372. * CarbonLib: in CarbonLib 1.6 and later
  373. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  374. * Windows: in qtmlClient.lib 6.0 and later
  375. }
  376. function MediaGetPurgeableChunkMemoryAllowance( mh: MediaHandler; var allowance: Size ): ComponentResult; external name '_MediaGetPurgeableChunkMemoryAllowance';
  377. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  378. {
  379. * MediaEmptyAllPurgeableChunks()
  380. *
  381. * Availability:
  382. * Mac OS X: in version 10.2 and later in QuickTime.framework
  383. * CarbonLib: in CarbonLib 1.6 and later
  384. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  385. * Windows: in qtmlClient.lib 6.0 and later
  386. }
  387. function MediaEmptyAllPurgeableChunks( mh: MediaHandler ): ComponentResult; external name '_MediaEmptyAllPurgeableChunks';
  388. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  389. {**** These are the calls for dealing with the Generic media handler ****}
  390. {
  391. * MediaInitialize()
  392. *
  393. * Availability:
  394. * Mac OS X: in version 10.0 and later in QuickTime.framework
  395. * CarbonLib: in CarbonLib 1.0 and later
  396. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  397. * Windows: in qtmlClient.lib 3.0 and later
  398. }
  399. function MediaInitialize( mh: MediaHandler; var gmc: GetMovieCompleteParams ): ComponentResult; external name '_MediaInitialize';
  400. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  401. {
  402. * MediaSetHandlerCapabilities()
  403. *
  404. * Availability:
  405. * Mac OS X: in version 10.0 and later in QuickTime.framework
  406. * CarbonLib: in CarbonLib 1.0 and later
  407. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  408. * Windows: in qtmlClient.lib 3.0 and later
  409. }
  410. function MediaSetHandlerCapabilities( mh: MediaHandler; flags: SIGNEDLONG; flagsMask: SIGNEDLONG ): ComponentResult; external name '_MediaSetHandlerCapabilities';
  411. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  412. {
  413. * MediaIdle()
  414. *
  415. * Availability:
  416. * Mac OS X: in version 10.0 and later in QuickTime.framework
  417. * CarbonLib: in CarbonLib 1.0 and later
  418. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  419. * Windows: in qtmlClient.lib 3.0 and later
  420. }
  421. function MediaIdle( mh: MediaHandler; atMediaTime: TimeValue; flagsIn: SIGNEDLONG; var flagsOut: SIGNEDLONG; const (*var*) movieTime: TimeRecord ): ComponentResult; external name '_MediaIdle';
  422. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  423. {
  424. * MediaGetMediaInfo()
  425. *
  426. * Availability:
  427. * Mac OS X: in version 10.0 and later in QuickTime.framework
  428. * CarbonLib: in CarbonLib 1.0 and later
  429. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  430. * Windows: in qtmlClient.lib 3.0 and later
  431. }
  432. function MediaGetMediaInfo( mh: MediaHandler; h: Handle ): ComponentResult; external name '_MediaGetMediaInfo';
  433. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  434. {
  435. * MediaPutMediaInfo()
  436. *
  437. * Availability:
  438. * Mac OS X: in version 10.0 and later in QuickTime.framework
  439. * CarbonLib: in CarbonLib 1.0 and later
  440. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  441. * Windows: in qtmlClient.lib 3.0 and later
  442. }
  443. function MediaPutMediaInfo( mh: MediaHandler; h: Handle ): ComponentResult; external name '_MediaPutMediaInfo';
  444. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  445. {
  446. * MediaSetActive()
  447. *
  448. * Availability:
  449. * Mac OS X: in version 10.0 and later in QuickTime.framework
  450. * CarbonLib: in CarbonLib 1.0 and later
  451. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  452. * Windows: in qtmlClient.lib 3.0 and later
  453. }
  454. function MediaSetActive( mh: MediaHandler; enableMedia: Boolean ): ComponentResult; external name '_MediaSetActive';
  455. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  456. {
  457. * MediaSetRate()
  458. *
  459. * Availability:
  460. * Mac OS X: in version 10.0 and later in QuickTime.framework
  461. * CarbonLib: in CarbonLib 1.0 and later
  462. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  463. * Windows: in qtmlClient.lib 3.0 and later
  464. }
  465. function MediaSetRate( mh: MediaHandler; rate: Fixed ): ComponentResult; external name '_MediaSetRate';
  466. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  467. {
  468. * MediaGGetStatus()
  469. *
  470. * Availability:
  471. * Mac OS X: in version 10.0 and later in QuickTime.framework
  472. * CarbonLib: in CarbonLib 1.0 and later
  473. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  474. * Windows: in qtmlClient.lib 3.0 and later
  475. }
  476. function MediaGGetStatus( mh: MediaHandler; var statusErr: ComponentResult ): ComponentResult; external name '_MediaGGetStatus';
  477. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  478. {
  479. * MediaTrackEdited()
  480. *
  481. * Availability:
  482. * Mac OS X: in version 10.0 and later in QuickTime.framework
  483. * CarbonLib: in CarbonLib 1.0 and later
  484. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  485. * Windows: in qtmlClient.lib 3.0 and later
  486. }
  487. function MediaTrackEdited( mh: MediaHandler ): ComponentResult; external name '_MediaTrackEdited';
  488. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  489. {
  490. * MediaSetMediaTimeScale()
  491. *
  492. * Availability:
  493. * Mac OS X: in version 10.0 and later in QuickTime.framework
  494. * CarbonLib: in CarbonLib 1.0 and later
  495. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  496. * Windows: in qtmlClient.lib 3.0 and later
  497. }
  498. function MediaSetMediaTimeScale( mh: MediaHandler; newTimeScale: TimeScale ): ComponentResult; external name '_MediaSetMediaTimeScale';
  499. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  500. {
  501. * MediaSetMovieTimeScale()
  502. *
  503. * Availability:
  504. * Mac OS X: in version 10.0 and later in QuickTime.framework
  505. * CarbonLib: in CarbonLib 1.0 and later
  506. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  507. * Windows: in qtmlClient.lib 3.0 and later
  508. }
  509. function MediaSetMovieTimeScale( mh: MediaHandler; newTimeScale: TimeScale ): ComponentResult; external name '_MediaSetMovieTimeScale';
  510. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  511. {
  512. * MediaSetGWorld()
  513. *
  514. * Availability:
  515. * Mac OS X: in version 10.0 and later in QuickTime.framework
  516. * CarbonLib: in CarbonLib 1.0 and later
  517. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  518. * Windows: in qtmlClient.lib 3.0 and later
  519. }
  520. function MediaSetGWorld( mh: MediaHandler; aPort: CGrafPtr; aGD: GDHandle ): ComponentResult; external name '_MediaSetGWorld';
  521. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  522. {
  523. * MediaSetDimensions()
  524. *
  525. * Availability:
  526. * Mac OS X: in version 10.0 and later in QuickTime.framework
  527. * CarbonLib: in CarbonLib 1.0 and later
  528. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  529. * Windows: in qtmlClient.lib 3.0 and later
  530. }
  531. function MediaSetDimensions( mh: MediaHandler; width: Fixed; height: Fixed ): ComponentResult; external name '_MediaSetDimensions';
  532. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  533. {
  534. * MediaSetClip()
  535. *
  536. * Availability:
  537. * Mac OS X: in version 10.0 and later in QuickTime.framework
  538. * CarbonLib: in CarbonLib 1.0 and later
  539. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  540. * Windows: in qtmlClient.lib 3.0 and later
  541. }
  542. function MediaSetClip( mh: MediaHandler; theClip: RgnHandle ): ComponentResult; external name '_MediaSetClip';
  543. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  544. {
  545. * MediaSetMatrix()
  546. *
  547. * Availability:
  548. * Mac OS X: in version 10.0 and later in QuickTime.framework
  549. * CarbonLib: in CarbonLib 1.0 and later
  550. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  551. * Windows: in qtmlClient.lib 3.0 and later
  552. }
  553. function MediaSetMatrix( mh: MediaHandler; var trackMovieMatrix: MatrixRecord ): ComponentResult; external name '_MediaSetMatrix';
  554. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  555. {
  556. * MediaGetTrackOpaque()
  557. *
  558. * Availability:
  559. * Mac OS X: in version 10.0 and later in QuickTime.framework
  560. * CarbonLib: in CarbonLib 1.0 and later
  561. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  562. * Windows: in qtmlClient.lib 3.0 and later
  563. }
  564. function MediaGetTrackOpaque( mh: MediaHandler; var trackIsOpaque: Boolean ): ComponentResult; external name '_MediaGetTrackOpaque';
  565. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  566. {
  567. * MediaSetGraphicsMode()
  568. *
  569. * Availability:
  570. * Mac OS X: in version 10.0 and later in QuickTime.framework
  571. * CarbonLib: in CarbonLib 1.0 and later
  572. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  573. * Windows: in qtmlClient.lib 3.0 and later
  574. }
  575. function MediaSetGraphicsMode( mh: MediaHandler; mode: SIGNEDLONG; const (*var*) opColor: RGBColor ): ComponentResult; external name '_MediaSetGraphicsMode';
  576. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  577. {
  578. * MediaGetGraphicsMode()
  579. *
  580. * Availability:
  581. * Mac OS X: in version 10.0 and later in QuickTime.framework
  582. * CarbonLib: in CarbonLib 1.0 and later
  583. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  584. * Windows: in qtmlClient.lib 3.0 and later
  585. }
  586. function MediaGetGraphicsMode( mh: MediaHandler; var mode: SIGNEDLONG; var opColor: RGBColor ): ComponentResult; external name '_MediaGetGraphicsMode';
  587. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  588. {
  589. * MediaGSetVolume()
  590. *
  591. * Availability:
  592. * Mac OS X: in version 10.0 and later in QuickTime.framework
  593. * CarbonLib: in CarbonLib 1.0 and later
  594. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  595. * Windows: in qtmlClient.lib 3.0 and later
  596. }
  597. function MediaGSetVolume( mh: MediaHandler; volume: SInt16 ): ComponentResult; external name '_MediaGSetVolume';
  598. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  599. {
  600. * MediaSetSoundBalance()
  601. *
  602. * Availability:
  603. * Mac OS X: in version 10.0 and later in QuickTime.framework
  604. * CarbonLib: in CarbonLib 1.0 and later
  605. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  606. * Windows: in qtmlClient.lib 3.0 and later
  607. }
  608. function MediaSetSoundBalance( mh: MediaHandler; balance: SInt16 ): ComponentResult; external name '_MediaSetSoundBalance';
  609. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  610. {
  611. * MediaGetSoundBalance()
  612. *
  613. * Availability:
  614. * Mac OS X: in version 10.0 and later in QuickTime.framework
  615. * CarbonLib: in CarbonLib 1.0 and later
  616. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  617. * Windows: in qtmlClient.lib 3.0 and later
  618. }
  619. function MediaGetSoundBalance( mh: MediaHandler; var balance: SInt16 ): ComponentResult; external name '_MediaGetSoundBalance';
  620. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  621. {
  622. * MediaGetNextBoundsChange()
  623. *
  624. * Availability:
  625. * Mac OS X: in version 10.0 and later in QuickTime.framework
  626. * CarbonLib: in CarbonLib 1.0 and later
  627. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  628. * Windows: in qtmlClient.lib 3.0 and later
  629. }
  630. function MediaGetNextBoundsChange( mh: MediaHandler; var when: TimeValue ): ComponentResult; external name '_MediaGetNextBoundsChange';
  631. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  632. {
  633. * MediaGetSrcRgn()
  634. *
  635. * Availability:
  636. * Mac OS X: in version 10.0 and later in QuickTime.framework
  637. * CarbonLib: in CarbonLib 1.0 and later
  638. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  639. * Windows: in qtmlClient.lib 3.0 and later
  640. }
  641. function MediaGetSrcRgn( mh: MediaHandler; rgn: RgnHandle; atMediaTime: TimeValue ): ComponentResult; external name '_MediaGetSrcRgn';
  642. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  643. {
  644. * MediaPreroll()
  645. *
  646. * Availability:
  647. * Mac OS X: in version 10.0 and later in QuickTime.framework
  648. * CarbonLib: in CarbonLib 1.0 and later
  649. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  650. * Windows: in qtmlClient.lib 3.0 and later
  651. }
  652. function MediaPreroll( mh: MediaHandler; time: TimeValue; rate: Fixed ): ComponentResult; external name '_MediaPreroll';
  653. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  654. {
  655. * MediaSampleDescriptionChanged()
  656. *
  657. * Availability:
  658. * Mac OS X: in version 10.0 and later in QuickTime.framework
  659. * CarbonLib: in CarbonLib 1.0 and later
  660. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  661. * Windows: in qtmlClient.lib 3.0 and later
  662. }
  663. function MediaSampleDescriptionChanged( mh: MediaHandler; index: SIGNEDLONG ): ComponentResult; external name '_MediaSampleDescriptionChanged';
  664. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  665. {
  666. * MediaHasCharacteristic()
  667. *
  668. * Availability:
  669. * Mac OS X: in version 10.0 and later in QuickTime.framework
  670. * CarbonLib: in CarbonLib 1.0 and later
  671. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  672. * Windows: in qtmlClient.lib 3.0 and later
  673. }
  674. function MediaHasCharacteristic( mh: MediaHandler; characteristic: OSType; var hasIt: Boolean ): ComponentResult; external name '_MediaHasCharacteristic';
  675. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  676. {
  677. * MediaGetOffscreenBufferSize()
  678. *
  679. * Availability:
  680. * Mac OS X: in version 10.0 and later in QuickTime.framework
  681. * CarbonLib: in CarbonLib 1.0 and later
  682. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  683. * Windows: in qtmlClient.lib 3.0 and later
  684. }
  685. function MediaGetOffscreenBufferSize( mh: MediaHandler; var bounds: Rect; depth: SInt16; ctab: CTabHandle ): ComponentResult; external name '_MediaGetOffscreenBufferSize';
  686. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  687. {
  688. * MediaSetHints()
  689. *
  690. * Availability:
  691. * Mac OS X: in version 10.0 and later in QuickTime.framework
  692. * CarbonLib: in CarbonLib 1.0 and later
  693. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  694. * Windows: in qtmlClient.lib 3.0 and later
  695. }
  696. function MediaSetHints( mh: MediaHandler; hints: SIGNEDLONG ): ComponentResult; external name '_MediaSetHints';
  697. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  698. {
  699. * MediaGetName()
  700. *
  701. * Availability:
  702. * Mac OS X: in version 10.0 and later in QuickTime.framework
  703. * CarbonLib: in CarbonLib 1.0 and later
  704. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  705. * Windows: in qtmlClient.lib 3.0 and later
  706. }
  707. function MediaGetName( mh: MediaHandler; var name: Str255; requestedLanguage: SIGNEDLONG; var actualLanguage: SIGNEDLONG ): ComponentResult; external name '_MediaGetName';
  708. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  709. {
  710. * MediaForceUpdate()
  711. *
  712. * Availability:
  713. * Mac OS X: in version 10.0 and later in QuickTime.framework
  714. * CarbonLib: in CarbonLib 1.0 and later
  715. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  716. * Windows: in qtmlClient.lib 3.0 and later
  717. }
  718. function MediaForceUpdate( mh: MediaHandler; forceUpdateFlags: SIGNEDLONG ): ComponentResult; external name '_MediaForceUpdate';
  719. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  720. {
  721. * MediaGetDrawingRgn()
  722. *
  723. * Availability:
  724. * Mac OS X: in version 10.0 and later in QuickTime.framework
  725. * CarbonLib: in CarbonLib 1.0 and later
  726. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  727. * Windows: in qtmlClient.lib 3.0 and later
  728. }
  729. function MediaGetDrawingRgn( mh: MediaHandler; var partialRgn: RgnHandle ): ComponentResult; external name '_MediaGetDrawingRgn';
  730. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  731. {
  732. * MediaGSetActiveSegment()
  733. *
  734. * Availability:
  735. * Mac OS X: in version 10.0 and later in QuickTime.framework
  736. * CarbonLib: in CarbonLib 1.0 and later
  737. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  738. * Windows: in qtmlClient.lib 3.0 and later
  739. }
  740. function MediaGSetActiveSegment( mh: MediaHandler; activeStart: TimeValue; activeDuration: TimeValue ): ComponentResult; external name '_MediaGSetActiveSegment';
  741. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  742. {
  743. * MediaInvalidateRegion()
  744. *
  745. * Availability:
  746. * Mac OS X: in version 10.0 and later in QuickTime.framework
  747. * CarbonLib: in CarbonLib 1.0 and later
  748. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  749. * Windows: in qtmlClient.lib 3.0 and later
  750. }
  751. function MediaInvalidateRegion( mh: MediaHandler; invalRgn: RgnHandle ): ComponentResult; external name '_MediaInvalidateRegion';
  752. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  753. {
  754. * MediaGetNextStepTime()
  755. *
  756. * Availability:
  757. * Mac OS X: in version 10.0 and later in QuickTime.framework
  758. * CarbonLib: in CarbonLib 1.0 and later
  759. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  760. * Windows: in qtmlClient.lib 3.0 and later
  761. }
  762. function MediaGetNextStepTime( mh: MediaHandler; flags: SInt16; mediaTimeIn: TimeValue; var mediaTimeOut: TimeValue; rate: Fixed ): ComponentResult; external name '_MediaGetNextStepTime';
  763. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  764. {
  765. * MediaSetNonPrimarySourceData()
  766. *
  767. * Availability:
  768. * Mac OS X: in version 10.0 and later in QuickTime.framework
  769. * CarbonLib: in CarbonLib 1.0 and later
  770. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  771. * Windows: in qtmlClient.lib 3.0 and later
  772. }
  773. function MediaSetNonPrimarySourceData( mh: MediaHandler; inputIndex: SIGNEDLONG; dataDescriptionSeed: SIGNEDLONG; dataDescription: Handle; data: UnivPtr; dataSize: SIGNEDLONG; asyncCompletionProc: ICMCompletionProcRecordPtr; transferProc: ICMConvertDataFormatUPP; refCon: UnivPtr ): ComponentResult; external name '_MediaSetNonPrimarySourceData';
  774. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  775. {
  776. * MediaChangedNonPrimarySource()
  777. *
  778. * Availability:
  779. * Mac OS X: in version 10.0 and later in QuickTime.framework
  780. * CarbonLib: in CarbonLib 1.0 and later
  781. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  782. * Windows: in qtmlClient.lib 3.0 and later
  783. }
  784. function MediaChangedNonPrimarySource( mh: MediaHandler; inputIndex: SIGNEDLONG ): ComponentResult; external name '_MediaChangedNonPrimarySource';
  785. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  786. {
  787. * MediaTrackReferencesChanged()
  788. *
  789. * Availability:
  790. * Mac OS X: in version 10.0 and later in QuickTime.framework
  791. * CarbonLib: in CarbonLib 1.0 and later
  792. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  793. * Windows: in qtmlClient.lib 3.0 and later
  794. }
  795. function MediaTrackReferencesChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTrackReferencesChanged';
  796. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  797. {
  798. * MediaGetSampleDataPointer()
  799. *
  800. * Availability:
  801. * Mac OS X: in version 10.0 and later in QuickTime.framework
  802. * CarbonLib: in CarbonLib 1.0 and later
  803. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  804. * Windows: in qtmlClient.lib 3.0 and later
  805. }
  806. function MediaGetSampleDataPointer( mh: MediaHandler; sampleNum: SIGNEDLONG; var dataPtr: Ptr; var dataSize: SIGNEDLONG; var sampleDescIndex: SIGNEDLONG ): ComponentResult; external name '_MediaGetSampleDataPointer';
  807. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  808. {
  809. * MediaReleaseSampleDataPointer()
  810. *
  811. * Availability:
  812. * Mac OS X: in version 10.0 and later in QuickTime.framework
  813. * CarbonLib: in CarbonLib 1.0 and later
  814. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  815. * Windows: in qtmlClient.lib 3.0 and later
  816. }
  817. function MediaReleaseSampleDataPointer( mh: MediaHandler; sampleNum: SIGNEDLONG ): ComponentResult; external name '_MediaReleaseSampleDataPointer';
  818. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  819. {
  820. * MediaTrackPropertyAtomChanged()
  821. *
  822. * Availability:
  823. * Mac OS X: in version 10.0 and later in QuickTime.framework
  824. * CarbonLib: in CarbonLib 1.0 and later
  825. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  826. * Windows: in qtmlClient.lib 3.0 and later
  827. }
  828. function MediaTrackPropertyAtomChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTrackPropertyAtomChanged';
  829. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  830. {
  831. * MediaSetTrackInputMapReference()
  832. *
  833. * Availability:
  834. * Mac OS X: in version 10.0 and later in QuickTime.framework
  835. * CarbonLib: in CarbonLib 1.0 and later
  836. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  837. * Windows: in qtmlClient.lib 3.0 and later
  838. }
  839. function MediaSetTrackInputMapReference( mh: MediaHandler; inputMap: QTAtomContainer ): ComponentResult; external name '_MediaSetTrackInputMapReference';
  840. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  841. {
  842. * MediaSetVideoParam()
  843. *
  844. * Availability:
  845. * Mac OS X: in version 10.0 and later in QuickTime.framework
  846. * CarbonLib: in CarbonLib 1.0 and later
  847. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  848. * Windows: in qtmlClient.lib 3.0 and later
  849. }
  850. function MediaSetVideoParam( mh: MediaHandler; whichParam: SIGNEDLONG; var value: UInt16 ): ComponentResult; external name '_MediaSetVideoParam';
  851. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  852. {
  853. * MediaGetVideoParam()
  854. *
  855. * Availability:
  856. * Mac OS X: in version 10.0 and later in QuickTime.framework
  857. * CarbonLib: in CarbonLib 1.0 and later
  858. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  859. * Windows: in qtmlClient.lib 3.0 and later
  860. }
  861. function MediaGetVideoParam( mh: MediaHandler; whichParam: SIGNEDLONG; var value: UInt16 ): ComponentResult; external name '_MediaGetVideoParam';
  862. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  863. {
  864. * MediaCompare()
  865. *
  866. * Availability:
  867. * Mac OS X: in version 10.0 and later in QuickTime.framework
  868. * CarbonLib: in CarbonLib 1.0 and later
  869. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  870. * Windows: in qtmlClient.lib 3.0 and later
  871. }
  872. function MediaCompare( mh: MediaHandler; var isOK: Boolean; srcMedia: Media; srcMediaComponent: ComponentInstance ): ComponentResult; external name '_MediaCompare';
  873. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  874. {
  875. * MediaGetClock()
  876. *
  877. * Availability:
  878. * Mac OS X: in version 10.0 and later in QuickTime.framework
  879. * CarbonLib: in CarbonLib 1.0 and later
  880. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  881. * Windows: in qtmlClient.lib 3.0 and later
  882. }
  883. function MediaGetClock( mh: MediaHandler; var clock: ComponentInstance ): ComponentResult; external name '_MediaGetClock';
  884. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  885. {
  886. * MediaSetSoundOutputComponent()
  887. *
  888. * Availability:
  889. * Mac OS X: in version 10.0 and later in QuickTime.framework
  890. * CarbonLib: in CarbonLib 1.0 and later
  891. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  892. * Windows: in qtmlClient.lib 3.0 and later
  893. }
  894. function MediaSetSoundOutputComponent( mh: MediaHandler; outputComponent: Component ): ComponentResult; external name '_MediaSetSoundOutputComponent';
  895. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  896. {
  897. * MediaGetSoundOutputComponent()
  898. *
  899. * Availability:
  900. * Mac OS X: in version 10.0 and later in QuickTime.framework
  901. * CarbonLib: in CarbonLib 1.0 and later
  902. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  903. * Windows: in qtmlClient.lib 3.0 and later
  904. }
  905. function MediaGetSoundOutputComponent( mh: MediaHandler; var outputComponent: Component ): ComponentResult; external name '_MediaGetSoundOutputComponent';
  906. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  907. {
  908. * MediaSetSoundLocalizationData()
  909. *
  910. * Availability:
  911. * Mac OS X: in version 10.0 and later in QuickTime.framework
  912. * CarbonLib: in CarbonLib 1.0 and later
  913. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  914. * Windows: in qtmlClient.lib 3.0 and later
  915. }
  916. function MediaSetSoundLocalizationData( mh: MediaHandler; data: Handle ): ComponentResult; external name '_MediaSetSoundLocalizationData';
  917. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  918. {
  919. * MediaGetInvalidRegion()
  920. *
  921. * Availability:
  922. * Mac OS X: in version 10.0 and later in QuickTime.framework
  923. * CarbonLib: in CarbonLib 1.0 and later
  924. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  925. * Windows: in qtmlClient.lib 3.0 and later
  926. }
  927. function MediaGetInvalidRegion( mh: MediaHandler; rgn: RgnHandle ): ComponentResult; external name '_MediaGetInvalidRegion';
  928. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  929. {
  930. * MediaSampleDescriptionB2N()
  931. *
  932. * Availability:
  933. * Mac OS X: in version 10.0 and later in QuickTime.framework
  934. * CarbonLib: in CarbonLib 1.1 and later
  935. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  936. * Windows: in qtmlClient.lib 3.0 and later
  937. }
  938. function MediaSampleDescriptionB2N( mh: MediaHandler; sampleDescriptionH: SampleDescriptionHandle ): ComponentResult; external name '_MediaSampleDescriptionB2N';
  939. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  940. {
  941. * MediaSampleDescriptionN2B()
  942. *
  943. * Availability:
  944. * Mac OS X: in version 10.0 and later in QuickTime.framework
  945. * CarbonLib: in CarbonLib 1.1 and later
  946. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  947. * Windows: in qtmlClient.lib 3.0 and later
  948. }
  949. function MediaSampleDescriptionN2B( mh: MediaHandler; sampleDescriptionH: SampleDescriptionHandle ): ComponentResult; external name '_MediaSampleDescriptionN2B';
  950. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  951. {
  952. * MediaQueueNonPrimarySourceData()
  953. *
  954. * Availability:
  955. * Mac OS X: in version 10.0 and later in QuickTime.framework
  956. * CarbonLib: in CarbonLib 1.0 and later
  957. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  958. * Windows: in qtmlClient.lib 3.0 and later
  959. }
  960. 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';
  961. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  962. {
  963. * MediaFlushNonPrimarySourceData()
  964. *
  965. * Availability:
  966. * Mac OS X: in version 10.0 and later in QuickTime.framework
  967. * CarbonLib: in CarbonLib 1.0 and later
  968. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  969. * Windows: in qtmlClient.lib 3.0 and later
  970. }
  971. function MediaFlushNonPrimarySourceData( mh: MediaHandler; inputIndex: SIGNEDLONG ): ComponentResult; external name '_MediaFlushNonPrimarySourceData';
  972. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  973. {
  974. * MediaGetURLLink()
  975. *
  976. * Availability:
  977. * Mac OS X: in version 10.0 and later in QuickTime.framework
  978. * CarbonLib: in CarbonLib 1.0 and later
  979. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  980. * Windows: in qtmlClient.lib 3.0 and later
  981. }
  982. function MediaGetURLLink( mh: MediaHandler; displayWhere: Point; var urlLink: Handle ): ComponentResult; external name '_MediaGetURLLink';
  983. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  984. {
  985. * MediaMakeMediaTimeTable()
  986. *
  987. * Availability:
  988. * Mac OS X: in version 10.0 and later in QuickTime.framework
  989. * CarbonLib: in CarbonLib 1.0 and later
  990. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  991. * Windows: in qtmlClient.lib 3.0 and later
  992. }
  993. function MediaMakeMediaTimeTable( mh: MediaHandler; var offsets: SIGNEDLONGPtr; startTime: TimeValue; endTime: TimeValue; timeIncrement: TimeValue; firstDataRefIndex: SInt16; lastDataRefIndex: SInt16; var retDataRefSkew: SIGNEDLONG ): ComponentResult; external name '_MediaMakeMediaTimeTable';
  994. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  995. {
  996. * MediaHitTestForTargetRefCon()
  997. *
  998. * Availability:
  999. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1000. * CarbonLib: in CarbonLib 1.0 and later
  1001. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1002. * Windows: in qtmlClient.lib 3.0 and later
  1003. }
  1004. function MediaHitTestForTargetRefCon( mh: MediaHandler; flags: SIGNEDLONG; loc: Point; var targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaHitTestForTargetRefCon';
  1005. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1006. {
  1007. * MediaHitTestTargetRefCon()
  1008. *
  1009. * Availability:
  1010. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1011. * CarbonLib: in CarbonLib 1.0 and later
  1012. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1013. * Windows: in qtmlClient.lib 3.0 and later
  1014. }
  1015. function MediaHitTestTargetRefCon( mh: MediaHandler; targetRefCon: SIGNEDLONG; flags: SIGNEDLONG; loc: Point; var wasHit: Boolean ): ComponentResult; external name '_MediaHitTestTargetRefCon';
  1016. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1017. {
  1018. * MediaGetActionsForQTEvent()
  1019. *
  1020. * Availability:
  1021. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1022. * CarbonLib: in CarbonLib 1.0 and later
  1023. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1024. * Windows: in qtmlClient.lib 3.0 and later
  1025. }
  1026. function MediaGetActionsForQTEvent( mh: MediaHandler; event: QTEventRecordPtr; targetRefCon: SIGNEDLONG; var container: QTAtomContainer; var atom: QTAtom ): ComponentResult; external name '_MediaGetActionsForQTEvent';
  1027. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1028. {
  1029. * MediaDisposeTargetRefCon()
  1030. *
  1031. * Availability:
  1032. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1033. * CarbonLib: in CarbonLib 1.0 and later
  1034. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1035. * Windows: in qtmlClient.lib 3.0 and later
  1036. }
  1037. function MediaDisposeTargetRefCon( mh: MediaHandler; targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaDisposeTargetRefCon';
  1038. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1039. {
  1040. * MediaTargetRefConsEqual()
  1041. *
  1042. * Availability:
  1043. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1044. * CarbonLib: in CarbonLib 1.0 and later
  1045. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1046. * Windows: in qtmlClient.lib 3.0 and later
  1047. }
  1048. function MediaTargetRefConsEqual( mh: MediaHandler; firstRefCon: SIGNEDLONG; secondRefCon: SIGNEDLONG; var equal: Boolean ): ComponentResult; external name '_MediaTargetRefConsEqual';
  1049. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1050. {
  1051. * MediaSetActionsCallback()
  1052. *
  1053. * Availability:
  1054. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1055. * CarbonLib: in CarbonLib 1.0 and later
  1056. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1057. * Windows: in qtmlClient.lib 3.0 and later
  1058. }
  1059. function MediaSetActionsCallback( mh: MediaHandler; actionsCallbackProc: ActionsUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaSetActionsCallback';
  1060. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1061. {
  1062. * MediaPrePrerollBegin()
  1063. *
  1064. * Availability:
  1065. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1066. * CarbonLib: in CarbonLib 1.0 and later
  1067. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1068. * Windows: in qtmlClient.lib 3.0 and later
  1069. }
  1070. function MediaPrePrerollBegin( mh: MediaHandler; time: TimeValue; rate: Fixed; completeProc: PrePrerollCompleteUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaPrePrerollBegin';
  1071. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1072. {
  1073. * MediaPrePrerollCancel()
  1074. *
  1075. * Availability:
  1076. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1077. * CarbonLib: in CarbonLib 1.0 and later
  1078. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1079. * Windows: in qtmlClient.lib 3.0 and later
  1080. }
  1081. function MediaPrePrerollCancel( mh: MediaHandler; refcon: UnivPtr ): ComponentResult; external name '_MediaPrePrerollCancel';
  1082. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1083. {
  1084. * MediaEnterEmptyEdit()
  1085. *
  1086. * Availability:
  1087. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1088. * CarbonLib: in CarbonLib 1.0 and later
  1089. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1090. * Windows: in qtmlClient.lib 3.0 and later
  1091. }
  1092. function MediaEnterEmptyEdit( mh: MediaHandler ): ComponentResult; external name '_MediaEnterEmptyEdit';
  1093. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1094. {
  1095. * MediaCurrentMediaQueuedData()
  1096. *
  1097. * Availability:
  1098. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1099. * CarbonLib: in CarbonLib 1.0.2 and later
  1100. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1101. * Windows: in qtmlClient.lib 3.0 and later
  1102. }
  1103. function MediaCurrentMediaQueuedData( mh: MediaHandler; var milliSecs: SIGNEDLONG ): ComponentResult; external name '_MediaCurrentMediaQueuedData';
  1104. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1105. {
  1106. * MediaGetEffectiveVolume()
  1107. *
  1108. * Availability:
  1109. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1110. * CarbonLib: in CarbonLib 1.0.2 and later
  1111. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1112. * Windows: in qtmlClient.lib 4.0 and later
  1113. }
  1114. function MediaGetEffectiveVolume( mh: MediaHandler; var volume: SInt16 ): ComponentResult; external name '_MediaGetEffectiveVolume';
  1115. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1116. {
  1117. * MediaResolveTargetRefCon()
  1118. *
  1119. * Availability:
  1120. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1121. * CarbonLib: in CarbonLib 1.0.2 and later
  1122. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1123. * Windows: in qtmlClient.lib 4.0 and later
  1124. }
  1125. function MediaResolveTargetRefCon( mh: MediaHandler; container: QTAtomContainer; atom: QTAtom; var targetRefCon: SIGNEDLONG ): ComponentResult; external name '_MediaResolveTargetRefCon';
  1126. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1127. {
  1128. * MediaGetSoundLevelMeteringEnabled()
  1129. *
  1130. * Availability:
  1131. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1132. * CarbonLib: in CarbonLib 1.0.2 and later
  1133. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1134. * Windows: in qtmlClient.lib 4.0 and later
  1135. }
  1136. function MediaGetSoundLevelMeteringEnabled( mh: MediaHandler; var enabled: Boolean ): ComponentResult; external name '_MediaGetSoundLevelMeteringEnabled';
  1137. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1138. {
  1139. * MediaSetSoundLevelMeteringEnabled()
  1140. *
  1141. * Availability:
  1142. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1143. * CarbonLib: in CarbonLib 1.0.2 and later
  1144. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1145. * Windows: in qtmlClient.lib 4.0 and later
  1146. }
  1147. function MediaSetSoundLevelMeteringEnabled( mh: MediaHandler; enable: Boolean ): ComponentResult; external name '_MediaSetSoundLevelMeteringEnabled';
  1148. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1149. {
  1150. * MediaGetSoundLevelMeterInfo()
  1151. *
  1152. * Availability:
  1153. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1154. * CarbonLib: in CarbonLib 1.0.2 and later
  1155. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1156. * Windows: in qtmlClient.lib 4.0 and later
  1157. }
  1158. function MediaGetSoundLevelMeterInfo( mh: MediaHandler; levelInfo: LevelMeterInfoPtr ): ComponentResult; external name '_MediaGetSoundLevelMeterInfo';
  1159. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1160. {
  1161. * MediaGetEffectiveSoundBalance()
  1162. *
  1163. * Availability:
  1164. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1165. * CarbonLib: in CarbonLib 1.0.2 and later
  1166. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1167. * Windows: in qtmlClient.lib 4.0 and later
  1168. }
  1169. function MediaGetEffectiveSoundBalance( mh: MediaHandler; var balance: SInt16 ): ComponentResult; external name '_MediaGetEffectiveSoundBalance';
  1170. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1171. {
  1172. * MediaSetScreenLock()
  1173. *
  1174. * Availability:
  1175. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1176. * CarbonLib: in CarbonLib 1.0.2 and later
  1177. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1178. * Windows: in qtmlClient.lib 4.0 and later
  1179. }
  1180. function MediaSetScreenLock( mh: MediaHandler; lockIt: Boolean ): ComponentResult; external name '_MediaSetScreenLock';
  1181. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1182. {
  1183. * MediaSetDoMCActionCallback()
  1184. *
  1185. * Availability:
  1186. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1187. * CarbonLib: in CarbonLib 1.0.2 and later
  1188. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1189. * Windows: in qtmlClient.lib 4.0 and later
  1190. }
  1191. function MediaSetDoMCActionCallback( mh: MediaHandler; doMCActionCallbackProc: DoMCActionUPP; refcon: UnivPtr ): ComponentResult; external name '_MediaSetDoMCActionCallback';
  1192. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1193. {
  1194. * MediaGetErrorString()
  1195. *
  1196. * Availability:
  1197. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1198. * CarbonLib: in CarbonLib 1.0.2 and later
  1199. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1200. * Windows: in qtmlClient.lib 4.0 and later
  1201. }
  1202. function MediaGetErrorString( mh: MediaHandler; theError: ComponentResult; var errorString: Str255 ): ComponentResult; external name '_MediaGetErrorString';
  1203. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1204. {
  1205. * MediaGetSoundEqualizerBands()
  1206. *
  1207. * Availability:
  1208. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1209. * CarbonLib: in CarbonLib 1.0.2 and later
  1210. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1211. * Windows: in qtmlClient.lib 4.0 and later
  1212. }
  1213. function MediaGetSoundEqualizerBands( mh: MediaHandler; spectrumInfo: MediaEQSpectrumBandsRecordPtr ): ComponentResult; external name '_MediaGetSoundEqualizerBands';
  1214. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1215. {
  1216. * MediaSetSoundEqualizerBands()
  1217. *
  1218. * Availability:
  1219. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1220. * CarbonLib: in CarbonLib 1.0.2 and later
  1221. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1222. * Windows: in qtmlClient.lib 4.0 and later
  1223. }
  1224. function MediaSetSoundEqualizerBands( mh: MediaHandler; spectrumInfo: MediaEQSpectrumBandsRecordPtr ): ComponentResult; external name '_MediaSetSoundEqualizerBands';
  1225. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1226. {
  1227. * MediaGetSoundEqualizerBandLevels()
  1228. *
  1229. * Availability:
  1230. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1231. * CarbonLib: in CarbonLib 1.0.2 and later
  1232. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1233. * Windows: in qtmlClient.lib 4.0 and later
  1234. }
  1235. function MediaGetSoundEqualizerBandLevels( mh: MediaHandler; var bandLevels: UInt8 ): ComponentResult; external name '_MediaGetSoundEqualizerBandLevels';
  1236. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1237. {
  1238. * MediaDoIdleActions()
  1239. *
  1240. * Availability:
  1241. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1242. * CarbonLib: in CarbonLib 1.0.2 and later
  1243. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1244. * Windows: in qtmlClient.lib 4.0 and later
  1245. }
  1246. function MediaDoIdleActions( mh: MediaHandler ): ComponentResult; external name '_MediaDoIdleActions';
  1247. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1248. {
  1249. * MediaSetSoundBassAndTreble()
  1250. *
  1251. * Availability:
  1252. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1253. * CarbonLib: in CarbonLib 1.0.2 and later
  1254. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1255. * Windows: in qtmlClient.lib 4.0 and later
  1256. }
  1257. function MediaSetSoundBassAndTreble( mh: MediaHandler; bass: SInt16; treble: SInt16 ): ComponentResult; external name '_MediaSetSoundBassAndTreble';
  1258. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1259. {
  1260. * MediaGetSoundBassAndTreble()
  1261. *
  1262. * Availability:
  1263. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1264. * CarbonLib: in CarbonLib 1.0.2 and later
  1265. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1266. * Windows: in qtmlClient.lib 4.0 and later
  1267. }
  1268. function MediaGetSoundBassAndTreble( mh: MediaHandler; var bass: SInt16; var treble: SInt16 ): ComponentResult; external name '_MediaGetSoundBassAndTreble';
  1269. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1270. {
  1271. * MediaTimeBaseChanged()
  1272. *
  1273. * Availability:
  1274. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1275. * CarbonLib: in CarbonLib 1.0.2 and later
  1276. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1277. * Windows: in qtmlClient.lib 4.0 and later
  1278. }
  1279. function MediaTimeBaseChanged( mh: MediaHandler ): ComponentResult; external name '_MediaTimeBaseChanged';
  1280. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1281. {
  1282. * MediaMCIsPlayerEvent()
  1283. *
  1284. * Availability:
  1285. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1286. * CarbonLib: in CarbonLib 1.1 and later
  1287. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  1288. * Windows: in qtmlClient.lib 4.1 and later
  1289. }
  1290. function MediaMCIsPlayerEvent( mh: MediaHandler; const (*var*) e: EventRecord; var handledIt: Boolean ): ComponentResult; external name '_MediaMCIsPlayerEvent';
  1291. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1292. {
  1293. * MediaGetMediaLoadState()
  1294. *
  1295. * Availability:
  1296. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1297. * CarbonLib: in CarbonLib 1.1 and later
  1298. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  1299. * Windows: in qtmlClient.lib 4.1 and later
  1300. }
  1301. function MediaGetMediaLoadState( mh: MediaHandler; var mediaLoadState: SIGNEDLONG ): ComponentResult; external name '_MediaGetMediaLoadState';
  1302. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1303. {
  1304. * MediaVideoOutputChanged()
  1305. *
  1306. * Availability:
  1307. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1308. * CarbonLib: in CarbonLib 1.3 and later
  1309. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1310. * Windows: in qtmlClient.lib 5.0 and later
  1311. }
  1312. function MediaVideoOutputChanged( mh: MediaHandler; vout: ComponentInstance ): ComponentResult; external name '_MediaVideoOutputChanged';
  1313. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1314. {
  1315. * MediaEmptySampleCache()
  1316. *
  1317. * Availability:
  1318. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1319. * CarbonLib: in CarbonLib 1.3 and later
  1320. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1321. * Windows: in qtmlClient.lib 5.0 and later
  1322. }
  1323. function MediaEmptySampleCache( mh: MediaHandler; sampleNum: SIGNEDLONG; sampleCount: SIGNEDLONG ): ComponentResult; external name '_MediaEmptySampleCache';
  1324. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1325. {
  1326. * MediaGetPublicInfo()
  1327. *
  1328. * Availability:
  1329. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1330. * CarbonLib: in CarbonLib 1.3 and later
  1331. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1332. * Windows: in qtmlClient.lib 5.0 and later
  1333. }
  1334. function MediaGetPublicInfo( mh: MediaHandler; infoSelector: OSType; infoDataPtr: UnivPtr; var ioDataSize: Size ): ComponentResult; external name '_MediaGetPublicInfo';
  1335. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1336. {
  1337. * MediaSetPublicInfo()
  1338. *
  1339. * Availability:
  1340. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1341. * CarbonLib: in CarbonLib 1.3 and later
  1342. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1343. * Windows: in qtmlClient.lib 5.0 and later
  1344. }
  1345. function MediaSetPublicInfo( mh: MediaHandler; infoSelector: OSType; infoDataPtr: UnivPtr; dataSize: Size ): ComponentResult; external name '_MediaSetPublicInfo';
  1346. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1347. {
  1348. * MediaGetUserPreferredCodecs()
  1349. *
  1350. * Availability:
  1351. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1352. * CarbonLib: in CarbonLib 1.3 and later
  1353. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1354. * Windows: in qtmlClient.lib 5.0 and later
  1355. }
  1356. function MediaGetUserPreferredCodecs( mh: MediaHandler; var userPreferredCodecs: CodecComponentHandle ): ComponentResult; external name '_MediaGetUserPreferredCodecs';
  1357. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1358. {
  1359. * MediaSetUserPreferredCodecs()
  1360. *
  1361. * Availability:
  1362. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1363. * CarbonLib: in CarbonLib 1.3 and later
  1364. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1365. * Windows: in qtmlClient.lib 5.0 and later
  1366. }
  1367. function MediaSetUserPreferredCodecs( mh: MediaHandler; userPreferredCodecs: CodecComponentHandle ): ComponentResult; external name '_MediaSetUserPreferredCodecs';
  1368. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1369. { Keyboard Focus Support}
  1370. {
  1371. * MediaRefConSetProperty()
  1372. *
  1373. * Availability:
  1374. * Mac OS X: in version 10.2 and later in QuickTime.framework
  1375. * CarbonLib: in CarbonLib 1.6 and later
  1376. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1377. * Windows: in qtmlClient.lib 6.0 and later
  1378. }
  1379. function MediaRefConSetProperty( mh: MediaHandler; refCon: SIGNEDLONG; propertyType: SIGNEDLONG; propertyValue: UnivPtr ): ComponentResult; external name '_MediaRefConSetProperty';
  1380. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  1381. {
  1382. * MediaRefConGetProperty()
  1383. *
  1384. * Availability:
  1385. * Mac OS X: in version 10.2 and later in QuickTime.framework
  1386. * CarbonLib: in CarbonLib 1.6 and later
  1387. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1388. * Windows: in qtmlClient.lib 6.0 and later
  1389. }
  1390. function MediaRefConGetProperty( mh: MediaHandler; refCon: SIGNEDLONG; propertyType: SIGNEDLONG; propertyValue: UnivPtr ): ComponentResult; external name '_MediaRefConGetProperty';
  1391. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  1392. {
  1393. * MediaNavigateTargetRefCon()
  1394. *
  1395. * Availability:
  1396. * Mac OS X: in version 10.2 and later in QuickTime.framework
  1397. * CarbonLib: in CarbonLib 1.6 and later
  1398. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1399. * Windows: in qtmlClient.lib 6.0 and later
  1400. }
  1401. function MediaNavigateTargetRefCon( mh: MediaHandler; navigation: SIGNEDLONG; var refCon: SIGNEDLONG ): ComponentResult; external name '_MediaNavigateTargetRefCon';
  1402. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  1403. {
  1404. * MediaGGetIdleManager()
  1405. *
  1406. * Availability:
  1407. * Mac OS X: in version 10.2 and later in QuickTime.framework
  1408. * CarbonLib: in CarbonLib 1.6 and later
  1409. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1410. * Windows: in qtmlClient.lib 6.0 and later
  1411. }
  1412. function MediaGGetIdleManager( mh: MediaHandler; var pim: IdleManager ): ComponentResult; external name '_MediaGGetIdleManager';
  1413. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  1414. {
  1415. * MediaGSetIdleManager()
  1416. *
  1417. * Availability:
  1418. * Mac OS X: in version 10.2 and later in QuickTime.framework
  1419. * CarbonLib: in CarbonLib 1.6 and later
  1420. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1421. * Windows: in qtmlClient.lib 6.0 and later
  1422. }
  1423. function MediaGSetIdleManager( mh: MediaHandler; im: IdleManager ): ComponentResult; external name '_MediaGSetIdleManager';
  1424. (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
  1425. {
  1426. * MediaGGetLatency()
  1427. *
  1428. * Availability:
  1429. * Mac OS X: in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
  1430. * CarbonLib: not available
  1431. * Non-Carbon CFM: not available
  1432. * Windows: in qtmlClient.lib 6.5 and later
  1433. }
  1434. function MediaGGetLatency( mh: MediaHandler; var latency: TimeRecord ): ComponentResult; external name '_MediaGGetLatency';
  1435. (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
  1436. { Aperture Mode Support}
  1437. {
  1438. * MediaSetTrackApertureModeDimensionsUsingSampleDescription()
  1439. *
  1440. * Summary:
  1441. * Sets the three aperture mode dimension properties on the track,
  1442. * calculating the values using the provided sample description.
  1443. *
  1444. * Parameters:
  1445. *
  1446. * mh:
  1447. * [in] The media handler.
  1448. *
  1449. * sampleDesc:
  1450. * [in] The sample description handle.
  1451. *
  1452. * Availability:
  1453. * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
  1454. * CarbonLib: not available
  1455. * Non-Carbon CFM: not available
  1456. }
  1457. function MediaSetTrackApertureModeDimensionsUsingSampleDescription( mh: MediaHandler; sampleDesc: SampleDescriptionHandle ): ComponentResult; external name '_MediaSetTrackApertureModeDimensionsUsingSampleDescription';
  1458. (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
  1459. {
  1460. * MediaGetApertureModeClipRectForSampleDescriptionIndex()
  1461. *
  1462. * Summary:
  1463. * Calculates a source clip rectangle appropriate for the current
  1464. * aperture mode and the given sample description.
  1465. *
  1466. * Discussion:
  1467. * If the track's aperture mode is kQTApertureMode_CleanAperture,
  1468. * the rectangle should be the clean aperture as described by the
  1469. * sample description (see
  1470. * kICMImageDescriptionPropertyID_CleanApertureClipRect); otherwise
  1471. * it should be the full dimensions of the sample description.
  1472. *
  1473. * Parameters:
  1474. *
  1475. * mh:
  1476. * [in] The media handler.
  1477. *
  1478. * sampleDescIndex:
  1479. * [in] Indicates the sample description index of sample
  1480. * description in the media
  1481. *
  1482. * clipFixedRectOut:
  1483. * [out] Points to a variable to receive the clip rectangle.
  1484. *
  1485. * Availability:
  1486. * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
  1487. * CarbonLib: not available
  1488. * Non-Carbon CFM: not available
  1489. }
  1490. function MediaGetApertureModeClipRectForSampleDescriptionIndex( mh: MediaHandler; sampleDescIndex: SIGNEDLONG; var clipFixedRectOut: FixedRect ): ComponentResult; external name '_MediaGetApertureModeClipRectForSampleDescriptionIndex';
  1491. (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
  1492. {
  1493. * MediaGetApertureModeMatrixForSampleDescriptionIndex()
  1494. *
  1495. * Summary:
  1496. * Calculates a matrix appropriate for the current aperture mode and
  1497. * the given sample description.
  1498. *
  1499. * Discussion:
  1500. * If the track's aperture mode is kQTApertureMode_CleanAperture or
  1501. * kQTApertureMode_ProductionAperture, the matrix should scale
  1502. * horizontally to compensate for the pixel aspect ratio. Otherwise
  1503. * the matrix should be identity. If the track's aperture mode is
  1504. * kQTApertureMode_CleanAperture, the matrix should translate the
  1505. * top-left point of the clean aperture to the origin. (See
  1506. * kICMImageDescriptionPropertyID_CleanApertureMatrix and
  1507. * kICMImageDescriptionPropertyID_ProductionApertureMatrix.)
  1508. *
  1509. * Parameters:
  1510. *
  1511. * mh:
  1512. * [in] The media handler.
  1513. *
  1514. * sampleDescIndex:
  1515. * [in] Indicates the sample description index of sample
  1516. * description in the media
  1517. *
  1518. * matrixOut:
  1519. * [out] Points to a variable to receive the matrix.
  1520. *
  1521. * Availability:
  1522. * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
  1523. * CarbonLib: not available
  1524. * Non-Carbon CFM: not available
  1525. }
  1526. function MediaGetApertureModeMatrixForSampleDescriptionIndex( mh: MediaHandler; sampleDescIndex: SIGNEDLONG; var matrixOut: MatrixRecord ): ComponentResult; external name '_MediaGetApertureModeMatrixForSampleDescriptionIndex';
  1527. (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
  1528. {
  1529. * MediaGenerateApertureModeDimensions()
  1530. *
  1531. * Summary:
  1532. * Examines a movie and sets up track aperture mode dimensions.
  1533. *
  1534. * Discussion:
  1535. * If the sample descriptions tracks lack tags describing clean
  1536. * aperture and pixel aspect ratio information, the media data may
  1537. * be scanned to see if the correct values can be divined and
  1538. * attached. Then the aperture mode dimensions should be calculated
  1539. * and set, as by
  1540. * MediaSetTrackApertureModeDimensionsUsingSampleDescription.
  1541. *
  1542. * Parameters:
  1543. *
  1544. * mh:
  1545. * [in] The media handler.
  1546. *
  1547. * Availability:
  1548. * Mac OS X: in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
  1549. * CarbonLib: not available
  1550. * Non-Carbon CFM: not available
  1551. }
  1552. function MediaGenerateApertureModeDimensions( mh: MediaHandler ): ComponentResult; external name '_MediaGenerateApertureModeDimensions';
  1553. (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
  1554. { selectors for component calls }
  1555. const
  1556. kCallComponentExecuteWiredActionSelect = -9;
  1557. kMediaSetChunkManagementFlagsSelect = $0415;
  1558. kMediaGetChunkManagementFlagsSelect = $0416;
  1559. kMediaSetPurgeableChunkMemoryAllowanceSelect = $0417;
  1560. kMediaGetPurgeableChunkMemoryAllowanceSelect = $0418;
  1561. kMediaEmptyAllPurgeableChunksSelect = $0419;
  1562. kMediaInitializeSelect = $0501;
  1563. kMediaSetHandlerCapabilitiesSelect = $0502;
  1564. kMediaIdleSelect = $0503;
  1565. kMediaGetMediaInfoSelect = $0504;
  1566. kMediaPutMediaInfoSelect = $0505;
  1567. kMediaSetActiveSelect = $0506;
  1568. kMediaSetRateSelect = $0507;
  1569. kMediaGGetStatusSelect = $0508;
  1570. kMediaTrackEditedSelect = $0509;
  1571. kMediaSetMediaTimeScaleSelect = $050A;
  1572. kMediaSetMovieTimeScaleSelect = $050B;
  1573. kMediaSetGWorldSelect = $050C;
  1574. kMediaSetDimensionsSelect = $050D;
  1575. kMediaSetClipSelect = $050E;
  1576. kMediaSetMatrixSelect = $050F;
  1577. kMediaGetTrackOpaqueSelect = $0510;
  1578. kMediaSetGraphicsModeSelect = $0511;
  1579. kMediaGetGraphicsModeSelect = $0512;
  1580. kMediaGSetVolumeSelect = $0513;
  1581. kMediaSetSoundBalanceSelect = $0514;
  1582. kMediaGetSoundBalanceSelect = $0515;
  1583. kMediaGetNextBoundsChangeSelect = $0516;
  1584. kMediaGetSrcRgnSelect = $0517;
  1585. kMediaPrerollSelect = $0518;
  1586. kMediaSampleDescriptionChangedSelect = $0519;
  1587. kMediaHasCharacteristicSelect = $051A;
  1588. kMediaGetOffscreenBufferSizeSelect = $051B;
  1589. kMediaSetHintsSelect = $051C;
  1590. kMediaGetNameSelect = $051D;
  1591. kMediaForceUpdateSelect = $051E;
  1592. kMediaGetDrawingRgnSelect = $051F;
  1593. kMediaGSetActiveSegmentSelect = $0520;
  1594. kMediaInvalidateRegionSelect = $0521;
  1595. kMediaGetNextStepTimeSelect = $0522;
  1596. kMediaSetNonPrimarySourceDataSelect = $0523;
  1597. kMediaChangedNonPrimarySourceSelect = $0524;
  1598. kMediaTrackReferencesChangedSelect = $0525;
  1599. kMediaGetSampleDataPointerSelect = $0526;
  1600. kMediaReleaseSampleDataPointerSelect = $0527;
  1601. kMediaTrackPropertyAtomChangedSelect = $0528;
  1602. kMediaSetTrackInputMapReferenceSelect = $0529;
  1603. kMediaSetVideoParamSelect = $052B;
  1604. kMediaGetVideoParamSelect = $052C;
  1605. kMediaCompareSelect = $052D;
  1606. kMediaGetClockSelect = $052E;
  1607. kMediaSetSoundOutputComponentSelect = $052F;
  1608. kMediaGetSoundOutputComponentSelect = $0530;
  1609. kMediaSetSoundLocalizationDataSelect = $0531;
  1610. kMediaGetInvalidRegionSelect = $053C;
  1611. kMediaSampleDescriptionB2NSelect = $053E;
  1612. kMediaSampleDescriptionN2BSelect = $053F;
  1613. kMediaQueueNonPrimarySourceDataSelect = $0540;
  1614. kMediaFlushNonPrimarySourceDataSelect = $0541;
  1615. kMediaGetURLLinkSelect = $0543;
  1616. kMediaMakeMediaTimeTableSelect = $0545;
  1617. kMediaHitTestForTargetRefConSelect = $0546;
  1618. kMediaHitTestTargetRefConSelect = $0547;
  1619. kMediaGetActionsForQTEventSelect = $0548;
  1620. kMediaDisposeTargetRefConSelect = $0549;
  1621. kMediaTargetRefConsEqualSelect = $054A;
  1622. kMediaSetActionsCallbackSelect = $054B;
  1623. kMediaPrePrerollBeginSelect = $054C;
  1624. kMediaPrePrerollCancelSelect = $054D;
  1625. kMediaEnterEmptyEditSelect = $054F;
  1626. kMediaCurrentMediaQueuedDataSelect = $0550;
  1627. kMediaGetEffectiveVolumeSelect = $0551;
  1628. kMediaResolveTargetRefConSelect = $0552;
  1629. kMediaGetSoundLevelMeteringEnabledSelect = $0553;
  1630. kMediaSetSoundLevelMeteringEnabledSelect = $0554;
  1631. kMediaGetSoundLevelMeterInfoSelect = $0555;
  1632. kMediaGetEffectiveSoundBalanceSelect = $0556;
  1633. kMediaSetScreenLockSelect = $0557;
  1634. kMediaSetDoMCActionCallbackSelect = $0558;
  1635. kMediaGetErrorStringSelect = $0559;
  1636. kMediaGetSoundEqualizerBandsSelect = $055A;
  1637. kMediaSetSoundEqualizerBandsSelect = $055B;
  1638. kMediaGetSoundEqualizerBandLevelsSelect = $055C;
  1639. kMediaDoIdleActionsSelect = $055D;
  1640. kMediaSetSoundBassAndTrebleSelect = $055E;
  1641. kMediaGetSoundBassAndTrebleSelect = $055F;
  1642. kMediaTimeBaseChangedSelect = $0560;
  1643. kMediaMCIsPlayerEventSelect = $0561;
  1644. kMediaGetMediaLoadStateSelect = $0562;
  1645. kMediaVideoOutputChangedSelect = $0563;
  1646. kMediaEmptySampleCacheSelect = $0564;
  1647. kMediaGetPublicInfoSelect = $0565;
  1648. kMediaSetPublicInfoSelect = $0566;
  1649. kMediaGetUserPreferredCodecsSelect = $0567;
  1650. kMediaSetUserPreferredCodecsSelect = $0568;
  1651. kMediaRefConSetPropertySelect = $0569;
  1652. kMediaRefConGetPropertySelect = $056A;
  1653. kMediaNavigateTargetRefConSelect = $056B;
  1654. kMediaGGetIdleManagerSelect = $056C;
  1655. kMediaGSetIdleManagerSelect = $056D;
  1656. kMediaGGetLatencySelect = $0571;
  1657. kMediaSetTrackApertureModeDimensionsUsingSampleDescriptionSelect = $0579;
  1658. kMediaGetApertureModeClipRectForSampleDescriptionIndexSelect = $057A;
  1659. kMediaGetApertureModeMatrixForSampleDescriptionIndexSelect = $057B;
  1660. kMediaGenerateApertureModeDimensionsSelect = $057C;
  1661. {
  1662. * NewPrePrerollCompleteUPP()
  1663. *
  1664. * Availability:
  1665. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1666. * CarbonLib: in CarbonLib 1.0.2 and later
  1667. * Non-Carbon CFM: available as macro/inline
  1668. }
  1669. function NewPrePrerollCompleteUPP( userRoutine: PrePrerollCompleteProcPtr ): PrePrerollCompleteUPP; external name '_NewPrePrerollCompleteUPP';
  1670. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1671. {
  1672. * DisposePrePrerollCompleteUPP()
  1673. *
  1674. * Availability:
  1675. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1676. * CarbonLib: in CarbonLib 1.0.2 and later
  1677. * Non-Carbon CFM: available as macro/inline
  1678. }
  1679. procedure DisposePrePrerollCompleteUPP( userUPP: PrePrerollCompleteUPP ); external name '_DisposePrePrerollCompleteUPP';
  1680. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1681. {
  1682. * InvokePrePrerollCompleteUPP()
  1683. *
  1684. * Availability:
  1685. * Mac OS X: in version 10.0 and later in QuickTime.framework
  1686. * CarbonLib: in CarbonLib 1.0.2 and later
  1687. * Non-Carbon CFM: available as macro/inline
  1688. }
  1689. procedure InvokePrePrerollCompleteUPP( mh: MediaHandler; err: OSErr; refcon: UnivPtr; userUPP: PrePrerollCompleteUPP ); external name '_InvokePrePrerollCompleteUPP';
  1690. (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
  1691. {$endc} {not TARGET_CPU_64}
  1692. {$endc} {TARGET_OS_MAC}
  1693. {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
  1694. end.
  1695. {$endc} {not MACOSALLINCLUDE}