1 {
2      File:       QuickTime/QuickTimeComponents.h
3 
4      Contains:   QuickTime Interfaces.
5 
6      Version:    QuickTime 7.7.1
7 
8      Copyright:  � 1990-2012 by Apple Inc., all rights reserved
9 
10      Bugs?:      For bug reports, consult the following page on
11                  the World Wide Web:
12 
13                      http://bugs.freepascal.org
14 
15 }
16 {  Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2009 }
17 {  Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2012 }
18 {
19     Modified for use with Free Pascal
20     Version 308
21     Please report any bugs to <gpc@microbizz.nl>
22 }
23 
24 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
25 {$mode macpas}
26 {$modeswitch cblocks}
27 {$packenum 1}
28 {$macro on}
29 {$inline on}
30 {$calling mwpascal}
31 
32 unit QuickTimeComponents;
33 interface
34 {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
35 {$setc GAP_INTERFACES_VERSION := $0308}
36 
37 {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
38     {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
39 {$endc}
40 
41 {$ifc defined CPUPOWERPC and defined CPUI386}
42 	{$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
43 {$endc}
44 {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
45 	{$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
46 {$endc}
47 
48 {$ifc not defined __ppc__ and defined CPUPOWERPC32}
49 	{$setc __ppc__ := 1}
50 {$elsec}
51 	{$setc __ppc__ := 0}
52 {$endc}
53 {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
54 	{$setc __ppc64__ := 1}
55 {$elsec}
56 	{$setc __ppc64__ := 0}
57 {$endc}
58 {$ifc not defined __i386__ and defined CPUI386}
59 	{$setc __i386__ := 1}
60 {$elsec}
61 	{$setc __i386__ := 0}
62 {$endc}
63 {$ifc not defined __x86_64__ and defined CPUX86_64}
64 	{$setc __x86_64__ := 1}
65 {$elsec}
66 	{$setc __x86_64__ := 0}
67 {$endc}
68 {$ifc not defined __arm__ and defined CPUARM}
69 	{$setc __arm__ := 1}
70 {$elsec}
71 	{$setc __arm__ := 0}
72 {$endc}
73 {$ifc not defined __arm64__ and defined CPUAARCH64}
74   {$setc __arm64__ := 1}
75 {$elsec}
76   {$setc __arm64__ := 0}
77 {$endc}
78 
79 {$ifc defined cpu64}
80   {$setc __LP64__ := 1}
81 {$elsec}
82   {$setc __LP64__ := 0}
83 {$endc}
84 
85 
86 {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
87 	{$error Conflicting definitions for __ppc__ and __i386__}
88 {$endc}
89 
90 {$ifc defined __ppc__ and __ppc__}
91 	{$setc TARGET_CPU_PPC := TRUE}
92 	{$setc TARGET_CPU_PPC64 := FALSE}
93 	{$setc TARGET_CPU_X86 := FALSE}
94 	{$setc TARGET_CPU_X86_64 := FALSE}
95 	{$setc TARGET_CPU_ARM := FALSE}
96 	{$setc TARGET_CPU_ARM64 := FALSE}
97 	{$setc TARGET_OS_MAC := TRUE}
98 	{$setc TARGET_OS_IPHONE := FALSE}
99 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
100 	{$setc TARGET_OS_EMBEDDED := FALSE}
101 {$elifc defined __ppc64__ and __ppc64__}
102 	{$setc TARGET_CPU_PPC := FALSE}
103 	{$setc TARGET_CPU_PPC64 := TRUE}
104 	{$setc TARGET_CPU_X86 := FALSE}
105 	{$setc TARGET_CPU_X86_64 := FALSE}
106 	{$setc TARGET_CPU_ARM := FALSE}
107 	{$setc TARGET_CPU_ARM64 := FALSE}
108 	{$setc TARGET_OS_MAC := TRUE}
109 	{$setc TARGET_OS_IPHONE := FALSE}
110 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
111 	{$setc TARGET_OS_EMBEDDED := FALSE}
112 {$elifc defined __i386__ and __i386__}
113 	{$setc TARGET_CPU_PPC := FALSE}
114 	{$setc TARGET_CPU_PPC64 := FALSE}
115 	{$setc TARGET_CPU_X86 := TRUE}
116 	{$setc TARGET_CPU_X86_64 := FALSE}
117 	{$setc TARGET_CPU_ARM := FALSE}
118 	{$setc TARGET_CPU_ARM64 := FALSE}
119 {$ifc defined iphonesim}
120  	{$setc TARGET_OS_MAC := FALSE}
121 	{$setc TARGET_OS_IPHONE := TRUE}
122 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
123 {$elsec}
124 	{$setc TARGET_OS_MAC := TRUE}
125 	{$setc TARGET_OS_IPHONE := FALSE}
126 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
127 {$endc}
128 	{$setc TARGET_OS_EMBEDDED := FALSE}
129 {$elifc defined __x86_64__ and __x86_64__}
130 	{$setc TARGET_CPU_PPC := FALSE}
131 	{$setc TARGET_CPU_PPC64 := FALSE}
132 	{$setc TARGET_CPU_X86 := FALSE}
133 	{$setc TARGET_CPU_X86_64 := TRUE}
134 	{$setc TARGET_CPU_ARM := FALSE}
135 	{$setc TARGET_CPU_ARM64 := FALSE}
136 {$ifc defined iphonesim}
137  	{$setc TARGET_OS_MAC := FALSE}
138 	{$setc TARGET_OS_IPHONE := TRUE}
139 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
140 {$elsec}
141 	{$setc TARGET_OS_MAC := TRUE}
142 	{$setc TARGET_OS_IPHONE := FALSE}
143 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
144 {$endc}
145 	{$setc TARGET_OS_EMBEDDED := FALSE}
146 {$elifc defined __arm__ and __arm__}
147 	{$setc TARGET_CPU_PPC := FALSE}
148 	{$setc TARGET_CPU_PPC64 := FALSE}
149 	{$setc TARGET_CPU_X86 := FALSE}
150 	{$setc TARGET_CPU_X86_64 := FALSE}
151 	{$setc TARGET_CPU_ARM := TRUE}
152 	{$setc TARGET_CPU_ARM64 := FALSE}
153 	{$setc TARGET_OS_MAC := FALSE}
154 	{$setc TARGET_OS_IPHONE := TRUE}
155 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
156 	{$setc TARGET_OS_EMBEDDED := TRUE}
157 {$elifc defined __arm64__ and __arm64__}
158 	{$setc TARGET_CPU_PPC := FALSE}
159 	{$setc TARGET_CPU_PPC64 := FALSE}
160 	{$setc TARGET_CPU_X86 := FALSE}
161 	{$setc TARGET_CPU_X86_64 := FALSE}
162 	{$setc TARGET_CPU_ARM := FALSE}
163 	{$setc TARGET_CPU_ARM64 := TRUE}
164 {$ifc defined ios}
165 	{$setc TARGET_OS_MAC := FALSE}
166 	{$setc TARGET_OS_IPHONE := TRUE}
167 	{$setc TARGET_OS_EMBEDDED := TRUE}
168 {$elsec}
169 	{$setc TARGET_OS_MAC := TRUE}
170 	{$setc TARGET_OS_IPHONE := FALSE}
171 	{$setc TARGET_OS_EMBEDDED := FALSE}
172 {$endc}
173 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
174 {$elsec}
175 	{$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
176 {$endc}
177 
178 {$ifc defined __LP64__ and __LP64__ }
179   {$setc TARGET_CPU_64 := TRUE}
180 {$elsec}
181   {$setc TARGET_CPU_64 := FALSE}
182 {$endc}
183 
184 {$ifc defined FPC_BIG_ENDIAN}
185 	{$setc TARGET_RT_BIG_ENDIAN := TRUE}
186 	{$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
187 {$elifc defined FPC_LITTLE_ENDIAN}
188 	{$setc TARGET_RT_BIG_ENDIAN := FALSE}
189 	{$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
190 {$elsec}
191 	{$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
192 {$endc}
193 {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
194 {$setc CALL_NOT_IN_CARBON := FALSE}
195 {$setc OLDROUTINENAMES := FALSE}
196 {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
197 {$setc OPAQUE_UPP_TYPES := TRUE}
198 {$setc OTCARBONAPPLICATION := TRUE}
199 {$setc OTKERNEL := FALSE}
200 {$setc PM_USE_SESSION_APIS := TRUE}
201 {$setc TARGET_API_MAC_CARBON := TRUE}
202 {$setc TARGET_API_MAC_OS8 := FALSE}
203 {$setc TARGET_API_MAC_OSX := TRUE}
204 {$setc TARGET_CARBON := TRUE}
205 {$setc TARGET_CPU_68K := FALSE}
206 {$setc TARGET_CPU_MIPS := FALSE}
207 {$setc TARGET_CPU_SPARC := FALSE}
208 {$setc TARGET_OS_UNIX := FALSE}
209 {$setc TARGET_OS_WIN32 := FALSE}
210 {$setc TARGET_RT_MAC_68881 := FALSE}
211 {$setc TARGET_RT_MAC_CFM := FALSE}
212 {$setc TARGET_RT_MAC_MACHO := TRUE}
213 {$setc TYPED_FUNCTION_POINTERS := TRUE}
214 {$setc TYPE_BOOL := FALSE}
215 {$setc TYPE_EXTENDED := FALSE}
216 {$setc TYPE_LONGLONG := TRUE}
217 uses MacTypes,Aliases,Components,Dialogs,Events,Files,Menus,Video,ImageCompression,Movies,QuickdrawTypes,QDOffscreen,QuickTimeMusic,CFBase,CoreAudioTypes;
218 {$endc} {not MACOSALLINCLUDE}
219 
220 
221 {$ifc TARGET_OS_MAC}
222 
223 {$ALIGN MAC68K}
224 
225 { QuickTime is not available to 64-bit clients }
226 
227 {$ifc not TARGET_CPU_64}
228 
229 const
230 	clockComponentType = FourCharCode('clok');
231 	systemTickClock = FourCharCode('tick'); { subtype: 60ths since boot   }
232 	systemSecondClock = FourCharCode('seco'); { subtype: seconds since 1904       }
233 	systemMillisecondClock = FourCharCode('mill'); { subtype: 1000ths since boot       }
234 	systemMicrosecondClock = FourCharCode('micr'); { subtype: 1000000ths since boot }
235 
236 const
237 	kClockRateIsLinear = 1;
238 	kClockImplementsCallBacks = 2;
239 	kClockCanHandleIntermittentSound = 4;  { sound clocks only }
240 
241 {* These are Clock procedures *}
242 {
243  *  ClockGetTime()
244  *
245  *  Availability:
246  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
247  *    CarbonLib:        in CarbonLib 1.0 and later
248  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
249  *    Windows:          in qtmlClient.lib 3.0 and later
250  }
ClockGetTimenull251 function ClockGetTime( aClock: ComponentInstance; var out: TimeRecord ): ComponentResult; external name '_ClockGetTime';
252 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
253 
254 
255 {
256  *  ClockNewCallBack()
257  *
258  *  Availability:
259  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
260  *    CarbonLib:        in CarbonLib 1.0 and later
261  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
262  *    Windows:          in qtmlClient.lib 3.0 and later
263  }
ClockNewCallBacknull264 function ClockNewCallBack( aClock: ComponentInstance; tb: TimeBase; callBackType: SInt16 ): QTCallBack; external name '_ClockNewCallBack';
265 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
266 
267 
268 {
269  *  ClockDisposeCallBack()
270  *
271  *  Availability:
272  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
273  *    CarbonLib:        in CarbonLib 1.0 and later
274  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
275  *    Windows:          in qtmlClient.lib 3.0 and later
276  }
ClockDisposeCallBacknull277 function ClockDisposeCallBack( aClock: ComponentInstance; cb: QTCallBack ): ComponentResult; external name '_ClockDisposeCallBack';
278 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
279 
280 
281 {
282  *  ClockCallMeWhen()
283  *
284  *  Availability:
285  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
286  *    CarbonLib:        in CarbonLib 1.0 and later
287  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
288  *    Windows:          in qtmlClient.lib 3.0 and later
289  }
ClockCallMeWhennull290 function ClockCallMeWhen( aClock: ComponentInstance; cb: QTCallBack; param1: SIGNEDLONG; param2: SIGNEDLONG; param3: SIGNEDLONG ): ComponentResult; external name '_ClockCallMeWhen';
291 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
292 
293 
294 {
295  *  ClockCancelCallBack()
296  *
297  *  Availability:
298  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
299  *    CarbonLib:        in CarbonLib 1.0 and later
300  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
301  *    Windows:          in qtmlClient.lib 3.0 and later
302  }
ClockCancelCallBacknull303 function ClockCancelCallBack( aClock: ComponentInstance; cb: QTCallBack ): ComponentResult; external name '_ClockCancelCallBack';
304 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
305 
306 
307 {
308  *  ClockRateChanged()
309  *
310  *  Availability:
311  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
312  *    CarbonLib:        in CarbonLib 1.0 and later
313  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
314  *    Windows:          in qtmlClient.lib 3.0 and later
315  }
ClockRateChangednull316 function ClockRateChanged( aClock: ComponentInstance; cb: QTCallBack ): ComponentResult; external name '_ClockRateChanged';
317 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
318 
319 
320 {
321  *  ClockTimeChanged()
322  *
323  *  Availability:
324  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
325  *    CarbonLib:        in CarbonLib 1.0 and later
326  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
327  *    Windows:          in qtmlClient.lib 3.0 and later
328  }
ClockTimeChangednull329 function ClockTimeChanged( aClock: ComponentInstance; cb: QTCallBack ): ComponentResult; external name '_ClockTimeChanged';
330 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
331 
332 
333 {
334  *  ClockSetTimeBase()
335  *
336  *  Availability:
337  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
338  *    CarbonLib:        in CarbonLib 1.0 and later
339  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
340  *    Windows:          in qtmlClient.lib 3.0 and later
341  }
ClockSetTimeBasenull342 function ClockSetTimeBase( aClock: ComponentInstance; tb: TimeBase ): ComponentResult; external name '_ClockSetTimeBase';
343 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
344 
345 
346 {
347  *  ClockStartStopChanged()
348  *
349  *  Availability:
350  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
351  *    CarbonLib:        in CarbonLib 1.0 and later
352  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
353  *    Windows:          in qtmlClient.lib 3.0 and later
354  }
ClockStartStopChangednull355 function ClockStartStopChanged( aClock: ComponentInstance; cb: QTCallBack; startChanged: Boolean; stopChanged: Boolean ): ComponentResult; external name '_ClockStartStopChanged';
356 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
357 
358 
359 {
360  *  ClockGetRate()
361  *
362  *  Availability:
363  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
364  *    CarbonLib:        in CarbonLib 1.0 and later
365  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
366  *    Windows:          in qtmlClient.lib 3.0 and later
367  }
ClockGetRatenull368 function ClockGetRate( aClock: ComponentInstance; var rate: Fixed ): ComponentResult; external name '_ClockGetRate';
369 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
370 
371 
372 {
373  *  ClockGetTimesForRateChange()
374  *
375  *  Availability:
376  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
377  *    CarbonLib:        not available
378  *    Non-Carbon CFM:   not available
379  *    Windows:          in qtmlClient.lib 6.5 and later
380  }
ClockGetTimesForRateChangenull381 function ClockGetTimesForRateChange( aClock: ComponentInstance; fromRate: Fixed; toRate: Fixed; var currentTime: TimeRecord; var preferredTime: TimeRecord; var safeIncrementForPreferredTime: TimeRecord ): ComponentResult; external name '_ClockGetTimesForRateChange';
382 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
383 
384 
385 {
386  *  ClockGetRateChangeConstraints()
387  *
388  *  Availability:
389  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
390  *    CarbonLib:        not available
391  *    Non-Carbon CFM:   not available
392  *    Windows:          in qtmlClient.lib 6.5 and later
393  }
ClockGetRateChangeConstraintsnull394 function ClockGetRateChangeConstraints( aClock: ComponentInstance; var minimumDelay: TimeRecord; var maximumDelay: TimeRecord ): ComponentResult; external name '_ClockGetRateChangeConstraints';
395 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
396 
397 
398 {
399    ************************************************
400    Standard Compression component type and subtypes
401    ************************************************
402 }
403 
404 const
405 	StandardCompressionType = FourCharCode('scdi');
406 	StandardCompressionSubType = FourCharCode('imag');
407 
408   {
409    * StandardCompressionSubTypeSound is the legacy StandardCompression
410    * component that uses the SoundMgr.  It is limited to mono/stereo,
411    * and to sample rates under 64kHz. It is still present in QuickTime
412    * to support older apps (use of the new
413    * StandardCompressionSubTypeAudio requires app developers to modify
414    * their code).
415    }
416 	StandardCompressionSubTypeSound = FourCharCode('soun');
417 
418   {
419    * StandardCompressionSubTypeAudio is the StandardCompression
420    * component that adds the ability to configure multi-channel, high
421    * sample rate output formats.  It uses CoreAudio internally instead
422    * of the SoundMgr, and has a full set of component properties to
423    * make configuration easier, especially when the developer wishes to
424    * bring up his/her own dialog rather than the default dialog.  See
425    * StandardCompressionSubTypeAudio Properties below for a full list
426    * of Component Properties supported by the
427    * StandardCompressionSubTypeAudio component.
428    }
429 	StandardCompressionSubTypeAudio = FourCharCode('audi');
430 
431 type
theDialognull432 	SCModalFilterProcPtr = function( theDialog: DialogRef; var theEvent: EventRecord; var itemHit: SInt16; refcon: SIGNEDLONG ): Boolean;
433 	SCModalFilterUPP = SCModalFilterProcPtr;
434 
theDialognull435 	SCModalHookProcPtr = function( theDialog: DialogRef; itemHit: SInt16; params: UnivPtr; refcon: SIGNEDLONG ): SInt16;
436 	SCModalHookUPP = SCModalHookProcPtr;
437 {  Preference flags.}
438 const
439 	scListEveryCodec = 1 shl 1;
440 	scAllowZeroFrameRate = 1 shl 2;
441 	scAllowZeroKeyFrameRate = 1 shl 3;
442 	scShowBestDepth = 1 shl 4;
443 	scUseMovableModal = 1 shl 5;
444 	scDisableFrameRateItem = 1 shl 6;
445 	scShowDataRateAsKilobits = 1 shl 7;
446 
447 
448 {  Possible test flags for setting test image.}
449 const
450 	scPreferCropping = 1 shl 0;
451 	scPreferScaling = 1 shl 1;
452 	scPreferScalingAndCropping = scPreferScaling or scPreferCropping;
453 	scDontDetermineSettingsFromTestImage = 1 shl 2;
454 
455 
456 {  Dimensions of the image preview box.}
457 const
458 	scTestImageWidth = 80;
459 	scTestImageHeight = 80;
460 
461 {  Possible items returned by hookProc.}
462 const
463 	scOKItem = 1;
464 	scCancelItem = 2;
465 	scCustomItem = 3;
466 
467 {  Result returned when user cancelled.}
468 const
469 	scUserCancelled = 1;
470 
471 { Component selectors}
472 { -- prefixed with "k" because otherwise some of them conflict with function
473    names, such as SCPositionRect - Jonas Maebe }
474 const
475 	kscPositionRect = 2;
476 	kscPositionDialog = 3;
477 	kscSetTestImagePictHandle = 4;
478 	kscSetTestImagePictFile = 5;
479 	kscSetTestImagePixMap = 6;
480 	kscGetBestDeviceRect = 7;
481 	kscRequestImageSettings = 10;
482 	kscCompressImage = 11;
483 	kscCompressPicture = 12;
484 	kscCompressPictureFile = 13;
485 	kscRequestSequenceSettings = 14;
486 	kscCompressSequenceBegin = 15;
487 	kscCompressSequenceFrame = 16;
488 	kscCompressSequenceEnd = 17;
489 	kscDefaultPictHandleSettings = 18;
490 	kscDefaultPictFileSettings = 19;
491 	kscDefaultPixMapSettings = 20;
492 	kscGetInfo = 21;
493 	kscSetInfo = 22;
494 	kscNewGWorld = 23;
495 
496 {  Get/SetInfo structures.}
497 
498 type
499 	SCSpatialSettingsPtr = ^SCSpatialSettings;
500 	SCSpatialSettings = record
501 		codecType: CodecType_fix;
502 		codec: CodecComponent;
503 		depth: SInt16;
504 		spatialQuality: CodecQ;
505 	end;
506 type
507 	SCTemporalSettingsPtr = ^SCTemporalSettings;
508 	SCTemporalSettings = record
509 		temporalQuality: CodecQ;
510 		frameRate: Fixed;
511 		keyFrameRate: SIGNEDLONG;
512 	end;
513 type
514 	SCDataRateSettingsPtr = ^SCDataRateSettings;
515 	SCDataRateSettings = record
516 		dataRate: SIGNEDLONG;
517 		frameDuration: SIGNEDLONG;
518 		minSpatialQuality: CodecQ;
519 		minTemporalQuality: CodecQ;
520 	end;
521 type
522 	SCExtendedProcsPtr = ^SCExtendedProcs;
523 	SCExtendedProcs = record
524 		filterProc: SCModalFilterUPP;
525 		hookProc: SCModalHookUPP;
526 		refcon: SIGNEDLONG;
527 		customName: Str31;
528 	end;
529 const
530 	scWindowRefKindCarbon = FourCharCode('carb'); { WindowRef}
531 
532 type
533 	SCWindowSettings = record
534 		size: SIGNEDLONG;                   { must be sizeof(SCWindowSettings)}
535 		windowRefKind: SIGNEDLONG;          { type of parent window}
536 		parentWindow: UnivPtr;           { parent window, for sheets or NIL for none}
537 	end;
538 {  Get/SetInfo selectors}
539 const
540 	scSpatialSettingsType = FourCharCode('sptl'); { pointer to SCSpatialSettings struct}
541 	scTemporalSettingsType = FourCharCode('tprl'); { pointer to SCTemporalSettings struct}
542 	scDataRateSettingsType = FourCharCode('drat'); { pointer to SCDataRateSettings struct}
543 	scColorTableType = FourCharCode('clut'); { pointer to CTabHandle}
544 	scProgressProcType = FourCharCode('prog'); { pointer to ProgressRecord struct}
545 	scExtendedProcsType = FourCharCode('xprc'); { pointer to SCExtendedProcs struct}
546 	scPreferenceFlagsType = FourCharCode('pref'); { pointer to long}
547 	scSettingsStateType = FourCharCode('ssta'); { pointer to Handle}
548 	scSequenceIDType = FourCharCode('sequ'); { pointer to ImageSequence}
549 	scWindowPositionType = FourCharCode('wndw'); { pointer to Point}
550 	scCodecFlagsType = FourCharCode('cflg'); { pointer to CodecFlags}
551 	scCodecSettingsType = FourCharCode('cdec'); { pointer to Handle}
552 	scForceKeyValueType = FourCharCode('ksim'); { pointer to long}
553 	scCompressionListType = FourCharCode('ctyl'); { pointer to OSType Handle}
554 	scCodecManufacturerType = FourCharCode('cmfr'); { pointer to OSType}
555 	scAvailableCompressionListType = FourCharCode('avai'); { pointer to OSType Handle}
556 	scWindowOptionsType = FourCharCode('shee'); { pointer to SCWindowSettings struct}
557 	scSoundVBRCompressionOK = FourCharCode('cvbr'); { pointer to Boolean}
558 	scSoundSampleRateChangeOK = FourCharCode('rcok'); { pointer to Boolean}
559 	scSoundCompressionType = FourCharCode('ssct'); { pointer to OSType}
560 	scSoundSampleRateType = FourCharCode('ssrt'); { pointer to UnsignedFixed}
561 	scSoundInputSampleRateType = FourCharCode('ssir'); { pointer to UnsignedFixed}
562 	scSoundSampleSizeType = FourCharCode('ssss'); { pointer to short}
563 	scSoundChannelCountType = FourCharCode('sscc'); { pointer to short}
564 
565 {  scTypeNotFoundErr returned by Get/SetInfo when type cannot be found.}
566 
567 
568 type
569 	SCParamsPtr = ^SCParams;
570 	SCParams = record
571 		flags: SIGNEDLONG;
572 		theCodecType: CodecType;
573 		theCodec: CodecComponent;
574 		spatialQuality: CodecQ;
575 		temporalQuality: CodecQ;
576 		depth: SInt16;
577 		frameRate: Fixed;
578 		keyFrameRate: SIGNEDLONG;
579 		reserved1: SIGNEDLONG;
580 		reserved2: SIGNEDLONG;
581 	end;
582 const
583 	scGetCompression = 1;
584 	scShowMotionSettings = 1 shl 0;
585 	scSettingsChangedItem = -1;
586 
587 const
588 	scCompressFlagIgnoreIdenticalFrames = 1;
589 
590 { QTAtomTypes for atoms found in settings atom containers}
591 const
592 	kQTSettingsVideo = FourCharCode('vide'); { Container for video/image compression related atoms (Get/SetInfo selectors)}
593 	kQTSettingsSound = FourCharCode('soun'); { Container for sound compression related atoms (Get/SetInfo selectors)}
594 	kQTSettingsComponentVersion = FourCharCode('vers'); { . Version of component that wrote settings (QTSettingsVersionAtomRecord)}
595 
596 { Format of 'vers' atom found in settings atom containers}
597 type
598 	QTSettingsVersionAtomRecordPtr = ^QTSettingsVersionAtomRecord;
599 	QTSettingsVersionAtomRecord = record
600 		componentVersion: SIGNEDLONG;       { standard compression component version}
601 		flags: SInt16;                  { low bit is 1 if little endian platform, 0 if big endian platform}
602 		reserved: SInt16;               { should be 0}
603 	end;
604 { Video Specific Definitions for B frame / multi pass support}
605 
606 
607 {
608  *  SCVideoMultiPassEncodingSettings
609  *
610  *  Summary:
611  *    Struct for passing multi pass encoding settings through
612  *    scVideoMultiPassEncodingSettingsType
613  }
614 type
615 	SCVideoMultiPassEncodingSettings = record
616 {
617    * True if multi pass encoding can be performed.
618    }
619 		allowMultiPassEncoding: Boolean;
620 		maxEncodingPassCount: UInt8;
621 	end;
622 
623 {
624  *  Summary:
625  *    SCGetInfo/SetInfo Selectors
626  }
627 const
628 {
629    * Specifies if frame reordering can occur in encoding.
630    }
631 	scVideoAllowFrameReorderingType = FourCharCode('bfra'); { pointer to Boolean}
632 
633   {
634    * The settings to control multi pass encoding.
635    }
636 	scVideoMultiPassEncodingSettingsType = FourCharCode('mpes'); { pointer to SCVideoMultiPassEncodingSettings struct}
637 
638 
639 {
640  *  Summary:
641  *    Preference Flags for scPreferenceFlagsType
642  *
643  *  Discussion:
644  *    Preference flags that specify how StdCompression should handle
645  *    frame reordering and multi pass encoding settings.
646  }
647 const
648 {
649    * Indicates the client is ready to use the ICM compression session
650    * API to perform compression operations. StdCompression disables
651    * frame reordering and multi pass encoding if this flag is cleared.
652    }
653 	scAllowEncodingWithCompressionSession = 1 shl 8;
654 
655   {
656    * Indicates the client does not want the user to change the frame
657    * reordering setting.
658    }
659 	scDisableFrameReorderingItem = 1 shl 9;
660 
661   {
662    * Indicates the client does not want the user to change the multi
663    * pass encoding setting
664    }
665 	scDisableMultiPassEncodingItem = 1 shl 10;
666 
667 
668 {
669    ******************************************
670    StandardCompressionSubTypeAudio Properties
671    ******************************************
672 }
673 
674 
675 {
676    In StandardCompressionSubTypeAudio, instead of using Get/SetInfo, the developer will
677    get and set component properties.  (QTGetComponentPropertyInfo(), QTGetComponentProperty(),
678    QTSetComponentProperty(), QTAddComponentPropertyListener(), QTRemoveComponentPropertyListener())
679    These properties have a class and ID, instead of just a single selector.
680    Note that implementers of MovieExport "from procedures" getProperty procs (that choose
681    to opt-in to the new support; see kQTMovieExporterPropertyID_EnableHighResolutionAudioFeatures
682    in this header) will need to support these property IDs as new selectors.  In other
683    words, the MovieExporter getProperty proc API is not changing to add a class.  The
684    class is implied in that case.  Such procs, of course, do not implement any of the
685    list properties, or the non-settable properties, as well as some others.  The
686    properties getProperty procs can implement are marked below with the word "DataProc".
687 }
688 
689 
690 {
691  *  Summary:
692  *    ComponentPropertyClasses for StandardCompressionSubTypeAudio
693  }
694 const
695 {
696    * All Component Properties used by StandardCompressionSubTypeAudio
697    * component use kQTPropertyClass_SCAudio, except for the following:
698    * kQTAudioPropertyID_FormatString - use kQTPropertyClass_Audio (see
699    * Movies.h) kQTAudioPropertyID_ChannelLayoutString - use
700    * kQTPropertyClass_Audio (see Movies.h)
701    * kQTAudioPropertyID_SampleRateString - use kQTPropertyClass_Audio
702    * (see Movies.h) kQTAudioPropertyID_SampleSizeString - use
703    * kQTPropertyClass_Audio (see Movies.h)
704    * kQTAudioPropertyID_BitRateString - use kQTPropertyClass_Audio (see
705    * Movies.h) kQTAudioPropertyID_SummaryString - use
706    * kQTPropertyClass_Audio (see Movies.h)
707    }
708 	kQTPropertyClass_SCAudio = FourCharCode('scda');
709 
710 
711 {
712  *  Summary:
713  *    ComponentPropertyID selectors for kQTPropertyClass_SCAudio
714  }
715 const
716 {
717    * kQTSCAudioPropertyID_ClientRestrictedCompressionFormatList:
718    * Specifies a client-restricted set of output compression formats
719    * that should be listed as available. Use QTGetComponentPropertyInfo
720    * to discover the number of bytes you should allocate to hold the
721    * array.
722    }
723 	kQTSCAudioPropertyID_ClientRestrictedCompressionFormatList = FourCharCode('crf#'); { C-style array of OSType's, Read/Write/Listen}
724 
725   {
726    * kQTSCAudioPropertyID_AvailableCompressionFormatList: Specifies the
727    * list of available output compression formats. By default, this
728    * list includes all the kAudioEncoderComponentType components and
729    * kSoundCompressor type components on the system. The list may be
730    * restricted by clients using the
731    * kQTSCAudioPropertyID_ClientRestrictedCompressionFormatList
732    * property. Use QTGetComponentPropertyInfo to discover the number of
733    * bytes you should allocate to hold the array.
734    }
735 	kQTSCAudioPropertyID_AvailableCompressionFormatList = FourCharCode('acf#'); { C-style array of OSType's, Read/Listen }
736 
737   {
738    * kQTSCAudioPropertyID_AvailableCompressionFormatNamesList:
739    * Specifies the human readable names for corresponding to each item
740    * in kQTSCAudioPropertyID_AvailableCompressionFormatList. Caller
741    * assumes responsibility for CFRelease()'ing the resulting
742    * CFArrayRef.
743    }
744 	kQTSCAudioPropertyID_AvailableCompressionFormatNamesList = FourCharCode('cnm#'); { CFArrayRef of CFStringRef's, Read/Write }
745 
746   {
747    * kQTSCAudioPropertyID_HasLegacyCodecOptionsDialog: Some compression
748    * formats have format-specific properties that are only accessible
749    * via a compressor-provided dialog.
750    * kQTSCAudioPropertyID_HasLegacyCodecOptionsDialog lets you know if
751    * the current compression format has such a dialog.
752    }
753 	kQTSCAudioPropertyID_HasLegacyCodecOptionsDialog = FourCharCode('opn?'); { Boolean, Read/Listen }
754 
755   {
756    * kQTSCAudioPropertyID_ConstantBitRateFormatsOnly: By default,
757    * constant as well as variable bit rate compression formats are
758    * shown in the available format list. a client may restrict the
759    * available formats to constant bit rate formats only by setting
760    * this property to true.
761    }
762 	kQTSCAudioPropertyID_ConstantBitRateFormatsOnly = FourCharCode('!vbr'); { Boolean, Read/Write/Listen }
763 
764   {
765    * kQTSCAudioPropertyID_ClientRestrictedSampleRateList: Specifies a
766    * client-restricted set of output sample rate ranges that should be
767    * listed as available. Use QTGetComponentPropertyInfo to discover
768    * the number of bytes you should allocate to hold the array.
769    }
770 	kQTSCAudioPropertyID_ClientRestrictedSampleRateList = FourCharCode('crr#'); { C-style array of AudioValueRange's, Read/Write/Listen }
771 
772   {
773    * kQTSCAudioPropertyID_AvailableSampleRateList: Specifies a list of
774    * available output sample rates.  This list is compression format
775    * specific, and takes into account any restrictions imposed by a
776    * client using the
777    * kQTSCAudioPropertyID_ClientRestrictedSampleRateList property. Use
778    * QTGetComponentPropertyInfo to discover the number of bytes you
779    * should allocate to hold the array.
780    }
781 	kQTSCAudioPropertyID_AvailableSampleRateList = FourCharCode('avr#'); { C-style array of AudioValueRange's, Read/Listen}
782 
783   {
784    * kQTSCAudioPropertyID_ApplicableSampleRateList: Specifies which of
785    * the value ranges in the
786    * kQTSCAudioPropertyID_AvailableSampleRateList are currently
787    * applicable. The kQTSCAudioPropertyID_AvailableSampleRateList takes
788    * into account client restrictions, and a compression format's
789    * general sample rate restrictions.
790    * kQTSCAudioPropertyID_ApplicableSampleRateList further filters the
791    * list to just those sample rates that are legal and valid given the
792    * current codec configuration.  Use QTGetComponentPropertyInfo to
793    * discover the number of bytes you should allocate to hold the array.
794    }
795 	kQTSCAudioPropertyID_ApplicableSampleRateList = FourCharCode('apr#'); { C-style array of AudioValueRanges, Read/Listen}
796 
797   {
798    * kQTSCAudioPropertyID_SampleRateRecommended: Clients not wishing to
799    * set an output sample rate manually may set the output rate to the
800    * recommended rate.  Some compressors can perform rate conversion,
801    * and can pick optimal settings for a desired bitrate (AAC is an
802    * example).  For other formats, the "Recommended" rate is simply the
803    * closest output rate to the input rate that's allowed by the output
804    * format.  kQTSCAudioPropertyID_SampleRateIsRecommended is
805    * read-only.  To set the sample rate to recommended, a client sets
806    * the kQTSCAudioPropertyID_BasicDescription with mSampleRate = 0.0.
807    * To unset the sample rate as recommended, the client sets the
808    * kQTSCAudioPropertyID_BasicDescription with a non-zero mSampleRate
809    * field.
810    }
811 	kQTSCAudioPropertyID_SampleRateIsRecommended = FourCharCode('reco'); { Boolean, Read/Listen}
812 
813   {
814    * kQTSCAudioPropertyID_InputMagicCookie: Some decompressors make use
815    * of untyped codec-specific data (a magic cookie) in order to decode
816    * their input. Magic cookies are variable size, so you must call
817    * QTGetComponentPropertyInfo in order to discover the size of the
818    * buffer you should allocate to hold the cookie.
819    }
820 	kQTSCAudioPropertyID_InputMagicCookie = FourCharCode('ikki'); { void * (opaque data), Read/Write/Listen }
821 
822   {
823    * kQTSCAudioPropertyID_MagicCookie: Some compressors make use of
824    * untyped codec-specific data (a magic cookie) in order to configure
825    * their output. Magic cookies are variable size, so you must call
826    * QTGetComponentPropertyInfo in order to discover the size of the
827    * buffer you should allocate to hold the cookie.
828    }
829 	kQTSCAudioPropertyID_MagicCookie = FourCharCode('kuki'); { void * (opaque data), Read/Write/Listen }
830 
831   {
832    * kQTSCAudioPropertyID_ClientRestrictedLPCMBitsPerChannelList:
833    * Specifies a client-restricted set of output bits per channel that
834    * should be listed as available. Use QTGetComponentPropertyInfo to
835    * discover the number of bytes you should allocate to hold the array.
836    }
837 	kQTSCAudioPropertyID_ClientRestrictedLPCMBitsPerChannelList = FourCharCode('crb#'); { C-style array of UInt32's, Read/Write/Listen }
838 
839   {
840    * kQTSCAudioPropertyID_AvailableLPCMBitsPerChannelList: Specifies a
841    * list of available bits-per-channel.  This list is specific to
842    * LPCM, and takes into account any restrictions imposed by a client
843    * using the
844    * kQTSCAudioPropertyID_ClientRestrictedLPCMBitsPerChannelList
845    * property. Use QTGetComponentPropertyInfo to discover the number of
846    * bytes you should allocate to hold the array.
847    }
848 	kQTSCAudioPropertyID_AvailableLPCMBitsPerChannelList = FourCharCode('avb#'); { C-style array of UInt32's, Read/Listen }
849 
850   {
851    * kQTSCAudioPropertyID_ApplicableLPCMBitsPerChannelList: Specifies
852    * which of the values in the
853    * kQTSCAudioPropertyID_AvailableLPCMBitsPerChannelList are currently
854    * applicable. The
855    * kQTSCAudioPropertyID_AvailableLPCMBitsPerChannelList takes into
856    * account client restrictions, and LPCM's general bits per channel
857    * restrictions.
858    * kQTSCAudioPropertyID_ApplicableLPCMBitsPerChannelList further
859    * filters the list to just those bits per channel that are legal and
860    * valid given the current LPCM configuration.  Use
861    * QTGetComponentPropertyInfo to discover the number of bytes you
862    * should allocate to hold the array.
863    }
864 	kQTSCAudioPropertyID_ApplicableLPCMBitsPerChannelList = FourCharCode('apb#'); { C-style array of UInt32's, Read/Listen}
865 
866   {
867    * kQTSCAudioPropertyID_InputChannelLayout: Specifies the audio
868    * channel layout of the input description.  AudioChannelLayout is a
869    * variable size struct, so use QTGetComponentPropertyInfo to
870    * discover the number of bytes you should allocate.
871    }
872 	kQTSCAudioPropertyID_InputChannelLayout = FourCharCode('icly'); { AudioChannelLayout (variable-size), Read/Write/Listen }
873 
874   {
875    * kQTSCAudioPropertyID_InputChannelLayoutName: Specifies the human
876    * readable name for kQTSCAudioPropertyID_InputChannelLayout (if one
877    * exists).  Caller assumes responsibility for CFRelease()'ing the
878    * resulting string.
879    }
880 	kQTSCAudioPropertyID_InputChannelLayoutName = FourCharCode('icln'); { CFStringRef, Read }
881 
882   {
883    * kQTSCAudioPropertyID_ChannelLayout: Specifies the audio channel
884    * layout of the output description.  AudioChannelLayout is a
885    * variable size struct, so use QTGetComponentPropertyInfo to
886    * discover the number of bytes you should allocate.
887    }
888 	kQTSCAudioPropertyID_ChannelLayout = FourCharCode('clay'); { AudioChannelLayout (variable-size), Read/Write/Listen }
889 
890   {
891    * kQTSCAudioPropertyID_ChannelLayoutName: Specifies the human
892    * readable name for kQTSCAudioPropertyID_ChannelLayout (if one
893    * exists).  Caller assumes responsibility for CFRelease()'ing the
894    * resulting string.
895    }
896 	kQTSCAudioPropertyID_ChannelLayoutName = FourCharCode('clyn'); { CFStringRef, Read }
897 
898   {
899    * kQTSCAudioPropertyID_ClientRestrictedChannelLayoutTagList:
900    * Specifies a client-restricted set of channel layout tags that
901    * should be listed as available. Use QTGetComponentPropertyInfo to
902    * discover the number of bytes you should allocate to hold the array.
903    }
904 	kQTSCAudioPropertyID_ClientRestrictedChannelLayoutTagList = FourCharCode('crl#'); { C-style array of AudioChannelLayoutTag's, Read/Write}
905 
906   {
907    * kQTSCAudioPropertyID_AvailableChannelLayoutTagList: Specifies a
908    * list of available audio channel layout tags.  This list is
909    * compression format specific, and takes into account any
910    * restrictions imposed by a client using the
911    * kQTSCAudioPropertyID_ClientRestrictedChannelLayoutTagList
912    * property. Use QTGetComponentPropertyInfo to discover the number of
913    * bytes you should allocate to hold the array.
914    }
915 	kQTSCAudioPropertyID_AvailableChannelLayoutTagList = FourCharCode('avl#'); { C-style array of AudioChannelLayoutTag's, Read/Listen }
916 
917   {
918    * kQTSCAudioPropertyID_AvailableChannelLayoutTagNamesList: Specifies
919    * the human readable names for the AudioChannelLayoutTags in
920    * kQTSCAudioPropertyID_AvailableChannelLayoutTagList. Each element
921    * in the array is a CFStringRef.  Caller assumes responsibility for
922    * CFRelease()'ing the array.
923    }
924 	kQTSCAudioPropertyID_AvailableChannelLayoutTagNamesList = FourCharCode('vln#'); { CFArrayRef, Read}
925 
926   {
927    * kQTSCAudioPropertyID_ApplicableChannelLayoutTagList: Specifies
928    * which of the values in the
929    * kQTSCAudioPropertyID_AvailableChannelLayoutTagList are currently
930    * applicable. The kQTSCAudioPropertyID_AvailableChannelLayoutTagList
931    * takes into account client restrictions, and the current output
932    * format's general channel layout restrictions.
933    * kQTSCAudioPropertyID_ApplicableChannelLayoutTagList further
934    * filters the list to just those channel layouts that are legal and
935    * valid given the current codec configuration.  Use
936    * QTGetComponentPropertyInfo to discover the number of bytes you
937    * should allocate to hold the array.
938    }
939 	kQTSCAudioPropertyID_ApplicableChannelLayoutTagList = FourCharCode('apl#'); { C-style array of AudioChannelLayoutTag's, Read/Listen}
940 
941   {
942    * kQTSCAudioPropertyID_ApplicableChannelLayoutTagNamesList:
943    * Specifies the human readable names for the AudioChannelLayoutTags
944    * in kQTSCAudioPropertyID_ApplicableChannelLayoutTagList. Each
945    * element in the array is a CFStringRef.  Caller assumes
946    * responsibility for CFRelease()'ing the array.
947    }
948 	kQTSCAudioPropertyID_ApplicableChannelLayoutTagNamesList = FourCharCode('pln#'); { CFArrayRef, Read}
949 
950   {
951    * kQTSCAudioPropertyID_ClientRestrictedLPCMFlags: Specifies a
952    * client-restricted set of flags corresponding to the mFormatFlags
953    * fields in an AudioStreamBasicDescription.  Data type is a
954    * SCAudioFormatFlagsRestrictions struct. For instance, if a client
955    * wishes to specify to the StandardAudioCompression component that
956    * his file format requires little endian pcm data, he may set this
957    * property, with formatFlagsMask set to kAudioFormatFlagIsBigEndian,
958    * and formatFlagsValues set to zero (indicating that the IsBigEndian
959    * bit should be interpreted as LittleEndian only).
960    }
961 	kQTSCAudioPropertyID_ClientRestrictedLPCMFlags = FourCharCode('crlp'); { SCAudioFormatFlagsRestrictions (see below), Read/Write/Listen }
962 
963   {
964    * kQTSCAudioPropertyID_InputSoundDescription: Specifies the current
965    * input description as a SoundDescriptionHandle (lowest possible
966    * version for the current format).  When calling
967    * QTGetComponentProperty, the caller passes a pointer to an
968    * unallocated Handle, and assumes responsibility for calling
969    * DisposeHandle() when done.
970    }
971 	kQTSCAudioPropertyID_InputSoundDescription = FourCharCode('isdh'); { SoundDescriptionHandle, Read/Write }
972 
973   {
974    * kQTSCAudioPropertyID_SoundDescription: Specifies the current
975    * output description as a SoundDescriptionHandle (lowest possible
976    * version for the current format).  When calling
977    * QTGetComponentProperty, the caller passes a pointer to an
978    * unallocated Handle, and assumes responsibility for calling
979    * DisposeHandle() when done.
980    }
981 	kQTSCAudioPropertyID_SoundDescription = FourCharCode('osdh'); { SoundDescriptionHandle, Read/Write }
982 
983   {
984    * kQTSCAudioPropertyID_InputBasicDescription: Specifies the current
985    * input description as an AudioStreamBasicDescription.
986    }
987 	kQTSCAudioPropertyID_InputBasicDescription = FourCharCode('isbd'); { AudioStreamBasicDescription, Read/Write/Listen/DataProc }
988 
989   {
990    * kQTSCAudioPropertyID_BasicDescription: Specifies the current
991    * output description as an AudioStreamBasicDescription.
992    }
993 	kQTSCAudioPropertyID_BasicDescription = FourCharCode('osbd'); { AudioStreamBasicDescription, Read/Write/Listen/DataProc }
994 
995   {
996    * kQTSCAudioPropertyID_CodecSpecificSettingsArray: Some compressors
997    * publish a CFArray of CFDictionaries that describe various
998    * parameters specific to the configuring of the codec.  This array
999    * of dictionaries can be parsed to generate UI.  When any value in
1000    * the array changes, a client should call QTSetComponentProperty,
1001    * passing the entire array.
1002    }
1003 	kQTSCAudioPropertyID_CodecSpecificSettingsArray = FourCharCode('cdst'); { CFArrayRef, Read/Write }
1004 
1005   {
1006    * kQTSCAudioPropertyID_BitRate: Specifies the current bitrate of the
1007    * output audio format in bit per second. Note that this property may
1008    * not be available for formats that are inherently very variable in
1009    * bitrate and highly source-data dependent (such as Apple Lossless).
1010    *  This property is available in QT 7.1 and later.
1011    }
1012 	kQTSCAudioPropertyID_BitRate = kQTSoundDescriptionPropertyID_BitRate; { UInt32, Read}
1013                                         { Old Sound Get/SetInfo types as property id's.}
1014 
1015   {
1016    * kQTSCAudioPropertyID_SettingsState: Used to save off the current
1017    * state of the StandardCompressionSubTypeAudio component, such that
1018    * the state may be restored at a later time with a single call.  The
1019    * Handle returned from from QTGetComponentProperty(...
1020    * kQTSCAudioPropertyID_SettingsState ...) contains classic atoms
1021    * that have not been Endian flipped, so this Handle is not suitable
1022    * for writing to disk.  If you wish to store settings from a
1023    * scdi/audi component instance to disk (as a compression preset,
1024    * etc.), use SCGetSettingsAsAtomContainer(), the result of which is
1025    * a QTAtomContainer filled with settings that have been Endian
1026    * flipped.  To restore a settings QTAtomContainer from disk at a
1027    * later time, use SCSetSettingsFromAtomContainer().  Note that a
1028    * scdi/audi instance will accept (via
1029    * SCSetSettingsFromAtomContainer()) a QTAtomContainer produced by a
1030    * legacy scdi/soun component.  And the QTAtomContainer produced by
1031    * an scdi/audi component (using SCGetSettingsAsAtomContainer()) will
1032    * contain settings that are backward compatible with a scdi/soun
1033    * component, so long as the current state of the scdi/audi component
1034    * instance reflects an output format capable of being described by a
1035    * SoundDescriptionV1. Also note that the
1036    * kQTSCAudioPropertyID_SettingsState Handle from a scdi/audi
1037    * component and the Handle produced from a scdi/soun component's
1038    * SCGetInfo(... scSettingsStateType ...) are not compatible with one
1039    * another.
1040    }
1041 	kQTSCAudioPropertyID_SettingsState = scSettingsStateType; { Handle, Read/Write }
1042 
1043   {
1044    * kQTSCAudioPropertyID_MaximumOutputPacketSize: Specifies the
1045    * greatest size in bytes of a packet obtained using the
1046    * SCAudioFillBuffer call. This size is dependent on the output
1047    * format of the compression/decompression/transcode operation being
1048    * performed.  This property is available in QT 7.1 and later.
1049    * Maximum output packet size is a read-only property.
1050    }
1051 	kQTSCAudioPropertyID_MaximumOutputPacketSize = FourCharCode('xops'); { UInt32, Read}
1052 
1053   {
1054    * kQTSCAudioPropertyID_OutputFormatIsExternallyFramed: Specifies
1055    * whether the output format currently selected requires external
1056    * framing information.  This information is necessary when using the
1057    * SCAudioFillBuffer API call to determine whether
1058    * AudioStreamPacketDescriptions must be passed.  If the format is
1059    * externally framed, an array of AudioStreamPacketDescriptions must
1060    * be passed to SCAudioFillBuffer, otherwise not.  This property is
1061    * available in QT 7.1 and later. This property is read-only.
1062    }
1063 	kQTSCAudioPropertyID_OutputFormatIsExternallyFramed = FourCharCode('fexf'); { Boolean, Read}
1064 
1065   {
1066    * kQTSCAudioPropertyID_RenderQuality: Specifies the quality with
1067    * which QuickTime should render the audio stream during the
1068    * compression/decompression/transcode operation.  Accepted constants
1069    * are defined in Movies.h: kQTAudioRenderQuality_Max,
1070    * kQTAudioRenderQuality_High, kQTAudioRenderQuality_Medium,
1071    * kQTAudioRenderQuality_Low, kQTAudioRenderQuality_Min. This
1072    * property is available in QT 7.1 and later.
1073    }
1074 	kQTSCAudioPropertyID_RenderQuality = FourCharCode('qlty'); { UInt32, Read/Write/Listen}
1075 
1076   {
1077    * kQTSCAudioPropertyID_ExtendedProcs: Used to get/set an
1078    * SCExtendedProcs struct.
1079    }
1080 	kQTSCAudioPropertyID_ExtendedProcs = scExtendedProcsType; { SCExtendedProcs struct, Read/Write/Listen }
1081 
1082   {
1083    * kQTSCAudioPropertyID_PreferenceFlags: Used to specify dialog
1084    * preferences, such as scUseMovableModal.
1085    }
1086 	kQTSCAudioPropertyID_PreferenceFlags = scPreferenceFlagsType; { SInt32, Read/Write/Listen }
1087 
1088   {
1089    * kQTSCAudioPropertyID_WindowOptions: Used to set an
1090    * SCWindowSettings struct, which tells the dialog about its parent
1091    * window, so that it can draw itself as a sheet on top of the parent
1092    * window.
1093    }
1094 	kQTSCAudioPropertyID_WindowOptions = scWindowOptionsType; { SCWindowSettings struct, Read/Write/Listen }
1095 
1096   {
1097    * kQTSCAudioPropertyID_PreviewSourceMovie: Used for audio preview
1098    * purposes. If a source movie has been specified prior to invoking
1099    * the StdAudio dialog using SCRequestImageSettings(), the StdAudio
1100    * dialog ui will contain an additional "preview/stop" button and a
1101    * "play source" check box to allow quick toggling between the source
1102    * audio and the encoded result.  The StdAudio dialog ui previews
1103    * from the movie's current time (obtained from GetMovieTime()) and
1104    * loops a segment of up to 10 seconds, starting at that time.  If
1105    * the current movie time is at the end of the movie, the preview
1106    * begins at the start of the movie instead.
1107    }
1108 	kQTSCAudioPropertyID_PreviewSourceMovie = FourCharCode('prmv'); { Movie, Read/Write}
1109 
1110   {
1111    * kQTSCAudioPropertyID_PreviewSourceTrack: Used to specify a
1112    * particular track for audio preview. The track must be found in the
1113    * movie specified by kQTSCAudioPropertyID_PreviewSourceMovie.
1114    }
1115 	kQTSCAudioPropertyID_PreviewSourceTrack = FourCharCode('prtk'); { Track, Read/Write}
1116 
1117 
1118 {
1119    These are for movie export getProperty procs only (not SCAudio), so that variable size
1120    properties can be handled in that API where there is no associated size parameter.
1121    The getProperty proc can be asked the size first, then the caller can allocate memory
1122    for the associated SCAudio property and call the getProperty proc again to get the
1123    property.
1124 }
1125 const
1126 	movieExportChannelLayoutSize = FourCharCode('clsz'); { UInt32.  Proc only}
1127 	movieExportMagicCookieSize = FourCharCode('mcsz'); { UInt32.  Proc only}
1128 	movieExportUseHighResolutionAudioProperties = FourCharCode('hrau'); { Boolean. Proc only}
1129 
1130 
1131 {
1132  *  SCAudioFormatFlagsRestrictions
1133  *
1134  *  Summary:
1135  *    Struct describing the restrictions a client wishes to impose on
1136  *    the mFormatFlags fields of an AudioStreamBasicDescription.  In
1137  *    formatFlagsMask, the client specifies the fields to be
1138  *    restricted, and in formatFlagsValues, the client specifies the
1139  *    restricted value of each field set in the mask.
1140  }
1141 type
1142 	SCAudioFormatFlagsRestrictions = record
1143 {
1144    * NOTE: Currently QuickTime only supports restrictions on the
1145    * following bits: kAudioFormatFlagIsFloat,
1146    * kAudioFormatFlagIsBigEndian, kAudioFormatFlagIsSignedInteger. If
1147    * other bits are set in the formatFlagsMask, paramErr will be
1148    * returned.
1149    }
1150 		formatFlagsMask: UInt32;
1151 
1152   {
1153    * NOTE regarding the kAudioFormatFlagIsSignedInteger flag: Integer
1154    * samples over 8 bits must always be signed.  Setting this bit
1155    * applies to 8 bit integer samples only.
1156    }
1157 		formatFlagsValues: UInt32;
1158 	end;
1159 {
1160  *  SCAudioInvokeLegacyCodecOptionsDialog()
1161  *
1162  *  Discussion:
1163  *    If kQTSCAudioPropertyID_HasLegacyCodecOptionsDialog is true,
1164  *    SCAudioInvokeLegacyCodecOptionsDialog invokes the compressor's
1165  *    options dialog. Note - this call blocks until the options dialog
1166  *    "OK" or "Cancel" buttons are pressed.
1167  *
1168  *  Parameters:
1169  *
1170  *    ci:
1171  *      The client's connection to a StdAudio Compression component
1172  *
1173  *  Result:
1174  *    ComponentResult
1175  *
1176  *  Availability:
1177  *    Mac OS X:         in version 10.4 (or QuickTime 7.0) and later in QuickTime.framework
1178  *    CarbonLib:        not available
1179  *    Non-Carbon CFM:   not available
1180  }
SCAudioInvokeLegacyCodecOptionsDialognull1181 function SCAudioInvokeLegacyCodecOptionsDialog( ci: ComponentInstance ): ComponentResult; external name '_SCAudioInvokeLegacyCodecOptionsDialog';
1182 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
1183 
1184 
1185 {
1186    *************************************************
1187    StandardCompressionSubTypeAudio Compression API's
1188    *************************************************
1189 }
1190 
1191 {
1192    The StandardCompressionSubTypeAudio component provides an SCAudioFillBuffer
1193    call with the same parameters and behaviors of AudioConverterFillComplexBuffer.
1194    One important difference between the AudioConverter and SCAudio component is
1195    that the SCAudio compression API's can do mixing as well as n -> n channels
1196    conversion.  A client wishes to compress/decompress/transcode audio using
1197    the SCAudioFillBuffer interface configures the StandardCompressionSubTypeAudio
1198    component with the desired input and output formats (or uses the SCRequestImageSettings
1199    API to present a dialog and let a user pick an output format), then calls
1200    SCAudioFillBuffer, providing an SCAudioInputDataProc callback which will be
1201    called for audio in the specified source format.
1202 }
1203 
1204 
1205 {
1206  *  SCAudioInputDataProc
1207  *
1208  *  Discussion:
1209  *    Clients using the SCAudioFillBuffer API call must provide an
1210  *    input data proc in which they provide source packets of audio.
1211  *    SCAudioInputDataProc is available in QT 7.1 and later.
1212  *
1213  *  Parameters:
1214  *
1215  *    ci:
1216  *      The client's connection to a StdAudio Compression component
1217  *
1218  *    ioNumberDataPackets:
1219  *      On input, the number of audio packets requested. On output, the
1220  *      number of audio packets you've actually provided.
1221  *
1222  *    ioData:
1223  *      An AudioBufferList in which you store the requested data.
1224  *
1225  *    outDataPacketDescription:
1226  *      An array of AudioStreamPacketDescriptions you provide to inform
1227  *      downstream components how to decode your externally framed
1228  *      audio packets.
1229  *
1230  *    inRefCon:
1231  *      The ref con you provided to SCAudioFillBuffer.
1232  *
1233  *  Result:
1234  *    ComponentResult An error code you return.
1235  }
1236 type
cinull1237 	SCAudioInputDataProc = function( ci: ComponentInstance; var ioNumberDataPackets: UInt32; var ioData: AudioBufferList; var outDataPacketDescription: AudioStreamPacketDescriptionPtr; inRefCon: UnivPtr ): ComponentResult;
1238 
1239 
1240 {
1241  *  SCAudioFillBuffer()
1242  *
1243  *  Discussion:
1244  *    Used to pull compressed frames from the StdAudio component in
1245  *    kQTSCAudioPropertyID_BasicDescription format.  The StdAudio
1246  *    component can perform any combination of
1247  *    decompression/mixing/compression, combining the facilities of
1248  *    CoreAudio AudioConverters and Matrix Mixer AudioUnits.  The
1249  *    behavior of the SCAudioFillBuffer call (signalling end of data,
1250  *    etc.) is identical to the AudioConverter's
1251  *    AudioConverterFillComplexBuffer API.
1252  *
1253  *  Parameters:
1254  *
1255  *    ci:
1256  *      The client's connection to a StdAudio Compression component
1257  *
1258  *    inInputDataProc:
1259  *      The proc address of the function that will be called to supply
1260  *      data in the kQTSCAudioPropertyID_InputBasicDescription format
1261  *      to SCAudio.
1262  *
1263  *    inInputDataProcRefCon:
1264  *      The client refcon that will be passed to the user-provided
1265  *      SCAudioInputDataProc function.
1266  *
1267  *    ioOutputDataPacketSize:
1268  *      On input, the number of desired packets.  On output, the actual
1269  *      number of packets delivered (can be fewer than the input
1270  *      desired packets).
1271  *
1272  *    outOutputData:
1273  *      An AudioBufferList providing sufficiently large buffers to hold
1274  *      the requested number of packets.
1275  *
1276  *    outPacketDescription:
1277  *      An array of AudioStreamPacketDescriptions.  If the requested
1278  *      output format requires external framing info (i.e. a VBR format
1279  *      such as AAC), allocate and pass an array of packet descriptions
1280  *      as large as the number of packets you are requesting.
1281  *
1282  *  Result:
1283  *    ComponentResult
1284  *
1285  *  Availability:
1286  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
1287  *    CarbonLib:        not available
1288  *    Non-Carbon CFM:   not available
1289  }
SCAudioFillBuffernull1290 function SCAudioFillBuffer( ci: ComponentInstance; inInputDataProc: SCAudioInputDataProc; inInputDataProcRefCon: UnivPtr; var ioOutputDataPacketSize: UInt32; var outOutputData: AudioBufferList; var outPacketDescription: AudioStreamPacketDescription ): ComponentResult; external name '_SCAudioFillBuffer';
1291 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
1292 
1293 
1294 {
1295  *  SCAudioReset()
1296  *
1297  *  Discussion:
1298  *    Used to reset an SCAudio conversion chain, flushing any latency
1299  *    present in internal buffers
1300  *
1301  *  Parameters:
1302  *
1303  *    ci:
1304  *      The client's connection to a StdAudio Compression component
1305  *
1306  *  Result:
1307  *    ComponentResult
1308  *
1309  *  Availability:
1310  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
1311  *    CarbonLib:        not available
1312  *    Non-Carbon CFM:   not available
1313  }
SCAudioResetnull1314 function SCAudioReset( ci: ComponentInstance ): ComponentResult; external name '_SCAudioReset';
1315 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
1316 
1317 
1318 // #define SCGetCompression(ci, params, where) SCGetCompressionExtended(ci,params,where,0,0,0,0)
1319 {* These are Progress procedures *}
1320 {
1321  *  SCGetCompressionExtended()
1322  *
1323  *  Availability:
1324  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1325  *    CarbonLib:        in CarbonLib 1.0 and later
1326  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1327  *    Windows:          in qtmlClient.lib 3.0 and later
1328  }
SCGetCompressionExtendednull1329 function SCGetCompressionExtended( ci: ComponentInstance; var params: SCParams; where: Point; filterProc: SCModalFilterUPP; hookProc: SCModalHookUPP; refcon: SIGNEDLONG; customName: StringPtr ): ComponentResult; external name '_SCGetCompressionExtended';
1330 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1331 
1332 
1333 {
1334  *  SCPositionRect()
1335  *
1336  *  Availability:
1337  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1338  *    CarbonLib:        in CarbonLib 1.0 and later
1339  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1340  *    Windows:          in qtmlClient.lib 3.0 and later
1341  }
SCPositionRectnull1342 function SCPositionRect( ci: ComponentInstance; var rp: Rect; var where: Point ): ComponentResult; external name '_SCPositionRect';
1343 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1344 
1345 
1346 {
1347  *  SCPositionDialog()
1348  *
1349  *  Availability:
1350  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1351  *    CarbonLib:        in CarbonLib 1.0 and later
1352  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1353  *    Windows:          in qtmlClient.lib 3.0 and later
1354  }
SCPositionDialognull1355 function SCPositionDialog( ci: ComponentInstance; id: SInt16; var where: Point ): ComponentResult; external name '_SCPositionDialog';
1356 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1357 
1358 
1359 {
1360  *  SCSetTestImagePictHandle()
1361  *
1362  *  Availability:
1363  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1364  *    CarbonLib:        in CarbonLib 1.0 and later
1365  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1366  *    Windows:          in qtmlClient.lib 3.0 and later
1367  }
SCSetTestImagePictHandlenull1368 function SCSetTestImagePictHandle( ci: ComponentInstance; testPict: PicHandle; var testRect: Rect; testFlags: SInt16 ): ComponentResult; external name '_SCSetTestImagePictHandle';
1369 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1370 
1371 
1372 {
1373  *  SCSetTestImagePictFile()
1374  *
1375  *  Availability:
1376  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1377  *    CarbonLib:        in CarbonLib 1.0 and later
1378  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1379  *    Windows:          in qtmlClient.lib 3.0 and later
1380  }
SCSetTestImagePictFilenull1381 function SCSetTestImagePictFile( ci: ComponentInstance; testFileRef: SInt16; var testRect: Rect; testFlags: SInt16 ): ComponentResult; external name '_SCSetTestImagePictFile';
1382 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1383 
1384 
1385 {
1386  *  SCSetTestImagePixMap()
1387  *
1388  *  Availability:
1389  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1390  *    CarbonLib:        in CarbonLib 1.0 and later
1391  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1392  *    Windows:          in qtmlClient.lib 3.0 and later
1393  }
SCSetTestImagePixMapnull1394 function SCSetTestImagePixMap( ci: ComponentInstance; testPixMap: PixMapHandle; var testRect: Rect; testFlags: SInt16 ): ComponentResult; external name '_SCSetTestImagePixMap';
1395 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1396 
1397 
1398 {
1399  *  SCGetBestDeviceRect()
1400  *
1401  *  Availability:
1402  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1403  *    CarbonLib:        in CarbonLib 1.0 and later
1404  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1405  *    Windows:          in qtmlClient.lib 3.0 and later
1406  }
SCGetBestDeviceRectnull1407 function SCGetBestDeviceRect( ci: ComponentInstance; var r: Rect ): ComponentResult; external name '_SCGetBestDeviceRect';
1408 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1409 
1410 
1411 {
1412  *  SCRequestImageSettings()
1413  *
1414  *  Availability:
1415  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1416  *    CarbonLib:        in CarbonLib 1.0 and later
1417  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1418  *    Windows:          in qtmlClient.lib 3.0 and later
1419  }
SCRequestImageSettingsnull1420 function SCRequestImageSettings( ci: ComponentInstance ): ComponentResult; external name '_SCRequestImageSettings';
1421 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1422 
1423 
1424 {
1425  *  SCCompressImage()
1426  *
1427  *  Availability:
1428  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1429  *    CarbonLib:        in CarbonLib 1.0 and later
1430  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1431  *    Windows:          in qtmlClient.lib 3.0 and later
1432  }
SCCompressImagenull1433 function SCCompressImage( ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var desc: ImageDescriptionHandle; var data: Handle ): ComponentResult; external name '_SCCompressImage';
1434 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1435 
1436 
1437 {
1438  *  SCCompressPicture()
1439  *
1440  *  Availability:
1441  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1442  *    CarbonLib:        in CarbonLib 1.0 and later
1443  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1444  *    Windows:          in qtmlClient.lib 3.0 and later
1445  }
SCCompressPicturenull1446 function SCCompressPicture( ci: ComponentInstance; srcPicture: PicHandle; dstPicture: PicHandle ): ComponentResult; external name '_SCCompressPicture';
1447 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1448 
1449 
1450 {
1451  *  SCCompressPictureFile()
1452  *
1453  *  Availability:
1454  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1455  *    CarbonLib:        in CarbonLib 1.0 and later
1456  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1457  *    Windows:          in qtmlClient.lib 3.0 and later
1458  }
SCCompressPictureFilenull1459 function SCCompressPictureFile( ci: ComponentInstance; srcRefNum: SInt16; dstRefNum: SInt16 ): ComponentResult; external name '_SCCompressPictureFile';
1460 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1461 
1462 
1463 {
1464  *  SCRequestSequenceSettings()
1465  *
1466  *  Availability:
1467  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1468  *    CarbonLib:        in CarbonLib 1.0 and later
1469  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1470  *    Windows:          in qtmlClient.lib 3.0 and later
1471  }
SCRequestSequenceSettingsnull1472 function SCRequestSequenceSettings( ci: ComponentInstance ): ComponentResult; external name '_SCRequestSequenceSettings';
1473 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1474 
1475 
1476 {
1477  *  SCCompressSequenceBegin()
1478  *
1479  *  Availability:
1480  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1481  *    CarbonLib:        in CarbonLib 1.0 and later
1482  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1483  *    Windows:          in qtmlClient.lib 3.0 and later
1484  }
SCCompressSequenceBeginnull1485 function SCCompressSequenceBegin( ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var desc: ImageDescriptionHandle ): ComponentResult; external name '_SCCompressSequenceBegin';
1486 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1487 
1488 
1489 {
1490  *  SCCompressSequenceFrame()
1491  *
1492  *  Availability:
1493  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1494  *    CarbonLib:        in CarbonLib 1.0 and later
1495  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1496  *    Windows:          in qtmlClient.lib 3.0 and later
1497  }
SCCompressSequenceFramenull1498 function SCCompressSequenceFrame( ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var data: Handle; var dataSize: SIGNEDLONG; var notSyncFlag: SInt16 ): ComponentResult; external name '_SCCompressSequenceFrame';
1499 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1500 
1501 
1502 {
1503  *  SCCompressSequenceEnd()
1504  *
1505  *  Availability:
1506  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1507  *    CarbonLib:        in CarbonLib 1.0 and later
1508  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1509  *    Windows:          in qtmlClient.lib 3.0 and later
1510  }
SCCompressSequenceEndnull1511 function SCCompressSequenceEnd( ci: ComponentInstance ): ComponentResult; external name '_SCCompressSequenceEnd';
1512 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1513 
1514 
1515 {
1516  *  SCDefaultPictHandleSettings()
1517  *
1518  *  Availability:
1519  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1520  *    CarbonLib:        in CarbonLib 1.0 and later
1521  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1522  *    Windows:          in qtmlClient.lib 3.0 and later
1523  }
SCDefaultPictHandleSettingsnull1524 function SCDefaultPictHandleSettings( ci: ComponentInstance; srcPicture: PicHandle; motion: SInt16 ): ComponentResult; external name '_SCDefaultPictHandleSettings';
1525 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1526 
1527 
1528 {
1529  *  SCDefaultPictFileSettings()
1530  *
1531  *  Availability:
1532  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1533  *    CarbonLib:        in CarbonLib 1.0 and later
1534  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1535  *    Windows:          in qtmlClient.lib 3.0 and later
1536  }
SCDefaultPictFileSettingsnull1537 function SCDefaultPictFileSettings( ci: ComponentInstance; srcRef: SInt16; motion: SInt16 ): ComponentResult; external name '_SCDefaultPictFileSettings';
1538 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1539 
1540 
1541 {
1542  *  SCDefaultPixMapSettings()
1543  *
1544  *  Availability:
1545  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1546  *    CarbonLib:        in CarbonLib 1.0 and later
1547  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1548  *    Windows:          in qtmlClient.lib 3.0 and later
1549  }
SCDefaultPixMapSettingsnull1550 function SCDefaultPixMapSettings( ci: ComponentInstance; src: PixMapHandle; motion: SInt16 ): ComponentResult; external name '_SCDefaultPixMapSettings';
1551 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1552 
1553 
1554 {
1555  *  SCGetInfo()
1556  *
1557  *  Availability:
1558  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1559  *    CarbonLib:        in CarbonLib 1.0 and later
1560  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1561  *    Windows:          in qtmlClient.lib 3.0 and later
1562  }
SCGetInfonull1563 function SCGetInfo( ci: ComponentInstance; infoType: OSType; info: UnivPtr ): ComponentResult; external name '_SCGetInfo';
1564 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1565 
1566 
1567 {
1568  *  SCSetInfo()
1569  *
1570  *  Availability:
1571  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1572  *    CarbonLib:        in CarbonLib 1.0 and later
1573  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1574  *    Windows:          in qtmlClient.lib 3.0 and later
1575  }
SCSetInfonull1576 function SCSetInfo( ci: ComponentInstance; infoType: OSType; info: UnivPtr ): ComponentResult; external name '_SCSetInfo';
1577 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1578 
1579 
1580 {
1581  *  SCNewGWorld()
1582  *
1583  *  Availability:
1584  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1585  *    CarbonLib:        in CarbonLib 1.0 and later
1586  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1587  *    Windows:          in qtmlClient.lib 3.0 and later
1588  }
SCNewGWorldnull1589 function SCNewGWorld( ci: ComponentInstance; var gwp: GWorldPtr; var rp: Rect; flags: GWorldFlags ): ComponentResult; external name '_SCNewGWorld';
1590 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1591 
1592 
1593 {
1594  *  SCSetCompressFlags()
1595  *
1596  *  Availability:
1597  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1598  *    CarbonLib:        in CarbonLib 1.0 and later
1599  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1600  *    Windows:          in qtmlClient.lib 3.0 and later
1601  }
SCSetCompressFlagsnull1602 function SCSetCompressFlags( ci: ComponentInstance; flags: SIGNEDLONG ): ComponentResult; external name '_SCSetCompressFlags';
1603 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1604 
1605 
1606 {
1607  *  SCGetCompressFlags()
1608  *
1609  *  Availability:
1610  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1611  *    CarbonLib:        in CarbonLib 1.0 and later
1612  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1613  *    Windows:          in qtmlClient.lib 3.0 and later
1614  }
SCGetCompressFlagsnull1615 function SCGetCompressFlags( ci: ComponentInstance; var flags: SIGNEDLONG ): ComponentResult; external name '_SCGetCompressFlags';
1616 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1617 
1618 
1619 {
1620  *  SCGetSettingsAsText()
1621  *
1622  *  Availability:
1623  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1624  *    CarbonLib:        in CarbonLib 1.0 and later
1625  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
1626  *    Windows:          in qtmlClient.lib 3.0 and later
1627  }
SCGetSettingsAsTextnull1628 function SCGetSettingsAsText( ci: ComponentInstance; var text: Handle ): ComponentResult; external name '_SCGetSettingsAsText';
1629 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1630 
1631 
1632 {
1633  *  SCGetSettingsAsAtomContainer()
1634  *
1635  *  Availability:
1636  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1637  *    CarbonLib:        in CarbonLib 1.0 and later
1638  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
1639  *    Windows:          in qtmlClient.lib 3.0 and later
1640  }
SCGetSettingsAsAtomContainernull1641 function SCGetSettingsAsAtomContainer( ci: ComponentInstance; var settings: QTAtomContainer ): ComponentResult; external name '_SCGetSettingsAsAtomContainer';
1642 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1643 
1644 
1645 {
1646  *  SCSetSettingsFromAtomContainer()
1647  *
1648  *  Availability:
1649  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1650  *    CarbonLib:        in CarbonLib 1.0 and later
1651  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
1652  *    Windows:          in qtmlClient.lib 3.0 and later
1653  }
SCSetSettingsFromAtomContainernull1654 function SCSetSettingsFromAtomContainer( ci: ComponentInstance; settings: QTAtomContainer ): ComponentResult; external name '_SCSetSettingsFromAtomContainer';
1655 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1656 
1657 
1658 { Note: if you're using SCCompressSequenceFrameAsync with a scForceKeyValue setting, you must call SCAsyncIdle occasionally at main task time. }
1659 {
1660  *  SCCompressSequenceFrameAsync()
1661  *
1662  *  Availability:
1663  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1664  *    CarbonLib:        in CarbonLib 1.3 and later
1665  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
1666  *    Windows:          in qtmlClient.lib 5.0 and later
1667  }
SCCompressSequenceFrameAsyncnull1668 function SCCompressSequenceFrameAsync( ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var data: Handle; var dataSize: SIGNEDLONG; var notSyncFlag: SInt16; asyncCompletionProc: ICMCompletionProcRecordPtr ): ComponentResult; external name '_SCCompressSequenceFrameAsync';
1669 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1670 
1671 
1672 {
1673  *  SCAsyncIdle()
1674  *
1675  *  Availability:
1676  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1677  *    CarbonLib:        in CarbonLib 1.3 and later
1678  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
1679  *    Windows:          in qtmlClient.lib 5.0 and later
1680  }
SCAsyncIdlenull1681 function SCAsyncIdle( ci: ComponentInstance ): ComponentResult; external name '_SCAsyncIdle';
1682 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1683 
1684 
1685 {
1686  *  SCCopyCompressionSessionOptions()
1687  *
1688  *  Summary:
1689  *    Retrieve relevant settings in a form of compression session
1690  *    options that can be given to a compression session. The caller
1691  *    must release it when it is done.
1692  *
1693  *  Parameters:
1694  *
1695  *    ci:
1696  *      A component instance of type StdCompression subtype
1697  *      StandardCompressionSubTypeVideo.
1698  *
1699  *    outOptions:
1700  *      A pointer to ICMCompressionSettionOptionsRef where a reference
1701  *      to a new instance of ICM Compression Session Options object is
1702  *      returned.
1703  *
1704  *  Availability:
1705  *    Mac OS X:         in version 10.4 (or QuickTime 7.0) and later in QuickTime.framework
1706  *    CarbonLib:        not available
1707  *    Non-Carbon CFM:   not available
1708  }
SCCopyCompressionSessionOptionsnull1709 function SCCopyCompressionSessionOptions( ci: ComponentInstance; var outOptions: ICMCompressionSessionOptionsRef ): ComponentResult; external name '_SCCopyCompressionSessionOptions';
1710 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
1711 
1712 
1713 const
1714 	TweenComponentType = FourCharCode('twen');
1715 
1716 
1717 type
1718 	TweenerComponent = ComponentInstance;
1719 {
1720  *  TweenerInitialize()
1721  *
1722  *  Availability:
1723  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1724  *    CarbonLib:        in CarbonLib 1.0 and later
1725  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1726  *    Windows:          in qtmlClient.lib 3.0 and later
1727  }
TweenerInitializenull1728 function TweenerInitialize( tc: TweenerComponent; container: QTAtomContainer; tweenAtom: QTAtom; dataAtom: QTAtom ): ComponentResult; external name '_TweenerInitialize';
1729 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1730 
1731 
1732 {
1733  *  TweenerDoTween()
1734  *
1735  *  Availability:
1736  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1737  *    CarbonLib:        in CarbonLib 1.0 and later
1738  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1739  *    Windows:          in qtmlClient.lib 3.0 and later
1740  }
TweenerDoTweennull1741 function TweenerDoTween( tc: TweenerComponent; var tr: TweenRecord ): ComponentResult; external name '_TweenerDoTween';
1742 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1743 
1744 
1745 {
1746  *  TweenerReset()
1747  *
1748  *  Availability:
1749  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1750  *    CarbonLib:        in CarbonLib 1.0 and later
1751  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1752  *    Windows:          in qtmlClient.lib 3.0 and later
1753  }
TweenerResetnull1754 function TweenerReset( tc: TweenerComponent ): ComponentResult; external name '_TweenerReset';
1755 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1756 
1757 
1758 const
1759 	TCSourceRefNameType = FourCharCode('name');
1760 
1761 const
1762 	tcDropFrame = 1 shl 0;
1763 	tc24HourMax = 1 shl 1;
1764 	tcNegTimesOK = 1 shl 2;
1765 	tcCounter = 1 shl 3;
1766 
1767 
1768 {$endc} {not TARGET_CPU_64}
1769 
1770 type
1771 	TimeCodeDefPtr = ^TimeCodeDef;
1772 	TimeCodeDef = record
1773 		flags: SInt32;                  { drop-frame, etc.}
1774 		fTimeScale: TimeScale;             { time scale of frameDuration (eg. 2997)}
1775 		frameDuration: TimeValue;          { duration of each frame (eg. 100)}
1776 		numFrames: UInt8;              { frames/sec for timecode (eg. 30) OR frames/tick for counter mode}
1777 		padding: UInt8;                { unused padding byte}
1778 	end;
1779 	TimeCodeDef_fix = TimeCodeDef;  { used as field type when a record declaration contains a TimeCodeDef field identifier }
1780 
1781 {$ifc not TARGET_CPU_64}
1782 
1783 const
1784 	tctNegFlag = $80;  { negative bit is in minutes}
1785 
1786 type
1787 	TimeCodeTimePtr = ^TimeCodeTime;
1788 	TimeCodeTime = record
1789 		hours: UInt8;
1790 		minutes: UInt8;
1791 		seconds: UInt8;
1792 		frames: UInt8;
1793 	end;
1794 type
1795 	TimeCodeCounterPtr = ^TimeCodeCounter;
1796 	TimeCodeCounter = record
1797 		counter: SIGNEDLONG;
1798 	end;
1799 
1800 	TimeCodeRecordPtr = ^TimeCodeRecord;
1801 	TimeCodeRecord = record
1802 		case SInt16 of
1803 		0: (
1804 			t: TimeCodeTime;
1805 			);
1806 		1: (
1807 			c: TimeCodeCounter;
1808 			);
1809 	end;
1810 
1811 {$endc} {not TARGET_CPU_64}
1812 
1813 type
1814 	TimeCodeDescription = record
1815 		descSize: SInt32;               { standard sample description header}
1816 		dataFormat: SInt32;
1817 		resvd1: SInt32;
1818 		resvd2: SInt16;
1819 		dataRefIndex: SInt16;
1820 		flags: SInt32;                  { timecode specific stuff}
1821 		timeCodeDef: TimeCodeDef_fix;
1822     srcRef: array [0..0] of SInt32;
1823 	end;
1824 	TimeCodeDescriptionPtr = ^TimeCodeDescription;
1825 type
1826 	TimeCodeDescriptionHandle = ^TimeCodeDescriptionPtr;
1827 
1828 {$ifc not TARGET_CPU_64}
1829 
1830 const
1831 	tcdfShowTimeCode = 1 shl 0;
1832 
1833 
1834 type
1835 	TCTextOptions = record
1836 		txFont: SInt16;
1837 		txFace: SInt16;
1838 		txSize: SInt16;
1839 		pad: SInt16;                    { let's make it longword aligned - thanks.. }
1840 		foreColor: RGBColor;
1841 		backColor: RGBColor;
1842 	end;
1843 	TCTextOptionsPtr = ^TCTextOptions;
1844 
1845 type
1846 	TimeCode64Counter = SInt64;
1847 {
1848  *  TCGetCurrentTimeCode()
1849  *
1850  *  Availability:
1851  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1852  *    CarbonLib:        in CarbonLib 1.0 and later
1853  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1854  *    Windows:          in qtmlClient.lib 3.0 and later
1855  }
TCGetCurrentTimeCodenull1856 function TCGetCurrentTimeCode( mh: MediaHandler; var frameNum: SIGNEDLONG; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; var srcRefH: UserData ): HandlerError; external name '_TCGetCurrentTimeCode';
1857 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1858 
1859 
1860 {
1861  *  TCGetTimeCodeAtTime()
1862  *
1863  *  Availability:
1864  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1865  *    CarbonLib:        in CarbonLib 1.0 and later
1866  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1867  *    Windows:          in qtmlClient.lib 3.0 and later
1868  }
TCGetTimeCodeAtTimenull1869 function TCGetTimeCodeAtTime( mh: MediaHandler; mediaTime: TimeValue; var frameNum: SIGNEDLONG; var tcdef: TimeCodeDef; var tcdata: TimeCodeRecord; var srcRefH: UserData ): HandlerError; external name '_TCGetTimeCodeAtTime';
1870 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1871 
1872 
1873 {
1874  *  TCTimeCodeToString()
1875  *
1876  *  Availability:
1877  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1878  *    CarbonLib:        in CarbonLib 1.0 and later
1879  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1880  *    Windows:          in qtmlClient.lib 3.0 and later
1881  }
TCTimeCodeToStringnull1882 function TCTimeCodeToString( mh: MediaHandler; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; tcStr: StringPtr ): HandlerError; external name '_TCTimeCodeToString';
1883 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1884 
1885 
1886 {
1887  *  TCTimeCodeToFrameNumber()
1888  *
1889  *  Availability:
1890  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1891  *    CarbonLib:        in CarbonLib 1.0 and later
1892  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1893  *    Windows:          in qtmlClient.lib 3.0 and later
1894  }
TCTimeCodeToFrameNumbernull1895 function TCTimeCodeToFrameNumber( mh: MediaHandler; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; var frameNumber: SIGNEDLONG ): HandlerError; external name '_TCTimeCodeToFrameNumber';
1896 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1897 
1898 
1899 {
1900  *  TCFrameNumberToTimeCode()
1901  *
1902  *  Availability:
1903  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1904  *    CarbonLib:        in CarbonLib 1.0 and later
1905  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1906  *    Windows:          in qtmlClient.lib 3.0 and later
1907  }
TCFrameNumberToTimeCodenull1908 function TCFrameNumberToTimeCode( mh: MediaHandler; frameNumber: SIGNEDLONG; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord ): HandlerError; external name '_TCFrameNumberToTimeCode';
1909 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1910 
1911 
1912 {
1913  *  TCGetSourceRef()
1914  *
1915  *  Availability:
1916  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1917  *    CarbonLib:        in CarbonLib 1.0 and later
1918  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1919  *    Windows:          in qtmlClient.lib 3.0 and later
1920  }
TCGetSourceRefnull1921 function TCGetSourceRef( mh: MediaHandler; tcdH: TimeCodeDescriptionHandle; var srefH: UserData ): HandlerError; external name '_TCGetSourceRef';
1922 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1923 
1924 
1925 {
1926  *  TCSetSourceRef()
1927  *
1928  *  Availability:
1929  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1930  *    CarbonLib:        in CarbonLib 1.0 and later
1931  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1932  *    Windows:          in qtmlClient.lib 3.0 and later
1933  }
TCSetSourceRefnull1934 function TCSetSourceRef( mh: MediaHandler; tcdH: TimeCodeDescriptionHandle; srefH: UserData ): HandlerError; external name '_TCSetSourceRef';
1935 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1936 
1937 
1938 {
1939  *  TCSetTimeCodeFlags()
1940  *
1941  *  Availability:
1942  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1943  *    CarbonLib:        in CarbonLib 1.0 and later
1944  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1945  *    Windows:          in qtmlClient.lib 3.0 and later
1946  }
TCSetTimeCodeFlagsnull1947 function TCSetTimeCodeFlags( mh: MediaHandler; flags: SIGNEDLONG; flagsMask: SIGNEDLONG ): HandlerError; external name '_TCSetTimeCodeFlags';
1948 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1949 
1950 
1951 {
1952  *  TCGetTimeCodeFlags()
1953  *
1954  *  Availability:
1955  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1956  *    CarbonLib:        in CarbonLib 1.0 and later
1957  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1958  *    Windows:          in qtmlClient.lib 3.0 and later
1959  }
TCGetTimeCodeFlagsnull1960 function TCGetTimeCodeFlags( mh: MediaHandler; var flags: SIGNEDLONG ): HandlerError; external name '_TCGetTimeCodeFlags';
1961 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1962 
1963 
1964 {
1965  *  TCSetDisplayOptions()
1966  *
1967  *  Availability:
1968  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1969  *    CarbonLib:        in CarbonLib 1.0 and later
1970  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1971  *    Windows:          in qtmlClient.lib 3.0 and later
1972  }
TCSetDisplayOptionsnull1973 function TCSetDisplayOptions( mh: MediaHandler; textOptions: TCTextOptionsPtr ): HandlerError; external name '_TCSetDisplayOptions';
1974 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1975 
1976 
1977 {
1978  *  TCGetDisplayOptions()
1979  *
1980  *  Availability:
1981  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
1982  *    CarbonLib:        in CarbonLib 1.0 and later
1983  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
1984  *    Windows:          in qtmlClient.lib 3.0 and later
1985  }
TCGetDisplayOptionsnull1986 function TCGetDisplayOptions( mh: MediaHandler; textOptions: TCTextOptionsPtr ): HandlerError; external name '_TCGetDisplayOptions';
1987 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
1988 
1989 
1990 { The following are the 64-bit TimeCode Media API's}
1991 {
1992  *  TCGetCurrentFrameAndTimeCodeDef()
1993  *
1994  *  Summary:
1995  *    Retrieves the frame number and time code format information for
1996  *    the current movie time.
1997  *
1998  *  Parameters:
1999  *
2000  *    mh:
2001  *      The time code media handler.
2002  *
2003  *    outFrameNum:
2004  *      Pointer to a field that receives the current frame number.
2005  *
2006  *    outTCDef:
2007  *      Pointer to field that receives the time code format information.
2008  *
2009  *  Availability:
2010  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2011  *    CarbonLib:        not available
2012  *    Non-Carbon CFM:   not available
2013  }
TCGetCurrentFrameAndTimeCodeDefnull2014 function TCGetCurrentFrameAndTimeCodeDef( mh: MediaHandler; var outFrameNum: SInt64; var outTCDef: TimeCodeDef ): HandlerError; external name '_TCGetCurrentFrameAndTimeCodeDef';
2015 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2016 
2017 
2018 {
2019  *  TCGetFrameAndTimeCodeDefAtTime()
2020  *
2021  *  Summary:
2022  *    Retrieves the frame number and time code format information for a
2023  *    specific movie time.
2024  *
2025  *  Parameters:
2026  *
2027  *    mh:
2028  *      The time code media handler.
2029  *
2030  *    mediaTime:
2031  *      A const pointer to the field containing the media time at which
2032  *      time code information is required.
2033  *
2034  *    outFrameNum:
2035  *      Pointer to a field that receives the frame number at time
2036  *      mediaTime.
2037  *
2038  *    outTCDef:
2039  *      Pointer to field that receives the time code format information.
2040  *
2041  *  Availability:
2042  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2043  *    CarbonLib:        not available
2044  *    Non-Carbon CFM:   not available
2045  }
TCGetFrameAndTimeCodeDefAtTimenull2046 function TCGetFrameAndTimeCodeDefAtTime( mh: MediaHandler; (*const*) var mediaTime: TimeValue64; var outFrameNum: SInt64; var outTCDef: TimeCodeDef ): HandlerError; external name '_TCGetFrameAndTimeCodeDefAtTime';
2047 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2048 
2049 
2050 {
2051  *  TCTimeCodeTimeToString()
2052  *
2053  *  Summary:
2054  *    Converts a time value into a text string in the (-) HH:MM:SS:FF
2055  *    format.
2056  *
2057  *  Parameters:
2058  *
2059  *    mh:
2060  *      The time code media handler.
2061  *
2062  *    tCDef:
2063  *      A const pointer to a TimeCodeDef that contains time code format
2064  *      info for the conversion.
2065  *
2066  *    tCTime:
2067  *      A const pointer to a SMPTETime structure that contains the time
2068  *      value to convert.
2069  *
2070  *    outTCStr:
2071  *      Pointer to a CFStringRef that is to receive the converted time
2072  *      value. Client responsible for disposing string.
2073  *
2074  *  Availability:
2075  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2076  *    CarbonLib:        not available
2077  *    Non-Carbon CFM:   not available
2078  }
TCTimeCodeTimeToStringnull2079 function TCTimeCodeTimeToString( mh: MediaHandler; const (*var*) tCDef: TimeCodeDef; const (*var*) tCTime: SMPTETime; var outTCStr: CFStringRef ): HandlerError; external name '_TCTimeCodeTimeToString';
2080 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2081 
2082 
2083 {
2084  *  TCTimeCodeCounterToString()
2085  *
2086  *  Summary:
2087  *    Converts a counter value into a text string.
2088  *
2089  *  Parameters:
2090  *
2091  *    mh:
2092  *      The time code media handler.
2093  *
2094  *    tCDef:
2095  *      A const pointer to a TimeCodeDef that contains time code format
2096  *      info for the conversion.
2097  *
2098  *    tCCounter:
2099  *      A const pointer to a TimeCode64Counter that contains the
2100  *      counter value to convert.
2101  *
2102  *    outTCStr:
2103  *      Pointer to a CFStringRef that is to receive the converted time
2104  *      value. Client reponsible for disposing string.
2105  *
2106  *  Availability:
2107  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2108  *    CarbonLib:        not available
2109  *    Non-Carbon CFM:   not available
2110  }
TCTimeCodeCounterToStringnull2111 function TCTimeCodeCounterToString( mh: MediaHandler; const (*var*) tCDef: TimeCodeDef; const (*var*) tCCounter: TimeCode64Counter; var outTCStr: CFStringRef ): HandlerError; external name '_TCTimeCodeCounterToString';
2112 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2113 
2114 
2115 {
2116  *  TCTimeCodeTimeToFrameNumber()
2117  *
2118  *  Summary:
2119  *    Converts a time value into its corresponding frame number.
2120  *
2121  *  Parameters:
2122  *
2123  *    mh:
2124  *      The time code media handler.
2125  *
2126  *    tCDef:
2127  *      A const pointer to a TimeCodeDef that contains time code format
2128  *      info for the conversion.
2129  *
2130  *    tCTime:
2131  *      A const pointer to a SMPTETime structure that contains the time
2132  *      value to convert.
2133  *
2134  *    outFrameNum:
2135  *      Pointer to a field that is to receive the frame number
2136  *      corresponding to the time value in tCTime.
2137  *
2138  *  Availability:
2139  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2140  *    CarbonLib:        not available
2141  *    Non-Carbon CFM:   not available
2142  }
TCTimeCodeTimeToFrameNumbernull2143 function TCTimeCodeTimeToFrameNumber( mh: MediaHandler; const (*var*) tCDef: TimeCodeDef; const (*var*) tCTime: SMPTETime; var outFrameNum: SInt64 ): HandlerError; external name '_TCTimeCodeTimeToFrameNumber';
2144 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2145 
2146 
2147 {
2148  *  TCTimeCodeCounterToFrameNumber()
2149  *
2150  *  Summary:
2151  *    Converts a counter value into its corresponding frame number.
2152  *
2153  *  Parameters:
2154  *
2155  *    mh:
2156  *      The time code media handler.
2157  *
2158  *    tCDef:
2159  *      A const pointer to a TimeCodeDef that contains format info for
2160  *      the conversion.
2161  *
2162  *    tCCounter:
2163  *      A const pointer to a TimeCode64Counter that contains the
2164  *      counter value to convert.
2165  *
2166  *    outFrameNum:
2167  *      Pointer to a field that is to receive the frame number
2168  *      corresponding to the counter value in tCCounter.
2169  *
2170  *  Availability:
2171  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2172  *    CarbonLib:        not available
2173  *    Non-Carbon CFM:   not available
2174  }
TCTimeCodeCounterToFrameNumbernull2175 function TCTimeCodeCounterToFrameNumber( mh: MediaHandler; const (*var*) tCDef: TimeCodeDef; const (*var*) tCCounter: TimeCode64Counter; var outFrameNum: SInt64 ): HandlerError; external name '_TCTimeCodeCounterToFrameNumber';
2176 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2177 
2178 
2179 {
2180  *  TCFrameNumberToTimeCodeTime()
2181  *
2182  *  Summary:
2183  *    Converts a frame number to its corresponding timecode time value.
2184  *
2185  *  Parameters:
2186  *
2187  *    mh:
2188  *      The time code media handler.
2189  *
2190  *    frameNumber:
2191  *      A const pointer to the field containing the frame number that
2192  *      is to be converted.
2193  *
2194  *    tCDef:
2195  *      A const pointer to a TimeCodeDef that contains format info for
2196  *      the conversion.
2197  *
2198  *    outTCTime:
2199  *      Pointer to a SMPTETime structure that is to receive the time
2200  *      value.
2201  *
2202  *  Availability:
2203  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2204  *    CarbonLib:        not available
2205  *    Non-Carbon CFM:   not available
2206  }
TCFrameNumberToTimeCodeTimenull2207 function TCFrameNumberToTimeCodeTime( mh: MediaHandler; (*const*) var frameNumber: SInt64; const (*var*) tCDef: TimeCodeDef; var outTCTime: SMPTETime ): HandlerError; external name '_TCFrameNumberToTimeCodeTime';
2208 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2209 
2210 
2211 {
2212  *  TCFrameNumberToTimeCodeCounter()
2213  *
2214  *  Summary:
2215  *    Converts a frame number to its corresponding counter value.
2216  *
2217  *  Parameters:
2218  *
2219  *    mh:
2220  *      The time code media handler.
2221  *
2222  *    frameNumber:
2223  *      A const pointer to the field containing the frame number that
2224  *      is to be converted.
2225  *
2226  *    tCDef:
2227  *      A const pointer to a TimeCodeDef that contains format info for
2228  *      the conversion.
2229  *
2230  *    outTCCounter:
2231  *      Pointer to a TimeCode64Counter that is to receive the counter
2232  *      value.
2233  *
2234  *  Availability:
2235  *    Mac OS X:         in version 10.5 (or QuickTime 7.1) and later in QuickTime.framework
2236  *    CarbonLib:        not available
2237  *    Non-Carbon CFM:   not available
2238  }
TCFrameNumberToTimeCodeCounternull2239 function TCFrameNumberToTimeCodeCounter( mh: MediaHandler; (*const*) var frameNumber: SInt64; const (*var*) tCDef: TimeCodeDef; var outTCCounter: TimeCode64Counter ): HandlerError; external name '_TCFrameNumberToTimeCodeCounter';
2240 (* AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER *)
2241 
2242 
2243 type
2244 	MovieImportComponent = ComponentInstance;
2245 	MovieExportComponent = ComponentInstance;
2246 const
2247 	MovieImportType = FourCharCode('eat ');
2248 	MovieExportType = FourCharCode('spit');
2249 
2250 const
2251 	canMovieImportHandles = 1 shl 0;
2252 	canMovieImportFiles = 1 shl 1;
2253 	hasMovieImportUserInterface = 1 shl 2;
2254 	canMovieExportHandles = 1 shl 3;
2255 	canMovieExportFiles = 1 shl 4;
2256 	hasMovieExportUserInterface = 1 shl 5;
2257 	movieImporterIsXMLBased = 1 shl 5;
2258 	dontAutoFileMovieImport = 1 shl 6;
2259 	canMovieExportAuxDataHandle = 1 shl 7;
2260 	canMovieImportValidateHandles = 1 shl 8;
2261 	canMovieImportValidateFile = 1 shl 9;
2262 	dontRegisterWithEasyOpen = 1 shl 10;
2263 	canMovieImportInPlace = 1 shl 11;
2264 	movieImportSubTypeIsFileExtension = 1 shl 12;
2265 	canMovieImportPartial = 1 shl 13;
2266 	hasMovieImportMIMEList = 1 shl 14;
2267 	canMovieImportAvoidBlocking = 1 shl 15;
2268 	canMovieExportFromProcedures = 1 shl 15;
2269 	canMovieExportValidateMovie = 1 shl 16;
2270 	movieImportMustGetDestinationMediaType = 1 shl 16;
2271 	movieExportNeedsResourceFork = 1 shl 17;
2272 	canMovieImportDataReferences = 1 shl 18;
2273 	movieExportMustGetSourceMediaType = 1 shl 19;
2274 	canMovieImportWithIdle = 1 shl 20;
2275 	canMovieImportValidateDataReferences = 1 shl 21;
2276 	reservedForUseByGraphicsImporters = 1 shl 23;
2277 
2278 const
2279 	movieImportCreateTrack = 1;
2280 	movieImportInParallel = 2;
2281 	movieImportMustUseTrack = 4;
2282 	movieImportWithIdle = 16;
2283 
2284 const
2285 	movieImportResultUsedMultipleTracks = 8;
2286 	movieImportResultNeedIdles = 32;
2287 	movieImportResultComplete = 64;
2288 
2289 const
2290 	kMovieExportTextOnly = 0;
2291 	kMovieExportAbsoluteTime = 1;
2292 	kMovieExportRelativeTime = 2;
2293 
2294 { Movie exporter property class}
2295 const
2296 	kQTPropertyClass_MovieExporter = FourCharCode('spit');
2297 
2298 { kPropertyClass_MovieExporter IDs}
2299 const
2300 	kQTMovieExporterPropertyID_EnableHighResolutionAudioFeatures = FourCharCode('hrau'); { value is Boolean}
2301 
2302 const
2303 	kMIDIImportSilenceBefore = 1 shl 0;
2304 	kMIDIImportSilenceAfter = 1 shl 1;
2305 	kMIDIImport20Playable = 1 shl 2;
2306 	kMIDIImportWantLyrics = 1 shl 3;
2307 
2308 
2309 const
2310 	kQTMediaConfigResourceType = FourCharCode('mcfg');
2311 	kQTMediaConfigResourceVersion = 2;
2312 	kQTMediaGroupResourceType = FourCharCode('mgrp');
2313 	kQTMediaGroupResourceVersion = 1;
2314 	kQTBrowserInfoResourceType = FourCharCode('brws');
2315 	kQTBrowserInfoResourceVersion = 1;
2316 
2317 
2318 const
2319 	kQTMediaMIMEInfoHasChanged = 1 shl 1; { the MIME type(s) is(are) new or has changed since the last time}
2320                                         {  someone asked about it}
2321 	kQTMediaFileInfoHasChanged = 1 shl 2; { the file extension(s) is(are) new or has changed since the last time}
2322                                         {  anyone asked about it}
2323 	kQTMediaConfigCanUseApp = 1 shl 18; { this MIME type can be configured to use app}
2324 	kQTMediaConfigCanUsePlugin = 1 shl 19; { this MIME type can be configured to use plug-in}
2325 	kQTMediaConfigUNUSED = 1 shl 20; { currently unused}
2326 	kQTMediaConfigBinaryFile = 1 shl 23; { file should be transfered in binary mode}
2327 	kQTMediaConfigTextFile = 0;    { not a bit, defined for clarity}
2328 	kQTMediaConfigMacintoshFile = 1 shl 24; { file's resource fork is significant}
2329 	kQTMediaConfigCanDoFileAssociation = 1 shl 26; { can configure this file association }
2330 	kQTMediaConfigAssociateByDefault = 1 shl 27; { Deprecated, use kQTMediaConfigTakeFileAssociationByDefault instead}
2331 	kQTMediaConfigTakeFileAssociationByDefault = 1 shl 27; { take this file association by default}
2332 	kQTMediaConfigUseAppByDefault = 1 shl 28; { use the app by default for this MIME type}
2333 	kQTMediaConfigUsePluginByDefault = 1 shl 29; { use the plug-in by default for this MIME type}
2334 	kQTMediaConfigDefaultsMask = kQTMediaConfigUseAppByDefault or kQTMediaConfigUsePluginByDefault;
2335 	kQTMediaConfigDefaultsShift = 12;   { ((flags & kQTMediaConfigDefaultsMask) >> kQTMediaConfigDefaultsShift) to get default setting }
2336 	kQTMediaConfigHasFileHasQTAtoms = 1 shl 30; { the file has a "QuickTime like" file format }
2337 
2338 
2339 { mime type group constants for groupID field of 'mcfg' resource}
2340 const
2341 	kQTMediaConfigStreamGroupID = FourCharCode('strm');
2342 	kQTMediaConfigInteractiveGroupID = FourCharCode('intr');
2343 	kQTMediaConfigVideoGroupID = FourCharCode('eyes');
2344 	kQTMediaConfigAudioGroupID = FourCharCode('ears');
2345 	kQTMediaConfigMPEGGroupID = FourCharCode('mpeg');
2346 	kQTMediaConfigMP3GroupID = FourCharCode('mp3 ');
2347 	kQTMediaConfigImageGroupID = FourCharCode('ogle');
2348 	kQTMediaConfigMiscGroupID = FourCharCode('misc');
2349 
2350 { file type group constants for groupID field of 'mcfg' resource}
2351 const
2352 	kQTMediaInfoNetGroup = FourCharCode('net ');
2353 	kQTMediaInfoWinGroup = FourCharCode('win ');
2354 	kQTMediaInfoMacGroup = FourCharCode('mac ');
2355 	kQTMediaInfoMiscGroup = $3F3F3F3F; { '????'}
2356 
2357 
2358 const
2359 	kMimeInfoMimeTypeTag = FourCharCode('mime');
2360 	kMimeInfoFileExtensionTag = FourCharCode('ext ');
2361 	kMimeInfoDescriptionTag = FourCharCode('desc');
2362 	kMimeInfoGroupTag = FourCharCode('grop');
2363 	kMimeInfoDoNotOverrideExistingFileTypeAssociation = FourCharCode('nofa');
2364 
2365 const
2366 	kQTFileTypeAIFF = FourCharCode('AIFF');
2367 	kQTFileTypeAIFC = FourCharCode('AIFC');
2368 	kQTFileTypeDVC = FourCharCode('dvc!');
2369 	kQTFileTypeMIDI = FourCharCode('Midi');
2370 	kQTFileTypePicture = FourCharCode('PICT');
2371 	kQTFileTypeMovie = FourCharCode('MooV');
2372 	kQTFileTypeText = FourCharCode('TEXT');
2373 	kQTFileTypeWave = FourCharCode('WAVE');
2374 	kQTFileTypeSystemSevenSound = FourCharCode('sfil');
2375 	kQTFileTypeMuLaw = FourCharCode('ULAW');
2376 	kQTFileTypeAVI = FourCharCode('VfW ');
2377 	kQTFileTypeSoundDesignerII = FourCharCode('Sd2f');
2378 	kQTFileTypeAudioCDTrack = FourCharCode('trak');
2379 	kQTFileTypePICS = FourCharCode('PICS');
2380 	kQTFileTypeGIF = FourCharCode('GIFf');
2381 	kQTFileTypePNG = FourCharCode('PNGf');
2382 	kQTFileTypeTIFF = FourCharCode('TIFF');
2383 	kQTFileTypePhotoShop = FourCharCode('8BPS');
2384 	kQTFileTypeSGIImage = FourCharCode('.SGI');
2385 	kQTFileTypeBMP = FourCharCode('BMPf');
2386 	kQTFileTypeJPEG = FourCharCode('JPEG');
2387 	kQTFileTypeJFIF = FourCharCode('JPEG');
2388 	kQTFileTypeMacPaint = FourCharCode('PNTG');
2389 	kQTFileTypeTargaImage = FourCharCode('TPIC');
2390 	kQTFileTypeQuickDrawGXPicture = FourCharCode('qdgx');
2391 	kQTFileTypeQuickTimeImage = FourCharCode('qtif');
2392 	kQTFileType3DMF = FourCharCode('3DMF');
2393 	kQTFileTypeFLC = FourCharCode('FLC ');
2394 	kQTFileTypeFlash = FourCharCode('SWFL');
2395 	kQTFileTypeFlashPix = FourCharCode('FPix');
2396 	kQTFileTypeMP4 = FourCharCode('mpg4');
2397 	kQTFileTypePDF = FourCharCode('PDF ');
2398 	kQTFileType3GPP = FourCharCode('3gpp');
2399 	kQTFileTypeAMR = FourCharCode('amr ');
2400 	kQTFileTypeSDV = FourCharCode('sdv ');
2401 	kQTFileType3GP2 = FourCharCode('3gp2');
2402 	kQTFileTypeAMC = FourCharCode('amc ');
2403 	kQTFileTypeJPEG2000 = FourCharCode('jp2 ');
2404 
2405 { QTAtomTypes for atoms in import/export settings containers}
2406 const
2407 	kQTSettingsDVExportNTSC = FourCharCode('dvcv'); { True is export as NTSC, false is export as PAL. (Boolean)}
2408 	kQTSettingsDVExportLockedAudio = FourCharCode('lock'); { True if audio locked to video. (Boolean)}
2409 	kQTSettingsEffect = FourCharCode('effe'); { Parent atom whose contents are atoms of an effects description}
2410 	kQTSettingsGraphicsFileImportSequence = FourCharCode('sequ'); { Parent atom of graphic file movie import component}
2411 	kQTSettingsGraphicsFileImportSequenceEnabled = FourCharCode('enab'); { . If true, import numbered image sequence (Boolean)}
2412 	kQTSettingsMovieExportEnableVideo = FourCharCode('envi'); { Enable exporting of video track (Boolean)}
2413 	kQTSettingsMovieExportEnableSound = FourCharCode('enso'); { Enable exporting of sound track (Boolean)}
2414 	kQTSettingsMovieExportSaveOptions = FourCharCode('save'); { Parent atom of save options}
2415 	kQTSettingsMovieExportSaveForInternet = FourCharCode('fast'); { . Save for Internet}
2416 	kQTSettingsMovieExportSaveCompressedMovie = FourCharCode('cmpm'); { . Save compressed movie resource}
2417 	kQTSettingsMIDI = FourCharCode('MIDI'); { MIDI import related container}
2418 	kQTSettingsMIDISettingFlags = FourCharCode('sttg'); { . MIDI import settings (UInt32)}
2419 	kQTSettingsText = FourCharCode('text'); { Text related container}
2420 	kQTSettingsTextDescription = FourCharCode('desc'); { . Text import settings (TextDescription record)}
2421 	kQTSettingsTextSize = FourCharCode('size'); { . Width/height to create during import (FixedPoint)}
2422 	kQTSettingsTextSettingFlags = FourCharCode('sttg'); { . Text export settings (UInt32)}
2423 	kQTSettingsTextTimeFraction = FourCharCode('timf'); { . Movie time fraction for export (UInt32)}
2424 	kQTSettingsTime = FourCharCode('time'); { Time related container}
2425 	kQTSettingsTimeDuration = FourCharCode('dura'); { . Time related container}
2426 	kQTSettingsAudioCDTrack = FourCharCode('trak'); { Audio CD track related container}
2427 	kQTSettingsAudioCDTrackRateShift = FourCharCode('rshf'); { . Rate shift to be performed (SInt16)}
2428 	kQTSettingsDVExportDVFormat = FourCharCode('dvcf'); { Exported DV Format, DV('dv  ') or DVCPRO('dvp '). (OSType)}
2429 	kQTSettingsVideoSize = FourCharCode('isiz'); { Video size related container}
2430 	kQTSettingsImageWidth = FourCharCode('iwdt'); { . Destination width. If this is zero, it means the source width. (SInt32)}
2431 	kQTSettingsImageHeight = FourCharCode('ihgt'); { . Destination height. If this is zero, it means the source height. (SInt32)}
2432 	kQTSettingsCleanAperture = FourCharCode('clap'); { . Clean aperture for compression sessions. If this is all zeros, it means no clean aperture (i.e. full width and height). (CleanApertureImageDescriptionExtension)}
2433 	kQTSettingsPixelAspectRatio = FourCharCode('pasp'); { . Pixel aspect ratio for compression sessions. If this is all zeros, it means square pixels (i.e. 1:1). (PixelAspectRatioImageDescriptionExtension)}
2434 	kQTSettingsScalingMode = FourCharCode('scam'); { . Scaling mode for compression sessions. If this is zero, it means scaling mode based on the source aperture mode. (OSType)}
2435 	kQTSettingsUseCodecEnforcedDimensions = FourCharCode('uenf'); { . If true, compressor's enforced dimension overrides the image size settings. (Boolean)}
2436 	kQTSettingsDeinterlaceSource = FourCharCode('dint'); { . If true, deinterlacing is applied to source frames. (Boolean)}
2437 
2438 
2439 {
2440  *  Summary:
2441  *    Scaling modes
2442  }
2443 const
2444 {
2445    * Adjusts destination dimensions so that the source fits within the
2446    * dimensions specified with kQTSettingsImageWidth and
2447    * kQTSettingsImageHeight by fitting to the shortest side, and scales
2448    * the source to the destination. Internally, the default scaling
2449    * mode, which is based on the source aperture mode, �       is used
2450    * for compression session, instead of this scaling mode.
2451    }
2452 	kQTSpecialScalingMode_FitWithinDimensions = FourCharCode('fit ');
2453 
2454 type
2455 	MovieExportGetDataParamsPtr = ^MovieExportGetDataParams;
2456 	MovieExportGetDataParams = record
2457 		recordSize: SIGNEDLONG;
2458 
2459 		trackID: SIGNEDLONG;
2460 
2461 		sourceTimeScale: TimeScale;
2462 		requestedTime: TimeValue;
2463 		actualTime: TimeValue;
2464 
2465 		dataPtr: Ptr;
2466 		dataSize: SIGNEDLONG;
2467 
2468 		desc: SampleDescriptionHandle;
2469 		descType: OSType;
2470 		descSeed: SIGNEDLONG;
2471 
2472 		requestedSampleCount: SIGNEDLONG;
2473 		actualSampleCount: SIGNEDLONG;
2474 		durationPerSample: TimeValue;
2475 		sampleFlags: SIGNEDLONG;
2476 	end;
2477 type
refConnull2478 	MovieExportGetDataProcPtr = function( refCon: UnivPtr; var params: MovieExportGetDataParams ): OSErr;
refconnull2479 	MovieExportGetPropertyProcPtr = function( refcon: UnivPtr; trackID: SIGNEDLONG; propertyType: OSType; propertyValue: UnivPtr ): OSErr;
inStagenull2480 	MovieExportStageReachedCallbackProcPtr = function( inStage: OSType; inMovie: Movie; inDataHandler: ComponentInstance; inDataRef: Handle; inDataRefType: OSType; refCon: UnivPtr ): OSErr;
2481 const
2482 	kQTPresetsListResourceType = FourCharCode('stg#');
2483 	kQTPresetsPlatformListResourceType = FourCharCode('stgp');
2484 
2485 const
2486 	kQTPresetInfoIsDivider = 1;
2487 
2488 type
2489 	QTPresetInfoPtr = ^QTPresetInfo;
2490 	QTPresetInfo = record
2491 		presetKey: OSType;              { unique key for this preset in presetsArray }
2492 		presetFlags: UInt32;            { flags about this preset }
2493 		settingsResourceType: OSType;   { resource type of settings resource }
2494 		settingsResourceID: SInt16;     { resource id of settings resource }
2495 		padding1: SInt16;
2496 		nameStringListID: SInt16;       { name string list resource id }
2497 		nameStringIndex: SInt16;        { name string index }
2498 		infoStringListID: SInt16;       { info string list resource id }
2499 		infoStringIndex: SInt16;        { info string index }
2500 	end;
2501 type
2502 	QTPresetListRecordPtr = ^QTPresetListRecord;
2503 	QTPresetListRecord = record
2504 		flags: UInt32;                  { flags for whole list }
2505 		count: UInt32;                  { number of elements in presetsArray }
2506 		reserved: UInt32;
2507 		presetsArray: array [0..0] of QTPresetInfo;        { info about each preset  }
2508 	end;
2509 const
2510 	kQTMovieExportSourceInfoResourceType = FourCharCode('src#');
2511 	kQTMovieExportSourceInfoIsMediaType = 1 shl 0;
2512 	kQTMovieExportSourceInfoIsMediaCharacteristic = 1 shl 1;
2513 	kQTMovieExportSourceInfoIsSourceType = 1 shl 2;
2514 
2515 type
2516 	QTMovieExportSourceInfoPtr = ^QTMovieExportSourceInfo;
2517 	QTMovieExportSourceInfo = record
2518 		mediaType: OSType;              { Media type of source }
2519 		minCount: UInt16;               { min number of sources of this kind required, zero if none required }
2520 		maxCount: UInt16;               { max number of sources of this kind allowed, -1 if unlimited allowed }
2521 		flags: SIGNEDLONG;                  { reserved for flags }
2522 	end;
2523 type
2524 	QTMovieExportSourceRecordPtr = ^QTMovieExportSourceRecord;
2525 	QTMovieExportSourceRecord = record
2526 		count: SIGNEDLONG;
2527 		reserved: SIGNEDLONG;
2528 		sourceArray: array [0..0] of QTMovieExportSourceInfo;
2529 	end;
2530 type
2531 	MovieExportGetDataUPP = MovieExportGetDataProcPtr;
2532 	MovieExportGetPropertyUPP = MovieExportGetPropertyProcPtr;
2533 	MovieExportStageReachedCallbackUPP = MovieExportGetPropertyProcPtr;
2534 {
2535  *  NewSCModalFilterUPP()
2536  *
2537  *  Availability:
2538  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2539  *    CarbonLib:        in CarbonLib 1.0 and later
2540  *    Non-Carbon CFM:   available as macro/inline
2541  }
NewSCModalFilterUPPnull2542 function NewSCModalFilterUPP( userRoutine: SCModalFilterProcPtr ): SCModalFilterUPP; external name '_NewSCModalFilterUPP';
2543 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2544 
2545 {
2546  *  NewSCModalHookUPP()
2547  *
2548  *  Availability:
2549  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2550  *    CarbonLib:        in CarbonLib 1.0 and later
2551  *    Non-Carbon CFM:   available as macro/inline
2552  }
NewSCModalHookUPPnull2553 function NewSCModalHookUPP( userRoutine: SCModalHookProcPtr ): SCModalHookUPP; external name '_NewSCModalHookUPP';
2554 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2555 
2556 {
2557  *  NewMovieExportGetDataUPP()
2558  *
2559  *  Availability:
2560  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2561  *    CarbonLib:        in CarbonLib 1.0 and later
2562  *    Non-Carbon CFM:   available as macro/inline
2563  }
NewMovieExportGetDataUPPnull2564 function NewMovieExportGetDataUPP( userRoutine: MovieExportGetDataProcPtr ): MovieExportGetDataUPP; external name '_NewMovieExportGetDataUPP';
2565 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2566 
2567 {
2568  *  NewMovieExportGetPropertyUPP()
2569  *
2570  *  Availability:
2571  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2572  *    CarbonLib:        in CarbonLib 1.0 and later
2573  *    Non-Carbon CFM:   available as macro/inline
2574  }
NewMovieExportGetPropertyUPPnull2575 function NewMovieExportGetPropertyUPP( userRoutine: MovieExportGetPropertyProcPtr ): MovieExportGetPropertyUPP; external name '_NewMovieExportGetPropertyUPP';
2576 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2577 
2578 {
2579  *  NewMovieExportStageReachedCallbackUPP()
2580  *
2581  *  Availability:
2582  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
2583  *    CarbonLib:        not available
2584  *    Non-Carbon CFM:   available as macro/inline
2585  }
NewMovieExportStageReachedCallbackUPPnull2586 function NewMovieExportStageReachedCallbackUPP( userRoutine: MovieExportStageReachedCallbackProcPtr ): MovieExportStageReachedCallbackUPP; external name '_NewMovieExportStageReachedCallbackUPP';
2587 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
2588 
2589 {
2590  *  DisposeSCModalFilterUPP()
2591  *
2592  *  Availability:
2593  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2594  *    CarbonLib:        in CarbonLib 1.0 and later
2595  *    Non-Carbon CFM:   available as macro/inline
2596  }
2597 procedure DisposeSCModalFilterUPP( userUPP: SCModalFilterUPP ); external name '_DisposeSCModalFilterUPP';
2598 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2599 
2600 {
2601  *  DisposeSCModalHookUPP()
2602  *
2603  *  Availability:
2604  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2605  *    CarbonLib:        in CarbonLib 1.0 and later
2606  *    Non-Carbon CFM:   available as macro/inline
2607  }
2608 procedure DisposeSCModalHookUPP( userUPP: SCModalHookUPP ); external name '_DisposeSCModalHookUPP';
2609 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2610 
2611 {
2612  *  DisposeMovieExportGetDataUPP()
2613  *
2614  *  Availability:
2615  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2616  *    CarbonLib:        in CarbonLib 1.0 and later
2617  *    Non-Carbon CFM:   available as macro/inline
2618  }
2619 procedure DisposeMovieExportGetDataUPP( userUPP: MovieExportGetDataUPP ); external name '_DisposeMovieExportGetDataUPP';
2620 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2621 
2622 {
2623  *  DisposeMovieExportGetPropertyUPP()
2624  *
2625  *  Availability:
2626  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2627  *    CarbonLib:        in CarbonLib 1.0 and later
2628  *    Non-Carbon CFM:   available as macro/inline
2629  }
2630 procedure DisposeMovieExportGetPropertyUPP( userUPP: MovieExportGetPropertyUPP ); external name '_DisposeMovieExportGetPropertyUPP';
2631 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2632 
2633 {
2634  *  DisposeMovieExportStageReachedCallbackUPP()
2635  *
2636  *  Availability:
2637  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
2638  *    CarbonLib:        not available
2639  *    Non-Carbon CFM:   available as macro/inline
2640  }
2641 procedure DisposeMovieExportStageReachedCallbackUPP( userUPP: MovieExportStageReachedCallbackUPP ); external name '_DisposeMovieExportStageReachedCallbackUPP';
2642 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
2643 
2644 {
2645  *  InvokeSCModalFilterUPP()
2646  *
2647  *  Availability:
2648  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2649  *    CarbonLib:        in CarbonLib 1.0 and later
2650  *    Non-Carbon CFM:   available as macro/inline
2651  }
InvokeSCModalFilterUPPnull2652 function InvokeSCModalFilterUPP( theDialog: DialogRef; var theEvent: EventRecord; var itemHit: SInt16; refcon: SIGNEDLONG; userUPP: SCModalFilterUPP ): Boolean; external name '_InvokeSCModalFilterUPP';
2653 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2654 
2655 {
2656  *  InvokeSCModalHookUPP()
2657  *
2658  *  Availability:
2659  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2660  *    CarbonLib:        in CarbonLib 1.0 and later
2661  *    Non-Carbon CFM:   available as macro/inline
2662  }
InvokeSCModalHookUPPnull2663 function InvokeSCModalHookUPP( theDialog: DialogRef; itemHit: SInt16; params: UnivPtr; refcon: SIGNEDLONG; userUPP: SCModalHookUPP ): SInt16; external name '_InvokeSCModalHookUPP';
2664 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2665 
2666 {
2667  *  InvokeMovieExportGetDataUPP()
2668  *
2669  *  Availability:
2670  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2671  *    CarbonLib:        in CarbonLib 1.0 and later
2672  *    Non-Carbon CFM:   available as macro/inline
2673  }
InvokeMovieExportGetDataUPPnull2674 function InvokeMovieExportGetDataUPP( refCon: UnivPtr; var params: MovieExportGetDataParams; userUPP: MovieExportGetDataUPP ): OSErr; external name '_InvokeMovieExportGetDataUPP';
2675 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2676 
2677 {
2678  *  InvokeMovieExportGetPropertyUPP()
2679  *
2680  *  Availability:
2681  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2682  *    CarbonLib:        in CarbonLib 1.0 and later
2683  *    Non-Carbon CFM:   available as macro/inline
2684  }
InvokeMovieExportGetPropertyUPPnull2685 function InvokeMovieExportGetPropertyUPP( refcon: UnivPtr; trackID: SIGNEDLONG; propertyType: OSType; propertyValue: UnivPtr; userUPP: MovieExportGetPropertyUPP ): OSErr; external name '_InvokeMovieExportGetPropertyUPP';
2686 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2687 
2688 {
2689  *  InvokeMovieExportStageReachedCallbackUPP()
2690  *
2691  *  Availability:
2692  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
2693  *    CarbonLib:        not available
2694  *    Non-Carbon CFM:   available as macro/inline
2695  }
InvokeMovieExportStageReachedCallbackUPPnull2696 function InvokeMovieExportStageReachedCallbackUPP( inStage: OSType; inMovie: Movie; inDataHandler: ComponentInstance; inDataRef: Handle; inDataRefType: OSType; refCon: UnivPtr; userUPP: MovieExportStageReachedCallbackUPP ): OSErr; external name '_InvokeMovieExportStageReachedCallbackUPP';
2697 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
2698 
2699 {
2700  *  MovieImportHandle()
2701  *
2702  *  Availability:
2703  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2704  *    CarbonLib:        in CarbonLib 1.0 and later
2705  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2706  *    Windows:          in qtmlClient.lib 3.0 and later
2707  }
MovieImportHandlenull2708 function MovieImportHandle( ci: MovieImportComponent; dataH: Handle; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SIGNEDLONG; var outFlags: SIGNEDLONG ): ComponentResult; external name '_MovieImportHandle';
2709 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2710 
2711 
2712 {
2713  *  MovieImportFile()
2714  *
2715  *  Availability:
2716  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2717  *    CarbonLib:        in CarbonLib 1.0 and later
2718  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2719  *    Windows:          in qtmlClient.lib 3.0 and later
2720  }
MovieImportFilenull2721 function MovieImportFile( ci: MovieImportComponent; const (*var*) theFile: FSSpec; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SIGNEDLONG; var outFlags: SIGNEDLONG ): ComponentResult; external name '_MovieImportFile';
2722 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2723 
2724 
2725 {
2726  *  MovieImportSetSampleDuration()
2727  *
2728  *  Availability:
2729  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2730  *    CarbonLib:        in CarbonLib 1.0 and later
2731  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2732  *    Windows:          in qtmlClient.lib 3.0 and later
2733  }
MovieImportSetSampleDurationnull2734 function MovieImportSetSampleDuration( ci: MovieImportComponent; duration: TimeValue; scale: TimeScale ): ComponentResult; external name '_MovieImportSetSampleDuration';
2735 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2736 
2737 
2738 {
2739  *  MovieImportSetSampleDescription()
2740  *
2741  *  Availability:
2742  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2743  *    CarbonLib:        in CarbonLib 1.0 and later
2744  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2745  *    Windows:          in qtmlClient.lib 3.0 and later
2746  }
MovieImportSetSampleDescriptionnull2747 function MovieImportSetSampleDescription( ci: MovieImportComponent; desc: SampleDescriptionHandle; mediaType: OSType ): ComponentResult; external name '_MovieImportSetSampleDescription';
2748 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2749 
2750 
2751 {
2752  *  MovieImportSetMediaFile()
2753  *
2754  *  Availability:
2755  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2756  *    CarbonLib:        in CarbonLib 1.0 and later
2757  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2758  *    Windows:          in qtmlClient.lib 3.0 and later
2759  }
MovieImportSetMediaFilenull2760 function MovieImportSetMediaFile( ci: MovieImportComponent; alias: AliasHandle ): ComponentResult; external name '_MovieImportSetMediaFile';
2761 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2762 
2763 
2764 {
2765  *  MovieImportSetDimensions()
2766  *
2767  *  Availability:
2768  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2769  *    CarbonLib:        in CarbonLib 1.0 and later
2770  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2771  *    Windows:          in qtmlClient.lib 3.0 and later
2772  }
MovieImportSetDimensionsnull2773 function MovieImportSetDimensions( ci: MovieImportComponent; width: Fixed; height: Fixed ): ComponentResult; external name '_MovieImportSetDimensions';
2774 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2775 
2776 
2777 {
2778  *  MovieImportSetChunkSize()
2779  *
2780  *  Availability:
2781  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2782  *    CarbonLib:        in CarbonLib 1.0 and later
2783  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2784  *    Windows:          in qtmlClient.lib 3.0 and later
2785  }
MovieImportSetChunkSizenull2786 function MovieImportSetChunkSize( ci: MovieImportComponent; chunkSize: SIGNEDLONG ): ComponentResult; external name '_MovieImportSetChunkSize';
2787 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2788 
2789 
2790 {
2791  *  MovieImportSetProgressProc()
2792  *
2793  *  Availability:
2794  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2795  *    CarbonLib:        in CarbonLib 1.0 and later
2796  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2797  *    Windows:          in qtmlClient.lib 3.0 and later
2798  }
MovieImportSetProgressProcnull2799 function MovieImportSetProgressProc( ci: MovieImportComponent; proc: MovieProgressUPP; refcon: SIGNEDLONG ): ComponentResult; external name '_MovieImportSetProgressProc';
2800 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2801 
2802 
2803 {
2804  *  MovieImportSetAuxiliaryData()
2805  *
2806  *  Availability:
2807  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2808  *    CarbonLib:        in CarbonLib 1.0 and later
2809  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2810  *    Windows:          in qtmlClient.lib 3.0 and later
2811  }
MovieImportSetAuxiliaryDatanull2812 function MovieImportSetAuxiliaryData( ci: MovieImportComponent; data: Handle; handleType: OSType ): ComponentResult; external name '_MovieImportSetAuxiliaryData';
2813 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2814 
2815 
2816 {
2817  *  MovieImportSetFromScrap()
2818  *
2819  *  Availability:
2820  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2821  *    CarbonLib:        in CarbonLib 1.0 and later
2822  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2823  *    Windows:          in qtmlClient.lib 3.0 and later
2824  }
MovieImportSetFromScrapnull2825 function MovieImportSetFromScrap( ci: MovieImportComponent; fromScrap: Boolean ): ComponentResult; external name '_MovieImportSetFromScrap';
2826 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2827 
2828 
2829 {
2830  *  MovieImportDoUserDialog()
2831  *
2832  *  Availability:
2833  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2834  *    CarbonLib:        in CarbonLib 1.0 and later
2835  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2836  *    Windows:          in qtmlClient.lib 3.0 and later
2837  }
MovieImportDoUserDialognull2838 function MovieImportDoUserDialog( ci: MovieImportComponent; const (*var*) theFile: FSSpec; theData: Handle; var canceled: Boolean ): ComponentResult; external name '_MovieImportDoUserDialog';
2839 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2840 
2841 
2842 {
2843  *  MovieImportSetDuration()
2844  *
2845  *  Availability:
2846  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2847  *    CarbonLib:        in CarbonLib 1.0 and later
2848  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2849  *    Windows:          in qtmlClient.lib 3.0 and later
2850  }
MovieImportSetDurationnull2851 function MovieImportSetDuration( ci: MovieImportComponent; duration: TimeValue ): ComponentResult; external name '_MovieImportSetDuration';
2852 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2853 
2854 
2855 {
2856  *  MovieImportGetAuxiliaryDataType()
2857  *
2858  *  Availability:
2859  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2860  *    CarbonLib:        in CarbonLib 1.0 and later
2861  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2862  *    Windows:          in qtmlClient.lib 3.0 and later
2863  }
MovieImportGetAuxiliaryDataTypenull2864 function MovieImportGetAuxiliaryDataType( ci: MovieImportComponent; var auxType: OSType ): ComponentResult; external name '_MovieImportGetAuxiliaryDataType';
2865 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2866 
2867 
2868 {
2869  *  MovieImportValidate()
2870  *
2871  *  Availability:
2872  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2873  *    CarbonLib:        in CarbonLib 1.0 and later
2874  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2875  *    Windows:          in qtmlClient.lib 3.0 and later
2876  }
MovieImportValidatenull2877 function MovieImportValidate( ci: MovieImportComponent; const (*var*) theFile: FSSpec; theData: Handle; var valid: Boolean ): ComponentResult; external name '_MovieImportValidate';
2878 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2879 
2880 
2881 {
2882  *  MovieImportGetFileType()
2883  *
2884  *  Availability:
2885  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2886  *    CarbonLib:        in CarbonLib 1.0 and later
2887  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2888  *    Windows:          in qtmlClient.lib 3.0 and later
2889  }
MovieImportGetFileTypenull2890 function MovieImportGetFileType( ci: MovieImportComponent; var fileType: OSType ): ComponentResult; external name '_MovieImportGetFileType';
2891 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2892 
2893 
2894 {
2895  *  MovieImportDataRef()
2896  *
2897  *  Availability:
2898  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2899  *    CarbonLib:        in CarbonLib 1.0 and later
2900  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2901  *    Windows:          in qtmlClient.lib 3.0 and later
2902  }
MovieImportDataRefnull2903 function MovieImportDataRef( ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SIGNEDLONG; var outFlags: SIGNEDLONG ): ComponentResult; external name '_MovieImportDataRef';
2904 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2905 
2906 
2907 {
2908  *  MovieImportGetSampleDescription()
2909  *
2910  *  Availability:
2911  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2912  *    CarbonLib:        in CarbonLib 1.0 and later
2913  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
2914  *    Windows:          in qtmlClient.lib 3.0 and later
2915  }
MovieImportGetSampleDescriptionnull2916 function MovieImportGetSampleDescription( ci: MovieImportComponent; var desc: SampleDescriptionHandle; var mediaType: OSType ): ComponentResult; external name '_MovieImportGetSampleDescription';
2917 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2918 
2919 
2920 {
2921  *  MovieImportGetMIMETypeList()
2922  *
2923  *  Availability:
2924  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2925  *    CarbonLib:        in CarbonLib 1.0 and later
2926  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
2927  *    Windows:          in qtmlClient.lib 3.0 and later
2928  }
MovieImportGetMIMETypeListnull2929 function MovieImportGetMIMETypeList( ci: MovieImportComponent; var mimeInfo: QTAtomContainer ): ComponentResult; external name '_MovieImportGetMIMETypeList';
2930 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2931 
2932 
2933 {
2934  *  MovieImportSetOffsetAndLimit()
2935  *
2936  *  Availability:
2937  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2938  *    CarbonLib:        in CarbonLib 1.0 and later
2939  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
2940  *    Windows:          in qtmlClient.lib 3.0 and later
2941  }
MovieImportSetOffsetAndLimitnull2942 function MovieImportSetOffsetAndLimit( ci: MovieImportComponent; offset: UNSIGNEDLONG; limit: UNSIGNEDLONG ): ComponentResult; external name '_MovieImportSetOffsetAndLimit';
2943 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2944 
2945 
2946 {
2947  *  MovieImportGetSettingsAsAtomContainer()
2948  *
2949  *  Availability:
2950  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2951  *    CarbonLib:        in CarbonLib 1.0 and later
2952  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
2953  *    Windows:          in qtmlClient.lib 3.0 and later
2954  }
MovieImportGetSettingsAsAtomContainernull2955 function MovieImportGetSettingsAsAtomContainer( ci: MovieImportComponent; var settings: QTAtomContainer ): ComponentResult; external name '_MovieImportGetSettingsAsAtomContainer';
2956 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2957 
2958 
2959 {
2960  *  MovieImportSetSettingsFromAtomContainer()
2961  *
2962  *  Availability:
2963  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2964  *    CarbonLib:        in CarbonLib 1.0 and later
2965  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
2966  *    Windows:          in qtmlClient.lib 3.0 and later
2967  }
MovieImportSetSettingsFromAtomContainernull2968 function MovieImportSetSettingsFromAtomContainer( ci: MovieImportComponent; settings: QTAtomContainer ): ComponentResult; external name '_MovieImportSetSettingsFromAtomContainer';
2969 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2970 
2971 
2972 {
2973  *  MovieImportSetOffsetAndLimit64()
2974  *
2975  *  Availability:
2976  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2977  *    CarbonLib:        in CarbonLib 1.0.2 and later
2978  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
2979  *    Windows:          in qtmlClient.lib 4.0 and later
2980  }
MovieImportSetOffsetAndLimit64null2981 function MovieImportSetOffsetAndLimit64( ci: MovieImportComponent; const (*var*) offset: wide; const (*var*) limit: wide ): ComponentResult; external name '_MovieImportSetOffsetAndLimit64';
2982 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2983 
2984 
2985 {
2986  *  MovieImportIdle()
2987  *
2988  *  Availability:
2989  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
2990  *    CarbonLib:        in CarbonLib 1.0.2 and later
2991  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
2992  *    Windows:          in qtmlClient.lib 4.0 and later
2993  }
MovieImportIdlenull2994 function MovieImportIdle( ci: MovieImportComponent; inFlags: SIGNEDLONG; var outFlags: SIGNEDLONG ): ComponentResult; external name '_MovieImportIdle';
2995 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
2996 
2997 
2998 {
2999  *  MovieImportValidateDataRef()
3000  *
3001  *  Availability:
3002  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3003  *    CarbonLib:        in CarbonLib 1.0.2 and later
3004  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
3005  *    Windows:          in qtmlClient.lib 4.0 and later
3006  }
MovieImportValidateDataRefnull3007 function MovieImportValidateDataRef( ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType; var valid: UInt8 ): ComponentResult; external name '_MovieImportValidateDataRef';
3008 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3009 
3010 
3011 {
3012  *  MovieImportGetLoadState()
3013  *
3014  *  Availability:
3015  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3016  *    CarbonLib:        in CarbonLib 1.1 and later
3017  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
3018  *    Windows:          in qtmlClient.lib 4.1 and later
3019  }
MovieImportGetLoadStatenull3020 function MovieImportGetLoadState( ci: MovieImportComponent; var importerLoadState: SIGNEDLONG ): ComponentResult; external name '_MovieImportGetLoadState';
3021 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3022 
3023 
3024 {
3025  *  MovieImportGetMaxLoadedTime()
3026  *
3027  *  Availability:
3028  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3029  *    CarbonLib:        in CarbonLib 1.1 and later
3030  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
3031  *    Windows:          in qtmlClient.lib 4.1 and later
3032  }
MovieImportGetMaxLoadedTimenull3033 function MovieImportGetMaxLoadedTime( ci: MovieImportComponent; var time: TimeValue ): ComponentResult; external name '_MovieImportGetMaxLoadedTime';
3034 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3035 
3036 
3037 {
3038  *  MovieImportEstimateCompletionTime()
3039  *
3040  *  Availability:
3041  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3042  *    CarbonLib:        in CarbonLib 1.3 and later
3043  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
3044  *    Windows:          in qtmlClient.lib 5.0 and later
3045  }
MovieImportEstimateCompletionTimenull3046 function MovieImportEstimateCompletionTime( ci: MovieImportComponent; var time: TimeRecord ): ComponentResult; external name '_MovieImportEstimateCompletionTime';
3047 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3048 
3049 
3050 {
3051  *  MovieImportSetDontBlock()
3052  *
3053  *  Availability:
3054  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3055  *    CarbonLib:        in CarbonLib 1.3 and later
3056  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
3057  *    Windows:          in qtmlClient.lib 5.0 and later
3058  }
MovieImportSetDontBlocknull3059 function MovieImportSetDontBlock( ci: MovieImportComponent; dontBlock: Boolean ): ComponentResult; external name '_MovieImportSetDontBlock';
3060 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3061 
3062 
3063 {
3064  *  MovieImportGetDontBlock()
3065  *
3066  *  Availability:
3067  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3068  *    CarbonLib:        in CarbonLib 1.3 and later
3069  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
3070  *    Windows:          in qtmlClient.lib 5.0 and later
3071  }
MovieImportGetDontBlocknull3072 function MovieImportGetDontBlock( ci: MovieImportComponent; var willBlock: Boolean ): ComponentResult; external name '_MovieImportGetDontBlock';
3073 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3074 
3075 
3076 {
3077  *  MovieImportSetIdleManager()
3078  *
3079  *  Availability:
3080  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
3081  *    CarbonLib:        in CarbonLib 1.6 and later
3082  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
3083  *    Windows:          in qtmlClient.lib 6.0 and later
3084  }
MovieImportSetIdleManagernull3085 function MovieImportSetIdleManager( ci: MovieImportComponent; im: IdleManager ): ComponentResult; external name '_MovieImportSetIdleManager';
3086 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
3087 
3088 
3089 {
3090  *  MovieImportSetNewMovieFlags()
3091  *
3092  *  Availability:
3093  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
3094  *    CarbonLib:        in CarbonLib 1.6 and later
3095  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
3096  *    Windows:          in qtmlClient.lib 6.0 and later
3097  }
MovieImportSetNewMovieFlagsnull3098 function MovieImportSetNewMovieFlags( ci: MovieImportComponent; newMovieFlags: SIGNEDLONG ): ComponentResult; external name '_MovieImportSetNewMovieFlags';
3099 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
3100 
3101 
3102 {
3103  *  MovieImportGetDestinationMediaType()
3104  *
3105  *  Availability:
3106  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
3107  *    CarbonLib:        in CarbonLib 1.6 and later
3108  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
3109  *    Windows:          in qtmlClient.lib 6.0 and later
3110  }
MovieImportGetDestinationMediaTypenull3111 function MovieImportGetDestinationMediaType( ci: MovieImportComponent; var mediaType: OSType ): ComponentResult; external name '_MovieImportGetDestinationMediaType';
3112 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
3113 
3114 
3115 {
3116  *  MovieImportSetMediaDataRef()
3117  *
3118  *  Availability:
3119  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
3120  *    CarbonLib:        not available
3121  *    Non-Carbon CFM:   not available
3122  *    Windows:          in qtmlClient.lib 6.5 and later
3123  }
MovieImportSetMediaDataRefnull3124 function MovieImportSetMediaDataRef( ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType ): ComponentResult; external name '_MovieImportSetMediaDataRef';
3125 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
3126 
3127 
3128 {
3129  *  MovieImportDoUserDialogDataRef()
3130  *
3131  *  Availability:
3132  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
3133  *    CarbonLib:        not available
3134  *    Non-Carbon CFM:   not available
3135  *    Windows:          in qtmlClient.lib 6.5 and later
3136  }
MovieImportDoUserDialogDataRefnull3137 function MovieImportDoUserDialogDataRef( ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType; var canceled: Boolean ): ComponentResult; external name '_MovieImportDoUserDialogDataRef';
3138 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
3139 
3140 
3141 {
3142  *  MovieExportToHandle()
3143  *
3144  *  Availability:
3145  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3146  *    CarbonLib:        in CarbonLib 1.0 and later
3147  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3148  *    Windows:          in qtmlClient.lib 3.0 and later
3149  }
MovieExportToHandlenull3150 function MovieExportToHandle( ci: MovieExportComponent; dataH: Handle; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue ): ComponentResult; external name '_MovieExportToHandle';
3151 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3152 
3153 
3154 {
3155  *  MovieExportToFile()
3156  *
3157  *  Availability:
3158  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3159  *    CarbonLib:        in CarbonLib 1.0 and later
3160  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3161  *    Windows:          in qtmlClient.lib 3.0 and later
3162  }
MovieExportToFilenull3163 function MovieExportToFile( ci: MovieExportComponent; const (*var*) theFile: FSSpec; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue ): ComponentResult; external name '_MovieExportToFile';
3164 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3165 
3166 
3167 {
3168  *  MovieExportGetAuxiliaryData()
3169  *
3170  *  Availability:
3171  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3172  *    CarbonLib:        in CarbonLib 1.0 and later
3173  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3174  *    Windows:          in qtmlClient.lib 3.0 and later
3175  }
MovieExportGetAuxiliaryDatanull3176 function MovieExportGetAuxiliaryData( ci: MovieExportComponent; dataH: Handle; var handleType: OSType ): ComponentResult; external name '_MovieExportGetAuxiliaryData';
3177 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3178 
3179 
3180 {
3181  *  MovieExportSetProgressProc()
3182  *
3183  *  Availability:
3184  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3185  *    CarbonLib:        in CarbonLib 1.0 and later
3186  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3187  *    Windows:          in qtmlClient.lib 3.0 and later
3188  }
MovieExportSetProgressProcnull3189 function MovieExportSetProgressProc( ci: MovieExportComponent; proc: MovieProgressUPP; refcon: SIGNEDLONG ): ComponentResult; external name '_MovieExportSetProgressProc';
3190 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3191 
3192 
3193 {
3194  *  MovieExportSetSampleDescription()
3195  *
3196  *  Availability:
3197  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3198  *    CarbonLib:        in CarbonLib 1.0 and later
3199  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3200  *    Windows:          in qtmlClient.lib 3.0 and later
3201  }
MovieExportSetSampleDescriptionnull3202 function MovieExportSetSampleDescription( ci: MovieExportComponent; desc: SampleDescriptionHandle; mediaType: OSType ): ComponentResult; external name '_MovieExportSetSampleDescription';
3203 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3204 
3205 
3206 {
3207  *  MovieExportDoUserDialog()
3208  *
3209  *  Availability:
3210  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3211  *    CarbonLib:        in CarbonLib 1.0 and later
3212  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3213  *    Windows:          in qtmlClient.lib 3.0 and later
3214  }
MovieExportDoUserDialognull3215 function MovieExportDoUserDialog( ci: MovieExportComponent; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue; var canceled: Boolean ): ComponentResult; external name '_MovieExportDoUserDialog';
3216 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3217 
3218 
3219 {
3220  *  MovieExportGetCreatorType()
3221  *
3222  *  Availability:
3223  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3224  *    CarbonLib:        in CarbonLib 1.0 and later
3225  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3226  *    Windows:          in qtmlClient.lib 3.0 and later
3227  }
MovieExportGetCreatorTypenull3228 function MovieExportGetCreatorType( ci: MovieExportComponent; var creator: OSType ): ComponentResult; external name '_MovieExportGetCreatorType';
3229 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3230 
3231 
3232 {
3233  *  MovieExportToDataRef()
3234  *
3235  *  Availability:
3236  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3237  *    CarbonLib:        in CarbonLib 1.0 and later
3238  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3239  *    Windows:          in qtmlClient.lib 3.0 and later
3240  }
MovieExportToDataRefnull3241 function MovieExportToDataRef( ci: MovieExportComponent; dataRef: Handle; dataRefType: OSType; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue ): ComponentResult; external name '_MovieExportToDataRef';
3242 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3243 
3244 
3245 {
3246  *  MovieExportFromProceduresToDataRef()
3247  *
3248  *  Availability:
3249  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3250  *    CarbonLib:        in CarbonLib 1.0 and later
3251  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3252  *    Windows:          in qtmlClient.lib 3.0 and later
3253  }
MovieExportFromProceduresToDataRefnull3254 function MovieExportFromProceduresToDataRef( ci: MovieExportComponent; dataRef: Handle; dataRefType: OSType ): ComponentResult; external name '_MovieExportFromProceduresToDataRef';
3255 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3256 
3257 
3258 {
3259  *  MovieExportAddDataSource()
3260  *
3261  *  Availability:
3262  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3263  *    CarbonLib:        in CarbonLib 1.0 and later
3264  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3265  *    Windows:          in qtmlClient.lib 3.0 and later
3266  }
MovieExportAddDataSourcenull3267 function MovieExportAddDataSource( ci: MovieExportComponent; trackType: OSType; scale: TimeScale; var trackID: SIGNEDLONG; getPropertyProc: MovieExportGetPropertyUPP; getDataProc: MovieExportGetDataUPP; refCon: UnivPtr ): ComponentResult; external name '_MovieExportAddDataSource';
3268 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3269 
3270 
3271 {
3272  *  MovieExportValidate()
3273  *
3274  *  Availability:
3275  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3276  *    CarbonLib:        in CarbonLib 1.0 and later
3277  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3278  *    Windows:          in qtmlClient.lib 3.0 and later
3279  }
MovieExportValidatenull3280 function MovieExportValidate( ci: MovieExportComponent; theMovie: Movie; onlyThisTrack: Track; var valid: Boolean ): ComponentResult; external name '_MovieExportValidate';
3281 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3282 
3283 
3284 {
3285  *  MovieExportGetSettingsAsAtomContainer()
3286  *
3287  *  Availability:
3288  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3289  *    CarbonLib:        in CarbonLib 1.0 and later
3290  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3291  *    Windows:          in qtmlClient.lib 3.0 and later
3292  }
MovieExportGetSettingsAsAtomContainernull3293 function MovieExportGetSettingsAsAtomContainer( ci: MovieExportComponent; var settings: QTAtomContainer ): ComponentResult; external name '_MovieExportGetSettingsAsAtomContainer';
3294 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3295 
3296 
3297 {
3298  *  MovieExportSetSettingsFromAtomContainer()
3299  *
3300  *  Availability:
3301  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3302  *    CarbonLib:        in CarbonLib 1.0 and later
3303  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3304  *    Windows:          in qtmlClient.lib 3.0 and later
3305  }
MovieExportSetSettingsFromAtomContainernull3306 function MovieExportSetSettingsFromAtomContainer( ci: MovieExportComponent; settings: QTAtomContainer ): ComponentResult; external name '_MovieExportSetSettingsFromAtomContainer';
3307 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3308 
3309 
3310 {
3311  *  MovieExportGetFileNameExtension()
3312  *
3313  *  Availability:
3314  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3315  *    CarbonLib:        in CarbonLib 1.0 and later
3316  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3317  *    Windows:          in qtmlClient.lib 3.0 and later
3318  }
MovieExportGetFileNameExtensionnull3319 function MovieExportGetFileNameExtension( ci: MovieExportComponent; var extension: OSType ): ComponentResult; external name '_MovieExportGetFileNameExtension';
3320 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3321 
3322 
3323 {
3324  *  MovieExportGetShortFileTypeString()
3325  *
3326  *  Availability:
3327  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3328  *    CarbonLib:        in CarbonLib 1.0 and later
3329  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3330  *    Windows:          in qtmlClient.lib 3.0 and later
3331  }
MovieExportGetShortFileTypeStringnull3332 function MovieExportGetShortFileTypeString( ci: MovieExportComponent; var typeString: Str255 ): ComponentResult; external name '_MovieExportGetShortFileTypeString';
3333 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3334 
3335 
3336 {
3337  *  MovieExportGetSourceMediaType()
3338  *
3339  *  Availability:
3340  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3341  *    CarbonLib:        in CarbonLib 1.0 and later
3342  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3343  *    Windows:          in qtmlClient.lib 3.0 and later
3344  }
MovieExportGetSourceMediaTypenull3345 function MovieExportGetSourceMediaType( ci: MovieExportComponent; var mediaType: OSType ): ComponentResult; external name '_MovieExportGetSourceMediaType';
3346 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3347 
3348 
3349 {
3350  *  MovieExportSetGetMoviePropertyProc()
3351  *
3352  *  Availability:
3353  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3354  *    CarbonLib:        in CarbonLib 1.0.2 and later
3355  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
3356  *    Windows:          in qtmlClient.lib 4.0 and later
3357  }
MovieExportSetGetMoviePropertyProcnull3358 function MovieExportSetGetMoviePropertyProc( ci: MovieExportComponent; getPropertyProc: MovieExportGetPropertyUPP; refCon: UnivPtr ): ComponentResult; external name '_MovieExportSetGetMoviePropertyProc';
3359 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3360 
3361 
3362 { Text Export Display Info data structure}
3363 type
3364 	TextDisplayData = record
3365 		displayFlags: SIGNEDLONG;
3366 		textJustification: SIGNEDLONG;
3367 		bgColor: RGBColor;
3368 		textBox: Rect;
3369 
3370 		beginHilite: SInt16;
3371 		endHilite: SInt16;
3372 		hiliteColor: RGBColor;
3373 		doHiliteColor: Boolean;
3374 		filler: SInt8;
3375 		scrollDelayDur: TimeValue;
3376 		dropShadowOffset: Point;
3377 		dropShadowTransparency: SInt16;
3378 	end;
3379 
3380 type
3381 	TextExportComponent = ComponentInstance;
3382 	GraphicImageMovieImportComponent = ComponentInstance;
3383 {
3384  *  TextExportGetDisplayData()
3385  *
3386  *  Availability:
3387  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3388  *    CarbonLib:        in CarbonLib 1.0 and later
3389  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3390  *    Windows:          in qtmlClient.lib 3.0 and later
3391  }
TextExportGetDisplayDatanull3392 function TextExportGetDisplayData( ci: TextExportComponent; var textDisplay: TextDisplayData ): ComponentResult; external name '_TextExportGetDisplayData';
3393 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3394 
3395 
3396 {
3397  *  TextExportGetTimeFraction()
3398  *
3399  *  Availability:
3400  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3401  *    CarbonLib:        in CarbonLib 1.0 and later
3402  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3403  *    Windows:          in qtmlClient.lib 3.0 and later
3404  }
TextExportGetTimeFractionnull3405 function TextExportGetTimeFraction( ci: TextExportComponent; var movieTimeFraction: SIGNEDLONG ): ComponentResult; external name '_TextExportGetTimeFraction';
3406 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3407 
3408 
3409 {
3410  *  TextExportSetTimeFraction()
3411  *
3412  *  Availability:
3413  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3414  *    CarbonLib:        in CarbonLib 1.0 and later
3415  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3416  *    Windows:          in qtmlClient.lib 3.0 and later
3417  }
TextExportSetTimeFractionnull3418 function TextExportSetTimeFraction( ci: TextExportComponent; movieTimeFraction: SIGNEDLONG ): ComponentResult; external name '_TextExportSetTimeFraction';
3419 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3420 
3421 
3422 {
3423  *  TextExportGetSettings()
3424  *
3425  *  Availability:
3426  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3427  *    CarbonLib:        in CarbonLib 1.0 and later
3428  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3429  *    Windows:          in qtmlClient.lib 3.0 and later
3430  }
TextExportGetSettingsnull3431 function TextExportGetSettings( ci: TextExportComponent; var setting: SIGNEDLONG ): ComponentResult; external name '_TextExportGetSettings';
3432 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3433 
3434 
3435 {
3436  *  TextExportSetSettings()
3437  *
3438  *  Availability:
3439  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3440  *    CarbonLib:        in CarbonLib 1.0 and later
3441  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3442  *    Windows:          in qtmlClient.lib 3.0 and later
3443  }
TextExportSetSettingsnull3444 function TextExportSetSettings( ci: TextExportComponent; setting: SIGNEDLONG ): ComponentResult; external name '_TextExportSetSettings';
3445 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3446 
3447 
3448 {
3449  *  MIDIImportGetSettings()
3450  *
3451  *  Availability:
3452  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3453  *    CarbonLib:        in CarbonLib 1.0 and later
3454  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3455  *    Windows:          in qtmlClient.lib 3.0 and later
3456  }
MIDIImportGetSettingsnull3457 function MIDIImportGetSettings( ci: TextExportComponent; var setting: SIGNEDLONG ): ComponentResult; external name '_MIDIImportGetSettings';
3458 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3459 
3460 
3461 {
3462  *  MIDIImportSetSettings()
3463  *
3464  *  Availability:
3465  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3466  *    CarbonLib:        in CarbonLib 1.0 and later
3467  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3468  *    Windows:          in qtmlClient.lib 3.0 and later
3469  }
MIDIImportSetSettingsnull3470 function MIDIImportSetSettings( ci: TextExportComponent; setting: SIGNEDLONG ): ComponentResult; external name '_MIDIImportSetSettings';
3471 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3472 
3473 
3474 {
3475  *  MovieExportNewGetDataAndPropertiesProcs()
3476  *
3477  *  Availability:
3478  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3479  *    CarbonLib:        in CarbonLib 1.0 and later
3480  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3481  *    Windows:          in qtmlClient.lib 3.0 and later
3482  }
MovieExportNewGetDataAndPropertiesProcsnull3483 function MovieExportNewGetDataAndPropertiesProcs( ci: MovieExportComponent; trackType: OSType; var scale: TimeScale; theMovie: Movie; theTrack: Track; startTime: TimeValue; duration: TimeValue; var getPropertyProc: MovieExportGetPropertyUPP; var getDataProc: MovieExportGetDataUPP; var refCon: UnivPtr ): ComponentResult; external name '_MovieExportNewGetDataAndPropertiesProcs';
3484 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3485 
3486 
3487 {
3488  *  MovieExportDisposeGetDataAndPropertiesProcs()
3489  *
3490  *  Availability:
3491  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3492  *    CarbonLib:        in CarbonLib 1.0 and later
3493  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3494  *    Windows:          in qtmlClient.lib 3.0 and later
3495  }
MovieExportDisposeGetDataAndPropertiesProcsnull3496 function MovieExportDisposeGetDataAndPropertiesProcs( ci: MovieExportComponent; getPropertyProc: MovieExportGetPropertyUPP; getDataProc: MovieExportGetDataUPP; refCon: UnivPtr ): ComponentResult; external name '_MovieExportDisposeGetDataAndPropertiesProcs';
3497 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3498 
3499 
3500 const
3501 	movieExportUseConfiguredSettings = FourCharCode('ucfg'); { pointer to Boolean}
3502 	movieExportWidth = FourCharCode('wdth'); { pointer to Fixed}
3503 	movieExportHeight = FourCharCode('hegt'); { pointer to Fixed}
3504 	movieExportDuration = FourCharCode('dura'); { pointer to TimeRecord}
3505 	movieExportVideoFilter = FourCharCode('iflt'); { pointer to QTAtomContainer}
3506 	movieExportTimeScale = FourCharCode('tmsc'); { pointer to TimeScale}
3507 	movieExportSourceApertureMode = FourCharCode('srap'); { pointer to OSType. Source movie's aperture mode.�Set the aperture mode on the decompression session.}
3508 
3509 { Component Properties specific to Movie Export components}
3510 const
3511 	kQTMovieExporterPropertyID_StageReachedCallback = FourCharCode('stgr'); { value is a MovieExportStageReachedCallbackProcRecord}
3512 	kQTMovieExporterPropertyID_DeinterlaceVideo = FourCharCode('dint'); { value is a Boolean }
3513 
3514 { Stages passed to MovieExportStageReachedCallbackProc}
3515 const
3516 	kQTMovieExportStage_EmptyMovieCreated = FourCharCode('empt');
3517 	kQTMovieExportStage_AllTracksAddedToMovie = FourCharCode('trax');
3518 
3519 type
3520 	MovieExportStageReachedCallbackProcRecord = record
3521 		stageReachedCallbackProc: MovieExportStageReachedCallbackUPP;
3522 		stageReachedCallbackRefCon: UnivPtr;
3523 	end;
3524 {
3525  *  GraphicsImageImportSetSequenceEnabled()
3526  *
3527  *  Availability:
3528  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3529  *    CarbonLib:        in CarbonLib 1.0 and later
3530  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3531  *    Windows:          in qtmlClient.lib 3.0 and later
3532  }
GraphicsImageImportSetSequenceEnablednull3533 function GraphicsImageImportSetSequenceEnabled( ci: GraphicImageMovieImportComponent; enable: Boolean ): ComponentResult; external name '_GraphicsImageImportSetSequenceEnabled';
3534 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3535 
3536 
3537 {
3538  *  GraphicsImageImportGetSequenceEnabled()
3539  *
3540  *  Availability:
3541  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3542  *    CarbonLib:        in CarbonLib 1.0 and later
3543  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3544  *    Windows:          in qtmlClient.lib 3.0 and later
3545  }
GraphicsImageImportGetSequenceEnablednull3546 function GraphicsImageImportGetSequenceEnabled( ci: GraphicImageMovieImportComponent; var enable: Boolean ): ComponentResult; external name '_GraphicsImageImportGetSequenceEnabled';
3547 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3548 
3549 
3550 {----------------------------'brws' � browser prefs configuration info ------------------------}
3551 const
3552 	kQTBrowserInfoCanUseSystemFolderPlugin = 1 shl 0; { Mac browser can use plug-in from System "Internet Plug-ins" folder }
3553 
3554 
3555 const
3556 	kQTPreFlightOpenComponent = 1 shl 1; { Open component as preflight check}
3557 
3558 type
3559 	ComponentPreflightFlagsPtr = ^ComponentPreflightFlags;
3560 	ComponentPreflightFlags = record
3561 		flags: SIGNEDLONG;
3562 	end;
3563 
3564 
3565 {**************
3566 
3567     File Preview Components
3568 
3569 **************}
3570 
3571 type
3572 	pnotComponent = ComponentInstance;
3573 const
3574 	pnotComponentWantsEvents = 1;
3575 	pnotComponentNeedsNoCache = 2;
3576 
3577 const
3578 	ShowFilePreviewComponentType = FourCharCode('pnot');
3579 	CreateFilePreviewComponentType = FourCharCode('pmak');
3580 
3581 {
3582  *  PreviewShowData()
3583  *
3584  *  Availability:
3585  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3586  *    CarbonLib:        in CarbonLib 1.0 and later
3587  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3588  *    Windows:          in qtmlClient.lib 3.0 and later
3589  }
PreviewShowDatanull3590 function PreviewShowData( p: pnotComponent; dataType: OSType; data: Handle; const (*var*) inHere: Rect ): ComponentResult; external name '_PreviewShowData';
3591 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3592 
3593 
3594 {
3595  *  PreviewMakePreview()
3596  *
3597  *  Availability:
3598  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3599  *    CarbonLib:        in CarbonLib 1.0 and later
3600  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3601  *    Windows:          in qtmlClient.lib 3.0 and later
3602  }
PreviewMakePreviewnull3603 function PreviewMakePreview( p: pnotComponent; var previewType: OSType; var previewResult: Handle; const (*var*) sourceFile: FSSpec; progress: ICMProgressProcRecordPtr ): ComponentResult; external name '_PreviewMakePreview';
3604 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3605 
3606 
3607 {
3608  *  PreviewMakePreviewReference()
3609  *
3610  *  Availability:
3611  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3612  *    CarbonLib:        in CarbonLib 1.0 and later
3613  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3614  *    Windows:          in qtmlClient.lib 3.0 and later
3615  }
PreviewMakePreviewReferencenull3616 function PreviewMakePreviewReference( p: pnotComponent; var previewType: OSType; var resID: SInt16; const (*var*) sourceFile: FSSpec ): ComponentResult; external name '_PreviewMakePreviewReference';
3617 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3618 
3619 
3620 {
3621  *  PreviewEvent()
3622  *
3623  *  Availability:
3624  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3625  *    CarbonLib:        in CarbonLib 1.0 and later
3626  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3627  *    Windows:          in qtmlClient.lib 3.0 and later
3628  }
PreviewEventnull3629 function PreviewEvent( p: pnotComponent; var e: EventRecord; var handledEvent: Boolean ): ComponentResult; external name '_PreviewEvent';
3630 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3631 
3632 
3633 type
3634 	DataCompressorComponent = ComponentInstance;
3635 	DataDecompressorComponent = ComponentInstance;
3636 	DataCodecComponent = ComponentInstance;
3637 const
3638 	DataCompressorComponentType = FourCharCode('dcom');
3639 	DataDecompressorComponentType = FourCharCode('ddec');
3640 	AppleDataCompressorSubType = FourCharCode('adec');
3641 	zlibDataCompressorSubType = FourCharCode('zlib');
3642 
3643 
3644 {* These are DataCodec procedures *}
3645 {
3646  *  DataCodecDecompress()
3647  *
3648  *  Availability:
3649  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3650  *    CarbonLib:        in CarbonLib 1.0 and later
3651  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3652  *    Windows:          in qtmlClient.lib 3.0 and later
3653  }
DataCodecDecompressnull3654 function DataCodecDecompress( dc: DataCodecComponent; srcData: UnivPtr; srcSize: UInt32; dstData: UnivPtr; dstBufferSize: UInt32 ): ComponentResult; external name '_DataCodecDecompress';
3655 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3656 
3657 
3658 {
3659  *  DataCodecGetCompressBufferSize()
3660  *
3661  *  Availability:
3662  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3663  *    CarbonLib:        in CarbonLib 1.0 and later
3664  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3665  *    Windows:          in qtmlClient.lib 3.0 and later
3666  }
DataCodecGetCompressBufferSizenull3667 function DataCodecGetCompressBufferSize( dc: DataCodecComponent; srcSize: UInt32; var dstSize: UInt32 ): ComponentResult; external name '_DataCodecGetCompressBufferSize';
3668 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3669 
3670 
3671 {
3672  *  DataCodecCompress()
3673  *
3674  *  Availability:
3675  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3676  *    CarbonLib:        in CarbonLib 1.0 and later
3677  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3678  *    Windows:          in qtmlClient.lib 3.0 and later
3679  }
DataCodecCompressnull3680 function DataCodecCompress( dc: DataCodecComponent; srcData: UnivPtr; srcSize: UInt32; dstData: UnivPtr; dstBufferSize: UInt32; var actualDstSize: UInt32; var decompressSlop: UInt32 ): ComponentResult; external name '_DataCodecCompress';
3681 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3682 
3683 
3684 {
3685  *  DataCodecBeginInterruptSafe()
3686  *
3687  *  Availability:
3688  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3689  *    CarbonLib:        in CarbonLib 1.0 and later
3690  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3691  *    Windows:          in qtmlClient.lib 3.0 and later
3692  }
DataCodecBeginInterruptSafenull3693 function DataCodecBeginInterruptSafe( dc: DataCodecComponent; maxSrcSize: UNSIGNEDLONG ): ComponentResult; external name '_DataCodecBeginInterruptSafe';
3694 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3695 
3696 
3697 {
3698  *  DataCodecEndInterruptSafe()
3699  *
3700  *  Availability:
3701  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3702  *    CarbonLib:        in CarbonLib 1.0 and later
3703  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3704  *    Windows:          in qtmlClient.lib 3.0 and later
3705  }
DataCodecEndInterruptSafenull3706 function DataCodecEndInterruptSafe( dc: DataCodecComponent ): ComponentResult; external name '_DataCodecEndInterruptSafe';
3707 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3708 
3709 
3710 {
3711  *  DataCodecDecompressPartial()
3712  *
3713  *  Availability:
3714  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3715  *    CarbonLib:        in CarbonLib 1.0 and later
3716  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3717  *    Windows:          in qtmlClient.lib 3.0 and later
3718  }
DataCodecDecompressPartialnull3719 function DataCodecDecompressPartial( dc: DataCodecComponent; var next_in: UnivPtr; var avail_in: UNSIGNEDLONG; var total_in: UNSIGNEDLONG; var next_out: UnivPtr; var avail_out: UNSIGNEDLONG; var total_out: UNSIGNEDLONG; var didFinish: Boolean ): ComponentResult; external name '_DataCodecDecompressPartial';
3720 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3721 
3722 
3723 {
3724  *  DataCodecCompressPartial()
3725  *
3726  *  Availability:
3727  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3728  *    CarbonLib:        in CarbonLib 1.0 and later
3729  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
3730  *    Windows:          in qtmlClient.lib 3.0 and later
3731  }
DataCodecCompressPartialnull3732 function DataCodecCompressPartial(dc: DataCodecComponent; var next_in: UnivPtr; var avail_in: UNSIGNEDLONG; var total_in: UNSIGNEDLONG; var next_out: UnivPtr; var avail_out: UNSIGNEDLONG; var total_out: UNSIGNEDLONG; tryToFinish: boolean; var didFinish: boolean): ComponentResult; external name '_DataCodecCompressPartial';
3733 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3734 
3735 
3736 type
3737 	DataHCompletionProcPtr = procedure( request: Ptr; refcon: SIGNEDLONG; err: OSErr );
3738 	DataHCompletionUPP = DataHCompletionProcPtr;
3739 
3740 const
3741 	kDataHCanRead = 1 shl 0;
3742 	kDataHSpecialRead = 1 shl 1;
3743 	kDataHSpecialReadFile = 1 shl 2;
3744 	kDataHCanWrite = 1 shl 3;
3745 	kDataHSpecialWrite = 1 shl 4;
3746 	kDataHSpecialWriteFile = 1 shl 5;
3747 	kDataHCanStreamingWrite = 1 shl 6;
3748 	kDataHMustCheckDataRef = 1 shl 7;
3749 
3750 { Data reference records for specific data ref types}
3751 type
3752 	HandleDataRefRecordPtr = ^HandleDataRefRecord;
3753 	HandleDataRefRecord = record
3754 		dataHndl: Handle;
3755 	end;
3756 type
3757 	HandleDataRefPtr = HandleDataRefRecordPtr;
3758 	HandleDataRef = ^HandleDataRefPtr;
3759 	PointerDataRefRecordPtr = ^PointerDataRefRecord;
3760 	PointerDataRefRecord = record
3761 		data: UnivPtr;
3762 		dataLength: Size;
3763 	end;
3764 type
3765 	PointerDataRefPtr = PointerDataRefRecordPtr;
3766 	PointerDataRef = ^PointerDataRefPtr;
3767 { Data reference extensions}
3768 const
3769 	kDataRefExtensionChokeSpeed = FourCharCode('chok');
3770 	kDataRefExtensionFileName = FourCharCode('fnam');
3771 	kDataRefExtensionMIMEType = FourCharCode('mime');
3772 	kDataRefExtensionMacOSFileType = FourCharCode('ftyp');
3773 	kDataRefExtensionInitializationData = FourCharCode('data');
3774 	kDataRefExtensionQuickTimeMediaType = FourCharCode('mtyp');
3775 
3776 const
3777 	kDataHChokeToMovieDataRate = 1 shl 0; { param is 0}
3778 	kDataHChokeToParam = 1 shl 1; { param is bytes per second}
3779 
3780 type
3781 	DataHChokeAtomRecordPtr = ^DataHChokeAtomRecord;
3782 	DataHChokeAtomRecord = record
3783 		flags: SIGNEDLONG;                  { one of kDataHChokeTo constants}
3784 		param: SIGNEDLONG;
3785 	end;
3786 
3787 type
3788 	DataHVolumeListRecordPtr = ^DataHVolumeListRecord;
3789 	DataHVolumeListRecord = record
3790 		vRefNum: SInt16;
3791 		flags: SIGNEDLONG;
3792 	end;
3793 type
3794 	DataHVolumeListPtr = DataHVolumeListRecordPtr;
3795 	DataHVolumeList = ^DataHVolumeListPtr;
3796 const
3797 	kDataHExtendedSchedule = FourCharCode('xtnd');
3798 
3799 type
3800 	DataHScheduleRecordPtr = ^DataHScheduleRecord;
3801 	DataHScheduleRecord = record
3802 		timeNeededBy: TimeRecord;
3803 		extendedID: SIGNEDLONG;             { always is kDataHExtendedSchedule}
3804 		extendedVers: SIGNEDLONG;           { always set to 0}
3805 		priority: Fixed;               { 100.0 or more means must have. lower numbers�}
3806 	end;
3807 type
3808 	DataHSchedulePtr = DataHScheduleRecordPtr;
3809 { Flags for DataHGetInfoFlags}
3810 const
3811 	kDataHInfoFlagNeverStreams = 1 shl 0; { set if this data handler doesn't stream}
3812 	kDataHInfoFlagCanUpdateDataRefs = 1 shl 1; { set if this data handler might update data reference}
3813 	kDataHInfoFlagNeedsNetworkBandwidth = 1 shl 2; { set if this data handler may need to occupy the network}
3814 
3815 
3816 { Types for DataHGetFileTypeOrdering}
3817 const
3818 	kDataHFileTypeMacOSFileType = FourCharCode('ftyp');
3819 	kDataHFileTypeExtension = FourCharCode('fext');
3820 	kDataHFileTypeMIME = FourCharCode('mime');
3821 
3822 type
3823 	DataHFileTypeOrderingPtr = OSTypePtr;
3824 	DataHFileTypeOrderingHandle = ^DataHFileTypeOrderingPtr;
3825 
3826 {
3827  *  DataHGetData()
3828  *
3829  *  Availability:
3830  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3831  *    CarbonLib:        in CarbonLib 1.0 and later
3832  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3833  *    Windows:          in qtmlClient.lib 3.0 and later
3834  }
DataHGetDatanull3835 function DataHGetData( dh: DataHandler; h: Handle; hOffset: SIGNEDLONG; offset: SIGNEDLONG; size: SIGNEDLONG ): ComponentResult; external name '_DataHGetData';
3836 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3837 
3838 
3839 {
3840  *  DataHPutData()
3841  *
3842  *  Availability:
3843  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3844  *    CarbonLib:        in CarbonLib 1.0 and later
3845  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3846  *    Windows:          in qtmlClient.lib 3.0 and later
3847  }
DataHPutDatanull3848 function DataHPutData( dh: DataHandler; h: Handle; hOffset: SIGNEDLONG; var offset: SIGNEDLONG; size: SIGNEDLONG ): ComponentResult; external name '_DataHPutData';
3849 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3850 
3851 
3852 {
3853  *  DataHFlushData()
3854  *
3855  *  Availability:
3856  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3857  *    CarbonLib:        in CarbonLib 1.0 and later
3858  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3859  *    Windows:          in qtmlClient.lib 3.0 and later
3860  }
DataHFlushDatanull3861 function DataHFlushData( dh: DataHandler ): ComponentResult; external name '_DataHFlushData';
3862 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3863 
3864 
3865 {
3866  *  DataHOpenForWrite()
3867  *
3868  *  Availability:
3869  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3870  *    CarbonLib:        in CarbonLib 1.0 and later
3871  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3872  *    Windows:          in qtmlClient.lib 3.0 and later
3873  }
DataHOpenForWritenull3874 function DataHOpenForWrite( dh: DataHandler ): ComponentResult; external name '_DataHOpenForWrite';
3875 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3876 
3877 
3878 {
3879  *  DataHCloseForWrite()
3880  *
3881  *  Availability:
3882  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3883  *    CarbonLib:        in CarbonLib 1.0 and later
3884  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3885  *    Windows:          in qtmlClient.lib 3.0 and later
3886  }
DataHCloseForWritenull3887 function DataHCloseForWrite( dh: DataHandler ): ComponentResult; external name '_DataHCloseForWrite';
3888 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3889 
3890 
3891 {
3892  *  DataHOpenForRead()
3893  *
3894  *  Availability:
3895  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3896  *    CarbonLib:        in CarbonLib 1.0 and later
3897  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3898  *    Windows:          in qtmlClient.lib 3.0 and later
3899  }
DataHOpenForReadnull3900 function DataHOpenForRead( dh: DataHandler ): ComponentResult; external name '_DataHOpenForRead';
3901 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3902 
3903 
3904 {
3905  *  DataHCloseForRead()
3906  *
3907  *  Availability:
3908  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3909  *    CarbonLib:        in CarbonLib 1.0 and later
3910  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3911  *    Windows:          in qtmlClient.lib 3.0 and later
3912  }
DataHCloseForReadnull3913 function DataHCloseForRead( dh: DataHandler ): ComponentResult; external name '_DataHCloseForRead';
3914 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3915 
3916 
3917 {
3918  *  DataHSetDataRef()
3919  *
3920  *  Availability:
3921  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3922  *    CarbonLib:        in CarbonLib 1.0 and later
3923  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3924  *    Windows:          in qtmlClient.lib 3.0 and later
3925  }
DataHSetDataRefnull3926 function DataHSetDataRef( dh: DataHandler; dataRef: Handle ): ComponentResult; external name '_DataHSetDataRef';
3927 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3928 
3929 
3930 {
3931  *  DataHGetDataRef()
3932  *
3933  *  Availability:
3934  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3935  *    CarbonLib:        in CarbonLib 1.0 and later
3936  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3937  *    Windows:          in qtmlClient.lib 3.0 and later
3938  }
DataHGetDataRefnull3939 function DataHGetDataRef( dh: DataHandler; var dataRef: Handle ): ComponentResult; external name '_DataHGetDataRef';
3940 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3941 
3942 
3943 {
3944  *  DataHCompareDataRef()
3945  *
3946  *  Availability:
3947  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3948  *    CarbonLib:        in CarbonLib 1.0 and later
3949  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3950  *    Windows:          in qtmlClient.lib 3.0 and later
3951  }
DataHCompareDataRefnull3952 function DataHCompareDataRef( dh: DataHandler; dataRef: Handle; var equal: Boolean ): ComponentResult; external name '_DataHCompareDataRef';
3953 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3954 
3955 
3956 {
3957  *  DataHTask()
3958  *
3959  *  Availability:
3960  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3961  *    CarbonLib:        in CarbonLib 1.0 and later
3962  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3963  *    Windows:          in qtmlClient.lib 3.0 and later
3964  }
DataHTasknull3965 function DataHTask( dh: DataHandler ): ComponentResult; external name '_DataHTask';
3966 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3967 
3968 
3969 {
3970  *  DataHScheduleData()
3971  *
3972  *  Availability:
3973  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3974  *    CarbonLib:        in CarbonLib 1.0 and later
3975  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3976  *    Windows:          in qtmlClient.lib 3.0 and later
3977  }
DataHScheduleDatanull3978 function DataHScheduleData( dh: DataHandler; PlaceToPutDataPtr: Ptr; FileOffset: SIGNEDLONG; DataSize: SIGNEDLONG; RefCon: SIGNEDLONG; scheduleRec: DataHSchedulePtr; CompletionRtn: DataHCompletionUPP ): ComponentResult; external name '_DataHScheduleData';
3979 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3980 
3981 
3982 {
3983  *  DataHFinishData()
3984  *
3985  *  Availability:
3986  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
3987  *    CarbonLib:        in CarbonLib 1.0 and later
3988  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
3989  *    Windows:          in qtmlClient.lib 3.0 and later
3990  }
DataHFinishDatanull3991 function DataHFinishData( dh: DataHandler; PlaceToPutDataPtr: Ptr; Cancel: Boolean ): ComponentResult; external name '_DataHFinishData';
3992 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
3993 
3994 
3995 {
3996  *  DataHFlushCache()
3997  *
3998  *  Availability:
3999  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4000  *    CarbonLib:        in CarbonLib 1.0 and later
4001  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4002  *    Windows:          in qtmlClient.lib 3.0 and later
4003  }
DataHFlushCachenull4004 function DataHFlushCache( dh: DataHandler ): ComponentResult; external name '_DataHFlushCache';
4005 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4006 
4007 
4008 {
4009  *  DataHResolveDataRef()
4010  *
4011  *  Availability:
4012  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4013  *    CarbonLib:        in CarbonLib 1.0 and later
4014  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4015  *    Windows:          in qtmlClient.lib 3.0 and later
4016  }
DataHResolveDataRefnull4017 function DataHResolveDataRef( dh: DataHandler; theDataRef: Handle; var wasChanged: Boolean; userInterfaceAllowed: Boolean ): ComponentResult; external name '_DataHResolveDataRef';
4018 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4019 
4020 
4021 {
4022  *  DataHGetFileSize()
4023  *
4024  *  Availability:
4025  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4026  *    CarbonLib:        in CarbonLib 1.0 and later
4027  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4028  *    Windows:          in qtmlClient.lib 3.0 and later
4029  }
DataHGetFileSizenull4030 function DataHGetFileSize( dh: DataHandler; var fileSize: SIGNEDLONG ): ComponentResult; external name '_DataHGetFileSize';
4031 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4032 
4033 
4034 {
4035  *  DataHCanUseDataRef()
4036  *
4037  *  Availability:
4038  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4039   *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4040  *    CarbonLib:        in CarbonLib 1.0 and later
4041  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4042  *    Windows:          in qtmlClient.lib 3.0 and later
4043  }
DataHCanUseDataRefnull4044 function DataHCanUseDataRef( dh: DataHandler; dataRef: Handle; var useFlags: SIGNEDLONG ): ComponentResult; external name '_DataHCanUseDataRef';
4045 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4046 
4047 
4048 {
4049  *  DataHGetVolumeList()
4050  *
4051  *  Availability:
4052  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4053  *    CarbonLib:        in CarbonLib 1.0 and later
4054  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4055  *    Windows:          in qtmlClient.lib 3.0 and later
4056  }
DataHGetVolumeListnull4057 function DataHGetVolumeList( dh: DataHandler; var volumeList: DataHVolumeList ): ComponentResult; external name '_DataHGetVolumeList';
4058 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4059 
4060 
4061 {
4062  *  DataHWrite()
4063  *
4064  *  Availability:
4065  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4066  *    CarbonLib:        in CarbonLib 1.0 and later
4067  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4068  *    Windows:          in qtmlClient.lib 3.0 and later
4069  }
DataHWritenull4070 function DataHWrite( dh: DataHandler; data: Ptr; offset: SIGNEDLONG; size: SIGNEDLONG; completion: DataHCompletionUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_DataHWrite';
4071 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4072 
4073 
4074 {
4075  *  DataHPreextend()
4076  *
4077  *  Availability:
4078  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4079  *    CarbonLib:        in CarbonLib 1.0 and later
4080  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4081  *    Windows:          in qtmlClient.lib 3.0 and later
4082  }
DataHPreextendnull4083 function DataHPreextend( dh: DataHandler; maxToAdd: UNSIGNEDLONG; var spaceAdded: UNSIGNEDLONG ): ComponentResult; external name '_DataHPreextend';
4084 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4085 
4086 
4087 {
4088  *  DataHSetFileSize()
4089  *
4090  *  Availability:
4091  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4092  *    CarbonLib:        in CarbonLib 1.0 and later
4093  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4094  *    Windows:          in qtmlClient.lib 3.0 and later
4095  }
DataHSetFileSizenull4096 function DataHSetFileSize( dh: DataHandler; fileSize: SIGNEDLONG ): ComponentResult; external name '_DataHSetFileSize';
4097 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4098 
4099 
4100 {
4101  *  DataHGetFreeSpace()
4102  *
4103  *  Availability:
4104  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4105  *    CarbonLib:        in CarbonLib 1.0 and later
4106  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4107  *    Windows:          in qtmlClient.lib 3.0 and later
4108  }
DataHGetFreeSpacenull4109 function DataHGetFreeSpace( dh: DataHandler; var freeSize: UNSIGNEDLONG ): ComponentResult; external name '_DataHGetFreeSpace';
4110 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4111 
4112 
4113 {
4114  *  DataHCreateFile()
4115  *
4116  *  Availability:
4117  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4118  *    CarbonLib:        in CarbonLib 1.0 and later
4119  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4120  *    Windows:          in qtmlClient.lib 3.0 and later
4121  }
DataHCreateFilenull4122 function DataHCreateFile( dh: DataHandler; creator: OSType; deleteExisting: Boolean ): ComponentResult; external name '_DataHCreateFile';
4123 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4124 
4125 
4126 {
4127  *  DataHGetPreferredBlockSize()
4128  *
4129  *  Availability:
4130  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4131  *    CarbonLib:        in CarbonLib 1.0 and later
4132  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4133  *    Windows:          in qtmlClient.lib 3.0 and later
4134  }
DataHGetPreferredBlockSizenull4135 function DataHGetPreferredBlockSize( dh: DataHandler; var blockSize: SIGNEDLONG ): ComponentResult; external name '_DataHGetPreferredBlockSize';
4136 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4137 
4138 
4139 {
4140  *  DataHGetDeviceIndex()
4141  *
4142  *  Availability:
4143  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4144  *    CarbonLib:        in CarbonLib 1.0 and later
4145  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4146  *    Windows:          in qtmlClient.lib 3.0 and later
4147  }
DataHGetDeviceIndexnull4148 function DataHGetDeviceIndex( dh: DataHandler; var deviceIndex: SIGNEDLONG ): ComponentResult; external name '_DataHGetDeviceIndex';
4149 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4150 
4151 
4152 {
4153  *  DataHIsStreamingDataHandler()
4154  *
4155  *  Availability:
4156  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4157  *    CarbonLib:        in CarbonLib 1.0 and later
4158  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4159  *    Windows:          in qtmlClient.lib 3.0 and later
4160  }
DataHIsStreamingDataHandlernull4161 function DataHIsStreamingDataHandler( dh: DataHandler; var yes: Boolean ): ComponentResult; external name '_DataHIsStreamingDataHandler';
4162 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4163 
4164 
4165 {
4166  *  DataHGetDataInBuffer()
4167  *
4168  *  Availability:
4169  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4170  *    CarbonLib:        in CarbonLib 1.0 and later
4171  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4172  *    Windows:          in qtmlClient.lib 3.0 and later
4173  }
DataHGetDataInBuffernull4174 function DataHGetDataInBuffer( dh: DataHandler; startOffset: SIGNEDLONG; var size: SIGNEDLONG ): ComponentResult; external name '_DataHGetDataInBuffer';
4175 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4176 
4177 
4178 {
4179  *  DataHGetScheduleAheadTime()
4180  *
4181  *  Availability:
4182  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4183  *    CarbonLib:        in CarbonLib 1.0 and later
4184  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4185  *    Windows:          in qtmlClient.lib 3.0 and later
4186  }
DataHGetScheduleAheadTimenull4187 function DataHGetScheduleAheadTime( dh: DataHandler; var millisecs: SIGNEDLONG ): ComponentResult; external name '_DataHGetScheduleAheadTime';
4188 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4189 
4190 
4191 {
4192  *  DataHSetCacheSizeLimit()
4193  *
4194  *  Availability:
4195  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4196  *    CarbonLib:        in CarbonLib 1.0 and later
4197  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4198  *    Windows:          in qtmlClient.lib 3.0 and later
4199  }
DataHSetCacheSizeLimitnull4200 function DataHSetCacheSizeLimit( dh: DataHandler; cacheSizeLimit: Size ): ComponentResult; external name '_DataHSetCacheSizeLimit';
4201 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4202 
4203 
4204 {
4205  *  DataHGetCacheSizeLimit()
4206  *
4207  *  Availability:
4208  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4209  *    CarbonLib:        in CarbonLib 1.0 and later
4210  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4211  *    Windows:          in qtmlClient.lib 3.0 and later
4212  }
DataHGetCacheSizeLimitnull4213 function DataHGetCacheSizeLimit( dh: DataHandler; var cacheSizeLimit: Size ): ComponentResult; external name '_DataHGetCacheSizeLimit';
4214 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4215 
4216 
4217 {
4218  *  DataHGetMovie()
4219  *
4220  *  Availability:
4221  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4222  *    CarbonLib:        in CarbonLib 1.0 and later
4223  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4224  *    Windows:          in qtmlClient.lib 3.0 and later
4225  }
DataHGetMovienull4226 function DataHGetMovie( dh: DataHandler; var theMovie: Movie; var id: SInt16 ): ComponentResult; external name '_DataHGetMovie';
4227 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4228 
4229 
4230 {
4231  *  DataHAddMovie()
4232  *
4233  *  Availability:
4234  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4235  *    CarbonLib:        in CarbonLib 1.0 and later
4236  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4237  *    Windows:          in qtmlClient.lib 3.0 and later
4238  }
DataHAddMovienull4239 function DataHAddMovie( dh: DataHandler; theMovie: Movie; var id: SInt16 ): ComponentResult; external name '_DataHAddMovie';
4240 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4241 
4242 
4243 {
4244  *  DataHUpdateMovie()
4245  *
4246  *  Availability:
4247  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4248  *    CarbonLib:        in CarbonLib 1.0 and later
4249  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4250  *    Windows:          in qtmlClient.lib 3.0 and later
4251  }
DataHUpdateMovienull4252 function DataHUpdateMovie( dh: DataHandler; theMovie: Movie; id: SInt16 ): ComponentResult; external name '_DataHUpdateMovie';
4253 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4254 
4255 
4256 {
4257  *  DataHDoesBuffer()
4258  *
4259  *  Availability:
4260  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4261  *    CarbonLib:        in CarbonLib 1.0 and later
4262  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4263  *    Windows:          in qtmlClient.lib 3.0 and later
4264  }
DataHDoesBuffernull4265 function DataHDoesBuffer( dh: DataHandler; var buffersReads: Boolean; var buffersWrites: Boolean ): ComponentResult; external name '_DataHDoesBuffer';
4266 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4267 
4268 
4269 {
4270  *  DataHGetFileName()
4271  *
4272  *  Availability:
4273  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4274  *    CarbonLib:        in CarbonLib 1.0 and later
4275  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4276  *    Windows:          in qtmlClient.lib 3.0 and later
4277  }
DataHGetFileNamenull4278 function DataHGetFileName( dh: DataHandler; var str: Str255 ): ComponentResult; external name '_DataHGetFileName';
4279 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4280 
4281 
4282 {
4283  *  DataHGetAvailableFileSize()
4284  *
4285  *  Availability:
4286  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4287  *    CarbonLib:        in CarbonLib 1.0 and later
4288  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4289  *    Windows:          in qtmlClient.lib 3.0 and later
4290  }
DataHGetAvailableFileSizenull4291 function DataHGetAvailableFileSize( dh: DataHandler; var fileSize: SIGNEDLONG ): ComponentResult; external name '_DataHGetAvailableFileSize';
4292 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4293 
4294 
4295 {
4296  *  DataHGetMacOSFileType()
4297  *
4298  *  Availability:
4299  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4300  *    CarbonLib:        in CarbonLib 1.0 and later
4301  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4302  *    Windows:          in qtmlClient.lib 3.0 and later
4303  }
DataHGetMacOSFileTypenull4304 function DataHGetMacOSFileType( dh: DataHandler; var fileType: OSType ): ComponentResult; external name '_DataHGetMacOSFileType';
4305 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4306 
4307 
4308 {
4309  *  DataHGetMIMEType()
4310  *
4311  *  Availability:
4312  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4313  *    CarbonLib:        in CarbonLib 1.0 and later
4314  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4315  *    Windows:          in qtmlClient.lib 3.0 and later
4316  }
DataHGetMIMETypenull4317 function DataHGetMIMEType( dh: DataHandler; var mimeType: Str255 ): ComponentResult; external name '_DataHGetMIMEType';
4318 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4319 
4320 
4321 {
4322  *  DataHSetDataRefWithAnchor()
4323  *
4324  *  Availability:
4325  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4326  *    CarbonLib:        in CarbonLib 1.0 and later
4327  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4328  *    Windows:          in qtmlClient.lib 3.0 and later
4329  }
DataHSetDataRefWithAnchornull4330 function DataHSetDataRefWithAnchor( dh: DataHandler; anchorDataRef: Handle; dataRefType: OSType; dataRef: Handle ): ComponentResult; external name '_DataHSetDataRefWithAnchor';
4331 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4332 
4333 
4334 {
4335  *  DataHGetDataRefWithAnchor()
4336  *
4337  *  Availability:
4338  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4339  *    CarbonLib:        in CarbonLib 1.0 and later
4340  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4341  *    Windows:          in qtmlClient.lib 3.0 and later
4342  }
DataHGetDataRefWithAnchornull4343 function DataHGetDataRefWithAnchor( dh: DataHandler; anchorDataRef: Handle; dataRefType: OSType; var dataRef: Handle ): ComponentResult; external name '_DataHGetDataRefWithAnchor';
4344 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4345 
4346 
4347 {
4348  *  DataHSetMacOSFileType()
4349  *
4350  *  Availability:
4351  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4352  *    CarbonLib:        in CarbonLib 1.0 and later
4353  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4354  *    Windows:          in qtmlClient.lib 3.0 and later
4355  }
DataHSetMacOSFileTypenull4356 function DataHSetMacOSFileType( dh: DataHandler; fileType: OSType ): ComponentResult; external name '_DataHSetMacOSFileType';
4357 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4358 
4359 
4360 {
4361  *  DataHSetTimeBase()
4362  *
4363  *  Availability:
4364  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4365  *    CarbonLib:        in CarbonLib 1.0.2 and later
4366  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
4367  *    Windows:          in qtmlClient.lib 3.0 and later
4368  }
DataHSetTimeBasenull4369 function DataHSetTimeBase( dh: DataHandler; tb: TimeBase ): ComponentResult; external name '_DataHSetTimeBase';
4370 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4371 
4372 
4373 {
4374  *  DataHGetInfoFlags()
4375  *
4376  *  Availability:
4377  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4378  *    CarbonLib:        in CarbonLib 1.0.2 and later
4379  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4380  *    Windows:          in qtmlClient.lib 4.0 and later
4381  }
DataHGetInfoFlagsnull4382 function DataHGetInfoFlags( dh: DataHandler; var flags: UInt32 ): ComponentResult; external name '_DataHGetInfoFlags';
4383 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4384 
4385 
4386 {
4387  *  DataHScheduleData64()
4388  *
4389  *  Availability:
4390  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4391  *    CarbonLib:        in CarbonLib 1.0.2 and later
4392  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4393  *    Windows:          in qtmlClient.lib 4.0 and later
4394  }
DataHScheduleData64null4395 function DataHScheduleData64( dh: DataHandler; PlaceToPutDataPtr: Ptr; const (*var*) FileOffset: wide; DataSize: SIGNEDLONG; RefCon: SIGNEDLONG; scheduleRec: DataHSchedulePtr; CompletionRtn: DataHCompletionUPP ): ComponentResult; external name '_DataHScheduleData64';
4396 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4397 
4398 
4399 {
4400  *  DataHWrite64()
4401  *
4402  *  Availability:
4403  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4404  *    CarbonLib:        in CarbonLib 1.0.2 and later
4405  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4406  *    Windows:          in qtmlClient.lib 4.0 and later
4407  }
DataHWrite64null4408 function DataHWrite64( dh: DataHandler; data: Ptr; const (*var*) offset: wide; size: SIGNEDLONG; completion: DataHCompletionUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_DataHWrite64';
4409 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4410 
4411 
4412 {
4413  *  DataHGetFileSize64()
4414  *
4415  *  Availability:
4416  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4417  *    CarbonLib:        in CarbonLib 1.0.2 and later
4418  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4419  *    Windows:          in qtmlClient.lib 4.0 and later
4420  }
DataHGetFileSize64null4421 function DataHGetFileSize64( dh: DataHandler; var fileSize: wide ): ComponentResult; external name '_DataHGetFileSize64';
4422 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4423 
4424 
4425 {
4426  *  DataHPreextend64()
4427  *
4428  *  Availability:
4429  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4430  *    CarbonLib:        in CarbonLib 1.0.2 and later
4431  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4432  *    Windows:          in qtmlClient.lib 4.0 and later
4433  }
DataHPreextend64null4434 function DataHPreextend64( dh: DataHandler; const (*var*) maxToAdd: wide; var spaceAdded: wide ): ComponentResult; external name '_DataHPreextend64';
4435 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4436 
4437 
4438 {
4439  *  DataHSetFileSize64()
4440  *
4441  *  Availability:
4442  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4443  *    CarbonLib:        in CarbonLib 1.0.2 and later
4444  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4445  *    Windows:          in qtmlClient.lib 4.0 and later
4446  }
DataHSetFileSize64null4447 function DataHSetFileSize64( dh: DataHandler; const (*var*) fileSize: wide ): ComponentResult; external name '_DataHSetFileSize64';
4448 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4449 
4450 
4451 {
4452  *  DataHGetFreeSpace64()
4453  *
4454  *  Availability:
4455  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4456  *    CarbonLib:        in CarbonLib 1.0.2 and later
4457  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4458  *    Windows:          in qtmlClient.lib 4.0 and later
4459  }
DataHGetFreeSpace64null4460 function DataHGetFreeSpace64( dh: DataHandler; var freeSize: wide ): ComponentResult; external name '_DataHGetFreeSpace64';
4461 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4462 
4463 
4464 {
4465  *  DataHAppend64()
4466  *
4467  *  Availability:
4468  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4469  *    CarbonLib:        in CarbonLib 1.0.2 and later
4470  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4471  *    Windows:          in qtmlClient.lib 4.0 and later
4472  }
DataHAppend64null4473 function DataHAppend64( dh: DataHandler; data: UnivPtr; var fileOffset: wide; size: UNSIGNEDLONG ): ComponentResult; external name '_DataHAppend64';
4474 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4475 
4476 
4477 {
4478  *  DataHReadAsync()
4479  *
4480  *  Availability:
4481  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4482  *    CarbonLib:        in CarbonLib 1.0.2 and later
4483  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4484  *    Windows:          in qtmlClient.lib 4.0 and later
4485  }
DataHReadAsyncnull4486 function DataHReadAsync( dh: DataHandler; dataPtr: UnivPtr; dataSize: UInt32; const (*var*) dataOffset: wide; completion: DataHCompletionUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_DataHReadAsync';
4487 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4488 
4489 
4490 {
4491  *  DataHPollRead()
4492  *
4493  *  Availability:
4494  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4495  *    CarbonLib:        in CarbonLib 1.0.2 and later
4496  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4497  *    Windows:          in qtmlClient.lib 4.0 and later
4498  }
DataHPollReadnull4499 function DataHPollRead( dh: DataHandler; dataPtr: UnivPtr; var dataSizeSoFar: UInt32 ): ComponentResult; external name '_DataHPollRead';
4500 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4501 
4502 
4503 {
4504  *  DataHGetDataAvailability()
4505  *
4506  *  Availability:
4507  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4508  *    CarbonLib:        in CarbonLib 1.0.2 and later
4509  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4510  *    Windows:          in qtmlClient.lib 4.0 and later
4511  }
DataHGetDataAvailabilitynull4512 function DataHGetDataAvailability( dh: DataHandler; offset: SIGNEDLONG; len: SIGNEDLONG; var missing_offset: SIGNEDLONG; var missing_len: SIGNEDLONG ): ComponentResult; external name '_DataHGetDataAvailability';
4513 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4514 
4515 
4516 {
4517  *  DataHGetFileSizeAsync()
4518  *
4519  *  Availability:
4520  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4521  *    CarbonLib:        in CarbonLib 1.0.2 and later
4522  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
4523  *    Windows:          in qtmlClient.lib 4.0 and later
4524  }
DataHGetFileSizeAsyncnull4525 function DataHGetFileSizeAsync( dh: DataHandler; var fileSize: wide; completionRtn: DataHCompletionUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_DataHGetFileSizeAsync';
4526 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4527 
4528 
4529 {
4530  *  DataHGetDataRefAsType()
4531  *
4532  *  Availability:
4533  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4534  *    CarbonLib:        in CarbonLib 1.1 and later
4535  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
4536  *    Windows:          in qtmlClient.lib 4.1 and later
4537  }
DataHGetDataRefAsTypenull4538 function DataHGetDataRefAsType( dh: DataHandler; requestedType: OSType; var dataRef: Handle ): ComponentResult; external name '_DataHGetDataRefAsType';
4539 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4540 
4541 
4542 {
4543  *  DataHSetDataRefExtension()
4544  *
4545  *  Availability:
4546  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4547  *    CarbonLib:        in CarbonLib 1.1 and later
4548  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
4549  *    Windows:          in qtmlClient.lib 4.1 and later
4550  }
DataHSetDataRefExtensionnull4551 function DataHSetDataRefExtension( dh: DataHandler; extension: Handle; idType: OSType ): ComponentResult; external name '_DataHSetDataRefExtension';
4552 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4553 
4554 
4555 {
4556  *  DataHGetDataRefExtension()
4557  *
4558  *  Availability:
4559  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4560  *    CarbonLib:        in CarbonLib 1.1 and later
4561  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
4562  *    Windows:          in qtmlClient.lib 4.1 and later
4563  }
DataHGetDataRefExtensionnull4564 function DataHGetDataRefExtension( dh: DataHandler; var extension: Handle; idType: OSType ): ComponentResult; external name '_DataHGetDataRefExtension';
4565 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4566 
4567 
4568 {
4569  *  DataHGetMovieWithFlags()
4570  *
4571  *  Availability:
4572  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4573  *    CarbonLib:        in CarbonLib 1.1 and later
4574  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
4575  *    Windows:          in qtmlClient.lib 4.1 and later
4576  }
DataHGetMovieWithFlagsnull4577 function DataHGetMovieWithFlags( dh: DataHandler; var theMovie: Movie; var id: SInt16; flags: SInt16 ): ComponentResult; external name '_DataHGetMovieWithFlags';
4578 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4579 
4580 
4581 {
4582  *  DataHGetFileTypeOrdering()
4583  *
4584  *  Availability:
4585  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4586  *    CarbonLib:        in CarbonLib 1.3 and later
4587  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
4588  *    Windows:          in qtmlClient.lib 5.0 and later
4589  }
DataHGetFileTypeOrderingnull4590 function DataHGetFileTypeOrdering( dh: DataHandler; var orderingListHandle: DataHFileTypeOrderingHandle ): ComponentResult; external name '_DataHGetFileTypeOrdering';
4591 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4592 
4593 
4594 { flags for DataHCreateFileWithFlags}
4595 const
4596 	kDataHCreateFileButDontCreateResFile = 1 shl 0;
4597 
4598 {
4599  *  DataHCreateFileWithFlags()
4600  *
4601  *  Availability:
4602  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4603  *    CarbonLib:        in CarbonLib 1.3 and later
4604  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
4605  *    Windows:          in qtmlClient.lib 5.0 and later
4606  }
DataHCreateFileWithFlagsnull4607 function DataHCreateFileWithFlags( dh: DataHandler; creator: OSType; deleteExisting: Boolean; flags: UInt32 ): ComponentResult; external name '_DataHCreateFileWithFlags';
4608 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4609 
4610 
4611 {
4612  *  DataHGetMIMETypeAsync()
4613  *
4614  *  Availability:
4615  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4616  *    CarbonLib:        in CarbonLib 1.3 and later
4617  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
4618  *    Windows:          in qtmlClient.lib 5.0 and later
4619  }
DataHGetMIMETypeAsyncnull4620 function DataHGetMIMETypeAsync( dh: DataHandler; var mimeType: Str255; completionRtn: DataHCompletionUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_DataHGetMIMETypeAsync';
4621 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4622 
4623 
4624 {
4625  *  DataHGetInfo()
4626  *
4627  *  Availability:
4628  *    Mac OS X:         in version 10.1 and later in QuickTime.framework
4629  *    CarbonLib:        in CarbonLib 1.6 and later
4630  *    Non-Carbon CFM:   in QuickTimeLib 5.0.1 and later
4631  *    Windows:          in qtmlClient.lib 5.0.1 and later
4632  }
DataHGetInfonull4633 function DataHGetInfo( dh: DataHandler; what: OSType; info: UnivPtr ): ComponentResult; external name '_DataHGetInfo';
4634 (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
4635 
4636 
4637 {
4638  *  DataHSetIdleManager()
4639  *
4640  *  Availability:
4641  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4642  *    CarbonLib:        in CarbonLib 1.6 and later
4643  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4644  *    Windows:          in qtmlClient.lib 6.0 and later
4645  }
DataHSetIdleManagernull4646 function DataHSetIdleManager( dh: DataHandler; im: IdleManager ): ComponentResult; external name '_DataHSetIdleManager';
4647 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4648 
4649 
4650 {
4651  *  DataHDeleteFile()
4652  *
4653  *  Availability:
4654  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4655  *    CarbonLib:        in CarbonLib 1.6 and later
4656  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4657  *    Windows:          in qtmlClient.lib 6.0 and later
4658  }
DataHDeleteFilenull4659 function DataHDeleteFile( dh: DataHandler ): ComponentResult; external name '_DataHDeleteFile';
4660 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4661 
4662 
4663 const
4664 	kDataHMovieUsageDoAppendMDAT = 1 shl 0; { if set, datahandler should append wide and mdat atoms in append call}
4665 
4666 {
4667  *  DataHSetMovieUsageFlags()
4668  *
4669  *  Availability:
4670  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4671  *    CarbonLib:        in CarbonLib 1.6 and later
4672  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4673  *    Windows:          in qtmlClient.lib 6.0 and later
4674  }
DataHSetMovieUsageFlagsnull4675 function DataHSetMovieUsageFlags( dh: DataHandler; flags: SIGNEDLONG ): ComponentResult; external name '_DataHSetMovieUsageFlags';
4676 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4677 
4678 
4679 const
4680 	kDataHTempUseSameDirectory = 1 shl 0; { temp data ref should be in same directory as current data ref (vs. in temporary directory)}
4681 	kDataHTempUseSameVolume = 1 shl 1; { temp data ref should be on same volume as current data ref (vs. find "best" volume)}
4682 	kDataHTempCreateFile = 1 shl 2; { create the file}
4683 	kDataHTempOpenFile = 1 shl 3; { open temporary file for write (kDataHTempCreateFile must be passed, too)}
4684 
4685 {
4686  *  DataHUseTemporaryDataRef()
4687  *
4688  *  Availability:
4689  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4690  *    CarbonLib:        in CarbonLib 1.6 and later
4691  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4692  *    Windows:          in qtmlClient.lib 6.0 and later
4693  }
DataHUseTemporaryDataRefnull4694 function DataHUseTemporaryDataRef( dh: DataHandler; inFlags: SIGNEDLONG ): ComponentResult; external name '_DataHUseTemporaryDataRef';
4695 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4696 
4697 
4698 {
4699  *  DataHGetTemporaryDataRefCapabilities()
4700  *
4701  *  Availability:
4702  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4703  *    CarbonLib:        in CarbonLib 1.6 and later
4704  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4705  *    Windows:          in qtmlClient.lib 6.0 and later
4706  }
DataHGetTemporaryDataRefCapabilitiesnull4707 function DataHGetTemporaryDataRefCapabilities( dh: DataHandler; var outUnderstoodFlags: SIGNEDLONG ): ComponentResult; external name '_DataHGetTemporaryDataRefCapabilities';
4708 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4709 
4710 
4711 {
4712  *  DataHRenameFile()
4713  *
4714  *  Availability:
4715  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
4716  *    CarbonLib:        in CarbonLib 1.6 and later
4717  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
4718  *    Windows:          in qtmlClient.lib 6.0 and later
4719  }
DataHRenameFilenull4720 function DataHRenameFile( dh: DataHandler; newDataRef: Handle ): ComponentResult; external name '_DataHRenameFile';
4721 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
4722 
4723 
4724 { selector 74 skipped }
4725 { selector 75 skipped }
4726 { selector 76 skipped }
4727 { selector 77 skipped }
4728 {
4729  *  DataHGetAvailableFileSize64()
4730  *
4731  *  Summary:
4732  *    Returns the amount of contiguous data from the start of the file
4733  *    that's currently available for reading.
4734  *
4735  *  Discussion:
4736  *    The 64-bit variant of DataHGetAvailableFileSize. Note that all
4737  *    data handlers that support fast-start playback, e.g. an http data
4738  *    handler, must implement DataHGetAvailableFileSize. Those that
4739  *    support files larger than 2 GB must also implement
4740  *    DataHGetAvailableFileSize64.
4741  *
4742  *  Parameters:
4743  *
4744  *    dh:
4745  *      Component instance / instance globals.
4746  *
4747  *    fileSize:
4748  *      Points to a variable to receive the amount of contiguous data
4749  *      from the start of the file that's currently available for
4750  *      reading.
4751  *
4752  *  Availability:
4753  *    Mac OS X:         in version 10.4 (or QuickTime 7.0) and later in QuickTime.framework
4754  *    CarbonLib:        not available
4755  *    Non-Carbon CFM:   not available
4756  }
DataHGetAvailableFileSize64null4757 function DataHGetAvailableFileSize64( dh: DataHandler; var fileSize: wide ): ComponentResult; external name '_DataHGetAvailableFileSize64';
4758 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
4759 
4760 
4761 {
4762  *  DataHGetDataAvailability64()
4763  *
4764  *  Summary:
4765  *    Checks the availability of the specified range of data and
4766  *    returns the first range of missing data needed to satisfy a read
4767  *    request. Returns an empty range starting at the end of the
4768  *    specified range when a read request for the specified range can
4769  *    be satisfied immediately.
4770  *
4771  *  Discussion:
4772  *    The 64-bit variant of DataHGetDataAvailability. Note that all
4773  *    data handlers that support fast-start playback, e.g. an http data
4774  *    handler, should implement DataHGetDataAvailability. Those that
4775  *    support files larger than 2 GB should also implement
4776  *    DataHGetDataAvailability64.
4777  *
4778  *  Parameters:
4779  *
4780  *    dh:
4781  *      Component instance / instance globals.
4782  *
4783  *    offset:
4784  *      The start of the requested range of data.
4785  *
4786  *    len:
4787  *      The length of the requested range of data.
4788  *
4789  *    missing_offset:
4790  *      The offset from the start of the file of the first byte of data
4791  *      within the requested range that's not yet available. If the
4792  *      entire range is available, the offset returned is the offset of
4793  *      the first byte after the requested range.
4794  *
4795  *    missing_len:
4796  *      The length of the range of data starting at missing_offset
4797  *      that's not yet available. If the entire range of data is
4798  *      available, the length returned is 0.
4799  *
4800  *  Availability:
4801  *    Mac OS X:         in version 10.4 (or QuickTime 7.0) and later in QuickTime.framework
4802  *    CarbonLib:        not available
4803  *    Non-Carbon CFM:   not available
4804  }
DataHGetDataAvailability64null4805 function DataHGetDataAvailability64( dh: DataHandler; const (*var*) offset: wide; len: SIGNEDLONG; var missing_offset: wide; var missing_len: SIGNEDLONG ): ComponentResult; external name '_DataHGetDataAvailability64';
4806 (* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
4807 
4808 
4809 { selector 80 skipped }
4810 { selector 81 skipped }
4811 {
4812  *  DataHPlaybackHints()
4813  *
4814  *  Availability:
4815  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4816  *    CarbonLib:        in CarbonLib 1.0 and later
4817  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
4818  *    Windows:          in qtmlClient.lib 3.0 and later
4819  }
DataHPlaybackHintsnull4820 function DataHPlaybackHints( dh: DataHandler; flags: SIGNEDLONG; minFileOffset: UNSIGNEDLONG; maxFileOffset: UNSIGNEDLONG; bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_DataHPlaybackHints';
4821 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4822 
4823 
4824 {
4825  *  DataHPlaybackHints64()
4826  *
4827  *  Availability:
4828  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4829  *    CarbonLib:        in CarbonLib 1.1 and later
4830  *    Non-Carbon CFM:   in QuickTimeLib 4.1 and later
4831  *    Windows:          in qtmlClient.lib 4.1 and later
4832  }
DataHPlaybackHints64null4833 function DataHPlaybackHints64( dh: DataHandler; flags: SIGNEDLONG; const (*var*) minFileOffset: wide; const (*var*) maxFileOffset: wide; bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_DataHPlaybackHints64';
4834 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4835 
4836 
4837 { Symbolic constants for DataHGetDataRate}
4838 const
4839 	kDataHGetDataRateInfiniteRate = $7FFFFFFF; { all the data arrived instantaneously}
4840 
4841 {
4842  *  DataHGetDataRate()
4843  *
4844  *  Availability:
4845  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4846  *    CarbonLib:        in CarbonLib 1.3 and later
4847  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
4848  *    Windows:          in qtmlClient.lib 5.0 and later
4849  }
DataHGetDataRatenull4850 function DataHGetDataRate( dh: DataHandler; flags: SIGNEDLONG; var bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_DataHGetDataRate';
4851 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4852 
4853 
4854 { Flags for DataHSetTimeHints}
4855 const
4856 	kDataHSetTimeHintsSkipBandwidthRequest = 1 shl 0; { set if this data handler should use the network without requesting bandwidth}
4857 
4858 {
4859  *  DataHSetTimeHints()
4860  *
4861  *  Availability:
4862  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
4863  *    CarbonLib:        in CarbonLib 1.3 and later
4864  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
4865  *    Windows:          in qtmlClient.lib 5.0 and later
4866  }
DataHSetTimeHintsnull4867 function DataHSetTimeHints( dh: DataHandler; flags: SIGNEDLONG; bandwidthPriority: SIGNEDLONG; scale: TimeScale; minTime: TimeValue; maxTime: TimeValue ): ComponentResult; external name '_DataHSetTimeHints';
4868 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
4869 
4870 
4871 { Standard type for video digitizers }
4872 const
4873 	videoDigitizerComponentType = FourCharCode('vdig');
4874 	vdigInterfaceRev = 2;
4875 
4876 { Input Format Standards }
4877 const
4878 	ntscIn = 0;    { current input format }
4879 	currentIn = 0;    { ntsc input format }
4880 	palIn = 1;    { pal input format }
4881 	secamIn = 2;    { secam input format }
4882 	ntscReallyIn = 3;     { ntsc input format }
4883 
4884 { Input Formats }
4885 const
4886 	compositeIn = 0;    { input is composite format }
4887 	sVideoIn = 1;    { input is sVideo format }
4888 	rgbComponentIn = 2;    { input is rgb component format }
4889 	rgbComponentSyncIn = 3;    { input is rgb component format (sync on green?)}
4890 	yuvComponentIn = 4;    { input is yuv component format }
4891 	yuvComponentSyncIn = 5;    { input is yuv component format (sync on green?) }
4892 	tvTunerIn = 6;
4893 	sdiIn = 7;
4894 
4895 
4896 { Video Digitizer PlayThru States }
4897 const
4898 	vdPlayThruOff = 0;
4899 	vdPlayThruOn = 1;
4900 
4901 { Input Color Space Modes }
4902 const
4903 	vdDigitizerBW = 0;    { black and white }
4904 	vdDigitizerRGB = 1;     { rgb color }
4905 
4906 { Phase Lock Loop Modes }
4907 const
4908 	vdBroadcastMode = 0;    { Broadcast / Laser Disk video mode }
4909 	vdVTRMode = 1;     { VCR / Magnetic media mode }
4910 
4911 { Field Select Options }
4912 const
4913 	vdUseAnyField = 0;    { Digitizers choice on field use }
4914 	vdUseOddField = 1;    { Use odd field for half size vert and smaller }
4915 	vdUseEvenField = 2;     { Use even field for half size vert and smaller }
4916 
4917 { vdig types }
4918 const
4919 	vdTypeBasic = 0;    { basic, no clipping }
4920 	vdTypeAlpha = 1;    { supports clipping with alpha channel }
4921 	vdTypeMask = 2;    { supports clipping with mask plane }
4922 	vdTypeKey = 3;     { supports clipping with key color(s) }
4923 
4924 
4925 { Digitizer Input Capability/Current Flags }
4926 const
4927 	digiInDoesNTSC = 1 shl 0; { digitizer supports NTSC input format }
4928 	digiInDoesPAL = 1 shl 1; { digitizer supports PAL input format }
4929 	digiInDoesSECAM = 1 shl 2; { digitizer supports SECAM input format }
4930 	digiInDoesGenLock = 1 shl 7; { digitizer does genlock }
4931 	digiInDoesComposite = 1 shl 8; { digitizer supports composite input type }
4932 	digiInDoesSVideo = 1 shl 9; { digitizer supports S-Video input type }
4933 	digiInDoesComponent = 1 shl 10; { digitizer supports component = rgb, input type }
4934 	digiInVTR_Broadcast = 1 shl 11; { digitizer can differentiate between the two }
4935 	digiInDoesColor = 1 shl 12; { digitizer supports color }
4936 	digiInDoesBW = 1 shl 13; { digitizer supports black & white }
4937                                         { Digitizer Input Current Flags = these are valid only during active operating conditions,   }
4938 	digiInSignalLock = 1 shl 31; { digitizer detects input signal is locked, this bit = horiz lock || vertical lock }
4939 
4940 
4941 { Digitizer Output Capability/Current Flags }
4942 const
4943 	digiOutDoes1 = 1 shl 0; { digitizer supports 1 bit pixels }
4944 	digiOutDoes2 = 1 shl 1; { digitizer supports 2 bit pixels }
4945 	digiOutDoes4 = 1 shl 2; { digitizer supports 4 bit pixels }
4946 	digiOutDoes8 = 1 shl 3; { digitizer supports 8 bit pixels }
4947 	digiOutDoes16 = 1 shl 4; { digitizer supports 16 bit pixels }
4948 	digiOutDoes32 = 1 shl 5; { digitizer supports 32 bit pixels }
4949 	digiOutDoesDither = 1 shl 6; { digitizer dithers in indexed modes }
4950 	digiOutDoesStretch = 1 shl 7; { digitizer can arbitrarily stretch }
4951 	digiOutDoesShrink = 1 shl 8; { digitizer can arbitrarily shrink }
4952 	digiOutDoesMask = 1 shl 9; { digitizer can mask to clipping regions }
4953 	digiOutDoesDouble = 1 shl 11; { digitizer can stretch to exactly double size }
4954 	digiOutDoesQuad = 1 shl 12; { digitizer can stretch exactly quadruple size }
4955 	digiOutDoesQuarter = 1 shl 13; { digitizer can shrink to exactly quarter size }
4956 	digiOutDoesSixteenth = 1 shl 14; { digitizer can shrink to exactly sixteenth size }
4957 	digiOutDoesRotate = 1 shl 15; { digitizer supports rotate transformations }
4958 	digiOutDoesHorizFlip = 1 shl 16; { digitizer supports horizontal flips Sx < 0 }
4959 	digiOutDoesVertFlip = 1 shl 17; { digitizer supports vertical flips Sy < 0 }
4960 	digiOutDoesSkew = 1 shl 18; { digitizer supports skew = shear,twist, }
4961 	digiOutDoesBlend = 1 shl 19;
4962 	digiOutDoesWarp = 1 shl 20;
4963 	digiOutDoesHW_DMA = 1 shl 21; { digitizer not constrained to local device }
4964 	digiOutDoesHWPlayThru = 1 shl 22; { digitizer doesn't need time to play thru }
4965 	digiOutDoesILUT = 1 shl 23; { digitizer does inverse LUT for index modes }
4966 	digiOutDoesKeyColor = 1 shl 24; { digitizer does key color functions too }
4967 	digiOutDoesAsyncGrabs = 1 shl 25; { digitizer supports async grabs }
4968 	digiOutDoesUnreadableScreenBits = 1 shl 26; { playthru doesn't generate readable bits on screen}
4969 	digiOutDoesCompress = 1 shl 27; { supports alternate output data types }
4970 	digiOutDoesCompressOnly = 1 shl 28; { can't provide raw frames anywhere }
4971 	digiOutDoesPlayThruDuringCompress = 1 shl 29; { digi can do playthru while providing compressed data }
4972 	digiOutDoesCompressPartiallyVisible = 1 shl 30; { digi doesn't need all bits visible on screen to do hardware compress }
4973 	digiOutDoesNotNeedCopyOfCompressData = 1 shl 31; { digi doesn't need any bufferization when providing compressed data }
4974 
4975 { Types }
4976 type
4977 	VideoDigitizerComponent = ComponentInstance;
4978 	VideoDigitizerError = ComponentResult;
4979 	DigitizerInfoPtr = ^DigitizerInfo;
4980 	DigitizerInfo = record
4981 		vdigType: SInt16;
4982 		inputCapabilityFlags: SIGNEDLONG;
4983 		outputCapabilityFlags: SIGNEDLONG;
4984 		inputCurrentFlags: SIGNEDLONG;
4985 		outputCurrentFlags: SIGNEDLONG;
4986 		slot: SInt16;                   { temporary for connection purposes }
4987 		gdh: GDHandle;                    { temporary for digitizers that have preferred screen }
4988 		maskgdh: GDHandle;                { temporary for digitizers that have mask planes }
4989 		minDestHeight: SInt16;          { Smallest resizable height }
4990 		minDestWidth: SInt16;           { Smallest resizable width }
4991 		maxDestHeight: SInt16;          { Largest resizable height }
4992 		maxDestWidth: SInt16;           { Largest resizable width }
4993 		blendLevels: SInt16;            { Number of blend levels supported (2 if 1 bit mask) }
4994 		reserved: SIGNEDLONG;               { reserved }
4995 	end;
4996 type
4997 	VdigTypePtr = ^VdigType;
4998 	VdigType = record
4999 		digType: SIGNEDLONG;
5000 		reserved: SIGNEDLONG;
5001 	end;
5002 type
5003 	VdigTypeListPtr = ^VdigTypeList;
5004 	VdigTypeList = record
5005 		count: SInt16;
5006 		list: array [0..0] of VdigType;
5007 	end;
5008 type
5009 	VdigBufferRecPtr = ^VdigBufferRec;
5010 	VdigBufferRec = record
5011 		dest: PixMapHandle;
5012 		location: Point;
5013 		reserved: SIGNEDLONG;
5014 	end;
5015 type
5016 	VdigBufferRecList = record
5017 		count: SInt16;
5018 		matrix: MatrixRecordPtr;
5019 		mask: RgnHandle;
5020 		list: array [0..0] of VdigBufferRec;
5021 	end;
5022 	VdigBufferRecListPtr = ^VdigBufferRecList;
5023 type
5024 	VdigBufferRecListHandle = ^VdigBufferRecListPtr;
5025 	VdigIntProcPtr = procedure( flags: SIGNEDLONG; refcon: SIGNEDLONG );
5026 	VdigIntUPP = VdigIntProcPtr;
5027 	VDCompressionList = record
5028 		codec: CodecComponent;
5029 		cType: CodecType;
5030 		typeName: Str63;
5031 		name: Str63;
5032 		formatFlags: SIGNEDLONG;
5033 		compressFlags: SIGNEDLONG;
5034 		reserved: SIGNEDLONG;
5035 	end;
5036 	VDCompressionListPtr = ^VDCompressionList;
5037 type
5038 	VDCompressionListHandle = ^VDCompressionListPtr;
5039 const
5040 	dmaDepth1 = 1;
5041 	dmaDepth2 = 2;
5042 	dmaDepth4 = 4;
5043 	dmaDepth8 = 8;
5044 	dmaDepth16 = 16;
5045 	dmaDepth32 = 32;
5046 	dmaDepth2Gray = 64;
5047 	dmaDepth4Gray = 128;
5048 	dmaDepth8Gray = 256;
5049 
5050 const
5051 	kVDIGControlledFrameRate = -1;
5052 
5053 
5054 {
5055  *  VDGetMaxSrcRect()
5056  *
5057  *  Availability:
5058  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5059  *    CarbonLib:        in CarbonLib 1.0 and later
5060  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5061  *    Windows:          in qtmlClient.lib 3.0 and later
5062  }
VDGetMaxSrcRectnull5063 function VDGetMaxSrcRect( ci: VideoDigitizerComponent; inputStd: SInt16; var maxSrcRect: Rect ): VideoDigitizerError; external name '_VDGetMaxSrcRect';
5064 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5065 
5066 
5067 {
5068  *  VDGetActiveSrcRect()
5069  *
5070  *  Availability:
5071  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5072  *    CarbonLib:        in CarbonLib 1.0 and later
5073  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5074  *    Windows:          in qtmlClient.lib 3.0 and later
5075  }
VDGetActiveSrcRectnull5076 function VDGetActiveSrcRect( ci: VideoDigitizerComponent; inputStd: SInt16; var activeSrcRect: Rect ): VideoDigitizerError; external name '_VDGetActiveSrcRect';
5077 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5078 
5079 
5080 {
5081  *  VDSetDigitizerRect()
5082  *
5083  *  Availability:
5084  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5085  *    CarbonLib:        in CarbonLib 1.0 and later
5086  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5087  *    Windows:          in qtmlClient.lib 3.0 and later
5088  }
VDSetDigitizerRectnull5089 function VDSetDigitizerRect( ci: VideoDigitizerComponent; var digitizerRect: Rect ): VideoDigitizerError; external name '_VDSetDigitizerRect';
5090 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5091 
5092 
5093 {
5094  *  VDGetDigitizerRect()
5095  *
5096  *  Availability:
5097  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5098  *    CarbonLib:        in CarbonLib 1.0 and later
5099  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5100  *    Windows:          in qtmlClient.lib 3.0 and later
5101  }
VDGetDigitizerRectnull5102 function VDGetDigitizerRect( ci: VideoDigitizerComponent; var digitizerRect: Rect ): VideoDigitizerError; external name '_VDGetDigitizerRect';
5103 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5104 
5105 
5106 {
5107  *  VDGetVBlankRect()
5108  *
5109  *  Availability:
5110  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5111  *    CarbonLib:        in CarbonLib 1.0 and later
5112  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5113  *    Windows:          in qtmlClient.lib 3.0 and later
5114  }
VDGetVBlankRectnull5115 function VDGetVBlankRect( ci: VideoDigitizerComponent; inputStd: SInt16; var vBlankRect: Rect ): VideoDigitizerError; external name '_VDGetVBlankRect';
5116 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5117 
5118 
5119 {
5120  *  VDGetMaskPixMap()
5121  *
5122  *  Availability:
5123  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5124  *    CarbonLib:        in CarbonLib 1.0 and later
5125  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5126  *    Windows:          in qtmlClient.lib 3.0 and later
5127  }
VDGetMaskPixMapnull5128 function VDGetMaskPixMap( ci: VideoDigitizerComponent; maskPixMap: PixMapHandle ): VideoDigitizerError; external name '_VDGetMaskPixMap';
5129 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5130 
5131 
5132 {
5133  *  VDGetPlayThruDestination()
5134  *
5135  *  Availability:
5136  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5137  *    CarbonLib:        in CarbonLib 1.0 and later
5138  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5139  *    Windows:          in qtmlClient.lib 3.0 and later
5140  }
VDGetPlayThruDestinationnull5141 function VDGetPlayThruDestination( ci: VideoDigitizerComponent; var dest: PixMapHandle; var destRect: Rect; var m: MatrixRecord; var mask: RgnHandle ): VideoDigitizerError; external name '_VDGetPlayThruDestination';
5142 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5143 
5144 
5145 {
5146  *  VDUseThisCLUT()
5147  *
5148  *  Availability:
5149  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5150  *    CarbonLib:        in CarbonLib 1.0 and later
5151  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5152  *    Windows:          in qtmlClient.lib 3.0 and later
5153  }
VDUseThisCLUTnull5154 function VDUseThisCLUT( ci: VideoDigitizerComponent; colorTableHandle: CTabHandle ): VideoDigitizerError; external name '_VDUseThisCLUT';
5155 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5156 
5157 
5158 {
5159  *  VDSetInputGammaValue()
5160  *
5161  *  Availability:
5162  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5163  *    CarbonLib:        in CarbonLib 1.0 and later
5164  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5165  *    Windows:          in qtmlClient.lib 3.0 and later
5166  }
VDSetInputGammaValuenull5167 function VDSetInputGammaValue( ci: VideoDigitizerComponent; channel1: Fixed; channel2: Fixed; channel3: Fixed ): VideoDigitizerError; external name '_VDSetInputGammaValue';
5168 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5169 
5170 
5171 {
5172  *  VDGetInputGammaValue()
5173  *
5174  *  Availability:
5175  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5176  *    CarbonLib:        in CarbonLib 1.0 and later
5177  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5178  *    Windows:          in qtmlClient.lib 3.0 and later
5179  }
VDGetInputGammaValuenull5180 function VDGetInputGammaValue( ci: VideoDigitizerComponent; var channel1: Fixed; var channel2: Fixed; var channel3: Fixed ): VideoDigitizerError; external name '_VDGetInputGammaValue';
5181 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5182 
5183 
5184 {
5185  *  VDSetBrightness()
5186  *
5187  *  Availability:
5188  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5189  *    CarbonLib:        in CarbonLib 1.0 and later
5190  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5191  *    Windows:          in qtmlClient.lib 3.0 and later
5192  }
VDSetBrightnessnull5193 function VDSetBrightness( ci: VideoDigitizerComponent; var brightness: UInt16 ): VideoDigitizerError; external name '_VDSetBrightness';
5194 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5195 
5196 
5197 {
5198  *  VDGetBrightness()
5199  *
5200  *  Availability:
5201  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5202  *    CarbonLib:        in CarbonLib 1.0 and later
5203  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5204  *    Windows:          in qtmlClient.lib 3.0 and later
5205  }
VDGetBrightnessnull5206 function VDGetBrightness( ci: VideoDigitizerComponent; var brightness: UInt16 ): VideoDigitizerError; external name '_VDGetBrightness';
5207 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5208 
5209 
5210 {
5211  *  VDSetContrast()
5212  *
5213  *  Availability:
5214  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5215  *    CarbonLib:        in CarbonLib 1.0 and later
5216  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5217  *    Windows:          in qtmlClient.lib 3.0 and later
5218  }
VDSetContrastnull5219 function VDSetContrast( ci: VideoDigitizerComponent; var contrast: UInt16 ): VideoDigitizerError; external name '_VDSetContrast';
5220 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5221 
5222 
5223 {
5224  *  VDSetHue()
5225  *
5226  *  Availability:
5227  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5228  *    CarbonLib:        in CarbonLib 1.0 and later
5229  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5230  *    Windows:          in qtmlClient.lib 3.0 and later
5231  }
VDSetHuenull5232 function VDSetHue( ci: VideoDigitizerComponent; var hue: UInt16 ): VideoDigitizerError; external name '_VDSetHue';
5233 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5234 
5235 
5236 {
5237  *  VDSetSharpness()
5238  *
5239  *  Availability:
5240  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5241  *    CarbonLib:        in CarbonLib 1.0 and later
5242  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5243  *    Windows:          in qtmlClient.lib 3.0 and later
5244  }
VDSetSharpnessnull5245 function VDSetSharpness( ci: VideoDigitizerComponent; var sharpness: UInt16 ): VideoDigitizerError; external name '_VDSetSharpness';
5246 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5247 
5248 
5249 {
5250  *  VDSetSaturation()
5251  *
5252  *  Availability:
5253  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5254  *    CarbonLib:        in CarbonLib 1.0 and later
5255  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5256  *    Windows:          in qtmlClient.lib 3.0 and later
5257  }
VDSetSaturationnull5258 function VDSetSaturation( ci: VideoDigitizerComponent; var saturation: UInt16 ): VideoDigitizerError; external name '_VDSetSaturation';
5259 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5260 
5261 
5262 {
5263  *  VDGetContrast()
5264  *
5265  *  Availability:
5266  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5267  *    CarbonLib:        in CarbonLib 1.0 and later
5268  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5269  *    Windows:          in qtmlClient.lib 3.0 and later
5270  }
VDGetContrastnull5271 function VDGetContrast( ci: VideoDigitizerComponent; var contrast: UInt16 ): VideoDigitizerError; external name '_VDGetContrast';
5272 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5273 
5274 
5275 {
5276  *  VDGetHue()
5277  *
5278  *  Availability:
5279  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5280  *    CarbonLib:        in CarbonLib 1.0 and later
5281  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5282  *    Windows:          in qtmlClient.lib 3.0 and later
5283  }
VDGetHuenull5284 function VDGetHue( ci: VideoDigitizerComponent; var hue: UInt16 ): VideoDigitizerError; external name '_VDGetHue';
5285 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5286 
5287 
5288 {
5289  *  VDGetSharpness()
5290  *
5291  *  Availability:
5292  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5293  *    CarbonLib:        in CarbonLib 1.0 and later
5294  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5295  *    Windows:          in qtmlClient.lib 3.0 and later
5296  }
VDGetSharpnessnull5297 function VDGetSharpness( ci: VideoDigitizerComponent; var sharpness: UInt16 ): VideoDigitizerError; external name '_VDGetSharpness';
5298 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5299 
5300 
5301 {
5302  *  VDGetSaturation()
5303  *
5304  *  Availability:
5305  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5306  *    CarbonLib:        in CarbonLib 1.0 and later
5307  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5308  *    Windows:          in qtmlClient.lib 3.0 and later
5309  }
VDGetSaturationnull5310 function VDGetSaturation( ci: VideoDigitizerComponent; var saturation: UInt16 ): VideoDigitizerError; external name '_VDGetSaturation';
5311 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5312 
5313 
5314 {
5315  *  VDGrabOneFrame()
5316  *
5317  *  Availability:
5318  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5319  *    CarbonLib:        in CarbonLib 1.0 and later
5320  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5321  *    Windows:          in qtmlClient.lib 3.0 and later
5322  }
VDGrabOneFramenull5323 function VDGrabOneFrame( ci: VideoDigitizerComponent ): VideoDigitizerError; external name '_VDGrabOneFrame';
5324 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5325 
5326 
5327 {
5328  *  VDGetMaxAuxBuffer()
5329  *
5330  *  Availability:
5331  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5332  *    CarbonLib:        in CarbonLib 1.0 and later
5333  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5334  *    Windows:          in qtmlClient.lib 3.0 and later
5335  }
VDGetMaxAuxBuffernull5336 function VDGetMaxAuxBuffer( ci: VideoDigitizerComponent; var pm: PixMapHandle; var r: Rect ): VideoDigitizerError; external name '_VDGetMaxAuxBuffer';
5337 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5338 
5339 
5340 {
5341  *  VDGetDigitizerInfo()
5342  *
5343  *  Availability:
5344  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5345  *    CarbonLib:        in CarbonLib 1.0 and later
5346  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5347  *    Windows:          in qtmlClient.lib 3.0 and later
5348  }
VDGetDigitizerInfonull5349 function VDGetDigitizerInfo( ci: VideoDigitizerComponent; var info: DigitizerInfo ): VideoDigitizerError; external name '_VDGetDigitizerInfo';
5350 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5351 
5352 
5353 {
5354  *  VDGetCurrentFlags()
5355  *
5356  *  Availability:
5357  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5358  *    CarbonLib:        in CarbonLib 1.0 and later
5359  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5360  *    Windows:          in qtmlClient.lib 3.0 and later
5361  }
VDGetCurrentFlagsnull5362 function VDGetCurrentFlags( ci: VideoDigitizerComponent; var inputCurrentFlag: SIGNEDLONG; var outputCurrentFlag: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetCurrentFlags';
5363 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5364 
5365 
5366 {
5367  *  VDSetKeyColor()
5368  *
5369  *  Availability:
5370  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5371  *    CarbonLib:        in CarbonLib 1.0 and later
5372  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5373  *    Windows:          in qtmlClient.lib 3.0 and later
5374  }
VDSetKeyColornull5375 function VDSetKeyColor( ci: VideoDigitizerComponent; index: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetKeyColor';
5376 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5377 
5378 
5379 {
5380  *  VDGetKeyColor()
5381  *
5382  *  Availability:
5383  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5384  *    CarbonLib:        in CarbonLib 1.0 and later
5385  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5386  *    Windows:          in qtmlClient.lib 3.0 and later
5387  }
VDGetKeyColornull5388 function VDGetKeyColor( ci: VideoDigitizerComponent; var index: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetKeyColor';
5389 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5390 
5391 
5392 {
5393  *  VDAddKeyColor()
5394  *
5395  *  Availability:
5396  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5397  *    CarbonLib:        in CarbonLib 1.0 and later
5398  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5399  *    Windows:          in qtmlClient.lib 3.0 and later
5400  }
VDAddKeyColornull5401 function VDAddKeyColor( ci: VideoDigitizerComponent; var index: SIGNEDLONG ): VideoDigitizerError; external name '_VDAddKeyColor';
5402 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5403 
5404 
5405 {
5406  *  VDGetNextKeyColor()
5407  *
5408  *  Availability:
5409  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5410  *    CarbonLib:        in CarbonLib 1.0 and later
5411  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5412  *    Windows:          in qtmlClient.lib 3.0 and later
5413  }
VDGetNextKeyColornull5414 function VDGetNextKeyColor( ci: VideoDigitizerComponent; index: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetNextKeyColor';
5415 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5416 
5417 
5418 {
5419  *  VDSetKeyColorRange()
5420  *
5421  *  Availability:
5422  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5423  *    CarbonLib:        in CarbonLib 1.0 and later
5424  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5425  *    Windows:          in qtmlClient.lib 3.0 and later
5426  }
VDSetKeyColorRangenull5427 function VDSetKeyColorRange( ci: VideoDigitizerComponent; var minRGB: RGBColor; var maxRGB: RGBColor ): VideoDigitizerError; external name '_VDSetKeyColorRange';
5428 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5429 
5430 
5431 {
5432  *  VDGetKeyColorRange()
5433  *
5434  *  Availability:
5435  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5436  *    CarbonLib:        in CarbonLib 1.0 and later
5437  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5438  *    Windows:          in qtmlClient.lib 3.0 and later
5439  }
VDGetKeyColorRangenull5440 function VDGetKeyColorRange( ci: VideoDigitizerComponent; var minRGB: RGBColor; var maxRGB: RGBColor ): VideoDigitizerError; external name '_VDGetKeyColorRange';
5441 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5442 
5443 
5444 {
5445  *  VDSetDigitizerUserInterrupt()
5446  *
5447  *  Availability:
5448  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5449  *    CarbonLib:        in CarbonLib 1.0 and later
5450  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5451  *    Windows:          in qtmlClient.lib 3.0 and later
5452  }
VDSetDigitizerUserInterruptnull5453 function VDSetDigitizerUserInterrupt( ci: VideoDigitizerComponent; flags: SIGNEDLONG; userInterruptProc: VdigIntUPP; refcon: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetDigitizerUserInterrupt';
5454 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5455 
5456 
5457 {
5458  *  VDSetInputColorSpaceMode()
5459  *
5460  *  Availability:
5461  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5462  *    CarbonLib:        in CarbonLib 1.0 and later
5463  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5464  *    Windows:          in qtmlClient.lib 3.0 and later
5465  }
VDSetInputColorSpaceModenull5466 function VDSetInputColorSpaceMode( ci: VideoDigitizerComponent; colorSpaceMode: SInt16 ): VideoDigitizerError; external name '_VDSetInputColorSpaceMode';
5467 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5468 
5469 
5470 {
5471  *  VDGetInputColorSpaceMode()
5472  *
5473  *  Availability:
5474  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5475  *    CarbonLib:        in CarbonLib 1.0 and later
5476  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5477  *    Windows:          in qtmlClient.lib 3.0 and later
5478  }
VDGetInputColorSpaceModenull5479 function VDGetInputColorSpaceMode( ci: VideoDigitizerComponent; var colorSpaceMode: SInt16 ): VideoDigitizerError; external name '_VDGetInputColorSpaceMode';
5480 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5481 
5482 
5483 {
5484  *  VDSetClipState()
5485  *
5486  *  Availability:
5487  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5488  *    CarbonLib:        in CarbonLib 1.0 and later
5489  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5490  *    Windows:          in qtmlClient.lib 3.0 and later
5491  }
VDSetClipStatenull5492 function VDSetClipState( ci: VideoDigitizerComponent; clipEnable: SInt16 ): VideoDigitizerError; external name '_VDSetClipState';
5493 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5494 
5495 
5496 {
5497  *  VDGetClipState()
5498  *
5499  *  Availability:
5500  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5501  *    CarbonLib:        in CarbonLib 1.0 and later
5502  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5503  *    Windows:          in qtmlClient.lib 3.0 and later
5504  }
VDGetClipStatenull5505 function VDGetClipState( ci: VideoDigitizerComponent; var clipEnable: SInt16 ): VideoDigitizerError; external name '_VDGetClipState';
5506 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5507 
5508 
5509 {
5510  *  VDSetClipRgn()
5511  *
5512  *  Availability:
5513  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5514  *    CarbonLib:        in CarbonLib 1.0 and later
5515  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5516  *    Windows:          in qtmlClient.lib 3.0 and later
5517  }
VDSetClipRgnnull5518 function VDSetClipRgn( ci: VideoDigitizerComponent; clipRegion: RgnHandle ): VideoDigitizerError; external name '_VDSetClipRgn';
5519 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5520 
5521 
5522 {
5523  *  VDClearClipRgn()
5524  *
5525  *  Availability:
5526  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5527  *    CarbonLib:        in CarbonLib 1.0 and later
5528  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5529  *    Windows:          in qtmlClient.lib 3.0 and later
5530  }
VDClearClipRgnnull5531 function VDClearClipRgn( ci: VideoDigitizerComponent; clipRegion: RgnHandle ): VideoDigitizerError; external name '_VDClearClipRgn';
5532 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5533 
5534 
5535 {
5536  *  VDGetCLUTInUse()
5537  *
5538  *  Availability:
5539  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5540  *    CarbonLib:        in CarbonLib 1.0 and later
5541  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5542  *    Windows:          in qtmlClient.lib 3.0 and later
5543  }
VDGetCLUTInUsenull5544 function VDGetCLUTInUse( ci: VideoDigitizerComponent; var colorTableHandle: CTabHandle ): VideoDigitizerError; external name '_VDGetCLUTInUse';
5545 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5546 
5547 
5548 {
5549  *  VDSetPLLFilterType()
5550  *
5551  *  Availability:
5552  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5553  *    CarbonLib:        in CarbonLib 1.0 and later
5554  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5555  *    Windows:          in qtmlClient.lib 3.0 and later
5556  }
VDSetPLLFilterTypenull5557 function VDSetPLLFilterType( ci: VideoDigitizerComponent; pllType: SInt16 ): VideoDigitizerError; external name '_VDSetPLLFilterType';
5558 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5559 
5560 
5561 {
5562  *  VDGetPLLFilterType()
5563  *
5564  *  Availability:
5565  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5566  *    CarbonLib:        in CarbonLib 1.0 and later
5567  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5568  *    Windows:          in qtmlClient.lib 3.0 and later
5569  }
VDGetPLLFilterTypenull5570 function VDGetPLLFilterType( ci: VideoDigitizerComponent; var pllType: SInt16 ): VideoDigitizerError; external name '_VDGetPLLFilterType';
5571 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5572 
5573 
5574 {
5575  *  VDGetMaskandValue()
5576  *
5577  *  Availability:
5578  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5579  *    CarbonLib:        in CarbonLib 1.0 and later
5580  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5581  *    Windows:          in qtmlClient.lib 3.0 and later
5582  }
VDGetMaskandValuenull5583 function VDGetMaskandValue( ci: VideoDigitizerComponent; blendLevel: UInt16; var mask: SIGNEDLONG; var value: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetMaskandValue';
5584 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5585 
5586 
5587 {
5588  *  VDSetMasterBlendLevel()
5589  *
5590  *  Availability:
5591  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5592  *    CarbonLib:        in CarbonLib 1.0 and later
5593  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5594  *    Windows:          in qtmlClient.lib 3.0 and later
5595  }
VDSetMasterBlendLevelnull5596 function VDSetMasterBlendLevel( ci: VideoDigitizerComponent; var blendLevel: UInt16 ): VideoDigitizerError; external name '_VDSetMasterBlendLevel';
5597 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5598 
5599 
5600 {
5601  *  VDSetPlayThruDestination()
5602  *
5603  *  Availability:
5604  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5605  *    CarbonLib:        in CarbonLib 1.0 and later
5606  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5607  *    Windows:          in qtmlClient.lib 3.0 and later
5608  }
VDSetPlayThruDestinationnull5609 function VDSetPlayThruDestination( ci: VideoDigitizerComponent; dest: PixMapHandle; destRect: RectPtr; m: MatrixRecordPtr; mask: RgnHandle ): VideoDigitizerError; external name '_VDSetPlayThruDestination';
5610 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5611 
5612 
5613 {
5614  *  VDSetPlayThruOnOff()
5615  *
5616  *  Availability:
5617  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5618  *    CarbonLib:        in CarbonLib 1.0 and later
5619  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5620  *    Windows:          in qtmlClient.lib 3.0 and later
5621  }
VDSetPlayThruOnOffnull5622 function VDSetPlayThruOnOff( ci: VideoDigitizerComponent; state: SInt16 ): VideoDigitizerError; external name '_VDSetPlayThruOnOff';
5623 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5624 
5625 
5626 {
5627  *  VDSetFieldPreference()
5628  *
5629  *  Availability:
5630  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5631  *    CarbonLib:        in CarbonLib 1.0 and later
5632  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5633  *    Windows:          in qtmlClient.lib 3.0 and later
5634  }
VDSetFieldPreferencenull5635 function VDSetFieldPreference( ci: VideoDigitizerComponent; fieldFlag: SInt16 ): VideoDigitizerError; external name '_VDSetFieldPreference';
5636 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5637 
5638 
5639 {
5640  *  VDGetFieldPreference()
5641  *
5642  *  Availability:
5643  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5644  *    CarbonLib:        in CarbonLib 1.0 and later
5645  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5646  *    Windows:          in qtmlClient.lib 3.0 and later
5647  }
VDGetFieldPreferencenull5648 function VDGetFieldPreference( ci: VideoDigitizerComponent; var fieldFlag: SInt16 ): VideoDigitizerError; external name '_VDGetFieldPreference';
5649 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5650 
5651 
5652 {
5653  *  VDPreflightDestination()
5654  *
5655  *  Availability:
5656  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5657  *    CarbonLib:        in CarbonLib 1.0 and later
5658  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5659  *    Windows:          in qtmlClient.lib 3.0 and later
5660  }
VDPreflightDestinationnull5661 function VDPreflightDestination( ci: VideoDigitizerComponent; var digitizerRect: Rect; var dest: PixMapPtr; destRect: RectPtr; m: MatrixRecordPtr ): VideoDigitizerError; external name '_VDPreflightDestination';
5662 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5663 
5664 
5665 {
5666  *  VDPreflightGlobalRect()
5667  *
5668  *  Availability:
5669  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5670  *    CarbonLib:        in CarbonLib 1.0 and later
5671  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5672  *    Windows:          in qtmlClient.lib 3.0 and later
5673  }
VDPreflightGlobalRectnull5674 function VDPreflightGlobalRect( ci: VideoDigitizerComponent; theWindow: GrafPtr; var globalRect: Rect ): VideoDigitizerError; external name '_VDPreflightGlobalRect';
5675 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5676 
5677 
5678 {
5679  *  VDSetPlayThruGlobalRect()
5680  *
5681  *  Availability:
5682  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5683  *    CarbonLib:        in CarbonLib 1.0 and later
5684  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5685  *    Windows:          in qtmlClient.lib 3.0 and later
5686  }
VDSetPlayThruGlobalRectnull5687 function VDSetPlayThruGlobalRect( ci: VideoDigitizerComponent; theWindow: GrafPtr; var globalRect: Rect ): VideoDigitizerError; external name '_VDSetPlayThruGlobalRect';
5688 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5689 
5690 
5691 {
5692  *  VDSetInputGammaRecord()
5693  *
5694  *  Availability:
5695  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5696  *    CarbonLib:        in CarbonLib 1.0 and later
5697  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5698  *    Windows:          in qtmlClient.lib 3.0 and later
5699  }
VDSetInputGammaRecordnull5700 function VDSetInputGammaRecord( ci: VideoDigitizerComponent; inputGammaPtr: VDGamRecPtr ): VideoDigitizerError; external name '_VDSetInputGammaRecord';
5701 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5702 
5703 
5704 {
5705  *  VDGetInputGammaRecord()
5706  *
5707  *  Availability:
5708  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5709  *    CarbonLib:        in CarbonLib 1.0 and later
5710  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5711  *    Windows:          in qtmlClient.lib 3.0 and later
5712  }
VDGetInputGammaRecordnull5713 function VDGetInputGammaRecord( ci: VideoDigitizerComponent; var inputGammaPtr: VDGamRecPtr ): VideoDigitizerError; external name '_VDGetInputGammaRecord';
5714 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5715 
5716 
5717 {
5718  *  VDSetBlackLevelValue()
5719  *
5720  *  Availability:
5721  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5722  *    CarbonLib:        in CarbonLib 1.0 and later
5723  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5724  *    Windows:          in qtmlClient.lib 3.0 and later
5725  }
VDSetBlackLevelValuenull5726 function VDSetBlackLevelValue( ci: VideoDigitizerComponent; var blackLevel: UInt16 ): VideoDigitizerError; external name '_VDSetBlackLevelValue';
5727 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5728 
5729 
5730 {
5731  *  VDGetBlackLevelValue()
5732  *
5733  *  Availability:
5734  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5735  *    CarbonLib:        in CarbonLib 1.0 and later
5736  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5737  *    Windows:          in qtmlClient.lib 3.0 and later
5738  }
VDGetBlackLevelValuenull5739 function VDGetBlackLevelValue( ci: VideoDigitizerComponent; var blackLevel: UInt16 ): VideoDigitizerError; external name '_VDGetBlackLevelValue';
5740 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5741 
5742 
5743 {
5744  *  VDSetWhiteLevelValue()
5745  *
5746  *  Availability:
5747  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5748  *    CarbonLib:        in CarbonLib 1.0 and later
5749  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5750  *    Windows:          in qtmlClient.lib 3.0 and later
5751  }
VDSetWhiteLevelValuenull5752 function VDSetWhiteLevelValue( ci: VideoDigitizerComponent; var whiteLevel: UInt16 ): VideoDigitizerError; external name '_VDSetWhiteLevelValue';
5753 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5754 
5755 
5756 {
5757  *  VDGetWhiteLevelValue()
5758  *
5759  *  Availability:
5760  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5761  *    CarbonLib:        in CarbonLib 1.0 and later
5762  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5763  *    Windows:          in qtmlClient.lib 3.0 and later
5764  }
VDGetWhiteLevelValuenull5765 function VDGetWhiteLevelValue( ci: VideoDigitizerComponent; var whiteLevel: UInt16 ): VideoDigitizerError; external name '_VDGetWhiteLevelValue';
5766 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5767 
5768 
5769 {
5770  *  VDGetVideoDefaults()
5771  *
5772  *  Availability:
5773  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5774  *    CarbonLib:        in CarbonLib 1.0 and later
5775  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5776  *    Windows:          in qtmlClient.lib 3.0 and later
5777  }
VDGetVideoDefaultsnull5778 function VDGetVideoDefaults( ci: VideoDigitizerComponent; var blackLevel: UInt16; var whiteLevel: UInt16; var brightness: UInt16; var hue: UInt16; var saturation: UInt16; var contrast: UInt16; var sharpness: UInt16 ): VideoDigitizerError; external name '_VDGetVideoDefaults';
5779 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5780 
5781 
5782 {
5783  *  VDGetNumberOfInputs()
5784  *
5785  *  Availability:
5786  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5787  *    CarbonLib:        in CarbonLib 1.0 and later
5788  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5789  *    Windows:          in qtmlClient.lib 3.0 and later
5790  }
VDGetNumberOfInputsnull5791 function VDGetNumberOfInputs( ci: VideoDigitizerComponent; var inputs: SInt16 ): VideoDigitizerError; external name '_VDGetNumberOfInputs';
5792 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5793 
5794 
5795 {
5796  *  VDGetInputFormat()
5797  *
5798  *  Availability:
5799  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5800  *    CarbonLib:        in CarbonLib 1.0 and later
5801  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5802  *    Windows:          in qtmlClient.lib 3.0 and later
5803  }
VDGetInputFormatnull5804 function VDGetInputFormat( ci: VideoDigitizerComponent; input: SInt16; var format: SInt16 ): VideoDigitizerError; external name '_VDGetInputFormat';
5805 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5806 
5807 
5808 {
5809  *  VDSetInput()
5810  *
5811  *  Availability:
5812  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5813  *    CarbonLib:        in CarbonLib 1.0 and later
5814  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5815  *    Windows:          in qtmlClient.lib 3.0 and later
5816  }
VDSetInputnull5817 function VDSetInput( ci: VideoDigitizerComponent; input: SInt16 ): VideoDigitizerError; external name '_VDSetInput';
5818 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5819 
5820 
5821 {
5822  *  VDGetInput()
5823  *
5824  *  Availability:
5825  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5826  *    CarbonLib:        in CarbonLib 1.0 and later
5827  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5828  *    Windows:          in qtmlClient.lib 3.0 and later
5829  }
VDGetInputnull5830 function VDGetInput( ci: VideoDigitizerComponent; var input: SInt16 ): VideoDigitizerError; external name '_VDGetInput';
5831 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5832 
5833 
5834 {
5835  *  VDSetInputStandard()
5836  *
5837  *  Availability:
5838  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5839  *    CarbonLib:        in CarbonLib 1.0 and later
5840  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5841  *    Windows:          in qtmlClient.lib 3.0 and later
5842  }
VDSetInputStandardnull5843 function VDSetInputStandard( ci: VideoDigitizerComponent; inputStandard: SInt16 ): VideoDigitizerError; external name '_VDSetInputStandard';
5844 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5845 
5846 
5847 {
5848  *  VDSetupBuffers()
5849  *
5850  *  Availability:
5851  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5852  *    CarbonLib:        in CarbonLib 1.0 and later
5853  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5854  *    Windows:          in qtmlClient.lib 3.0 and later
5855  }
VDSetupBuffersnull5856 function VDSetupBuffers( ci: VideoDigitizerComponent; bufferList: VdigBufferRecListHandle ): VideoDigitizerError; external name '_VDSetupBuffers';
5857 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5858 
5859 
5860 {
5861  *  VDGrabOneFrameAsync()
5862  *
5863  *  Availability:
5864  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5865  *    CarbonLib:        in CarbonLib 1.0 and later
5866  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5867  *    Windows:          in qtmlClient.lib 3.0 and later
5868  }
VDGrabOneFrameAsyncnull5869 function VDGrabOneFrameAsync( ci: VideoDigitizerComponent; buffer: SInt16 ): VideoDigitizerError; external name '_VDGrabOneFrameAsync';
5870 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5871 
5872 
5873 {
5874  *  VDDone()
5875  *
5876  *  Availability:
5877  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5878  *    CarbonLib:        in CarbonLib 1.0 and later
5879  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5880  *    Windows:          in qtmlClient.lib 3.0 and later
5881  }
VDDonenull5882 function VDDone( ci: VideoDigitizerComponent; buffer: SInt16 ): VideoDigitizerError; external name '_VDDone';
5883 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5884 
5885 
5886 {
5887  *  VDSetCompression()
5888  *
5889  *  Availability:
5890  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5891  *    CarbonLib:        in CarbonLib 1.0 and later
5892  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5893  *    Windows:          in qtmlClient.lib 3.0 and later
5894  }
VDSetCompressionnull5895 function VDSetCompression( ci: VideoDigitizerComponent; compressType: OSType; depth: SInt16; var bounds: Rect; spatialQuality: CodecQ; temporalQuality: CodecQ; keyFrameRate: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetCompression';
5896 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5897 
5898 
5899 {
5900  *  VDCompressOneFrameAsync()
5901  *
5902  *  Availability:
5903  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5904  *    CarbonLib:        in CarbonLib 1.0 and later
5905  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5906  *    Windows:          in qtmlClient.lib 3.0 and later
5907  }
VDCompressOneFrameAsyncnull5908 function VDCompressOneFrameAsync( ci: VideoDigitizerComponent ): VideoDigitizerError; external name '_VDCompressOneFrameAsync';
5909 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5910 
5911 
5912 {    Note that UInt8* queuedFrameCount replaces Boolean* done. 0(==false) still means no frames, and 1(==true) one,
5913     but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
5914     so some VDIGs may return 2 even if more than 2 are available, and some will still return 1 as they are using the original definition }
5915 {
5916  *  VDCompressDone()
5917  *
5918  *  Availability:
5919  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5920  *    CarbonLib:        in CarbonLib 1.0 and later
5921  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5922  *    Windows:          in qtmlClient.lib 3.0 and later
5923  }
VDCompressDonenull5924 function VDCompressDone( ci: VideoDigitizerComponent; var queuedFrameCount: UInt8; var theData: Ptr; var dataSize: SIGNEDLONG; var similarity: UInt8; var t: TimeRecord ): VideoDigitizerError; external name '_VDCompressDone';
5925 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5926 
5927 
5928 {
5929  *  VDReleaseCompressBuffer()
5930  *
5931  *  Availability:
5932  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5933  *    CarbonLib:        in CarbonLib 1.0 and later
5934  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5935  *    Windows:          in qtmlClient.lib 3.0 and later
5936  }
VDReleaseCompressBuffernull5937 function VDReleaseCompressBuffer( ci: VideoDigitizerComponent; bufferAddr: Ptr ): VideoDigitizerError; external name '_VDReleaseCompressBuffer';
5938 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5939 
5940 
5941 {
5942  *  VDGetImageDescription()
5943  *
5944  *  Availability:
5945  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5946  *    CarbonLib:        in CarbonLib 1.0 and later
5947  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5948  *    Windows:          in qtmlClient.lib 3.0 and later
5949  }
VDGetImageDescriptionnull5950 function VDGetImageDescription( ci: VideoDigitizerComponent; desc: ImageDescriptionHandle ): VideoDigitizerError; external name '_VDGetImageDescription';
5951 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5952 
5953 
5954 {
5955  *  VDResetCompressSequence()
5956  *
5957  *  Availability:
5958  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5959  *    CarbonLib:        in CarbonLib 1.0 and later
5960  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5961  *    Windows:          in qtmlClient.lib 3.0 and later
5962  }
VDResetCompressSequencenull5963 function VDResetCompressSequence( ci: VideoDigitizerComponent ): VideoDigitizerError; external name '_VDResetCompressSequence';
5964 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5965 
5966 
5967 {
5968  *  VDSetCompressionOnOff()
5969  *
5970  *  Availability:
5971  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5972  *    CarbonLib:        in CarbonLib 1.0 and later
5973  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5974  *    Windows:          in qtmlClient.lib 3.0 and later
5975  }
VDSetCompressionOnOffnull5976 function VDSetCompressionOnOff( ci: VideoDigitizerComponent; state: Boolean ): VideoDigitizerError; external name '_VDSetCompressionOnOff';
5977 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5978 
5979 
5980 {
5981  *  VDGetCompressionTypes()
5982  *
5983  *  Availability:
5984  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5985  *    CarbonLib:        in CarbonLib 1.0 and later
5986  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
5987  *    Windows:          in qtmlClient.lib 3.0 and later
5988  }
VDGetCompressionTypesnull5989 function VDGetCompressionTypes( ci: VideoDigitizerComponent; h: VDCompressionListHandle ): VideoDigitizerError; external name '_VDGetCompressionTypes';
5990 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
5991 
5992 
5993 {
5994  *  VDSetTimeBase()
5995  *
5996  *  Availability:
5997  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
5998  *    CarbonLib:        in CarbonLib 1.0 and later
5999  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6000  *    Windows:          in qtmlClient.lib 3.0 and later
6001  }
VDSetTimeBasenull6002 function VDSetTimeBase( ci: VideoDigitizerComponent; t: TimeBase ): VideoDigitizerError; external name '_VDSetTimeBase';
6003 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6004 
6005 
6006 {
6007  *  VDSetFrameRate()
6008  *
6009  *  Availability:
6010  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6011  *    CarbonLib:        in CarbonLib 1.0 and later
6012  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6013  *    Windows:          in qtmlClient.lib 3.0 and later
6014  }
VDSetFrameRatenull6015 function VDSetFrameRate( ci: VideoDigitizerComponent; framesPerSecond: Fixed ): VideoDigitizerError; external name '_VDSetFrameRate';
6016 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6017 
6018 
6019 {
6020  *  VDGetDataRate()
6021  *
6022  *  Availability:
6023  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6024  *    CarbonLib:        in CarbonLib 1.0 and later
6025  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6026  *    Windows:          in qtmlClient.lib 3.0 and later
6027  }
VDGetDataRatenull6028 function VDGetDataRate( ci: VideoDigitizerComponent; var milliSecPerFrame: SIGNEDLONG; var framesPerSecond: Fixed; var bytesPerSecond: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetDataRate';
6029 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6030 
6031 
6032 {
6033  *  VDGetSoundInputDriver()
6034  *
6035  *  Availability:
6036  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6037  *    CarbonLib:        in CarbonLib 1.0 and later
6038  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6039  *    Windows:          in qtmlClient.lib 3.0 and later
6040  }
VDGetSoundInputDrivernull6041 function VDGetSoundInputDriver( ci: VideoDigitizerComponent; var soundDriverName: Str255 ): VideoDigitizerError; external name '_VDGetSoundInputDriver';
6042 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6043 
6044 
6045 {
6046  *  VDGetDMADepths()
6047  *
6048  *  Availability:
6049  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6050  *    CarbonLib:        in CarbonLib 1.0 and later
6051  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6052  *    Windows:          in qtmlClient.lib 3.0 and later
6053  }
VDGetDMADepthsnull6054 function VDGetDMADepths( ci: VideoDigitizerComponent; var depthArray: SIGNEDLONG; var preferredDepth: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetDMADepths';
6055 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6056 
6057 
6058 {
6059  *  VDGetPreferredTimeScale()
6060  *
6061  *  Availability:
6062  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6063  *    CarbonLib:        in CarbonLib 1.0 and later
6064  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6065  *    Windows:          in qtmlClient.lib 3.0 and later
6066  }
VDGetPreferredTimeScalenull6067 function VDGetPreferredTimeScale( ci: VideoDigitizerComponent; var preferred: TimeScale ): VideoDigitizerError; external name '_VDGetPreferredTimeScale';
6068 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6069 
6070 
6071 {
6072  *  VDReleaseAsyncBuffers()
6073  *
6074  *  Availability:
6075  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6076  *    CarbonLib:        in CarbonLib 1.0 and later
6077  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6078  *    Windows:          in qtmlClient.lib 3.0 and later
6079  }
VDReleaseAsyncBuffersnull6080 function VDReleaseAsyncBuffers( ci: VideoDigitizerComponent ): VideoDigitizerError; external name '_VDReleaseAsyncBuffers';
6081 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6082 
6083 
6084 { 83 is reserved for compatibility reasons }
6085 {
6086  *  VDSetDataRate()
6087  *
6088  *  Availability:
6089  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6090  *    CarbonLib:        in CarbonLib 1.0 and later
6091  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6092  *    Windows:          in qtmlClient.lib 3.0 and later
6093  }
VDSetDataRatenull6094 function VDSetDataRate( ci: VideoDigitizerComponent; bytesPerSecond: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetDataRate';
6095 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6096 
6097 
6098 {
6099  *  VDGetTimeCode()
6100  *
6101  *  Availability:
6102  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6103  *    CarbonLib:        in CarbonLib 1.0 and later
6104  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6105  *    Windows:          in qtmlClient.lib 3.0 and later
6106  }
VDGetTimeCodenull6107 function VDGetTimeCode( ci: VideoDigitizerComponent; var atTime: TimeRecord; timeCodeFormat: UnivPtr; timeCodeTime: UnivPtr ): VideoDigitizerError; external name '_VDGetTimeCode';
6108 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6109 
6110 
6111 {
6112  *  VDUseSafeBuffers()
6113  *
6114  *  Availability:
6115  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6116  *    CarbonLib:        in CarbonLib 1.0 and later
6117  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6118  *    Windows:          in qtmlClient.lib 3.0 and later
6119  }
VDUseSafeBuffersnull6120 function VDUseSafeBuffers( ci: VideoDigitizerComponent; useSafeBuffers: Boolean ): VideoDigitizerError; external name '_VDUseSafeBuffers';
6121 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6122 
6123 
6124 {
6125  *  VDGetSoundInputSource()
6126  *
6127  *  Availability:
6128  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6129  *    CarbonLib:        in CarbonLib 1.0 and later
6130  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6131  *    Windows:          in qtmlClient.lib 3.0 and later
6132  }
VDGetSoundInputSourcenull6133 function VDGetSoundInputSource( ci: VideoDigitizerComponent; videoInput: SIGNEDLONG; var soundInput: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetSoundInputSource';
6134 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6135 
6136 
6137 {
6138  *  VDGetCompressionTime()
6139  *
6140  *  Availability:
6141  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6142  *    CarbonLib:        in CarbonLib 1.0 and later
6143  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6144  *    Windows:          in qtmlClient.lib 3.0 and later
6145  }
VDGetCompressionTimenull6146 function VDGetCompressionTime( ci: VideoDigitizerComponent; compressionType: OSType; depth: SInt16; var srcRect: Rect; var spatialQuality: CodecQ; var temporalQuality: CodecQ; var compressTime: UNSIGNEDLONG ): VideoDigitizerError; external name '_VDGetCompressionTime';
6147 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6148 
6149 
6150 {
6151  *  VDSetPreferredPacketSize()
6152  *
6153  *  Availability:
6154  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6155  *    CarbonLib:        in CarbonLib 1.0 and later
6156  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
6157  *    Windows:          in qtmlClient.lib 3.0 and later
6158  }
VDSetPreferredPacketSizenull6159 function VDSetPreferredPacketSize( ci: VideoDigitizerComponent; preferredPacketSizeInBytes: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetPreferredPacketSize';
6160 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6161 
6162 
6163 {
6164  *  VDSetPreferredImageDimensions()
6165  *
6166  *  Availability:
6167  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6168  *    CarbonLib:        in CarbonLib 1.0 and later
6169  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
6170  *    Windows:          in qtmlClient.lib 3.0 and later
6171  }
VDSetPreferredImageDimensionsnull6172 function VDSetPreferredImageDimensions( ci: VideoDigitizerComponent; width: SIGNEDLONG; height: SIGNEDLONG ): VideoDigitizerError; external name '_VDSetPreferredImageDimensions';
6173 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6174 
6175 
6176 {
6177  *  VDGetPreferredImageDimensions()
6178  *
6179  *  Availability:
6180  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6181  *    CarbonLib:        in CarbonLib 1.0 and later
6182  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
6183  *    Windows:          in qtmlClient.lib 3.0 and later
6184  }
VDGetPreferredImageDimensionsnull6185 function VDGetPreferredImageDimensions( ci: VideoDigitizerComponent; var width: SIGNEDLONG; var height: SIGNEDLONG ): VideoDigitizerError; external name '_VDGetPreferredImageDimensions';
6186 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6187 
6188 
6189 {
6190  *  VDGetInputName()
6191  *
6192  *  Availability:
6193  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6194  *    CarbonLib:        in CarbonLib 1.0 and later
6195  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
6196  *    Windows:          in qtmlClient.lib 3.0 and later
6197  }
VDGetInputNamenull6198 function VDGetInputName( ci: VideoDigitizerComponent; videoInput: SIGNEDLONG; var name: Str255 ): VideoDigitizerError; external name '_VDGetInputName';
6199 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6200 
6201 
6202 {
6203  *  VDSetDestinationPort()
6204  *
6205  *  Availability:
6206  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6207  *    CarbonLib:        in CarbonLib 1.1 and later
6208  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
6209  *    Windows:          in qtmlClient.lib 3.0 and later
6210  }
VDSetDestinationPortnull6211 function VDSetDestinationPort( ci: VideoDigitizerComponent; destPort: CGrafPtr ): VideoDigitizerError; external name '_VDSetDestinationPort';
6212 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6213 
6214 
6215 {
6216    The following call is designed to give the VDIG a little more control over how it is presented to the User, to clarify the
6217    distinction between Devices and Inputs. Historically, the assumption has been that there is one component registered per device
6218    and the component name is displayed. This change lets a component choose its name after registration.
6219    vdDeviceFlagShowInputsAsDevices is meant for components that register once and support multiple devices
6220    The UI is clearer if these are presented as device rather than inputs,
6221    and this allows a VDIG to present itself this way without huge restructuring
6222    vdDeviceFlagHideDevice is for the kind of VDIG that registers itself, and then can register a further VDIG for each device.
6223    If no hardware is available, returning this flag will omit it from the list.
6224    This call being made is also a good time to check for hardware and register further VDIG components if needed,
6225    allowing for lazy initialization when the Application needs to find a VDIG rather than on every launch or replug.
6226 }
6227 
6228 const
6229 	vdDeviceFlagShowInputsAsDevices = 1 shl 0; { Tell the Panel to promote Inputs to Devices}
6230 	vdDeviceFlagHideDevice = 1 shl 1; { Omit this Device entirely from the list}
6231 
6232 {
6233  *  VDGetDeviceNameAndFlags()
6234  *
6235  *  Availability:
6236  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
6237  *    CarbonLib:        in CarbonLib 1.6 and later
6238  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
6239  *    Windows:          in qtmlClient.lib 6.0 and later
6240  }
VDGetDeviceNameAndFlagsnull6241 function VDGetDeviceNameAndFlags( ci: VideoDigitizerComponent; var outName: Str255; var outNameFlags: UInt32 ): VideoDigitizerError; external name '_VDGetDeviceNameAndFlags';
6242 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
6243 
6244 
6245 const
6246 	vdFlagCaptureStarting = 1 shl 0; { Capture is about to start; allocate bandwidth }
6247 	vdFlagCaptureStopping = 1 shl 1; { Capture is about to stop; stop queuing frames}
6248 	vdFlagCaptureIsForPreview = 1 shl 2; { Capture is just to screen for preview purposes}
6249 	vdFlagCaptureIsForRecord = 1 shl 3; { Capture is going to be recorded}
6250 	vdFlagCaptureLowLatency = 1 shl 4; { Fresh frames are more important than delivering every frame - don't queue too much}
6251 	vdFlagCaptureAlwaysUseTimeBase = 1 shl 5; { Use the timebase for every frame; don't worry about making durations uniform}
6252 	vdFlagCaptureSetSettingsBegin = 1 shl 6; { A series of calls are about to be made to restore settings.}
6253 	vdFlagCaptureSetSettingsEnd = 1 shl 7; { Finished restoring settings; any set calls after this are from the app or UI}
6254 
6255 {
6256  *  VDCaptureStateChanging()
6257  *
6258  *  Availability:
6259  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
6260  *    CarbonLib:        in CarbonLib 1.6 and later
6261  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
6262  *    Windows:          in qtmlClient.lib 6.0 and later
6263  }
VDCaptureStateChangingnull6264 function VDCaptureStateChanging( ci: VideoDigitizerComponent; inStateFlags: UInt32 ): VideoDigitizerError; external name '_VDCaptureStateChanging';
6265 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
6266 
6267 
6268 {
6269    These UniqueID calls are so that the VDIG can give the SG information enabling it to restore a particular
6270    configuration - choose a particular device and input from those available.
6271    For example, restoring the specific camera for a set of several hot-plugged FireWire cameras
6272    the caller can pass nil if it is not interested in one of the IDs
6273    returning 0 in an ID means you don't have one
6274 }
6275 
6276 {
6277  *  VDGetUniqueIDs()
6278  *
6279  *  Availability:
6280  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
6281  *    CarbonLib:        in CarbonLib 1.6 and later
6282  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
6283  *    Windows:          in qtmlClient.lib 6.0 and later
6284  }
VDGetUniqueIDsnull6285 function VDGetUniqueIDs( ci: VideoDigitizerComponent; var outDeviceID: UInt64; var outInputID: UInt64 ): VideoDigitizerError; external name '_VDGetUniqueIDs';
6286 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
6287 
6288 
6289 {
6290    Note this is a 'Select' not a 'Set' - the assumption is that the Unique ID is a function of the hardware
6291    and not modifiable by the calling application. Either a nil pointer or 0 an the ID means don't care.
6292    return vdDontHaveThatUniqueIDErr if your device doesn't have a match.
6293 }
6294 
6295 {
6296  *  VDSelectUniqueIDs()
6297  *
6298  *  Availability:
6299  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
6300  *    CarbonLib:        in CarbonLib 1.6 and later
6301  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
6302  *    Windows:          in qtmlClient.lib 6.0 and later
6303  }
VDSelectUniqueIDsnull6304 function VDSelectUniqueIDs( ci: VideoDigitizerComponent; (*const*) var inDeviceID: UInt64; (*const*) var inInputID: UInt64 ): VideoDigitizerError; external name '_VDSelectUniqueIDs';
6305 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
6306 
6307 
6308 {
6309  *  VDCopyPreferredAudioDevice()
6310  *
6311  *  Availability:
6312  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6313  *    CarbonLib:        not available
6314  *    Non-Carbon CFM:   not available
6315  }
VDCopyPreferredAudioDevicenull6316 function VDCopyPreferredAudioDevice( vdig: ComponentInstance; var outAudioDeviceUID: CFStringRef ): ComponentResult; external name '_VDCopyPreferredAudioDevice';
6317 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6318 
6319 
6320 {
6321    IIDC (Instrumentation & Industrial Digital Camera) Video Digitizers
6322    Video Digitizers of subtype vdSubtypeIIDC support FireWire cameras which conform to the
6323    "IIDC 1394-based Digital Camera Specification."
6324 }
6325 
6326 const
6327 	vdSubtypeIIDC = FourCharCode('iidc'); { Subtype for IIDC 1394-Digital Camera video digitizer}
6328 
6329 {
6330    vdIIDCAtomTypeFeature
6331    Parent node for the QTAtoms which describe a given feature.
6332 }
6333 const
6334 	vdIIDCAtomTypeFeature = FourCharCode('feat');
6335 
6336 {
6337    vdIIDCAtomTypeFeatureAtomTypeAndID
6338    This atom describes the feature's OSType/group/name and QTAtomType & QTAtomID needed to retrieve its settings.
6339    The contents of this atom is a VDIIDCFeatureAtomTypeAndID structure.
6340 }
6341 const
6342 	vdIIDCAtomTypeFeatureAtomTypeAndID = FourCharCode('t&id');
6343 	vdIIDCAtomIDFeatureAtomTypeAndID = 1;
6344 
6345 type
6346 	VDIIDCFeatureAtomTypeAndIDPtr = ^VDIIDCFeatureAtomTypeAndID;
6347 	VDIIDCFeatureAtomTypeAndID = record
6348 		feature: OSType;                { OSType of feature}
6349 		group: OSType;                  { OSType of group that feature is categorized into}
6350 		name: Str255;                   { Name of this feature}
6351 		atomType: QTAtomType;               { Atom type which contains feature's settings}
6352 		atomID: QTAtomID;                 { Atom ID which contains feature's settings}
6353 	end;
6354 { IIDC Feature OSTypes}
6355 const
6356 	vdIIDCFeatureHue = FourCharCode('hue '); { Feature's settings handled by VDIIDCFeatureSettings}
6357 	vdIIDCFeatureSaturation = FourCharCode('satu'); { Feature's settings handled by VDIIDCFeatureSettings}
6358 	vdIIDCFeatureSharpness = FourCharCode('shrp'); { Feature's settings handled by VDIIDCFeatureSettings}
6359 	vdIIDCFeatureBrightness = FourCharCode('brit'); { Feature's settings handled by VDIIDCFeatureSettings}
6360 	vdIIDCFeatureGain = FourCharCode('gain'); { Feature's settings handled by VDIIDCFeatureSettings}
6361 	vdIIDCFeatureIris = FourCharCode('iris'); { Feature's settings handled by VDIIDCFeatureSettings}
6362 	vdIIDCFeatureShutter = FourCharCode('shtr'); { Feature's settings handled by VDIIDCFeatureSettings}
6363 	vdIIDCFeatureExposure = FourCharCode('xpsr'); { Feature's settings handled by VDIIDCFeatureSettings}
6364 	vdIIDCFeatureWhiteBalanceU = FourCharCode('whbu'); { Feature's settings handled by VDIIDCFeatureSettings}
6365 	vdIIDCFeatureWhiteBalanceV = FourCharCode('whbv'); { Feature's settings handled by VDIIDCFeatureSettings}
6366 	vdIIDCFeatureGamma = FourCharCode('gmma'); { Feature's settings handled by VDIIDCFeatureSettings}
6367 	vdIIDCFeatureTemperature = FourCharCode('temp'); { Feature's settings handled by VDIIDCFeatureSettings}
6368 	vdIIDCFeatureZoom = FourCharCode('zoom'); { Feature's settings handled by VDIIDCFeatureSettings}
6369 	vdIIDCFeatureFocus = FourCharCode('fcus'); { Feature's settings handled by VDIIDCFeatureSettings}
6370 	vdIIDCFeaturePan = FourCharCode('pan '); { Feature's settings handled by VDIIDCFeatureSettings}
6371 	vdIIDCFeatureTilt = FourCharCode('tilt'); { Feature's settings handled by VDIIDCFeatureSettings}
6372 	vdIIDCFeatureOpticalFilter = FourCharCode('opft'); { Feature's settings handled by VDIIDCFeatureSettings}
6373 	vdIIDCFeatureTrigger = FourCharCode('trgr'); { Trigger's setttings handled by VDIIDCTriggerSettings}
6374 	vdIIDCFeatureCaptureSize = FourCharCode('cpsz'); { Feature's settings is not defined}
6375 	vdIIDCFeatureCaptureQuality = FourCharCode('cpql'); { Feature's settings is not defined}
6376 	vdIIDCFeatureFocusPoint = FourCharCode('fpnt'); { Focus Point's settings handled by VDIIDCFocusPointSettings}
6377 	vdIIDCFeatureEdgeEnhancement = FourCharCode('eden'); { Feature's settings handled by VDIIDCFeatureSettings}
6378 	vdIIDCFeatureLightingHint = FourCharCode('lhnt'); { Feature's settings handled by VDIIDCLightingHintSettings}
6379 
6380 {
6381    IIDC Group OSTypes that features are categorized into
6382    (The values used for the constants cannot be the same as any of the IIDC Feature OSTypes constants)
6383 }
6384 const
6385 	vdIIDCGroupImage = FourCharCode('imag'); { Feature related to camera's image}
6386 	vdIIDCGroupColor = FourCharCode('colr'); { Feature related to camera's color control}
6387 	vdIIDCGroupMechanics = FourCharCode('mech'); { Feature related to camera's mechanics}
6388 	vdIIDCGroupTrigger = FourCharCode('trig'); { Feature related to camera's trigger}
6389 
6390 {
6391    vdIIDCAtomTypeFeatureSettings
6392    This atom describes the settings for the majority of features.
6393    The contents of this atom is a VDIIDCFeatureSettings structure.
6394 }
6395 const
6396 	vdIIDCAtomTypeFeatureSettings = FourCharCode('fstg');
6397 	vdIIDCAtomIDFeatureSettings = 1;
6398 
6399 type
6400 	VDIIDCFeatureCapabilitiePtr = ^VDIIDCFeatureCapabilities;
6401 	VDIIDCFeatureCapabilities = record
6402 		flags: UInt32;
6403 		rawMinimum: UInt16;
6404 		rawMaximum: UInt16;
6405 		absoluteMinimum: QTFloatSingle;
6406 		absoluteMaximum: QTFloatSingle;
6407 	end;
6408 type
6409 	VDIIDCFeatureStatePtr = ^VDIIDCFeatureState;
6410 	VDIIDCFeatureState = record
6411 		flags: UInt32;
6412 		value: QTFloatSingle;
6413 	end;
6414 type
6415 	VDIIDCFeatureSettingsPtr = ^VDIIDCFeatureSettings;
6416 	VDIIDCFeatureSettings = record
6417 		capabilities: VDIIDCFeatureCapabilities;
6418 		state: VDIIDCFeatureState;
6419 	end;
6420 {
6421    Flags for use in VDIIDCFeatureCapabilities.flags & VDIIDCFeatureState.flags
6422    When indicating capabilities, the flag being set indicates that the feature can be put into the given state.
6423    When indicating/setting state, the flag represents the current/desired state.
6424    Note that certain combinations of flags are valid for capabilities (i.e. vdIIDCFeatureFlagOn | vdIIDCFeatureFlagOff)
6425    but are mutually exclusive for state.
6426 }
6427 const
6428 	vdIIDCFeatureFlagOn = 1 shl 0;
6429 	vdIIDCFeatureFlagOff = 1 shl 1;
6430 	vdIIDCFeatureFlagManual = 1 shl 2;
6431 	vdIIDCFeatureFlagAuto = 1 shl 3;
6432 	vdIIDCFeatureFlagTune = 1 shl 4;
6433 	vdIIDCFeatureFlagRawControl = 1 shl 5;
6434 	vdIIDCFeatureFlagAbsoluteControl = 1 shl 6;
6435 
6436 {
6437    vdIIDCAtomTypeTriggerSettings
6438    This atom describes the settings for the trigger feature.
6439    The contents of this atom is a VDIIDCTriggerSettings structure.
6440 }
6441 const
6442 	vdIIDCAtomTypeTriggerSettings = FourCharCode('tstg');
6443 	vdIIDCAtomIDTriggerSettings = 1;
6444 
6445 type
6446 	VDIIDCTriggerCapabilities = record
6447 		flags: UInt32;
6448 		absoluteMinimum: QTFloatSingle;
6449 		absoluteMaximum: QTFloatSingle;
6450 	end;
6451 type
6452 	VDIIDCTriggerState = record
6453 		flags: UInt32;
6454 		mode2TransitionCount: UInt16;
6455 		mode3FrameRateMultiplier: UInt16;
6456 		absoluteValue: QTFloatSingle;
6457 	end;
6458 type
6459 	VDIIDCTriggerSettings = record
6460 		capabilities: VDIIDCTriggerCapabilities;
6461 		state: VDIIDCTriggerState;
6462 	end;
6463 {
6464    Flags for use in VDIIDCTriggerCapabilities.flags & VDIIDCTriggerState.flags
6465    When indicating capabilities, the flag being set indicates that the trigger can be put into the given state.
6466    When indicating/setting state, the flag represents the current/desired state.
6467    Note that certain combinations of flags are valid for capabilities (i.e. vdIIDCTriggerFlagOn | vdIIDCTriggerFlagOff)
6468    but are mutually exclusive for state.
6469 }
6470 const
6471 	vdIIDCTriggerFlagOn = 1 shl 0;
6472 	vdIIDCTriggerFlagOff = 1 shl 1;
6473 	vdIIDCTriggerFlagActiveHigh = 1 shl 2;
6474 	vdIIDCTriggerFlagActiveLow = 1 shl 3;
6475 	vdIIDCTriggerFlagMode0 = 1 shl 4;
6476 	vdIIDCTriggerFlagMode1 = 1 shl 5;
6477 	vdIIDCTriggerFlagMode2 = 1 shl 6;
6478 	vdIIDCTriggerFlagMode3 = 1 shl 7;
6479 	vdIIDCTriggerFlagRawControl = 1 shl 8;
6480 	vdIIDCTriggerFlagAbsoluteControl = 1 shl 9;
6481 
6482 
6483 {
6484    vdIIDCAtomTypeFocusPointSettings
6485    This atom describes the settings for the focus point feature.
6486    The contents of this atom is a VDIIDCFocusPointSettings structure.
6487 }
6488 const
6489 	vdIIDCAtomTypeFocusPointSettings = FourCharCode('fpst');
6490 	vdIIDCAtomIDFocusPointSettings = 1;
6491 
6492 type
6493 	VDIIDCFocusPointSettings = record
6494 		focusPoint: Point;
6495 	end;
6496 {
6497    vdIIDCAtomTypeLightingHintSettings
6498    This atom describes the settings for the light hint feature.
6499    The contents of this atom is a VDIIDCLightingHintSettings structure.
6500 }
6501 const
6502 	vdIIDCAtomTypeLightingHintSettings = FourCharCode('lhst');
6503 	vdIIDCAtomIDLightingHintSettings = 1;
6504 
6505 type
6506 	VDIIDCLightingHintSettings = record
6507 		capabilityFlags: UInt32;
6508 		stateFlags: UInt32;
6509 	end;
6510 {
6511    Flags for use in VDIIDCLightingHintSettings.capabilityFlags & VDIIDCLightingHintSettings.capabilityFlags
6512    When indicating capabilities, the flag being set indicates that the hint can be applied.
6513    When indicating/setting state, the flag represents the current/desired hints applied/to apply.
6514    Certain combinations of flags are valid for capabilities (i.e. vdIIDCLightingHintNormal | vdIIDCLightingHintLow)
6515    but are mutually exclusive for state.
6516 }
6517 const
6518 	vdIIDCLightingHintNormal = 1 shl 0;
6519 	vdIIDCLightingHintLow = 1 shl 1;
6520 
6521 
6522 {
6523    VDIIDC calls are additional calls for IIDC digitizers (vdSubtypeIIDC)
6524    These calls are only valid for video digitizers of subtype vdSubtypeIIDC.
6525 }
6526 {
6527  *  VDIIDCGetFeatures()
6528  *
6529  *  Availability:
6530  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6531  *    CarbonLib:        not available
6532  *    Non-Carbon CFM:   not available
6533  }
VDIIDCGetFeaturesnull6534 function VDIIDCGetFeatures( ci: VideoDigitizerComponent; var container: QTAtomContainer ): VideoDigitizerError; external name '_VDIIDCGetFeatures';
6535 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6536 
6537 
6538 {
6539  *  VDIIDCSetFeatures()
6540  *
6541  *  Availability:
6542  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6543  *    CarbonLib:        not available
6544  *    Non-Carbon CFM:   not available
6545  }
VDIIDCSetFeaturesnull6546 function VDIIDCSetFeatures( ci: VideoDigitizerComponent; container: QTAtomContainer ): VideoDigitizerError; external name '_VDIIDCSetFeatures';
6547 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6548 
6549 
6550 {
6551  *  VDIIDCGetDefaultFeatures()
6552  *
6553  *  Availability:
6554  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6555  *    CarbonLib:        not available
6556  *    Non-Carbon CFM:   not available
6557  }
VDIIDCGetDefaultFeaturesnull6558 function VDIIDCGetDefaultFeatures( ci: VideoDigitizerComponent; var container: QTAtomContainer ): VideoDigitizerError; external name '_VDIIDCGetDefaultFeatures';
6559 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6560 
6561 
6562 {
6563  *  VDIIDCGetCSRData()
6564  *
6565  *  Availability:
6566  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6567  *    CarbonLib:        not available
6568  *    Non-Carbon CFM:   not available
6569  }
VDIIDCGetCSRDatanull6570 function VDIIDCGetCSRData( ci: VideoDigitizerComponent; offsetFromUnitBase: Boolean; offset: UInt32; var data: UInt32 ): VideoDigitizerError; external name '_VDIIDCGetCSRData';
6571 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6572 
6573 
6574 {
6575  *  VDIIDCSetCSRData()
6576  *
6577  *  Availability:
6578  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6579  *    CarbonLib:        not available
6580  *    Non-Carbon CFM:   not available
6581  }
VDIIDCSetCSRDatanull6582 function VDIIDCSetCSRData( ci: VideoDigitizerComponent; offsetFromUnitBase: Boolean; offset: UInt32; data: UInt32 ): VideoDigitizerError; external name '_VDIIDCSetCSRData';
6583 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6584 
6585 
6586 {
6587  *  VDIIDCGetFeaturesForSpecifier()
6588  *
6589  *  Availability:
6590  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
6591  *    CarbonLib:        not available
6592  *    Non-Carbon CFM:   not available
6593  }
VDIIDCGetFeaturesForSpecifiernull6594 function VDIIDCGetFeaturesForSpecifier( ci: VideoDigitizerComponent; specifier: OSType; var container: QTAtomContainer ): VideoDigitizerError; external name '_VDIIDCGetFeaturesForSpecifier';
6595 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
6596 
6597 
6598 const
6599 	xmlParseComponentType = FourCharCode('pars');
6600 	xmlParseComponentSubType = FourCharCode('xml ');
6601 
6602 const
6603 	xmlIdentifierInvalid = 0;
6604 	xmlIdentifierUnrecognized = $FFFFFFFF;
6605 	xmlContentTypeInvalid = 0;
6606 	xmlContentTypeElement = 1;
6607 	xmlContentTypeCharData = 2;
6608 
6609 const
6610 	elementFlagAlwaysSelfContained = 1 shl 0; {    Element doesn't have contents or closing tag even if it doesn't end with />, as in the HTML <img> tag}
6611 	elementFlagPreserveWhiteSpace = 1 shl 1; {  Preserve whitespace in content, default is to remove it }
6612 	xmlParseFlagAllowUppercase = 1 shl 0; {    Entities and attributes do not have to be lowercase (strict XML), but can be upper or mixed case as in HTML}
6613 	xmlParseFlagAllowUnquotedAttributeValues = 1 shl 1; {    Attributes values do not have to be enclosed in quotes (strict XML), but can be left unquoted if they contain no spaces}
6614 	xmlParseFlagEventParseOnly = 1 shl 2; {    Do event parsing only}
6615 	xmlParseFlagPreserveWhiteSpace = 1 shl 3; {    Preserve whitespace throughout the document}
6616 
6617 const
6618 	attributeValueKindCharString = 0;
6619 	attributeValueKindInteger = 1 shl 0; {    Number}
6620 	attributeValueKindPercent = 1 shl 1; {    Number or percent}
6621 	attributeValueKindBoolean = 1 shl 2; {    "true" or "false"}
6622 	attributeValueKindOnOff = 1 shl 3; {    "on" or "off"}
6623 	attributeValueKindColor = 1 shl 4; {    Either "#rrggbb" or a color name}
6624 	attributeValueKindEnum = 1 shl 5; {    one of a number of strings; the enum strings are passed as a zero-separated, double-zero-terminated C string in the attributeKindValueInfo param}
6625 	attributeValueKindCaseSensEnum = 1 shl 6; {    one of a number of strings; the enum strings are passed as for attributeValueKindEnum, but the values are case-sensitive}
6626 	MAX_ATTRIBUTE_VALUE_KIND = attributeValueKindCaseSensEnum;
6627 
6628 const
6629 	nameSpaceIDNone = 0;
6630 
6631 {  A Parsed XML attribute value, one of number/percent, boolean/on-off, color, or enumerated type}
6632 type
6633 	XMLAttributeValuePtr = ^XMLAttributeValue;
6634 	XMLAttributeValue = record
6635 		case SInt16 of
6636 		0: (
6637 			number: SInt32;									{     The value when valueKind is attributeValueKindInteger or attributeValueKindPercent }
6638 			);
6639 		1: (
6640 			boolean: boolean_fix;		                    {     The value when valueKind is attributeValueKindBoolean or attributeValueKindOnOff }
6641 			);
6642 		2: (
6643 			color: RGBColor;								{     The value when valueKind is attributeValueKindColor }
6644 			);
6645 		3: (
6646 			enumType: UInt32;									{     The value when valueKind is attributeValueKindEnum }
6647 			);
6648 	end;
6649 
6650 {  An XML attribute-value pair}
6651 type
6652 	XMLAttribute = record
6653 		identifier: UInt32;             {    Tokenized identifier, if the attribute name was recognized by the parser}
6654 		name: CStringPtr;                   {    Attribute name, Only present if identifier == xmlIdentifierUnrecognized}
6655 		valueKind: SIGNEDLONG;              {    Type of parsed value, if the value was recognized and parsed; otherwise, attributeValueKindCharString}
6656 		value: XMLAttributeValue;                  {    Parsed attribute value}
6657 		valueStr: CStringPtr;               {    Always present}
6658 	end;
6659 	XMLAttributePtr = ^XMLAttribute;
6660 {  Forward struct declarations for recursively-defined tree structure}
6661 type
6662 	XMLContentPtr = ^XMLContent;
6663 {
6664     An XML Element, i.e.
6665         <element attr="value" attr="value" ...> [contents] </element>
6666     or
6667         <element attr="value" attr="value" .../>
6668 }
6669 	XMLElement = record
6670 		identifier: UInt32;             {    Tokenized identifier, if the element name was recognized by the parser}
6671 		name: CStringPtr;                   {    Element name, only present if identifier == xmlIdentifierUnrecognized}
6672 		attributes: XMLAttributePtr;             {    Array of attributes, terminated with an attribute with identifier == xmlIdentifierInvalid}
6673 		contents: XMLContentPtr;               {    Array of contents, terminated with a content with kind == xmlIdentifierInvalid}
6674 	end;
6675 	XMLElementPtr = ^XMLElement;
6676 {
6677     The content of an XML element is a series of parts, each of which may be either another element
6678     or simply character data.
6679 }
6680 	XMLElementContentPtr = ^XMLElementContent;
6681 	XMLElementContent = record
6682 		case SInt16 of
6683 		0: (
6684 			element: XMLElement;								{     The contents when the content kind is xmlContentTypeElement }
6685 			);
6686 		1: (
6687 			charData: CStringPtr;								{     The contents when the content kind is xmlContentTypeCharData }
6688 			);
6689 	end;
6690 	XMLContent = record
6691 		kind: UInt32;
6692 		actualContent: XMLElementContent;
6693 	end;
6694 
6695 type
6696 	XMLDocRecordPtr = ^XMLDocRecord;
6697 	XMLDocRecord = record
6698 		xmlDataStorage: UnivPtr;         {    opaque storage}
6699 		rootElement: XMLElement;
6700 	end;
6701 type
6702 	XMLDoc = XMLDocRecordPtr;
6703 {callback routines for event parsing}
6704 type
refconnull6705 	StartDocumentHandler = function( refcon: SIGNEDLONG ): ComponentResult;
refconnull6706 	EndDocumentHandler = function( refcon: SIGNEDLONG ): ComponentResult;
namenull6707 	StartElementHandler = function( name: ConstCStringPtr; var atts: ConstCStringPtr; refcon: SIGNEDLONG ): ComponentResult;
namenull6708 	EndElementHandler = function( name: ConstCStringPtr; refcon: SIGNEDLONG ): ComponentResult;
charDatanull6709 	CharDataHandler = function( charData: ConstCStringPtr; refcon: SIGNEDLONG ): ComponentResult;
namenull6710 	PreprocessInstructionHandler = function( name: ConstCStringPtr; atts: ConstCStringPtrPtr; refcon: SIGNEDLONG ): ComponentResult;
commentnull6711 	CommentHandler = function( comment: ConstCStringPtr; refcon: SIGNEDLONG ): ComponentResult;
cdatanull6712 	CDataHandler = function( cdata: ConstCStringPtr; refcon: SIGNEDLONG ): ComponentResult;
6713 	StartDocumentHandlerUPP = StartDocumentHandler;
6714 	EndDocumentHandlerUPP = EndDocumentHandler;
6715 	StartElementHandlerUPP = StartElementHandler;
6716 	EndElementHandlerUPP = EndElementHandler;
6717 	CharDataHandlerUPP = CharDataHandler;
6718 	PreprocessInstructionHandlerUPP = PreprocessInstructionHandler;
6719 	CommentHandlerUPP = CommentHandler;
6720 	CDataHandlerUPP = CDataHandler;
6721 {  Parses the XML file pointed to by dataRef, returning a XMLDoc parse tree}
6722 {
6723  *  XMLParseDataRef()
6724  *
6725  *  Availability:
6726  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6727  *    CarbonLib:        in CarbonLib 1.3 and later
6728  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6729  *    Windows:          in qtmlClient.lib 5.0 and later
6730  }
XMLParseDataRefnull6731 function XMLParseDataRef( aParser: ComponentInstance; dataRef: Handle; dataRefType: OSType; parseFlags: SIGNEDLONG; var document: XMLDoc ): ComponentResult; external name '_XMLParseDataRef';
6732 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6733 
6734 
6735 {  Parses the XML file pointed to by fileSpec, returning a XMLDoc parse tree}
6736 {
6737  *  XMLParseFile()
6738  *
6739  *  Availability:
6740  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6741  *    CarbonLib:        in CarbonLib 1.3 and later
6742  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6743  *    Windows:          in qtmlClient.lib 5.0 and later
6744  }
XMLParseFilenull6745 function XMLParseFile( aParser: ComponentInstance; fileSpec: ConstFSSpecPtr; parseFlags: SIGNEDLONG; var document: XMLDoc ): ComponentResult; external name '_XMLParseFile';
6746 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6747 
6748 
6749 {  Disposes of a XMLDoc parse tree}
6750 {
6751  *  XMLParseDisposeXMLDoc()
6752  *
6753  *  Availability:
6754  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6755  *    CarbonLib:        in CarbonLib 1.3 and later
6756  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6757  *    Windows:          in qtmlClient.lib 5.0 and later
6758  }
XMLParseDisposeXMLDocnull6759 function XMLParseDisposeXMLDoc( aParser: ComponentInstance; document: XMLDoc ): ComponentResult; external name '_XMLParseDisposeXMLDoc';
6760 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6761 
6762 
6763 {
6764     Returns a more detailed description of the error and the line in which it occurred, if a
6765     file failed to parse properly.
6766 }
6767 {
6768  *  XMLParseGetDetailedParseError()
6769  *
6770  *  Availability:
6771  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6772  *    CarbonLib:        in CarbonLib 1.3 and later
6773  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6774  *    Windows:          in qtmlClient.lib 5.0 and later
6775  }
XMLParseGetDetailedParseErrornull6776 function XMLParseGetDetailedParseError( aParser: ComponentInstance; var errorLine: SIGNEDLONG; errDesc: StringPtr ): ComponentResult; external name '_XMLParseGetDetailedParseError';
6777 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6778 
6779 
6780 {
6781     Tell the parser of an element to be recognized. The tokenized element unique identifier is
6782     passed in *elementID, unless *elementID is zero, whereupon a unique ID is generated and returned.
6783     Thus, a valid element identifier can never be zero.
6784 }
6785 {
6786  *  XMLParseAddElement()
6787  *
6788  *  Availability:
6789  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6790  *    CarbonLib:        in CarbonLib 1.3 and later
6791  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6792  *    Windows:          in qtmlClient.lib 5.0 and later
6793  }
XMLParseAddElementnull6794 function XMLParseAddElement( aParser: ComponentInstance; elementName: CStringPtr; nameSpaceID: UInt32; var elementID: UInt32; elementFlags: SIGNEDLONG ): ComponentResult; external name '_XMLParseAddElement';
6795 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6796 
6797 
6798 {
6799     Tells the parser of an attribute for the specified element. The tokenized attribute unique
6800     ID is passed in *attributeID, unless *attributeID is zero, whereupon a unique ID is generated and
6801     returned. Thus, a valid attribute identifier can never be zero.
6802 }
6803 {
6804  *  XMLParseAddAttribute()
6805  *
6806  *  Availability:
6807  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6808  *    CarbonLib:        in CarbonLib 1.3 and later
6809  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6810  *    Windows:          in qtmlClient.lib 5.0 and later
6811  }
XMLParseAddAttributenull6812 function XMLParseAddAttribute( aParser: ComponentInstance; elementID: UInt32; nameSpaceID: UInt32; attributeName: CStringPtr; var attributeID: UInt32 ): ComponentResult; external name '_XMLParseAddAttribute';
6813 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6814 
6815 
6816 {
6817     Tells the parser of several attributes for the specified element. The attributes are passed
6818     as a zero-delimited, double-zero-terminated C string in attributeNames, and the attribute
6819     IDs are passed in on attributeIDs as an array; if any attributeIDs are zero, unique IDs
6820     are generated for those and returned
6821 }
6822 {
6823  *  XMLParseAddMultipleAttributes()
6824  *
6825  *  Availability:
6826  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6827  *    CarbonLib:        in CarbonLib 1.3 and later
6828  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6829  *    Windows:          in qtmlClient.lib 5.0 and later
6830  }
XMLParseAddMultipleAttributesnull6831 function XMLParseAddMultipleAttributes( aParser: ComponentInstance; elementID: UInt32; var nameSpaceIDs: UInt32; attributeNames: CStringPtr; var attributeIDs: UInt32 ): ComponentResult; external name '_XMLParseAddMultipleAttributes';
6832 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6833 
6834 
6835 {
6836     Tells the parser of an attribute, which may have a particular type of value, for the
6837     specified element. Params are as in XMLParseAddAttribute, plus all the kinds of values
6838     the attribute may have are passed in attributeValueKind, and optional additional information
6839     required to tokenize the particular kind of attribute is passed in attributeValueKindInfo
6840 }
6841 {
6842  *  XMLParseAddAttributeAndValue()
6843  *
6844  *  Availability:
6845  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6846  *    CarbonLib:        in CarbonLib 1.3 and later
6847  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6848  *    Windows:          in qtmlClient.lib 5.0 and later
6849  }
XMLParseAddAttributeAndValuenull6850 function XMLParseAddAttributeAndValue ( aParser: ComponentInstance; elementID: UInt32; nameSpaceID: UInt32; attributeName: CStringPtr; var attributeID: UInt32; attributeValueKind: UInt32; attributeValueKindInfo: UnivPtr ): ComponentResult; external name '_XMLParseAddAttributeAndValue';
6851 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6852 
6853 
6854 {
6855     Tells the parser of several attributes, which may have a particular type of value, for the
6856     specified element. Params are as in XMLParseAddMultipleAttributes, plus all the kinds of values
6857     the attributes may have are passed in attributeValueKinds, and optional additional information
6858     required to tokenize the particular kind of attributes is passed in attributeValueKindInfos
6859 }
6860 {
6861  *  XMLParseAddMultipleAttributesAndValues()
6862  *
6863  *  Availability:
6864  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6865  *    CarbonLib:        in CarbonLib 1.3 and later
6866  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6867  *    Windows:          in qtmlClient.lib 5.0 and later
6868  }
XMLParseAddMultipleAttributesAndValuesnull6869 function XMLParseAddMultipleAttributesAndValues( aParser: ComponentInstance; elementID: UInt32; var nameSpaceIDs: UInt32; attributeNames: CStringPtr; var attributeIDs: UInt32; var attributeValueKinds: UInt32; var attributeValueKindInfos: UnivPtr ): ComponentResult; external name '_XMLParseAddMultipleAttributesAndValues';
6870 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6871 
6872 
6873 {
6874     Tells the parser that the particular attribute may have an additional kind of
6875     value, as specified by attributeValueKind and attributeValueKindInfo
6876 }
6877 {
6878  *  XMLParseAddAttributeValueKind()
6879  *
6880  *  Availability:
6881  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6882  *    CarbonLib:        in CarbonLib 1.3 and later
6883  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6884  *    Windows:          in qtmlClient.lib 5.0 and later
6885  }
XMLParseAddAttributeValueKindnull6886 function XMLParseAddAttributeValueKind( aParser: ComponentInstance; elementID: UInt32; attributeID: UInt32; attributeValueKind: UInt32; attributeValueKindInfo: UnivPtr ): ComponentResult; external name '_XMLParseAddAttributeValueKind';
6887 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6888 
6889 
6890 {
6891     Tell the parser of a namespace to be recognized. The tokenized namespace unique identifier is
6892     passed in *nameSpaceID, unless *nameSpaceID is zero, whereupon a unique ID is generated and returned.
6893     Thus, a valid nameSpaceID identifier can never be zero.
6894 }
6895 {
6896  *  XMLParseAddNameSpace()
6897  *
6898  *  Availability:
6899  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6900  *    CarbonLib:        in CarbonLib 1.3 and later
6901  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6902  *    Windows:          in qtmlClient.lib 5.0 and later
6903  }
XMLParseAddNameSpacenull6904 function XMLParseAddNameSpace( aParser: ComponentInstance; nameSpaceURL: CStringPtr; var nameSpaceID: UInt32 ): ComponentResult; external name '_XMLParseAddNameSpace';
6905 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6906 
6907 
6908 {  Specifies the offset and limit for reading from the dataref to be used when parsing}
6909 {
6910  *  XMLParseSetOffsetAndLimit()
6911  *
6912  *  Availability:
6913  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6914  *    CarbonLib:        in CarbonLib 1.3 and later
6915  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6916  *    Windows:          in qtmlClient.lib 5.0 and later
6917  }
XMLParseSetOffsetAndLimitnull6918 function XMLParseSetOffsetAndLimit( aParser: ComponentInstance; offset: UInt32; limit: UInt32 ): ComponentResult; external name '_XMLParseSetOffsetAndLimit';
6919 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6920 
6921 
6922 {  Set the event parse refcon}
6923 {
6924  *  XMLParseSetEventParseRefCon()
6925  *
6926  *  Availability:
6927  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6928  *    CarbonLib:        in CarbonLib 1.3 and later
6929  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6930  *    Windows:          in qtmlClient.lib 5.0 and later
6931  }
XMLParseSetEventParseRefConnull6932 function XMLParseSetEventParseRefCon( aParser: ComponentInstance; refcon: SIGNEDLONG ): ComponentResult; external name '_XMLParseSetEventParseRefCon';
6933 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6934 
6935 
6936 {  Set the start document handler UPP for event parsing}
6937 {
6938  *  XMLParseSetStartDocumentHandler()
6939  *
6940  *  Availability:
6941  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6942  *    CarbonLib:        in CarbonLib 1.3 and later
6943  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6944  *    Windows:          in qtmlClient.lib 5.0 and later
6945  }
XMLParseSetStartDocumentHandlernull6946 function XMLParseSetStartDocumentHandler( aParser: ComponentInstance; startDocument: StartDocumentHandlerUPP ): ComponentResult; external name '_XMLParseSetStartDocumentHandler';
6947 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6948 
6949 
6950 {  Set the end document handler UPP for event parsing}
6951 {
6952  *  XMLParseSetEndDocumentHandler()
6953  *
6954  *  Availability:
6955  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6956  *    CarbonLib:        in CarbonLib 1.3 and later
6957  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6958  *    Windows:          in qtmlClient.lib 5.0 and later
6959  }
XMLParseSetEndDocumentHandlernull6960 function XMLParseSetEndDocumentHandler( aParser: ComponentInstance; endDocument: EndDocumentHandlerUPP ): ComponentResult; external name '_XMLParseSetEndDocumentHandler';
6961 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6962 
6963 
6964 {  Set the start element handler UPP for event parsing}
6965 {
6966  *  XMLParseSetStartElementHandler()
6967  *
6968  *  Availability:
6969  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6970  *    CarbonLib:        in CarbonLib 1.3 and later
6971  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6972  *    Windows:          in qtmlClient.lib 5.0 and later
6973  }
XMLParseSetStartElementHandlernull6974 function XMLParseSetStartElementHandler( aParser: ComponentInstance; startElement: StartElementHandlerUPP ): ComponentResult; external name '_XMLParseSetStartElementHandler';
6975 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6976 
6977 
6978 {  Set the end element handler UPP for event parsing}
6979 {
6980  *  XMLParseSetEndElementHandler()
6981  *
6982  *  Availability:
6983  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6984  *    CarbonLib:        in CarbonLib 1.3 and later
6985  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
6986  *    Windows:          in qtmlClient.lib 5.0 and later
6987  }
XMLParseSetEndElementHandlernull6988 function XMLParseSetEndElementHandler( aParser: ComponentInstance; endElement: EndElementHandlerUPP ): ComponentResult; external name '_XMLParseSetEndElementHandler';
6989 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
6990 
6991 
6992 {  Set the character data handler UPP for event parsing}
6993 {
6994  *  XMLParseSetCharDataHandler()
6995  *
6996  *  Availability:
6997  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
6998  *    CarbonLib:        in CarbonLib 1.3 and later
6999  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
7000  *    Windows:          in qtmlClient.lib 5.0 and later
7001  }
XMLParseSetCharDataHandlernull7002 function XMLParseSetCharDataHandler( aParser: ComponentInstance; charData: CharDataHandlerUPP ): ComponentResult; external name '_XMLParseSetCharDataHandler';
7003 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7004 
7005 
7006 {  Set the preprocess instruction handler UPP for event parsing}
7007 {
7008  *  XMLParseSetPreprocessInstructionHandler()
7009  *
7010  *  Availability:
7011  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7012  *    CarbonLib:        in CarbonLib 1.3 and later
7013  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
7014  *    Windows:          in qtmlClient.lib 5.0 and later
7015  }
XMLParseSetPreprocessInstructionHandlernull7016 function XMLParseSetPreprocessInstructionHandler( aParser: ComponentInstance; preprocessInstruction: PreprocessInstructionHandlerUPP ): ComponentResult; external name '_XMLParseSetPreprocessInstructionHandler';
7017 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7018 
7019 
7020 {  Set the comment handler UPP for event parsing}
7021 {
7022  *  XMLParseSetCommentHandler()
7023  *
7024  *  Availability:
7025  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7026  *    CarbonLib:        in CarbonLib 1.3 and later
7027  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
7028  *    Windows:          in qtmlClient.lib 5.0 and later
7029  }
XMLParseSetCommentHandlernull7030 function XMLParseSetCommentHandler( aParser: ComponentInstance; comment: CommentHandlerUPP ): ComponentResult; external name '_XMLParseSetCommentHandler';
7031 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7032 
7033 
7034 {  Set the cdata handler UPP for event parsing}
7035 {
7036  *  XMLParseSetCDataHandler()
7037  *
7038  *  Availability:
7039  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
7040  *    CarbonLib:        in CarbonLib 1.6 and later
7041  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
7042  *    Windows:          in qtmlClient.lib 6.0 and later
7043  }
XMLParseSetCDataHandlernull7044 function XMLParseSetCDataHandler( aParser: ComponentInstance; cdata: CDataHandlerUPP ): ComponentResult; external name '_XMLParseSetCDataHandler';
7045 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
7046 
7047 
7048 {
7049     Helper Macros
7050 
7051         These macros allow you to easily add entities and attributes to the parser
7052         in an error free manner when the identifiers are defined in a particular manner.
7053         For these to work, you must define the identifiers as follows:
7054 
7055         For entities, they must be defined as element_elementName, as in:
7056 
7057             enum
7058             (
7059                 element_xml =   1,      //  "xml"
7060                 element_head,           //  "head"
7061                 element_body            //  "body"
7062             );
7063 
7064         If the element name has characters that are illegal in an identifier,
7065         some of the macros support that, but the identifier must not contain
7066         the illegal characters:
7067 
7068             enum
7069             (
7070                 element_rootlayout      //  "root-layout"
7071             )
7072 
7073         For attribute names, similar rules apply except that they must be defined
7074         as attr_attributeName, as in:
7075 
7076             enum
7077             (
7078                 attr_src    =   1,      //  "src"
7079                 attr_href,
7080                 attr_width,
7081                 attr_height
7082             )
7083 
7084         Finally, the existence of local variables elementID and attributeID is required.
7085 }
7086 {
7087     Adds the specified element to the parser, i.e. XML_ADD_ELEMENT(head) adds the element "head" with
7088     a unique identifier of element_head
7089 }
7090 {
7091     Adds the specified element to the parser, not using the same string to generate the identifier and
7092     the element name. Use for element names that contain characters which are illegal in identifiers,
7093     i.e XML_ADD_COMPLEX_ELEMENT("root-layout",rootlayout) adds the element "root-layout" with a unique
7094     identifier of element_rootlayout
7095 }
7096 {
7097     Adds the specified attribute to the current element in the parser, i.e. XML_ADD_ATTRIBUTE(src)
7098     adds the attribute "src" to the current element, and identifies it by attr_src
7099 }
7100 {
7101     Adds the specified attribute to the current element in the parser, i.e. XML_ADD_ATTRIBUTE(element_img, src)
7102     adds the attribute "src" to the element_img element, and identifies it by attr_src
7103     Adds the specified attribute to the current element in the parser, not using the same string to
7104     generate the identifier and the element name. Use for attribute names that contain characters which
7105     are illegal in identifiers, i.e XML_ADD_COMPLEX_ATTRIBUTE("http-equiv",httpequiv) adds the element
7106     "http-equiv" with a unique identifier of attr_httpequiv
7107 }
7108 
7109 
7110 {
7111     General Sequence Grab stuff
7112 }
7113 type
7114 	SeqGrabComponent = ComponentInstance;
7115 	SGChannel = ComponentInstance;
7116 const
7117 	SeqGrabComponentType = FourCharCode('barg');
7118 	SeqGrabChannelType = FourCharCode('sgch');
7119 	SeqGrabPanelType = FourCharCode('sgpn');
7120 	SeqGrabCompressionPanelType = FourCharCode('cmpr');
7121 	SeqGrabSourcePanelType = FourCharCode('sour');
7122 
7123 const
7124 	seqGrabToDisk = 1;
7125 	seqGrabToMemory = 2;
7126 	seqGrabDontUseTempMemory = 4;
7127 	seqGrabAppendToFile = 8;
7128 	seqGrabDontAddMovieResource = 16;
7129 	seqGrabDontMakeMovie = 32;
7130 	seqGrabPreExtendFile = 64;
7131 	seqGrabDataProcIsInterruptSafe = 128;
7132 	seqGrabDataProcDoesOverlappingReads = 256;
7133 	seqGrabDontPreAllocateFileSize = 512;  { Don't set the size of the file before capture unless the file has been pre-extended }
7134 
7135 type
7136 	SeqGrabDataOutputEnum = UNSIGNEDLONG;
7137 const
7138 	seqGrabRecord = 1;
7139 	seqGrabPreview = 2;
7140 	seqGrabPlayDuringRecord = 4;
7141 	seqGrabLowLatencyCapture = 8;    { return the freshest frame possible, for live work (videoconferencing, live broadcast, live image processing) }
7142 	seqGrabAlwaysUseTimeBase = 16;   { Tell VDIGs to use TimebaseTime always, rather than creating uniform frame durations, for more accurate live sync with audio }
7143 	seqGrabRecordPreferQualityOverFrameRate = 32; { quality is more important than frame rate: client rather drop frame instead of lower quality to achieve full frame rate }
7144 
7145 type
7146 	SeqGrabUsageEnum = UNSIGNEDLONG;
7147 const
7148 	seqGrabHasBounds = 1;
7149 	seqGrabHasVolume = 2;
7150 	seqGrabHasDiscreteSamples = 4;
7151 	seqGrabDoNotBufferizeData = 8;
7152 	seqGrabCanMoveWindowWhileRecording = 16;
7153 
7154 type
7155 	SeqGrabChannelInfoEnum = UNSIGNEDLONG;
7156 	SGOutputRecord = record
7157 		data: array [0..0] of SIGNEDLONG;
7158 	end;
7159 	SGOutputRecordPtr = ^SGOutputRecord;
7160 type
7161 	SGOutput							= ^SGOutputRecord;
7162 	SeqGrabFrameInfo = record
7163 		frameOffset: SIGNEDLONG;
7164 		frameTime: SIGNEDLONG;
7165 		frameSize: SIGNEDLONG;
7166 		frameChannel: SGChannel;
7167 		frameRefCon: SIGNEDLONG;
7168 	end;
7169 	SeqGrabFrameInfoPtr = ^SeqGrabFrameInfo;
7170 type
7171 	SeqGrabExtendedFrameInfo = record
7172 		frameOffset: wide;
7173 		frameTime: SIGNEDLONG;
7174 		frameSize: SIGNEDLONG;
7175 		frameChannel: SGChannel;
7176 		frameRefCon: SIGNEDLONG;
7177 		frameOutput: SGOutput;
7178 	end;
7179 	SeqGrabExtendedFrameInfoPtr = ^SeqGrabExtendedFrameInfo;
7180 const
7181 	grabPictOffScreen = 1;
7182 	grabPictIgnoreClip = 2;
7183 	grabPictCurrentImage = 4;
7184 
7185 const
7186 	sgFlagControlledGrab = 1 shl 0;
7187 	sgFlagAllowNonRGBPixMaps = 1 shl 1;
7188 
7189 type
cnull7190 	SGDataProcPtr = function( c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: SIGNEDLONG; chRefCon: SIGNEDLONG; time: TimeValue; writeType: SInt16; refCon: SIGNEDLONG ): OSErr;
7191 	SGDataUPP = SGDataProcPtr;
7192 type
7193 	SGDeviceInputNamePtr = ^SGDeviceInputName;
7194 	SGDeviceInputName = record
7195 		name: Str63;
7196 		icon: Handle;
7197 		flags: SIGNEDLONG;
7198 		reserved: SIGNEDLONG;               { zero}
7199 	end;
7200 const
7201 	sgDeviceInputNameFlagInputUnavailable = 1 shl 0;
7202 
7203 type
7204 	SGDeviceInputListRecordPtr = ^SGDeviceInputListRecord;
7205 	SGDeviceInputListRecord = record
7206 		count: SInt16;
7207 		selectedIndex: SInt16;
7208 		reserved: SIGNEDLONG;               { zero}
7209 		entry: array [0..0] of SGDeviceInputName;
7210 	end;
7211 type
7212 	SGDeviceInputListPtr = SGDeviceInputListRecordPtr;
7213 	SGDeviceInputList = ^SGDeviceInputListPtr;
7214 	SGDeviceNamePtr = ^SGDeviceName;
7215 	SGDeviceName = record
7216 		name: Str63;
7217 		icon: Handle;
7218 		flags: SIGNEDLONG;
7219 		refCon: SIGNEDLONG;
7220 		inputs: SGDeviceInputList;                 { list of inputs; formerly reserved to 0}
7221 	end;
7222 const
7223 	sgDeviceNameFlagDeviceUnavailable = 1 shl 0;
7224 	sgDeviceNameFlagShowInputsAsDevices = 1 shl 1;
7225 
7226 type
7227 	SGDeviceListRecordPtr = ^SGDeviceListRecord;
7228 	SGDeviceListRecord = record
7229 		count: SInt16;
7230 		selectedIndex: SInt16;
7231 		reserved: SIGNEDLONG;               { zero}
7232 		entry: array [0..0] of SGDeviceName;
7233 	end;
7234 type
7235 	SGDeviceListPtr = SGDeviceListRecordPtr;
7236 	SGDeviceList = ^SGDeviceListPtr;
7237 const
7238 	sgDeviceListWithIcons = 1 shl 0;
7239 	sgDeviceListDontCheckAvailability = 1 shl 1;
7240 	sgDeviceListIncludeInputs = 1 shl 2;
7241 
7242 const
7243 	seqGrabWriteAppend = 0;
7244 	seqGrabWriteReserve = 1;
7245 	seqGrabWriteFill = 2;
7246 
7247 const
7248 	seqGrabUnpause = 0;
7249 	seqGrabPause = 1;
7250 	seqGrabPauseForMenu = 3;
7251 
7252 const
7253 	channelFlagDontOpenResFile = 2;
7254 	channelFlagHasDependency = 4;
7255 
7256 type
theDialognull7257 	SGModalFilterProcPtr = function( theDialog: DialogRef; const (*var*) theEvent: EventRecord; var itemHit: SInt16; refCon: SIGNEDLONG ): Boolean;
7258 	SGModalFilterUPP = SGModalFilterProcPtr;
7259 const
7260 	sgPanelFlagForPanel = 1;
7261 
7262 const
7263 	seqGrabSettingsPreviewOnly = 1;
7264 
7265 
7266 {
7267  *  Summary:
7268  *    Bit fields used in SGGetChannelPlayFlags and SGSetChannelPlayFlags
7269  }
7270 const
7271 {
7272    * Play flag specifying that the SGChannel should use its default
7273    * preview/playthru methodology.  Currently it is only used by the
7274    * VideoMediaType SGChannel.
7275    }
7276 	channelPlayNormal = 0;
7277 
7278   {
7279    * Play flag specifying that the SGChannel should sacrifice playback
7280    * quality to achieve the specified playback rate.  Currently it is
7281    * only used by the VideoMediaType SGChannel.
7282    }
7283 	channelPlayFast = 1 shl 0;
7284 
7285   {
7286    * Play flag specifying that the SGChannel should play its data at
7287    * the highest possible quality. This option sacrifices playback rate
7288    * for the sake of image quality. It may reduce the amount of
7289    * processor time available to other programs in the computer. This
7290    * option should not affect the quality of the recorded data,
7291    * however.  Currently it is only used by the VideoMediaType
7292    * SGChannel.
7293    }
7294 	channelPlayHighQuality = 1 shl 1;
7295 
7296   {
7297    * Play flag specifying that the SGChannel should try to play all of
7298    * the data it captures, even the data that is stored in offscreen
7299    * buffers. This option is useful when you want to be sure that the
7300    * user sees as much of the captured data as possible. The sequence
7301    * grabber component sets this flag to 1 to play all the captured
7302    * data. The sequence grabber component may combine this flag with
7303    * any of the other values for the playFlags parameter.  Currently it
7304    * is only used by the VideoMediaType SGChannel.
7305    }
7306 	channelPlayAllData = 1 shl 2;
7307 
7308   {
7309    * Play flag specifying that the SGChannel should preview/play raw
7310    * audio samples just after they are captured from its recording
7311    * device.  Currently it is only used by the SGAudioMediaType
7312    * SGChannel.
7313    }
7314 	channelPlayPreMix = 1 shl 3;
7315 
7316   {
7317    * Play flag specifying that the SGChannel should preview/play audio
7318    * samples just after they are mixed down to the client-specified
7319    * movie track channel layout.  Currently it is only used by the
7320    * SGAudioMediaType SGChannel.
7321    }
7322 	channelPlayPostMix = 1 shl 4;
7323 
7324   {
7325    * Play flag specifying that the SGChannel should preview/play audio
7326    * samples just before they are interleaved/converted/compressed to
7327    * the client-specified movie track format.  Currently it is only
7328    * used by the SGAudioMediaType SGChannel.
7329    }
7330 	channelPlayPreConversion = 1 shl 5;
7331 
7332   {
7333    * Play flag specifying that the SGChannel should preview/play audio
7334    * samples after they have been interleaved/converted/compressed to
7335    * the client-specified movie track format.  Currently it is only
7336    * used by the SGAudioMediaType SGChannel.
7337    }
7338 	channelPlayPostConversion = 1 shl 6;
7339 
7340 {
7341  *  SGInitialize()
7342  *
7343  *  Availability:
7344  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7345  *    CarbonLib:        in CarbonLib 1.0 and later
7346  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7347  *    Windows:          in qtmlClient.lib 3.0 and later
7348  }
SGInitializenull7349 function SGInitialize( s: SeqGrabComponent ): ComponentResult; external name '_SGInitialize';
7350 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7351 
7352 
7353 {
7354  *  SGSetDataOutput()
7355  *
7356  *  Availability:
7357  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7358  *    CarbonLib:        in CarbonLib 1.0 and later
7359  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7360  *    Windows:          in qtmlClient.lib 3.0 and later
7361  }
SGSetDataOutputnull7362 function SGSetDataOutput( s: SeqGrabComponent; const (*var*) movieFile: FSSpec; whereFlags: SIGNEDLONG ): ComponentResult; external name '_SGSetDataOutput';
7363 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7364 
7365 
7366 {
7367  *  SGGetDataOutput()
7368  *
7369  *  Availability:
7370  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7371  *    CarbonLib:        in CarbonLib 1.0 and later
7372  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7373  *    Windows:          in qtmlClient.lib 3.0 and later
7374  }
SGGetDataOutputnull7375 function SGGetDataOutput( s: SeqGrabComponent; var movieFile: FSSpec; var whereFlags: SIGNEDLONG ): ComponentResult; external name '_SGGetDataOutput';
7376 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7377 
7378 
7379 {
7380  *  SGSetGWorld()
7381  *
7382  *  Availability:
7383  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7384  *    CarbonLib:        in CarbonLib 1.0 and later
7385  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7386  *    Windows:          in qtmlClient.lib 3.0 and later
7387  }
SGSetGWorldnull7388 function SGSetGWorld( s: SeqGrabComponent; gp: CGrafPtr; gd: GDHandle ): ComponentResult; external name '_SGSetGWorld';
7389 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7390 
7391 
7392 {
7393  *  SGGetGWorld()
7394  *
7395  *  Availability:
7396  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7397  *    CarbonLib:        in CarbonLib 1.0 and later
7398  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7399  *    Windows:          in qtmlClient.lib 3.0 and later
7400  }
SGGetGWorldnull7401 function SGGetGWorld( s: SeqGrabComponent; var gp: CGrafPtr; var gd: GDHandle ): ComponentResult; external name '_SGGetGWorld';
7402 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7403 
7404 
7405 {
7406  *  SGNewChannel()
7407  *
7408  *  Availability:
7409  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7410  *    CarbonLib:        in CarbonLib 1.0 and later
7411  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7412  *    Windows:          in qtmlClient.lib 3.0 and later
7413  }
SGNewChannelnull7414 function SGNewChannel( s: SeqGrabComponent; channelType: OSType; var ref: SGChannel ): ComponentResult; external name '_SGNewChannel';
7415 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7416 
7417 
7418 {
7419  *  SGDisposeChannel()
7420  *
7421  *  Availability:
7422  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7423  *    CarbonLib:        in CarbonLib 1.0 and later
7424  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7425  *    Windows:          in qtmlClient.lib 3.0 and later
7426  }
SGDisposeChannelnull7427 function SGDisposeChannel( s: SeqGrabComponent; c: SGChannel ): ComponentResult; external name '_SGDisposeChannel';
7428 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7429 
7430 
7431 {
7432  *  SGStartPreview()
7433  *
7434  *  Availability:
7435  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7436  *    CarbonLib:        in CarbonLib 1.0 and later
7437  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7438  *    Windows:          in qtmlClient.lib 3.0 and later
7439  }
SGStartPreviewnull7440 function SGStartPreview( s: SeqGrabComponent ): ComponentResult; external name '_SGStartPreview';
7441 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7442 
7443 
7444 {
7445  *  SGStartRecord()
7446  *
7447  *  Availability:
7448  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7449  *    CarbonLib:        in CarbonLib 1.0 and later
7450  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7451  *    Windows:          in qtmlClient.lib 3.0 and later
7452  }
SGStartRecordnull7453 function SGStartRecord( s: SeqGrabComponent ): ComponentResult; external name '_SGStartRecord';
7454 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7455 
7456 
7457 {
7458  *  SGIdle()
7459  *
7460  *  Availability:
7461  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7462  *    CarbonLib:        in CarbonLib 1.0 and later
7463  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7464  *    Windows:          in qtmlClient.lib 3.0 and later
7465  }
SGIdlenull7466 function SGIdle( s: SeqGrabComponent ): ComponentResult; external name '_SGIdle';
7467 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7468 
7469 
7470 {
7471  *  SGStop()
7472  *
7473  *  Availability:
7474  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7475  *    CarbonLib:        in CarbonLib 1.0 and later
7476  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7477  *    Windows:          in qtmlClient.lib 3.0 and later
7478  }
SGStopnull7479 function SGStop( s: SeqGrabComponent ): ComponentResult; external name '_SGStop';
7480 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7481 
7482 
7483 {
7484  *  SGPause()
7485  *
7486  *  Availability:
7487  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7488  *    CarbonLib:        in CarbonLib 1.0 and later
7489  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7490  *    Windows:          in qtmlClient.lib 3.0 and later
7491  }
SGPausenull7492 function SGPause( s: SeqGrabComponent; pause: ByteParameter ): ComponentResult; external name '_SGPause';
7493 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7494 
7495 
7496 {
7497  *  SGPrepare()
7498  *
7499  *  Availability:
7500  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7501  *    CarbonLib:        in CarbonLib 1.0 and later
7502  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7503  *    Windows:          in qtmlClient.lib 3.0 and later
7504  }
SGPreparenull7505 function SGPrepare( s: SeqGrabComponent; prepareForPreview: Boolean; prepareForRecord: Boolean ): ComponentResult; external name '_SGPrepare';
7506 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7507 
7508 
7509 {
7510  *  SGRelease()
7511  *
7512  *  Availability:
7513  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7514  *    CarbonLib:        in CarbonLib 1.0 and later
7515  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7516  *    Windows:          in qtmlClient.lib 3.0 and later
7517  }
SGReleasenull7518 function SGRelease( s: SeqGrabComponent ): ComponentResult; external name '_SGRelease';
7519 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7520 
7521 
7522 {
7523  *  SGGetMovie()
7524  *
7525  *  Availability:
7526  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7527  *    CarbonLib:        in CarbonLib 1.0 and later
7528  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7529  *    Windows:          in qtmlClient.lib 3.0 and later
7530  }
SGGetMovienull7531 function SGGetMovie( s: SeqGrabComponent ): Movie; external name '_SGGetMovie';
7532 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7533 
7534 
7535 {
7536  *  SGSetMaximumRecordTime()
7537  *
7538  *  Availability:
7539  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7540  *    CarbonLib:        in CarbonLib 1.0 and later
7541  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7542  *    Windows:          in qtmlClient.lib 3.0 and later
7543  }
SGSetMaximumRecordTimenull7544 function SGSetMaximumRecordTime( s: SeqGrabComponent; ticks: UNSIGNEDLONG ): ComponentResult; external name '_SGSetMaximumRecordTime';
7545 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7546 
7547 
7548 {
7549  *  SGGetMaximumRecordTime()
7550  *
7551  *  Availability:
7552  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7553  *    CarbonLib:        in CarbonLib 1.0 and later
7554  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7555  *    Windows:          in qtmlClient.lib 3.0 and later
7556  }
SGGetMaximumRecordTimenull7557 function SGGetMaximumRecordTime( s: SeqGrabComponent; var ticks: UNSIGNEDLONG ): ComponentResult; external name '_SGGetMaximumRecordTime';
7558 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7559 
7560 
7561 {
7562  *  SGGetStorageSpaceRemaining()
7563  *
7564  *  Availability:
7565  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7566  *    CarbonLib:        in CarbonLib 1.0 and later
7567  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7568  *    Windows:          in qtmlClient.lib 3.0 and later
7569  }
SGGetStorageSpaceRemainingnull7570 function SGGetStorageSpaceRemaining( s: SeqGrabComponent; var bytes: UNSIGNEDLONG ): ComponentResult; external name '_SGGetStorageSpaceRemaining';
7571 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7572 
7573 
7574 {
7575  *  SGGetTimeRemaining()
7576  *
7577  *  Availability:
7578  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7579  *    CarbonLib:        in CarbonLib 1.0 and later
7580  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7581  *    Windows:          in qtmlClient.lib 3.0 and later
7582  }
SGGetTimeRemainingnull7583 function SGGetTimeRemaining( s: SeqGrabComponent; var ticksLeft: SIGNEDLONG ): ComponentResult; external name '_SGGetTimeRemaining';
7584 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7585 
7586 
7587 {
7588  *  SGGrabPict()
7589  *
7590  *  Availability:
7591  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7592  *    CarbonLib:        in CarbonLib 1.0 and later
7593  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7594  *    Windows:          in qtmlClient.lib 3.0 and later
7595  }
SGGrabPictnull7596 function SGGrabPict( s: SeqGrabComponent; var p: PicHandle; const (*var*) bounds: Rect; offscreenDepth: SInt16; grabPictFlags: SIGNEDLONG ): ComponentResult; external name '_SGGrabPict';
7597 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7598 
7599 
7600 {
7601  *  SGGetLastMovieResID()
7602  *
7603  *  Availability:
7604  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7605  *    CarbonLib:        in CarbonLib 1.0 and later
7606  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7607  *    Windows:          in qtmlClient.lib 3.0 and later
7608  }
SGGetLastMovieResIDnull7609 function SGGetLastMovieResID( s: SeqGrabComponent; var resID: SInt16 ): ComponentResult; external name '_SGGetLastMovieResID';
7610 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7611 
7612 
7613 {
7614  *  SGSetFlags()
7615  *
7616  *  Availability:
7617  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7618  *    CarbonLib:        in CarbonLib 1.0 and later
7619  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7620  *    Windows:          in qtmlClient.lib 3.0 and later
7621  }
SGSetFlagsnull7622 function SGSetFlags( s: SeqGrabComponent; sgFlags: SIGNEDLONG ): ComponentResult; external name '_SGSetFlags';
7623 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7624 
7625 
7626 {
7627  *  SGGetFlags()
7628  *
7629  *  Availability:
7630  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7631  *    CarbonLib:        in CarbonLib 1.0 and later
7632  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7633  *    Windows:          in qtmlClient.lib 3.0 and later
7634  }
SGGetFlagsnull7635 function SGGetFlags( s: SeqGrabComponent; var sgFlags: SIGNEDLONG ): ComponentResult; external name '_SGGetFlags';
7636 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7637 
7638 
7639 {
7640  *  SGSetDataProc()
7641  *
7642  *  Availability:
7643  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7644  *    CarbonLib:        in CarbonLib 1.0 and later
7645  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7646  *    Windows:          in qtmlClient.lib 3.0 and later
7647  }
SGSetDataProcnull7648 function SGSetDataProc( s: SeqGrabComponent; proc: SGDataUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_SGSetDataProc';
7649 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7650 
7651 
7652 {
7653  *  SGNewChannelFromComponent()
7654  *
7655  *  Availability:
7656  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7657  *    CarbonLib:        in CarbonLib 1.0 and later
7658  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7659  *    Windows:          in qtmlClient.lib 3.0 and later
7660  }
SGNewChannelFromComponentnull7661 function SGNewChannelFromComponent( s: SeqGrabComponent; var newChannel: SGChannel; sgChannelComponent: Component ): ComponentResult; external name '_SGNewChannelFromComponent';
7662 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7663 
7664 
7665 {
7666  *  SGDisposeDeviceList()
7667  *
7668  *  Availability:
7669  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7670  *    CarbonLib:        in CarbonLib 1.0 and later
7671  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7672  *    Windows:          in qtmlClient.lib 3.0 and later
7673  }
SGDisposeDeviceListnull7674 function SGDisposeDeviceList( s: SeqGrabComponent; list: SGDeviceList ): ComponentResult; external name '_SGDisposeDeviceList';
7675 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7676 
7677 
7678 {
7679  *  SGAppendDeviceListToMenu()
7680  *
7681  *  Availability:
7682  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7683  *    CarbonLib:        in CarbonLib 1.0 and later
7684  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7685  *    Windows:          in qtmlClient.lib 3.0 and later
7686  }
SGAppendDeviceListToMenunull7687 function SGAppendDeviceListToMenu( s: SeqGrabComponent; list: SGDeviceList; mh: MenuRef ): ComponentResult; external name '_SGAppendDeviceListToMenu';
7688 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7689 
7690 
7691 {
7692  *  SGSetSettings()
7693  *
7694  *  Availability:
7695  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7696  *    CarbonLib:        in CarbonLib 1.0 and later
7697  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7698  *    Windows:          in qtmlClient.lib 3.0 and later
7699  }
SGSetSettingsnull7700 function SGSetSettings( s: SeqGrabComponent; ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGSetSettings';
7701 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7702 
7703 
7704 {
7705  *  SGGetSettings()
7706  *
7707  *  Availability:
7708  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7709  *    CarbonLib:        in CarbonLib 1.0 and later
7710  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7711  *    Windows:          in qtmlClient.lib 3.0 and later
7712  }
SGGetSettingsnull7713 function SGGetSettings( s: SeqGrabComponent; var ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGGetSettings';
7714 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7715 
7716 
7717 {
7718  *  SGGetIndChannel()
7719  *
7720  *  Availability:
7721  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7722  *    CarbonLib:        in CarbonLib 1.0 and later
7723  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7724  *    Windows:          in qtmlClient.lib 3.0 and later
7725  }
SGGetIndChannelnull7726 function SGGetIndChannel( s: SeqGrabComponent; index: SInt16; var ref: SGChannel; var chanType: OSType ): ComponentResult; external name '_SGGetIndChannel';
7727 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7728 
7729 
7730 {
7731  *  SGUpdate()
7732  *
7733  *  Availability:
7734  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7735  *    CarbonLib:        in CarbonLib 1.0 and later
7736  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7737  *    Windows:          in qtmlClient.lib 3.0 and later
7738  }
SGUpdatenull7739 function SGUpdate( s: SeqGrabComponent; updateRgn: RgnHandle ): ComponentResult; external name '_SGUpdate';
7740 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7741 
7742 
7743 {
7744  *  SGGetPause()
7745  *
7746  *  Availability:
7747  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7748  *    CarbonLib:        in CarbonLib 1.0 and later
7749  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7750  *    Windows:          in qtmlClient.lib 3.0 and later
7751  }
SGGetPausenull7752 function SGGetPause( s: SeqGrabComponent; var paused: Byte ): ComponentResult; external name '_SGGetPause';
7753 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7754 
7755 
7756 type
7757 	ConstComponentListPtr = ^Component;
7758 {
7759  *  SGSettingsDialog()
7760  *
7761  *  Availability:
7762  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7763  *    CarbonLib:        in CarbonLib 1.0 and later
7764  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7765  *    Windows:          in qtmlClient.lib 3.0 and later
7766  }
SGSettingsDialognull7767 function SGSettingsDialog( s: SeqGrabComponent; c: SGChannel; numPanels: SInt16; panelList: ConstComponentListPtr; flags: SIGNEDLONG; proc: SGModalFilterUPP; procRefNum: SIGNEDLONG ): ComponentResult; external name '_SGSettingsDialog';
7768 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7769 
7770 
7771 {
7772  *  SGGetAlignmentProc()
7773  *
7774  *  Availability:
7775  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7776  *    CarbonLib:        in CarbonLib 1.0 and later
7777  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7778  *    Windows:          in qtmlClient.lib 3.0 and later
7779  }
SGGetAlignmentProcnull7780 function SGGetAlignmentProc( s: SeqGrabComponent; alignmentProc: ICMAlignmentProcRecordPtr ): ComponentResult; external name '_SGGetAlignmentProc';
7781 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7782 
7783 
7784 {
7785  *  SGSetChannelSettings()
7786  *
7787  *  Availability:
7788  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7789  *    CarbonLib:        in CarbonLib 1.0 and later
7790  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7791  *    Windows:          in qtmlClient.lib 3.0 and later
7792  }
SGSetChannelSettingsnull7793 function SGSetChannelSettings( s: SeqGrabComponent; c: SGChannel; ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGSetChannelSettings';
7794 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7795 
7796 
7797 {
7798  *  SGGetChannelSettings()
7799  *
7800  *  Availability:
7801  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7802  *    CarbonLib:        in CarbonLib 1.0 and later
7803  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7804  *    Windows:          in qtmlClient.lib 3.0 and later
7805  }
SGGetChannelSettingsnull7806 function SGGetChannelSettings( s: SeqGrabComponent; c: SGChannel; var ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelSettings';
7807 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7808 
7809 
7810 {
7811  *  SGGetMode()
7812  *
7813  *  Availability:
7814  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7815  *    CarbonLib:        in CarbonLib 1.0 and later
7816  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7817  *    Windows:          in qtmlClient.lib 3.0 and later
7818  }
SGGetModenull7819 function SGGetMode( s: SeqGrabComponent; var previewMode: Boolean; var recordMode: Boolean ): ComponentResult; external name '_SGGetMode';
7820 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7821 
7822 
7823 {
7824  *  SGSetDataRef()
7825  *
7826  *  Availability:
7827  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7828  *    CarbonLib:        in CarbonLib 1.0 and later
7829  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7830  *    Windows:          in qtmlClient.lib 3.0 and later
7831  }
SGSetDataRefnull7832 function SGSetDataRef( s: SeqGrabComponent; dataRef: Handle; dataRefType: OSType; whereFlags: SIGNEDLONG ): ComponentResult; external name '_SGSetDataRef';
7833 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7834 
7835 
7836 {
7837  *  SGGetDataRef()
7838  *
7839  *  Availability:
7840  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7841  *    CarbonLib:        in CarbonLib 1.0 and later
7842  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7843  *    Windows:          in qtmlClient.lib 3.0 and later
7844  }
SGGetDataRefnull7845 function SGGetDataRef( s: SeqGrabComponent; var dataRef: Handle; var dataRefType: OSType; var whereFlags: SIGNEDLONG ): ComponentResult; external name '_SGGetDataRef';
7846 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7847 
7848 
7849 {
7850  *  SGNewOutput()
7851  *
7852  *  Availability:
7853  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7854  *    CarbonLib:        in CarbonLib 1.0 and later
7855  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7856  *    Windows:          in qtmlClient.lib 3.0 and later
7857  }
SGNewOutputnull7858 function SGNewOutput( s: SeqGrabComponent; dataRef: Handle; dataRefType: OSType; whereFlags: SIGNEDLONG; var sgOut: SGOutput ): ComponentResult; external name '_SGNewOutput';
7859 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7860 
7861 
7862 {
7863  *  SGDisposeOutput()
7864  *
7865  *  Availability:
7866  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7867  *    CarbonLib:        in CarbonLib 1.0 and later
7868  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7869  *    Windows:          in qtmlClient.lib 3.0 and later
7870  }
SGDisposeOutputnull7871 function SGDisposeOutput( s: SeqGrabComponent; sgOut: SGOutput ): ComponentResult; external name '_SGDisposeOutput';
7872 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7873 
7874 
7875 {
7876  *  SGSetOutputFlags()
7877  *
7878  *  Availability:
7879  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7880  *    CarbonLib:        in CarbonLib 1.0 and later
7881  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7882  *    Windows:          in qtmlClient.lib 3.0 and later
7883  }
SGSetOutputFlagsnull7884 function SGSetOutputFlags( s: SeqGrabComponent; sgOut: SGOutput; whereFlags: SIGNEDLONG ): ComponentResult; external name '_SGSetOutputFlags';
7885 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7886 
7887 
7888 {
7889  *  SGSetChannelOutput()
7890  *
7891  *  Availability:
7892  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7893  *    CarbonLib:        in CarbonLib 1.0 and later
7894  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7895  *    Windows:          in qtmlClient.lib 3.0 and later
7896  }
SGSetChannelOutputnull7897 function SGSetChannelOutput( s: SeqGrabComponent; c: SGChannel; sgOut: SGOutput ): ComponentResult; external name '_SGSetChannelOutput';
7898 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7899 
7900 
7901 {
7902  *  SGGetDataOutputStorageSpaceRemaining()
7903  *
7904  *  Availability:
7905  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7906  *    CarbonLib:        in CarbonLib 1.0 and later
7907  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7908  *    Windows:          in qtmlClient.lib 3.0 and later
7909  }
SGGetDataOutputStorageSpaceRemainingnull7910 function SGGetDataOutputStorageSpaceRemaining( s: SeqGrabComponent; sgOut: SGOutput; var space: UNSIGNEDLONG ): ComponentResult; external name '_SGGetDataOutputStorageSpaceRemaining';
7911 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7912 
7913 
7914 {
7915  *  SGHandleUpdateEvent()
7916  *
7917  *  Availability:
7918  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7919  *    CarbonLib:        in CarbonLib 1.0 and later
7920  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
7921  *    Windows:          in qtmlClient.lib 3.0 and later
7922  }
SGHandleUpdateEventnull7923 function SGHandleUpdateEvent( s: SeqGrabComponent; const (*var*) event: EventRecord; var handled: Boolean ): ComponentResult; external name '_SGHandleUpdateEvent';
7924 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7925 
7926 
7927 {
7928  *  SGSetOutputNextOutput()
7929  *
7930  *  Availability:
7931  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7932  *    CarbonLib:        in CarbonLib 1.0 and later
7933  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7934  *    Windows:          in qtmlClient.lib 3.0 and later
7935  }
SGSetOutputNextOutputnull7936 function SGSetOutputNextOutput( s: SeqGrabComponent; sgOut: SGOutput; nextOut: SGOutput ): ComponentResult; external name '_SGSetOutputNextOutput';
7937 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7938 
7939 
7940 {
7941  *  SGGetOutputNextOutput()
7942  *
7943  *  Availability:
7944  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7945  *    CarbonLib:        in CarbonLib 1.0 and later
7946  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7947  *    Windows:          in qtmlClient.lib 3.0 and later
7948  }
SGGetOutputNextOutputnull7949 function SGGetOutputNextOutput( s: SeqGrabComponent; sgOut: SGOutput; var nextOut: SGOutput ): ComponentResult; external name '_SGGetOutputNextOutput';
7950 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7951 
7952 
7953 {
7954  *  SGSetOutputMaximumOffset()
7955  *
7956  *  Availability:
7957  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7958  *    CarbonLib:        in CarbonLib 1.0 and later
7959  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7960  *    Windows:          in qtmlClient.lib 3.0 and later
7961  }
SGSetOutputMaximumOffsetnull7962 function SGSetOutputMaximumOffset( s: SeqGrabComponent; sgOut: SGOutput; const (*var*) maxOffset: wide ): ComponentResult; external name '_SGSetOutputMaximumOffset';
7963 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7964 
7965 
7966 {
7967  *  SGGetOutputMaximumOffset()
7968  *
7969  *  Availability:
7970  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7971  *    CarbonLib:        in CarbonLib 1.0 and later
7972  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7973  *    Windows:          in qtmlClient.lib 3.0 and later
7974  }
SGGetOutputMaximumOffsetnull7975 function SGGetOutputMaximumOffset( s: SeqGrabComponent; sgOut: SGOutput; var maxOffset: wide ): ComponentResult; external name '_SGGetOutputMaximumOffset';
7976 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7977 
7978 
7979 {
7980  *  SGGetOutputDataReference()
7981  *
7982  *  Availability:
7983  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7984  *    CarbonLib:        in CarbonLib 1.0 and later
7985  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7986  *    Windows:          in qtmlClient.lib 3.0 and later
7987  }
SGGetOutputDataReferencenull7988 function SGGetOutputDataReference( s: SeqGrabComponent; sgOut: SGOutput; var dataRef: Handle; var dataRefType: OSType ): ComponentResult; external name '_SGGetOutputDataReference';
7989 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
7990 
7991 
7992 {
7993  *  SGWriteExtendedMovieData()
7994  *
7995  *  Availability:
7996  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
7997  *    CarbonLib:        in CarbonLib 1.0 and later
7998  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
7999  *    Windows:          in qtmlClient.lib 3.0 and later
8000  }
SGWriteExtendedMovieDatanull8001 function SGWriteExtendedMovieData( s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: wide; var sgOut: SGOutput ): ComponentResult; external name '_SGWriteExtendedMovieData';
8002 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8003 
8004 
8005 {
8006  *  SGGetStorageSpaceRemaining64()
8007  *
8008  *  Availability:
8009  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8010  *    CarbonLib:        in CarbonLib 1.0.2 and later
8011  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
8012  *    Windows:          in qtmlClient.lib 4.0 and later
8013  }
SGGetStorageSpaceRemaining64null8014 function SGGetStorageSpaceRemaining64( s: SeqGrabComponent; var bytes: wide ): ComponentResult; external name '_SGGetStorageSpaceRemaining64';
8015 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8016 
8017 
8018 {
8019  *  SGGetDataOutputStorageSpaceRemaining64()
8020  *
8021  *  Availability:
8022  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8023  *    CarbonLib:        in CarbonLib 1.3 and later
8024  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
8025  *    Windows:          in qtmlClient.lib 5.0 and later
8026  }
SGGetDataOutputStorageSpaceRemaining64null8027 function SGGetDataOutputStorageSpaceRemaining64( s: SeqGrabComponent; sgOut: SGOutput; var space: wide ): ComponentResult; external name '_SGGetDataOutputStorageSpaceRemaining64';
8028 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8029 
8030 
8031 {
8032     calls from Channel to seqGrab
8033 }
8034 {
8035  *  SGWriteMovieData()
8036  *
8037  *  Availability:
8038  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8039  *    CarbonLib:        in CarbonLib 1.0 and later
8040  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8041  *    Windows:          in qtmlClient.lib 3.0 and later
8042  }
SGWriteMovieDatanull8043 function SGWriteMovieData( s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: SIGNEDLONG ): ComponentResult; external name '_SGWriteMovieData';
8044 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8045 
8046 
8047 {
8048  *  SGAddFrameReference()
8049  *
8050  *  Availability:
8051  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8052  *    CarbonLib:        in CarbonLib 1.0 and later
8053  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8054  *    Windows:          in qtmlClient.lib 3.0 and later
8055  }
SGAddFrameReferencenull8056 function SGAddFrameReference( s: SeqGrabComponent; frameInfo: SeqGrabFrameInfoPtr ): ComponentResult; external name '_SGAddFrameReference';
8057 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8058 
8059 
8060 {
8061  *  SGGetNextFrameReference()
8062  *
8063  *  Availability:
8064  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8065  *    CarbonLib:        in CarbonLib 1.0 and later
8066  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8067  *    Windows:          in qtmlClient.lib 3.0 and later
8068  }
SGGetNextFrameReferencenull8069 function SGGetNextFrameReference( s: SeqGrabComponent; frameInfo: SeqGrabFrameInfoPtr; var frameDuration: TimeValue; var frameNumber: SIGNEDLONG ): ComponentResult; external name '_SGGetNextFrameReference';
8070 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8071 
8072 
8073 {
8074  *  SGGetTimeBase()
8075  *
8076  *  Availability:
8077  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8078  *    CarbonLib:        in CarbonLib 1.0 and later
8079  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8080  *    Windows:          in qtmlClient.lib 3.0 and later
8081  }
SGGetTimeBasenull8082 function SGGetTimeBase( s: SeqGrabComponent; var tb: TimeBase ): ComponentResult; external name '_SGGetTimeBase';
8083 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8084 
8085 
8086 {
8087  *  SGSortDeviceList()
8088  *
8089  *  Availability:
8090  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8091  *    CarbonLib:        in CarbonLib 1.0 and later
8092  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8093  *    Windows:          in qtmlClient.lib 3.0 and later
8094  }
SGSortDeviceListnull8095 function SGSortDeviceList( s: SeqGrabComponent; list: SGDeviceList ): ComponentResult; external name '_SGSortDeviceList';
8096 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8097 
8098 
8099 {
8100  *  SGAddMovieData()
8101  *
8102  *  Availability:
8103  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8104  *    CarbonLib:        in CarbonLib 1.0 and later
8105  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8106  *    Windows:          in qtmlClient.lib 3.0 and later
8107  }
SGAddMovieDatanull8108 function SGAddMovieData( s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: SIGNEDLONG; chRefCon: SIGNEDLONG; time: TimeValue; writeType: SInt16 ): ComponentResult; external name '_SGAddMovieData';
8109 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8110 
8111 
8112 {
8113  *  SGChangedSource()
8114  *
8115  *  Availability:
8116  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8117  *    CarbonLib:        in CarbonLib 1.0 and later
8118  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8119  *    Windows:          in qtmlClient.lib 3.0 and later
8120  }
SGChangedSourcenull8121 function SGChangedSource( s: SeqGrabComponent; c: SGChannel ): ComponentResult; external name '_SGChangedSource';
8122 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8123 
8124 
8125 {
8126  *  SGAddExtendedFrameReference()
8127  *
8128  *  Availability:
8129  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8130  *    CarbonLib:        in CarbonLib 1.0 and later
8131  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
8132  *    Windows:          in qtmlClient.lib 3.0 and later
8133  }
SGAddExtendedFrameReferencenull8134 function SGAddExtendedFrameReference( s: SeqGrabComponent; frameInfo: SeqGrabExtendedFrameInfoPtr ): ComponentResult; external name '_SGAddExtendedFrameReference';
8135 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8136 
8137 
8138 {
8139  *  SGGetNextExtendedFrameReference()
8140  *
8141  *  Availability:
8142  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8143  *    CarbonLib:        in CarbonLib 1.0 and later
8144  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
8145  *    Windows:          in qtmlClient.lib 3.0 and later
8146  }
SGGetNextExtendedFrameReferencenull8147 function SGGetNextExtendedFrameReference( s: SeqGrabComponent; frameInfo: SeqGrabExtendedFrameInfoPtr; var frameDuration: TimeValue; var frameNumber: SIGNEDLONG ): ComponentResult; external name '_SGGetNextExtendedFrameReference';
8148 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8149 
8150 
8151 {
8152  *  SGAddExtendedMovieData()
8153  *
8154  *  Availability:
8155  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8156  *    CarbonLib:        in CarbonLib 1.0 and later
8157  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
8158  *    Windows:          in qtmlClient.lib 3.0 and later
8159  }
SGAddExtendedMovieDatanull8160 function SGAddExtendedMovieData( s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: wide; chRefCon: SIGNEDLONG; time: TimeValue; writeType: SInt16; var whichOutput: SGOutput ): ComponentResult; external name '_SGAddExtendedMovieData';
8161 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8162 
8163 
8164 {
8165  *  SGAddOutputDataRefToMedia()
8166  *
8167  *  Availability:
8168  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8169  *    CarbonLib:        in CarbonLib 1.0 and later
8170  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
8171  *    Windows:          in qtmlClient.lib 3.0 and later
8172  }
SGAddOutputDataRefToMedianull8173 function SGAddOutputDataRefToMedia( s: SeqGrabComponent; sgOut: SGOutput; theMedia: Media; desc: SampleDescriptionHandle ): ComponentResult; external name '_SGAddOutputDataRefToMedia';
8174 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8175 
8176 
8177 {
8178  *  SGSetSettingsSummary()
8179  *
8180  *  Availability:
8181  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8182  *    CarbonLib:        in CarbonLib 1.6 and later
8183  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8184  *    Windows:          in qtmlClient.lib 6.0 and later
8185  }
SGSetSettingsSummarynull8186 function SGSetSettingsSummary( s: SeqGrabComponent; summaryText: Handle ): ComponentResult; external name '_SGSetSettingsSummary';
8187 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8188 
8189 
8190 {** Sequence Grab CHANNEL Component Stuff **}
8191 
8192 {
8193  *  SGSetChannelUsage()
8194  *
8195  *  Availability:
8196  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8197  *    CarbonLib:        in CarbonLib 1.0 and later
8198  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8199  *    Windows:          in qtmlClient.lib 3.0 and later
8200  }
SGSetChannelUsagenull8201 function SGSetChannelUsage( c: SGChannel; usage: SIGNEDLONG ): ComponentResult; external name '_SGSetChannelUsage';
8202 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8203 
8204 
8205 {
8206  *  SGGetChannelUsage()
8207  *
8208  *  Availability:
8209  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8210  *    CarbonLib:        in CarbonLib 1.0 and later
8211  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8212  *    Windows:          in qtmlClient.lib 3.0 and later
8213  }
SGGetChannelUsagenull8214 function SGGetChannelUsage( c: SGChannel; var usage: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelUsage';
8215 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8216 
8217 
8218 {
8219  *  SGSetChannelBounds()
8220  *
8221  *  Availability:
8222  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8223  *    CarbonLib:        in CarbonLib 1.0 and later
8224  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8225  *    Windows:          in qtmlClient.lib 3.0 and later
8226  }
SGSetChannelBoundsnull8227 function SGSetChannelBounds( c: SGChannel; const (*var*) bounds: Rect ): ComponentResult; external name '_SGSetChannelBounds';
8228 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8229 
8230 
8231 {
8232  *  SGGetChannelBounds()
8233  *
8234  *  Availability:
8235  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8236  *    CarbonLib:        in CarbonLib 1.0 and later
8237  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8238  *    Windows:          in qtmlClient.lib 3.0 and later
8239  }
SGGetChannelBoundsnull8240 function SGGetChannelBounds( c: SGChannel; var bounds: Rect ): ComponentResult; external name '_SGGetChannelBounds';
8241 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8242 
8243 
8244 {
8245  *  SGSetChannelVolume()
8246  *
8247  *  Availability:
8248  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8249  *    CarbonLib:        in CarbonLib 1.0 and later
8250  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8251  *    Windows:          in qtmlClient.lib 3.0 and later
8252  }
SGSetChannelVolumenull8253 function SGSetChannelVolume( c: SGChannel; volume: SInt16 ): ComponentResult; external name '_SGSetChannelVolume';
8254 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8255 
8256 
8257 {
8258  *  SGGetChannelVolume()
8259  *
8260  *  Availability:
8261  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8262  *    CarbonLib:        in CarbonLib 1.0 and later
8263  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8264  *    Windows:          in qtmlClient.lib 3.0 and later
8265  }
SGGetChannelVolumenull8266 function SGGetChannelVolume( c: SGChannel; var volume: SInt16 ): ComponentResult; external name '_SGGetChannelVolume';
8267 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8268 
8269 
8270 {
8271  *  SGGetChannelInfo()
8272  *
8273  *  Availability:
8274  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8275  *    CarbonLib:        in CarbonLib 1.0 and later
8276  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8277  *    Windows:          in qtmlClient.lib 3.0 and later
8278  }
SGGetChannelInfonull8279 function SGGetChannelInfo( c: SGChannel; var channelInfo: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelInfo';
8280 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8281 
8282 
8283 {
8284  *  SGSetChannelPlayFlags()
8285  *
8286  *  Availability:
8287  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8288  *    CarbonLib:        in CarbonLib 1.0 and later
8289  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8290  *    Windows:          in qtmlClient.lib 3.0 and later
8291  }
SGSetChannelPlayFlagsnull8292 function SGSetChannelPlayFlags( c: SGChannel; playFlags: SIGNEDLONG ): ComponentResult; external name '_SGSetChannelPlayFlags';
8293 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8294 
8295 
8296 {
8297  *  SGGetChannelPlayFlags()
8298  *
8299  *  Availability:
8300  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8301  *    CarbonLib:        in CarbonLib 1.0 and later
8302  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8303  *    Windows:          in qtmlClient.lib 3.0 and later
8304  }
SGGetChannelPlayFlagsnull8305 function SGGetChannelPlayFlags( c: SGChannel; var playFlags: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelPlayFlags';
8306 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8307 
8308 
8309 {
8310  *  SGSetChannelMaxFrames()
8311  *
8312  *  Availability:
8313  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8314  *    CarbonLib:        in CarbonLib 1.0 and later
8315  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8316  *    Windows:          in qtmlClient.lib 3.0 and later
8317  }
SGSetChannelMaxFramesnull8318 function SGSetChannelMaxFrames( c: SGChannel; frameCount: SIGNEDLONG ): ComponentResult; external name '_SGSetChannelMaxFrames';
8319 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8320 
8321 
8322 {
8323  *  SGGetChannelMaxFrames()
8324  *
8325  *  Availability:
8326  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8327  *    CarbonLib:        in CarbonLib 1.0 and later
8328  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8329  *    Windows:          in qtmlClient.lib 3.0 and later
8330  }
SGGetChannelMaxFramesnull8331 function SGGetChannelMaxFrames( c: SGChannel; var frameCount: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelMaxFrames';
8332 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8333 
8334 
8335 {
8336  *  SGSetChannelRefCon()
8337  *
8338  *  Availability:
8339  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8340  *    CarbonLib:        in CarbonLib 1.0 and later
8341  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8342  *    Windows:          in qtmlClient.lib 3.0 and later
8343  }
SGSetChannelRefConnull8344 function SGSetChannelRefCon( c: SGChannel; refCon: SIGNEDLONG ): ComponentResult; external name '_SGSetChannelRefCon';
8345 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8346 
8347 
8348 {
8349  *  SGSetChannelClip()
8350  *
8351  *  Availability:
8352  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8353  *    CarbonLib:        in CarbonLib 1.0 and later
8354  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8355  *    Windows:          in qtmlClient.lib 3.0 and later
8356  }
SGSetChannelClipnull8357 function SGSetChannelClip( c: SGChannel; theClip: RgnHandle ): ComponentResult; external name '_SGSetChannelClip';
8358 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8359 
8360 
8361 {
8362  *  SGGetChannelClip()
8363  *
8364  *  Availability:
8365  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8366  *    CarbonLib:        in CarbonLib 1.0 and later
8367  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8368  *    Windows:          in qtmlClient.lib 3.0 and later
8369  }
SGGetChannelClipnull8370 function SGGetChannelClip( c: SGChannel; var theClip: RgnHandle ): ComponentResult; external name '_SGGetChannelClip';
8371 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8372 
8373 
8374 {
8375  *  SGGetChannelSampleDescription()
8376  *
8377  *  Availability:
8378  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8379  *    CarbonLib:        in CarbonLib 1.0 and later
8380  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8381  *    Windows:          in qtmlClient.lib 3.0 and later
8382  }
SGGetChannelSampleDescriptionnull8383 function SGGetChannelSampleDescription( c: SGChannel; sampleDesc: Handle ): ComponentResult; external name '_SGGetChannelSampleDescription';
8384 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8385 
8386 
8387 {
8388  *  SGGetChannelDeviceList()
8389  *
8390  *  Availability:
8391  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8392  *    CarbonLib:        in CarbonLib 1.0 and later
8393  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8394  *    Windows:          in qtmlClient.lib 3.0 and later
8395  }
SGGetChannelDeviceListnull8396 function SGGetChannelDeviceList( c: SGChannel; selectionFlags: SIGNEDLONG; var list: SGDeviceList ): ComponentResult; external name '_SGGetChannelDeviceList';
8397 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8398 
8399 
8400 {
8401  *  SGSetChannelDevice()
8402  *
8403  *  Availability:
8404  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8405  *    CarbonLib:        in CarbonLib 1.0 and later
8406  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8407  *    Windows:          in qtmlClient.lib 3.0 and later
8408  }
SGSetChannelDevicenull8409 function SGSetChannelDevice( c: SGChannel; name: StringPtr ): ComponentResult; external name '_SGSetChannelDevice';
8410 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8411 
8412 
8413 {
8414  *  SGSetChannelMatrix()
8415  *
8416  *  Availability:
8417  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8418  *    CarbonLib:        in CarbonLib 1.0 and later
8419  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8420  *    Windows:          in qtmlClient.lib 3.0 and later
8421  }
SGSetChannelMatrixnull8422 function SGSetChannelMatrix( c: SGChannel; const (*var*) m: MatrixRecord ): ComponentResult; external name '_SGSetChannelMatrix';
8423 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8424 
8425 
8426 {
8427  *  SGGetChannelMatrix()
8428  *
8429  *  Availability:
8430  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8431  *    CarbonLib:        in CarbonLib 1.0 and later
8432  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8433  *    Windows:          in qtmlClient.lib 3.0 and later
8434  }
SGGetChannelMatrixnull8435 function SGGetChannelMatrix( c: SGChannel; var m: MatrixRecord ): ComponentResult; external name '_SGGetChannelMatrix';
8436 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8437 
8438 
8439 {
8440  *  SGGetChannelTimeScale()
8441  *
8442  *  Availability:
8443  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8444  *    CarbonLib:        in CarbonLib 1.0 and later
8445  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8446  *    Windows:          in qtmlClient.lib 3.0 and later
8447  }
SGGetChannelTimeScalenull8448 function SGGetChannelTimeScale( c: SGChannel; var scale: TimeScale ): ComponentResult; external name '_SGGetChannelTimeScale';
8449 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8450 
8451 
8452 {
8453  *  SGChannelPutPicture()
8454  *
8455  *  Availability:
8456  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8457  *    CarbonLib:        in CarbonLib 1.0 and later
8458  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8459  *    Windows:          in qtmlClient.lib 3.0 and later
8460  }
SGChannelPutPicturenull8461 function SGChannelPutPicture( c: SGChannel ): ComponentResult; external name '_SGChannelPutPicture';
8462 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8463 
8464 
8465 {
8466  *  SGChannelSetRequestedDataRate()
8467  *
8468  *  Availability:
8469  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8470  *    CarbonLib:        in CarbonLib 1.0 and later
8471  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8472  *    Windows:          in qtmlClient.lib 3.0 and later
8473  }
SGChannelSetRequestedDataRatenull8474 function SGChannelSetRequestedDataRate( c: SGChannel; bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_SGChannelSetRequestedDataRate';
8475 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8476 
8477 
8478 {
8479  *  SGChannelGetRequestedDataRate()
8480  *
8481  *  Availability:
8482  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8483  *    CarbonLib:        in CarbonLib 1.0 and later
8484  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8485  *    Windows:          in qtmlClient.lib 3.0 and later
8486  }
SGChannelGetRequestedDataRatenull8487 function SGChannelGetRequestedDataRate( c: SGChannel; var bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_SGChannelGetRequestedDataRate';
8488 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8489 
8490 
8491 {
8492  *  SGChannelSetDataSourceName()
8493  *
8494  *  Availability:
8495  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8496  *    CarbonLib:        in CarbonLib 1.0 and later
8497  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8498  *    Windows:          in qtmlClient.lib 3.0 and later
8499  }
SGChannelSetDataSourceNamenull8500 function SGChannelSetDataSourceName( c: SGChannel; const (*var*) name: Str255; scriptTag: ScriptCode ): ComponentResult; external name '_SGChannelSetDataSourceName';
8501 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8502 
8503 
8504 {
8505  *  SGChannelGetDataSourceName()
8506  *
8507  *  Availability:
8508  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8509  *    CarbonLib:        in CarbonLib 1.0 and later
8510  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8511  *    Windows:          in qtmlClient.lib 3.0 and later
8512  }
SGChannelGetDataSourceNamenull8513 function SGChannelGetDataSourceName( c: SGChannel; var name: Str255; var scriptTag: ScriptCode ): ComponentResult; external name '_SGChannelGetDataSourceName';
8514 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8515 
8516 
8517 {
8518  *  SGChannelSetCodecSettings()
8519  *
8520  *  Availability:
8521  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8522  *    CarbonLib:        in CarbonLib 1.0.2 and later
8523  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
8524  *    Windows:          in qtmlClient.lib 4.0 and later
8525  }
SGChannelSetCodecSettingsnull8526 function SGChannelSetCodecSettings( c: SGChannel; settings: Handle ): ComponentResult; external name '_SGChannelSetCodecSettings';
8527 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8528 
8529 
8530 {
8531  *  SGChannelGetCodecSettings()
8532  *
8533  *  Availability:
8534  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8535  *    CarbonLib:        in CarbonLib 1.0.2 and later
8536  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
8537  *    Windows:          in qtmlClient.lib 4.0 and later
8538  }
SGChannelGetCodecSettingsnull8539 function SGChannelGetCodecSettings( c: SGChannel; var settings: Handle ): ComponentResult; external name '_SGChannelGetCodecSettings';
8540 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8541 
8542 
8543 {
8544  *  SGGetChannelTimeBase()
8545  *
8546  *  Availability:
8547  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8548  *    CarbonLib:        in CarbonLib 1.0.2 and later
8549  *    Non-Carbon CFM:   in QuickTimeLib 4.0 and later
8550  *    Windows:          in qtmlClient.lib 4.0 and later
8551  }
SGGetChannelTimeBasenull8552 function SGGetChannelTimeBase( c: SGChannel; var tb: TimeBase ): ComponentResult; external name '_SGGetChannelTimeBase';
8553 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8554 
8555 
8556 {
8557  *  SGGetChannelRefCon()
8558  *
8559  *  Availability:
8560  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8561  *    CarbonLib:        in CarbonLib 1.6 and later
8562  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8563  *    Windows:          in qtmlClient.lib 6.0 and later
8564  }
SGGetChannelRefConnull8565 function SGGetChannelRefCon( c: SGChannel; var refCon: SIGNEDLONG ): ComponentResult; external name '_SGGetChannelRefCon';
8566 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8567 
8568 
8569 { A utility call to find out the current device and input names, instead of having to call GetDeviceList and walk it yourself }
8570 {
8571  *  SGGetChannelDeviceAndInputNames()
8572  *
8573  *  Availability:
8574  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8575  *    CarbonLib:        in CarbonLib 1.6 and later
8576  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8577  *    Windows:          in qtmlClient.lib 6.0 and later
8578  }
SGGetChannelDeviceAndInputNamesnull8579 function SGGetChannelDeviceAndInputNames( c: SGChannel; var outDeviceName: Str255; var outInputName: Str255; var outInputNumber: SInt16 ): ComponentResult; external name '_SGGetChannelDeviceAndInputNames';
8580 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8581 
8582 
8583 { A media format independent call for this. Inputs start at 0 here (Sound starts at 1, VDIGs at 0 in direct calls) }
8584 {
8585  *  SGSetChannelDeviceInput()
8586  *
8587  *  Availability:
8588  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8589  *    CarbonLib:        in CarbonLib 1.6 and later
8590  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8591  *    Windows:          in qtmlClient.lib 6.0 and later
8592  }
SGSetChannelDeviceInputnull8593 function SGSetChannelDeviceInput( c: SGChannel; inInputNumber: SInt16 ): ComponentResult; external name '_SGSetChannelDeviceInput';
8594 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8595 
8596 
8597 { A call to bracket SetSettings related calls, to give downstream components an opportunity to deal with the entire
8598     settings change in one go }
8599 const
8600 	sgSetSettingsBegin = 1 shl 0; { SGSetSettings related set calls about to start}
8601 	sgSetSettingsEnd = 1 shl 1; { Finished SGSetSettings calls. Get ready to use the new settings}
8602 
8603 {
8604  *  SGSetChannelSettingsStateChanging()
8605  *
8606  *  Availability:
8607  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8608  *    CarbonLib:        in CarbonLib 1.6 and later
8609  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8610  *    Windows:          in qtmlClient.lib 6.0 and later
8611  }
SGSetChannelSettingsStateChangingnull8612 function SGSetChannelSettingsStateChanging( c: SGChannel; inFlags: UInt32 ): ComponentResult; external name '_SGSetChannelSettingsStateChanging';
8613 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8614 
8615 
8616 {
8617     calls from seqGrab to Channel
8618 }
8619 {
8620  *  SGInitChannel()
8621  *
8622  *  Availability:
8623  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8624  *    CarbonLib:        in CarbonLib 1.0 and later
8625  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8626  *    Windows:          in qtmlClient.lib 3.0 and later
8627  }
SGInitChannelnull8628 function SGInitChannel( c: SGChannel; owner: SeqGrabComponent ): ComponentResult; external name '_SGInitChannel';
8629 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8630 
8631 
8632 {
8633  *  SGWriteSamples()
8634  *
8635  *  Availability:
8636  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8637  *    CarbonLib:        in CarbonLib 1.0 and later
8638  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8639  *    Windows:          in qtmlClient.lib 3.0 and later
8640  }
SGWriteSamplesnull8641 function SGWriteSamples( c: SGChannel; m: Movie; theFile: AliasHandle ): ComponentResult; external name '_SGWriteSamples';
8642 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8643 
8644 
8645 {
8646  *  SGGetDataRate()
8647  *
8648  *  Availability:
8649  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8650  *    CarbonLib:        in CarbonLib 1.0 and later
8651  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8652  *    Windows:          in qtmlClient.lib 3.0 and later
8653  }
SGGetDataRatenull8654 function SGGetDataRate( c: SGChannel; var bytesPerSecond: SIGNEDLONG ): ComponentResult; external name '_SGGetDataRate';
8655 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8656 
8657 
8658 {
8659  *  SGAlignChannelRect()
8660  *
8661  *  Availability:
8662  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8663  *    CarbonLib:        in CarbonLib 1.0 and later
8664  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8665  *    Windows:          in qtmlClient.lib 3.0 and later
8666  }
SGAlignChannelRectnull8667 function SGAlignChannelRect( c: SGChannel; var r: Rect ): ComponentResult; external name '_SGAlignChannelRect';
8668 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8669 
8670 
8671 {
8672     Dorky dialog panel calls
8673 }
8674 {
8675  *  SGPanelGetDitl()
8676  *
8677  *  Availability:
8678  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8679  *    CarbonLib:        in CarbonLib 1.0 and later
8680  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8681  *    Windows:          in qtmlClient.lib 3.0 and later
8682  }
SGPanelGetDitlnull8683 function SGPanelGetDitl( s: SeqGrabComponent; var ditl: Handle ): ComponentResult; external name '_SGPanelGetDitl';
8684 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8685 
8686 
8687 {
8688  *  SGPanelGetTitle()
8689  *
8690  *  Availability:
8691  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8692  *    CarbonLib:        in CarbonLib 1.0 and later
8693  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8694  *    Windows:          in qtmlClient.lib 3.0 and later
8695  }
SGPanelGetTitlenull8696 function SGPanelGetTitle( s: SeqGrabComponent; var title: Str255 ): ComponentResult; external name '_SGPanelGetTitle';
8697 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8698 
8699 
8700 {
8701  *  SGPanelCanRun()
8702  *
8703  *  Availability:
8704  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8705  *    CarbonLib:        in CarbonLib 1.0 and later
8706  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8707  *    Windows:          in qtmlClient.lib 3.0 and later
8708  }
SGPanelCanRunnull8709 function SGPanelCanRun( s: SeqGrabComponent; c: SGChannel ): ComponentResult; external name '_SGPanelCanRun';
8710 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8711 
8712 
8713 {
8714  *  SGPanelInstall()
8715  *
8716  *  Availability:
8717  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8718  *    CarbonLib:        in CarbonLib 1.0 and later
8719  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8720  *    Windows:          in qtmlClient.lib 3.0 and later
8721  }
SGPanelInstallnull8722 function SGPanelInstall( s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16 ): ComponentResult; external name '_SGPanelInstall';
8723 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8724 
8725 
8726 {
8727  *  SGPanelEvent()
8728  *
8729  *  Availability:
8730  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8731  *    CarbonLib:        in CarbonLib 1.0 and later
8732  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8733  *    Windows:          in qtmlClient.lib 3.0 and later
8734  }
SGPanelEventnull8735 function SGPanelEvent( s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16; const (*var*) theEvent: EventRecord; var itemHit: SInt16; var handled: Boolean ): ComponentResult; external name '_SGPanelEvent';
8736 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8737 
8738 
8739 {
8740  *  SGPanelItem()
8741  *
8742  *  Availability:
8743  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8744  *    CarbonLib:        in CarbonLib 1.0 and later
8745  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8746  *    Windows:          in qtmlClient.lib 3.0 and later
8747  }
SGPanelItemnull8748 function SGPanelItem( s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16; itemNum: SInt16 ): ComponentResult; external name '_SGPanelItem';
8749 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8750 
8751 
8752 {
8753  *  SGPanelRemove()
8754  *
8755  *  Availability:
8756  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8757  *    CarbonLib:        in CarbonLib 1.0 and later
8758  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8759  *    Windows:          in qtmlClient.lib 3.0 and later
8760  }
SGPanelRemovenull8761 function SGPanelRemove( s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16 ): ComponentResult; external name '_SGPanelRemove';
8762 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8763 
8764 
8765 {
8766  *  SGPanelSetGrabber()
8767  *
8768  *  Availability:
8769  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8770  *    CarbonLib:        in CarbonLib 1.0 and later
8771  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8772  *    Windows:          in qtmlClient.lib 3.0 and later
8773  }
SGPanelSetGrabbernull8774 function SGPanelSetGrabber( s: SeqGrabComponent; sg: SeqGrabComponent ): ComponentResult; external name '_SGPanelSetGrabber';
8775 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8776 
8777 
8778 {
8779  *  SGPanelSetResFile()
8780  *
8781  *  Availability:
8782  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8783  *    CarbonLib:        in CarbonLib 1.0 and later
8784  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8785  *    Windows:          in qtmlClient.lib 3.0 and later
8786  }
SGPanelSetResFilenull8787 function SGPanelSetResFile( s: SeqGrabComponent; resRef: SInt16 ): ComponentResult; external name '_SGPanelSetResFile';
8788 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8789 
8790 
8791 {
8792  *  SGPanelGetSettings()
8793  *
8794  *  Availability:
8795  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8796  *    CarbonLib:        in CarbonLib 1.0 and later
8797  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8798  *    Windows:          in qtmlClient.lib 3.0 and later
8799  }
SGPanelGetSettingsnull8800 function SGPanelGetSettings( s: SeqGrabComponent; c: SGChannel; var ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGPanelGetSettings';
8801 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8802 
8803 
8804 {
8805  *  SGPanelSetSettings()
8806  *
8807  *  Availability:
8808  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8809  *    CarbonLib:        in CarbonLib 1.0 and later
8810  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8811  *    Windows:          in qtmlClient.lib 3.0 and later
8812  }
SGPanelSetSettingsnull8813 function SGPanelSetSettings( s: SeqGrabComponent; c: SGChannel; ud: UserData; flags: SIGNEDLONG ): ComponentResult; external name '_SGPanelSetSettings';
8814 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8815 
8816 
8817 {
8818  *  SGPanelValidateInput()
8819  *
8820  *  Availability:
8821  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8822  *    CarbonLib:        in CarbonLib 1.0 and later
8823  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8824  *    Windows:          in qtmlClient.lib 3.0 and later
8825  }
SGPanelValidateInputnull8826 function SGPanelValidateInput( s: SeqGrabComponent; var ok: Boolean ): ComponentResult; external name '_SGPanelValidateInput';
8827 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8828 
8829 
8830 {
8831  *  SGPanelSetEventFilter()
8832  *
8833  *  Availability:
8834  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8835  *    CarbonLib:        in CarbonLib 1.0 and later
8836  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8837  *    Windows:          in qtmlClient.lib 3.0 and later
8838  }
SGPanelSetEventFilternull8839 function SGPanelSetEventFilter( s: SeqGrabComponent; proc: SGModalFilterUPP; refCon: SIGNEDLONG ): ComponentResult; external name '_SGPanelSetEventFilter';
8840 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8841 
8842 
8843 {
8844     SGPanelGetDITLForSize is used to retrieve user interface elements that fit within a specified size
8845     panel.  The component should return badComponentSelector for sizes it does not support.  The component
8846     is required to support kSGSmallestDITLSize, and it is recommended to support kSGLargestDITLSize.
8847 
8848     If SGPanelGetDITLForSize is unimplemented entirely, the panel is assumed to not have resizable UI elements.
8849 }
8850 const
8851 	kSGSmallestDITLSize = -1;   { requestedSize h and v set to this to retrieve small size}
8852 	kSGLargestDITLSize = -2;    { requestedSize h and v set to this to retrieve large size}
8853 
8854 {
8855  *  SGPanelGetDITLForSize()
8856  *
8857  *  Availability:
8858  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
8859  *    CarbonLib:        in CarbonLib 1.6 and later
8860  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
8861  *    Windows:          in qtmlClient.lib 6.0 and later
8862  }
SGPanelGetDITLForSizenull8863 function SGPanelGetDITLForSize( s: SeqGrabComponent; var ditl: Handle; var requestedSize: Point ): ComponentResult; external name '_SGPanelGetDITLForSize';
8864 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
8865 
8866 
8867 {** Sequence Grab VIDEO CHANNEL Component Stuff **}
8868 {
8869     Video stuff
8870 }
8871 type
8872 	SGCompressInfoPtr = ^SGCompressInfo;
8873 	SGCompressInfo = record
8874 		buffer: Ptr;
8875 		bufferSize: UNSIGNEDLONG;
8876 		similarity: UInt8;
8877 		reserved: UInt8;
8878 	end;
8879 type
cnull8880 	SGGrabBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; refCon: SIGNEDLONG ): ComponentResult;
cnull8881 	SGGrabCompleteBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; var done: Boolean; refCon: SIGNEDLONG ): ComponentResult;
cnull8882 	SGDisplayBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG ): ComponentResult;
cnull8883 	SGCompressBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; refCon: SIGNEDLONG ): ComponentResult;
cnull8884 	SGCompressCompleteBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; var done: Boolean; var ci: SGCompressInfo; refCon: SIGNEDLONG ): ComponentResult;
cnull8885 	SGAddFrameBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo; refCon: SIGNEDLONG ): ComponentResult;
cnull8886 	SGTransferFrameBottleProcPtr = function( c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG ): ComponentResult;
8887 {    Note that UInt8 *queuedFrameCount replaces Boolean *done. 0(==false) still means no frames, and 1(==true) one,
8888     but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
8889     so some VDIGs may return 2 even if more than 2 are available, and some will still return 1 as they are using the original definition. }
8890 type
cnull8891 	SGGrabCompressCompleteBottleProcPtr = function( c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var t: TimeRecord; refCon: SIGNEDLONG ): ComponentResult;
cnull8892 	SGDisplayCompressBottleProcPtr = function( c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG ): ComponentResult;
8893 	SGGrabBottleUPP = SGGrabBottleProcPtr;
8894 	SGGrabCompleteBottleUPP = SGGrabCompleteBottleProcPtr;
8895 	SGDisplayBottleUPP = SGDisplayBottleProcPtr;
8896 	SGCompressBottleUPP = SGCompressBottleProcPtr;
8897 	SGCompressCompleteBottleUPP = SGCompressCompleteBottleProcPtr;
8898 	SGAddFrameBottleUPP = SGAddFrameBottleProcPtr;
8899 	SGTransferFrameBottleUPP = SGTransferFrameBottleProcPtr;
8900 	SGGrabCompressCompleteBottleUPP = SGGrabCompressCompleteBottleProcPtr;
8901 	SGDisplayCompressBottleUPP = SGDisplayCompressBottleProcPtr;
8902 
8903 	VideoBottlesPtr = ^VideoBottles;
8904 	VideoBottles = record
8905 		procCount: SInt16;
8906 		grabProc: SGGrabBottleUPP;
8907 		grabCompleteProc: SGGrabCompleteBottleUPP;
8908 		displayProc: SGDisplayBottleUPP;
8909 		compressProc: SGCompressBottleUPP;
8910 		compressCompleteProc: SGCompressCompleteBottleUPP;
8911 		addFrameProc: SGAddFrameBottleUPP;
8912 		transferFrameProc: SGTransferFrameBottleUPP;
8913 		grabCompressCompleteProc: SGGrabCompressCompleteBottleUPP;
8914 		displayCompressProc: SGDisplayCompressBottleUPP;
8915 	end;
8916 {
8917  *  SGGetSrcVideoBounds()
8918  *
8919  *  Availability:
8920  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8921  *    CarbonLib:        in CarbonLib 1.0 and later
8922  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8923  *    Windows:          in qtmlClient.lib 3.0 and later
8924  }
SGGetSrcVideoBoundsnull8925 function SGGetSrcVideoBounds( c: SGChannel; var r: Rect ): ComponentResult; external name '_SGGetSrcVideoBounds';
8926 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8927 
8928 
8929 {
8930  *  SGSetVideoRect()
8931  *
8932  *  Availability:
8933  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8934  *    CarbonLib:        in CarbonLib 1.0 and later
8935  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8936  *    Windows:          in qtmlClient.lib 3.0 and later
8937  }
SGSetVideoRectnull8938 function SGSetVideoRect( c: SGChannel; const (*var*) r: Rect ): ComponentResult; external name '_SGSetVideoRect';
8939 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8940 
8941 
8942 {
8943  *  SGGetVideoRect()
8944  *
8945  *  Availability:
8946  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8947  *    CarbonLib:        in CarbonLib 1.0 and later
8948  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8949  *    Windows:          in qtmlClient.lib 3.0 and later
8950  }
SGGetVideoRectnull8951 function SGGetVideoRect( c: SGChannel; var r: Rect ): ComponentResult; external name '_SGGetVideoRect';
8952 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8953 
8954 
8955 {
8956  *  SGGetVideoCompressorType()
8957  *
8958  *  Availability:
8959  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8960  *    CarbonLib:        in CarbonLib 1.0 and later
8961  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8962  *    Windows:          in qtmlClient.lib 3.0 and later
8963  }
SGGetVideoCompressorTypenull8964 function SGGetVideoCompressorType( c: SGChannel; var compressorType: OSType ): ComponentResult; external name '_SGGetVideoCompressorType';
8965 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8966 
8967 
8968 {
8969  *  SGSetVideoCompressorType()
8970  *
8971  *  Availability:
8972  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8973  *    CarbonLib:        in CarbonLib 1.0 and later
8974  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8975  *    Windows:          in qtmlClient.lib 3.0 and later
8976  }
SGSetVideoCompressorTypenull8977 function SGSetVideoCompressorType( c: SGChannel; compressorType: OSType ): ComponentResult; external name '_SGSetVideoCompressorType';
8978 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8979 
8980 
8981 {
8982  *  SGSetVideoCompressor()
8983  *
8984  *  Availability:
8985  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8986  *    CarbonLib:        in CarbonLib 1.0 and later
8987  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
8988  *    Windows:          in qtmlClient.lib 3.0 and later
8989  }
SGSetVideoCompressornull8990 function SGSetVideoCompressor( c: SGChannel; depth: SInt16; compressor: CompressorComponent; spatialQuality: CodecQ; temporalQuality: CodecQ; keyFrameRate: SIGNEDLONG ): ComponentResult; external name '_SGSetVideoCompressor';
8991 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
8992 
8993 
8994 {
8995  *  SGGetVideoCompressor()
8996  *
8997  *  Availability:
8998  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
8999  *    CarbonLib:        in CarbonLib 1.0 and later
9000  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9001  *    Windows:          in qtmlClient.lib 3.0 and later
9002  }
SGGetVideoCompressornull9003 function SGGetVideoCompressor( c: SGChannel; var depth: SInt16; var compressor: CompressorComponent; var spatialQuality: CodecQ; var temporalQuality: CodecQ; var keyFrameRate: SIGNEDLONG ): ComponentResult; external name '_SGGetVideoCompressor';
9004 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9005 
9006 
9007 {
9008  *  SGGetVideoDigitizerComponent()
9009  *
9010  *  Availability:
9011  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9012  *    CarbonLib:        in CarbonLib 1.0 and later
9013  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9014  *    Windows:          in qtmlClient.lib 3.0 and later
9015  }
SGGetVideoDigitizerComponentnull9016 function SGGetVideoDigitizerComponent( c: SGChannel ): ComponentInstance; external name '_SGGetVideoDigitizerComponent';
9017 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9018 
9019 
9020 {
9021  *  SGSetVideoDigitizerComponent()
9022  *
9023  *  Availability:
9024  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9025  *    CarbonLib:        in CarbonLib 1.0 and later
9026  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9027  *    Windows:          in qtmlClient.lib 3.0 and later
9028  }
SGSetVideoDigitizerComponentnull9029 function SGSetVideoDigitizerComponent( c: SGChannel; vdig: ComponentInstance ): ComponentResult; external name '_SGSetVideoDigitizerComponent';
9030 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9031 
9032 
9033 {
9034  *  SGVideoDigitizerChanged()
9035  *
9036  *  Availability:
9037  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9038  *    CarbonLib:        in CarbonLib 1.0 and later
9039  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9040  *    Windows:          in qtmlClient.lib 3.0 and later
9041  }
SGVideoDigitizerChangednull9042 function SGVideoDigitizerChanged( c: SGChannel ): ComponentResult; external name '_SGVideoDigitizerChanged';
9043 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9044 
9045 
9046 {
9047  *  SGSetVideoBottlenecks()
9048  *
9049  *  Availability:
9050  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9051  *    CarbonLib:        in CarbonLib 1.0 and later
9052  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9053  *    Windows:          in qtmlClient.lib 3.0 and later
9054  }
SGSetVideoBottlenecksnull9055 function SGSetVideoBottlenecks( c: SGChannel; var vb: VideoBottles ): ComponentResult; external name '_SGSetVideoBottlenecks';
9056 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9057 
9058 
9059 {
9060  *  SGGetVideoBottlenecks()
9061  *
9062  *  Availability:
9063  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9064  *    CarbonLib:        in CarbonLib 1.0 and later
9065  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9066  *    Windows:          in qtmlClient.lib 3.0 and later
9067  }
SGGetVideoBottlenecksnull9068 function SGGetVideoBottlenecks( c: SGChannel; var vb: VideoBottles ): ComponentResult; external name '_SGGetVideoBottlenecks';
9069 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9070 
9071 
9072 {
9073  *  SGGrabFrame()
9074  *
9075  *  Availability:
9076  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9077  *    CarbonLib:        in CarbonLib 1.0 and later
9078  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9079  *    Windows:          in qtmlClient.lib 3.0 and later
9080  }
SGGrabFramenull9081 function SGGrabFrame( c: SGChannel; bufferNum: SInt16 ): ComponentResult; external name '_SGGrabFrame';
9082 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9083 
9084 
9085 {
9086  *  SGGrabFrameComplete()
9087  *
9088  *  Availability:
9089  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9090  *    CarbonLib:        in CarbonLib 1.0 and later
9091  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9092  *    Windows:          in qtmlClient.lib 3.0 and later
9093  }
SGGrabFrameCompletenull9094 function SGGrabFrameComplete( c: SGChannel; bufferNum: SInt16; var done: Boolean ): ComponentResult; external name '_SGGrabFrameComplete';
9095 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9096 
9097 
9098 {
9099  *  SGDisplayFrame()
9100  *
9101  *  Availability:
9102  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9103  *    CarbonLib:        in CarbonLib 1.0 and later
9104  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9105  *    Windows:          in qtmlClient.lib 3.0 and later
9106  }
SGDisplayFramenull9107 function SGDisplayFrame( c: SGChannel; bufferNum: SInt16; const (*var*) mp: MatrixRecord; clipRgn: RgnHandle ): ComponentResult; external name '_SGDisplayFrame';
9108 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9109 
9110 
9111 {
9112  *  SGCompressFrame()
9113  *
9114  *  Availability:
9115  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9116  *    CarbonLib:        in CarbonLib 1.0 and later
9117  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9118  *    Windows:          in qtmlClient.lib 3.0 and later
9119  }
SGCompressFramenull9120 function SGCompressFrame( c: SGChannel; bufferNum: SInt16 ): ComponentResult; external name '_SGCompressFrame';
9121 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9122 
9123 
9124 {
9125  *  SGCompressFrameComplete()
9126  *
9127  *  Availability:
9128  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9129  *    CarbonLib:        in CarbonLib 1.0 and later
9130  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9131  *    Windows:          in qtmlClient.lib 3.0 and later
9132  }
SGCompressFrameCompletenull9133 function SGCompressFrameComplete( c: SGChannel; bufferNum: SInt16; var done: Boolean; var ci: SGCompressInfo ): ComponentResult; external name '_SGCompressFrameComplete';
9134 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9135 
9136 
9137 {
9138  *  SGAddFrame()
9139  *
9140  *  Availability:
9141  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9142  *    CarbonLib:        in CarbonLib 1.0 and later
9143  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9144  *    Windows:          in qtmlClient.lib 3.0 and later
9145  }
SGAddFramenull9146 function SGAddFrame( c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo ): ComponentResult; external name '_SGAddFrame';
9147 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9148 
9149 
9150 {
9151  *  SGTransferFrameForCompress()
9152  *
9153  *  Availability:
9154  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9155  *    CarbonLib:        in CarbonLib 1.0 and later
9156  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9157  *    Windows:          in qtmlClient.lib 3.0 and later
9158  }
SGTransferFrameForCompressnull9159 function SGTransferFrameForCompress( c: SGChannel; bufferNum: SInt16; const (*var*) mp: MatrixRecord; clipRgn: RgnHandle ): ComponentResult; external name '_SGTransferFrameForCompress';
9160 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9161 
9162 
9163 {
9164  *  SGSetCompressBuffer()
9165  *
9166  *  Availability:
9167  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9168  *    CarbonLib:        in CarbonLib 1.0 and later
9169  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9170  *    Windows:          in qtmlClient.lib 3.0 and later
9171  }
SGSetCompressBuffernull9172 function SGSetCompressBuffer( c: SGChannel; depth: SInt16; const (*var*) compressSize: Rect ): ComponentResult; external name '_SGSetCompressBuffer';
9173 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9174 
9175 
9176 {
9177  *  SGGetCompressBuffer()
9178  *
9179  *  Availability:
9180  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9181  *    CarbonLib:        in CarbonLib 1.0 and later
9182  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9183  *    Windows:          in qtmlClient.lib 3.0 and later
9184  }
SGGetCompressBuffernull9185 function SGGetCompressBuffer( c: SGChannel; var depth: SInt16; var compressSize: Rect ): ComponentResult; external name '_SGGetCompressBuffer';
9186 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9187 
9188 
9189 {
9190  *  SGGetBufferInfo()
9191  *
9192  *  Availability:
9193  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9194  *    CarbonLib:        in CarbonLib 1.0 and later
9195  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9196  *    Windows:          in qtmlClient.lib 3.0 and later
9197  }
SGGetBufferInfonull9198 function SGGetBufferInfo( c: SGChannel; bufferNum: SInt16; var bufferPM: PixMapHandle; var bufferRect: Rect; var compressBuffer: GWorldPtr; var compressBufferRect: Rect ): ComponentResult; external name '_SGGetBufferInfo';
9199 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9200 
9201 
9202 {
9203  *  SGSetUseScreenBuffer()
9204  *
9205  *  Availability:
9206  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9207  *    CarbonLib:        in CarbonLib 1.0 and later
9208  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9209  *    Windows:          in qtmlClient.lib 3.0 and later
9210  }
SGSetUseScreenBuffernull9211 function SGSetUseScreenBuffer( c: SGChannel; useScreenBuffer: Boolean ): ComponentResult; external name '_SGSetUseScreenBuffer';
9212 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9213 
9214 
9215 {
9216  *  SGGetUseScreenBuffer()
9217  *
9218  *  Availability:
9219  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9220  *    CarbonLib:        in CarbonLib 1.0 and later
9221  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9222  *    Windows:          in qtmlClient.lib 3.0 and later
9223  }
SGGetUseScreenBuffernull9224 function SGGetUseScreenBuffer( c: SGChannel; var useScreenBuffer: Boolean ): ComponentResult; external name '_SGGetUseScreenBuffer';
9225 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9226 
9227 
9228 {    Note that UInt8 *queuedFrameCount replaces Boolean *done. 0(==false) still means no frames, and 1(==true) one,
9229     but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
9230     so some VDIGs may return 2 even if more than 2 are available, and some will still return 1 as they are using the original definition. }
9231 {
9232  *  SGGrabCompressComplete()
9233  *
9234  *  Availability:
9235  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9236  *    CarbonLib:        in CarbonLib 1.0 and later
9237  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9238  *    Windows:          in qtmlClient.lib 3.0 and later
9239  }
SGGrabCompressCompletenull9240 function SGGrabCompressComplete( c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var tr: TimeRecord ): ComponentResult; external name '_SGGrabCompressComplete';
9241 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9242 
9243 
9244 {
9245  *  SGDisplayCompress()
9246  *
9247  *  Availability:
9248  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9249  *    CarbonLib:        in CarbonLib 1.0 and later
9250  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9251  *    Windows:          in qtmlClient.lib 3.0 and later
9252  }
SGDisplayCompressnull9253 function SGDisplayCompress( c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle ): ComponentResult; external name '_SGDisplayCompress';
9254 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9255 
9256 
9257 {
9258  *  SGSetFrameRate()
9259  *
9260  *  Availability:
9261  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9262  *    CarbonLib:        in CarbonLib 1.0 and later
9263  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9264  *    Windows:          in qtmlClient.lib 3.0 and later
9265  }
SGSetFrameRatenull9266 function SGSetFrameRate( c: SGChannel; frameRate: Fixed ): ComponentResult; external name '_SGSetFrameRate';
9267 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9268 
9269 
9270 {
9271  *  SGGetFrameRate()
9272  *
9273  *  Availability:
9274  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9275  *    CarbonLib:        in CarbonLib 1.0 and later
9276  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9277  *    Windows:          in qtmlClient.lib 3.0 and later
9278  }
SGGetFrameRatenull9279 function SGGetFrameRate( c: SGChannel; var frameRate: Fixed ): ComponentResult; external name '_SGGetFrameRate';
9280 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9281 
9282 
9283 {
9284  *  SGSetPreferredPacketSize()
9285  *
9286  *  Availability:
9287  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9288  *    CarbonLib:        in CarbonLib 1.0 and later
9289  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9290  *    Windows:          in qtmlClient.lib 3.0 and later
9291  }
SGSetPreferredPacketSizenull9292 function SGSetPreferredPacketSize( c: SGChannel; preferredPacketSizeInBytes: SIGNEDLONG ): ComponentResult; external name '_SGSetPreferredPacketSize';
9293 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9294 
9295 
9296 {
9297  *  SGGetPreferredPacketSize()
9298  *
9299  *  Availability:
9300  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9301  *    CarbonLib:        in CarbonLib 1.0 and later
9302  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9303  *    Windows:          in qtmlClient.lib 3.0 and later
9304  }
SGGetPreferredPacketSizenull9305 function SGGetPreferredPacketSize( c: SGChannel; var preferredPacketSizeInBytes: SIGNEDLONG ): ComponentResult; external name '_SGGetPreferredPacketSize';
9306 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9307 
9308 
9309 {
9310  *  SGSetUserVideoCompressorList()
9311  *
9312  *  Availability:
9313  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9314  *    CarbonLib:        in CarbonLib 1.0 and later
9315  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9316  *    Windows:          in qtmlClient.lib 3.0 and later
9317  }
SGSetUserVideoCompressorListnull9318 function SGSetUserVideoCompressorList( c: SGChannel; compressorTypes: Handle ): ComponentResult; external name '_SGSetUserVideoCompressorList';
9319 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9320 
9321 
9322 {
9323  *  SGGetUserVideoCompressorList()
9324  *
9325  *  Availability:
9326  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
9327  *    CarbonLib:        in CarbonLib 1.0 and later
9328  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
9329  *    Windows:          in qtmlClient.lib 3.0 and later
9330  }
SGGetUserVideoCompressorListnull9331 function SGGetUserVideoCompressorList( c: SGChannel; var compressorTypes: Handle ): ComponentResult; external name '_SGGetUserVideoCompressorList';
9332 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
9333 
9334 
9335 {** Sequence Grab AUDIO CHANNEL Component Stuff **}
9336 { -----------------------------------------------------------------------------
9337 |                                                                               |
9338 | *************************************                                         |
9339 | * SGAUDIOCHANNEL COMPONENT SUBTYPE  *                                         |
9340 | *************************************                                         |
9341 |   SGAudioMediaType channel (aka SGAudioChannel) is a new Sequence Grabber     |
9342 |   channel that enables multi-channel, high sample rate, wide bit-depth audio  |
9343 |   recording, as well as writing of vbr audio compression formats.             |
9344 |   SGAudioChannel is meant to replace the SoundMediaType SGChannel, as it can  |
9345 |   do everything the old channel can do, and enables new features.             |
9346 |                                                                               |
9347  ------------------------------------------------------------------------------}
9348 const
9349 	SGAudioMediaType = FourCharCode('audi');
9350 
9351 { -----------------------------------------------------------------------------
9352 |                                                                               |
9353 |   COMPONENT PROPERTY CLASSES used by SGAudioChannel                           |
9354 |                                                                               |
9355 |   Note: QTComponentProperty API's are defined in ImageCompression.h:          |
9356 |       QTGetComponentPropertyInfo                                              |
9357 |       QTGetComponentProperty                                                  |
9358 |       QTSetComponentProperty                                                  |
9359 |       QTAddComponentPropertyListener                                          |
9360 |       QTRemoveComponentPropertyListener                                       |
9361 |                                                                               |
9362 |   Discussion: SGAudioMediaType channel uses standard QT Component Property    |
9363 |   selectors to get, set, and listen to properties.  Component properties      |
9364 |   take a property class as well as a property id.  SGAudioMediaType uses      |
9365 |   the following property classes (see each property ID's discussion           |
9366 |   for the specific property classes it understands)                           |
9367 |                                                                               |
9368  ------------------------------------------------------------------------------}
9369 
9370 {
9371  *  Summary:
9372  *    ComponentPropertyClass constants used by SGAudioChannel
9373  }
9374 const
9375 {
9376    * kQTPropertyClass_SGAudio: Used with properties that pertain to the
9377    * SGChannel as a whole, or to the output of an SGAudioChannel (i.e.
9378    * the resulting track in a QuickTime movie)
9379    }
9380 	kQTPropertyClass_SGAudio = FourCharCode('audo');
9381 
9382   {
9383    * kQTPropertyClass_SGAudioRecordDevice: Used with properties that
9384    * pertain specifically to the physical settings of the device *FROM*
9385    * which SGAudioChannel is set to record or preview
9386    }
9387 	kQTPropertyClass_SGAudioRecordDevice = FourCharCode('audr');
9388 
9389   {
9390    * kQTPropertyClass_SGAudioPreviewDevice: Used with properties that
9391    * pertain specifically to the physical settings of the device *TO*
9392    * which SGAudioChannel is set to preview
9393    }
9394 	kQTPropertyClass_SGAudioPreviewDevice = FourCharCode('audp');
9395 
9396 
9397 { -----------------------------------------------------------------------------
9398 |                                                                               |
9399 |   COMPONENT PROPERTY ID'S used by SGAudioMediaType channel                    |
9400 |                                                                               |
9401 |   In addition to the Property ID's declared below, SGAudioMediaType channel   |
9402 |   responds to kComponentPropertyClassPropertyInfo/kComponentPropertyInfoList, |
9403 |   which returns a CFDataRef containing an array of ComponentPropertyInfo      |
9404 |   structs (defined in ImageCompression.h)                                     |
9405 |                                                                               |
9406 |   Besides Component Property API's, SGAudioChannel responds to the following  |
9407 |   old-style Sequence Grabber Channel property selectors:                      |
9408 |                                                                               |
9409 |       SGGetChannelUsage()                                                     |
9410 |       SGSetChannelUsage()                                                     |
9411 |           SGAudioChannel responds to the following usage flags:               |
9412 |               seqGrabRecord                                                   |
9413 |               seqGrabPreview                                                  |
9414 |               seqGrabPlayDuringRecord                                         |
9415 |                                                                               |
9416 |       SGGetChannelInfo()                                                      |
9417 |                                                                               |
9418 |       SGGetChannelPlayFlags()                                                 |
9419 |       SGSetChannelPlayFlags()                                                 |
9420 |           SGAudioChannel responds to the following play flags:                |
9421 |               channelPlayPreMix                                               |
9422 |               channelPlayPostMix                                              |
9423 |               channelPlayPreConversion                                        |
9424 |               channelPlayPostConversion                                       |
9425 |                                                                               |
9426 |       SGGetChannelRefCon()                                                    |
9427 |       SGSetChannelRefCon()                                                    |
9428 |                                                                               |
9429 |       SGGetChannelTimeBase()                                                  |
9430 |                                                                               |
9431 |       SGSetChannelSettingsStateChanging()                                     |
9432 |       SGGetChannelSettings()                                                  |
9433 |       SGSetChannelSettings()                                                  |
9434 |                                                                               |
9435 |       SGGetDataRate()                                                         |
9436 |                                                                               |
9437 |       SGGetChannelTimeScale()                                                 |
9438 |                                                                               |
9439  ------------------------------------------------------------------------------}
9440 
9441 {
9442  *  Summary:
9443  *    ComponentPropertyID constants used by SGAudioChannel
9444  }
9445 const
9446 {
9447    * kQTSGAudioPropertyID_DeviceListWithAttributes: Used to get a
9448    * CFArray of CFDictionaryRef's.  Each dictionary represents
9449    * attributes of one audio device. See below for list of supported
9450    * dictionary keys.  Note: all keys are not guaranteed to be present
9451    * for a given device. If the device list changes (i.e. a device is
9452    * hotplugged or unplugged), listeners of this property will be
9453    * notified. Note - caller is responsible for calling CFRelease() on
9454    * the resulting CFArray.
9455    }
9456 	kQTSGAudioPropertyID_DeviceListWithAttributes = FourCharCode('#dva'); { Data: CFArrayRef, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudio  }
9457 
9458   {
9459    * kQTSGAudioPropertyID_DeviceAttributes: Used to get a
9460    * CFDictionaryRef representing attributes of the specified audio
9461    * device (record or preview). See below for list of supported
9462    * dictionary keys.  Note: all keys are not guaranteed to be present
9463    * for a given device. Note - caller is responsible for calling
9464    * CFRelease() on the resulting CFDictionary.
9465    }
9466 	kQTSGAudioPropertyID_DeviceAttributes = FourCharCode('deva'); { Data: CFDictionaryRef, R/W/L: Read, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9467 
9468   {
9469    * kQTSGAudioPropertyID_DeviceUID: Used to get the audio device
9470    * unique id for the current recording or preview, or set the current
9471    * recording or preview device to the specified audio device unique
9472    * id.  You may obtain the list of devices on the system using
9473    * kQTSGAudioPropertyID_DeviceListWithAttributes.  Note - caller is
9474    * responsible for calling CFRelease() on the resulting CFString.
9475    }
9476 	kQTSGAudioPropertyID_DeviceUID = FourCharCode('uid '); { Data: CFStringRef, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9477 
9478   {
9479    * kQTSGAudioPropertyID_DeviceAlive: If the device in question dies
9480    * (is hot unplugged) listeners of this property will be notified.
9481    * If a record/preview operation is in progress, it will be stopped,
9482    * but it is left to the client to select a new device.
9483    }
9484 	kQTSGAudioPropertyID_DeviceAlive = FourCharCode('aliv'); { Data: Boolean, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9485 
9486   {
9487    * kQTSGAudioPropertyID_DeviceHogged: If the device in question
9488    * becomes hogged or unhogged by another process, listeners of this
9489    * property will be notified. SGAudioMediaType channel does not hogs
9490    * devices, but if a client has reason to gain exclusive access to a
9491    * device, he may set this property to his process id (obtained by
9492    * calling getpid()).
9493    }
9494 	kQTSGAudioPropertyID_DeviceHogged = FourCharCode('hogg'); { Data: pid_t, R/W/L: Read/Write/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9495 
9496   {
9497    * kQTSGAudioPropertyID_DeviceInUse: If the device in question starts
9498    * to be used (for instance, another process starts performing i/o
9499    * with the device), listeners of this property will be notified.
9500    }
9501 	kQTSGAudioPropertyID_DeviceInUse = FourCharCode('used'); { Data: Boolean, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9502 
9503   {
9504    * kQTSGAudioPropertyID_HardwarePlaythruEnabled: Use this property to
9505    * set hardware playthru during seqGrabPreview or
9506    * seqGrabPlayDuringRecord operations. Setting this value will have
9507    * no effect if the record device and preview device are not the
9508    * same.  Also, some devices do not support hardware playthru.
9509    * Devices report whether or not they support this feature through
9510    * the kQTSGAudioPropertyID_DeviceListWithAttributes property.
9511    }
9512 	kQTSGAudioPropertyID_HardwarePlaythruEnabled = FourCharCode('hard'); { Data: Boolean, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudioRecordDevice }
9513 
9514   {
9515    * kQTSGAudioPropertyID_ChannelLayout: Used to get/set a spatial or
9516    * discrete channel layout.  If used with kQTPropertyClass_SGAudio,
9517    * the AudioChannelLayout refers to the channels in the resulting
9518    * QuickTime movie sound track.  If used with
9519    * kQTPropertyClass_SGAudioRecordDevice, the AudioChannelLayout
9520    * refers to the input channels on the record device.  If used with
9521    * kQTPropertyClass_SGAudioPreviewDevice, the AudioChannelLayout
9522    * refers to the preview device output channels.  Note -
9523    * AudioChannelLayout is a variable size struct, so before calling
9524    * QTGetComponentProperty, you should call QTGetComponentPropertyInfo
9525    * to discover the size of the block of memory you should allocate to
9526    * hold the result.
9527    }
9528 	kQTSGAudioPropertyID_ChannelLayout = FourCharCode('clay'); { Data: AudioChannelLayout, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio, kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9529 
9530   {
9531    * kQTSGAudioPropertyID_ChannelMap: Allows a client to enable or
9532    * disable channels on a recording device, as well as reorder them or
9533    * duplicate them to several output channels.  This property need not
9534    * be set if a client wishes to capture all channels from the record
9535    * device (this is the DEFAULT behavior).  Each element in the SInt32
9536    * array represents one output bus (into the SGAudioChannel) from the
9537    * record device.  The value of each element is the source channel
9538    * (zero-based) on the input device that should feed the specified
9539    * output. CHANNEL-DISABLING EXAMPLE: if you wish to capture just the
9540    * 1st, 3rd, and 5th channels from a 6-channel input device, your
9541    * channel map should be: SInt32 map[3] = ( 0, 2, 4 ).
9542    * CHANNEL-REORDERING EXAMPLE: if you wish to capture both channels
9543    * from a stereo input device, but you know the left and right
9544    * channels are reversed in the data source, you set your channel map
9545    * to: SInt32 map[2] = ( 1, 0 ). CHANNEL-DUPLICATION EXAMPLE: if you
9546    * wish to duplicate the second source channel into 4 outputs, set
9547    * your channel map thusly: SInt32 map[4] = ( 1, 1, 1, 1 ). EMPTY
9548    * CHANNEL EXAMPLE: if you need to produce a conformant stream of
9549    * audio, say, a 6-channel stream to send to an external 5.1 AC3
9550    * encoder, but you only have audio for the L, R, and C channels (on
9551    * record device channels 0, 1, and 2), you may set your channel map
9552    * thusly:  SInt32 map[6] = ( 0, 1, 2, -1, -1, -1 ).  The last 3
9553    * channels will be filled with silence.
9554    }
9555 	kQTSGAudioPropertyID_ChannelMap = FourCharCode('cmap'); { Data: C-style array of SInt32's, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudioRecordDevice }
9556 
9557   {
9558    * kQTSGAudioPropertyID_CodecSpecificSettingsArray: Used to get or
9559    * set compressor-specific out-of-band settings.  This property is
9560    * only applicable when you are encoding to a compressed output
9561    * format (i.e. AAC, AMR).  This property is analogous to SCAudio's
9562    * kQTSCAudioPropertyID_CodecSpecificSettingsArray property (defined
9563    * in this header), or an AudioConverter's
9564    * kAudioConverterPropertySettings property (defined in
9565    * <AudioToolbox/AudioConverter.h>).  Note that not all compressed
9566    * formats expose a settings array. Older codecs may only expose a
9567    * magic cookie for out-of-band data (see the following property).
9568    * When an audio compressor exposes a settings array, prefer it over
9569    * a magic cookie, as the settings array is richer. The
9570    * CodecSpecificSettingsArray is a CFArray of CFDictionaries, where
9571    * each dictionary represents one node in the audio converter's
9572    * processing chain.   The dictionary keys are defined in
9573    * <AudioUnit/AudioCodec.h>. For further information, see technotes:
9574    * <http://developer.apple.com/qa/qa2006/qa1437.html>
9575    * <http://developer.apple.com/qa/qa2006/qa1390.html>
9576    }
9577 	kQTSGAudioPropertyID_CodecSpecificSettingsArray = FourCharCode('cdst'); { Data: CFArrayRef,  Read/Write, Class(es): kQTPropertyClass_SGAudio}
9578 
9579   {
9580    * kQTSGAudioPropertyID_MagicCookie: Used to get or set
9581    * compressor-specific out-of-band settings.  This is property is
9582    * only applicable to compressed formats that use a cookie.  The
9583    * kQTSGAudioPropertyID_CodecSpecificSettingsArray property should be
9584    * preferred over kQTSGAudioPropertyID_MagicCookie whenever a
9585    * compressor supports it.
9586    }
9587 	kQTSGAudioPropertyID_MagicCookie = FourCharCode('kuki'); { Data: void * (opaque), R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio     }
9588 
9589   {
9590    * kQTSGAudioPropertyID_StreamFormat: For kQTPropertyClass_SGAudio,
9591    * get/set the format of the audio as it will be written to the
9592    * destination QuickTime movie track.  For
9593    * kQTPropertyClass_SGAudioRecordDevice, get/set the format of audio
9594    * as it is physically recorded on the device (must be one of the
9595    * formats passed in kQTSGAudioPropertyID_StreamFormatList) Note that
9596    * the mChannelsPerFrame of the StreamFormat read from the
9597    * RecordDevice will not reflect channels that have been enabled or
9598    * disabled with the ChannelMap property.
9599    }
9600 	kQTSGAudioPropertyID_StreamFormat = FourCharCode('frmt'); { Data: AudioStreamBasicDescription, R/W/L: Read/Write/Listen, Class(es): kQTPropertyClass_SGAudio, kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9601 
9602   {
9603    * kQTSGAudioPropertyID_StreamFormatList: Used to get an array of
9604    * AudioStreamBasicDescriptions that describe valid combinations of
9605    * settings supported by the physical device in its current
9606    * configuration (sample rate, bit depth, number of channels).
9607    }
9608 	kQTSGAudioPropertyID_StreamFormatList = FourCharCode('#frm'); { Data: C-style array of AudioStreamBasicDescription's, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9609 
9610   {
9611    * kQTSGAudioPropertyID_SoundDescription: The sound description that
9612    * describes the data written to the QuickTime movie track.  A
9613    * QTGetComponentProperty call allocates the SoundDescriptionHandle
9614    * for you.  Caller should declare a SoundDescriptionHandle and set
9615    * it to NULL, and pass its address to QTGetComponentProperty.
9616    * Caller must DisposeHandle() the resulting SoundDescriptionHandle
9617    * when done with it.
9618    }
9619 	kQTSGAudioPropertyID_SoundDescription = FourCharCode('snds'); { Data: SoundDescriptionHandle, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9620 
9621   {
9622    * kQTSGAudioPropertyID_InputSelection: Some devices allow switching
9623    * between data sources, such as analog, adat, sdi, aes/ebu, spdif.
9624    * Use this property to change the current input selection.  Note
9625    * that when input selection changes, the StreamFormat of the device
9626    * may change as well (In particular, the number of channels may
9627    * change).
9628    }
9629 	kQTSGAudioPropertyID_InputSelection = FourCharCode('inpt'); { Data: OSType, R/W/L: Read/Write/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice }
9630 
9631   {
9632    * kQTSGAudioPropertyID_InputListWithAttributes: Used to get the list
9633    * of available input sources for a given device.  A CFArrayRef of
9634    * CFDictionaryRef's is returned, where each CFDictionaryRef
9635    * represents the attributes of one input (see below for a list of
9636    * valid keys). The caller is responsible for CFRelease()'ing the
9637    * returned array.
9638    }
9639 	kQTSGAudioPropertyID_InputListWithAttributes = FourCharCode('#inp'); { Data: CFArrayRef, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudioRecordDevice }
9640 
9641   {
9642    * kQTSGAudioPropertyID_OutputSelection: Some devices allow switching
9643    * between output destinations, such as analog, adat, sdi, aes/ebu,
9644    * spdif. Use this property to change the current output selection.
9645    * Note that when output selection changes, the StreamFormat of the
9646    * device may change as well (In particular, the number of channels
9647    * may change).
9648    }
9649 	kQTSGAudioPropertyID_OutputSelection = FourCharCode('otpt'); { Data: OSType, R/W/L: Read/Write/Listen, Class(es): kQTPropertyClass_SGAudioPreviewDevice }
9650 
9651   {
9652    * kQTSGAudioPropertyID_OutputListWithAttributes: Used to get the
9653    * list of available output destinations for a given device.  A
9654    * CFArrayRef of CFDictionaryRef's is returned, where each
9655    * CFDictionaryRef represents the attributes of one output (see below
9656    * for a list of valid keys). The caller is responsible for
9657    * CFRelease()'ing the returned array.
9658    }
9659 	kQTSGAudioPropertyID_OutputListWithAttributes = FourCharCode('#otp'); { Data: CFArrayRef, R/W/L: Read/Listen, Class(es): kQTPropertyClass_SGAudioPreviewDevice }
9660 
9661   {
9662    * kQTSGAudioPropertyID_LevelMetersEnabled: When used with
9663    * kQTPropertyClass_SGAudioRecordDevice or
9664    * kQTPropertyClass_SGAudioPreviewDevice, this turns device level
9665    * metering on/off.  When used with kQTPropertyClass_SGAudio, this
9666    * turns output level metering on/off.  When level meters are
9667    * enabled, use kQTSGAudioPropertyID_AveragePowerLevels to get
9668    * instantaneous levels.  Use kQTSGAudioPropertyID_PeakHoldLevels to
9669    * get peak-hold style meters (better for clipping detection, etc).
9670    * Level meters should only be enabled if you intend to poll for
9671    * levels, as they incur an added CPU load when enabled.
9672    }
9673 	kQTSGAudioPropertyID_LevelMetersEnabled = FourCharCode('lmet'); { Data: Boolean, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice, kQTPropertyClass_SGAudio }
9674 
9675   {
9676    * kQTSGAudioPropertyID_PeakHoldLevels:
9677    * kQTSGAudioPropertyID_PeakHoldLevelsmay only be read when level
9678    * meters are enabled.  The result is an array of Float32 values, one
9679    * for each channel on the device (or output) in question.  values
9680    * are in dB.  Poll for PeakHoldLevels as often as you would like to
9681    * update ui or look for clipping.  Note that the number of elements
9682    * in the float-32 array will be equal to the number of input
9683    * channels on your record device for
9684    * kQTPropertyClass_SGAudioRecordDevice (or the number of elements in
9685    * your kQTSGAudioPropertyID_ChannelMap, if you've set one), equal to
9686    * the number of output channels on your preview device for
9687    * kQTPropertyClass_SGAudioPreviewDevice, and equal to the number of
9688    * channels in your kQTSGAudioPropertyID_StreamFormat
9689    * (format.mChannelsPerFrame) for kQTPropertyClass_SGAudio.  Also
9690    * note that if you have requested hardware playthru, level metering
9691    * is unavailable.  Also note that if no channel mixdown is being
9692    * performed between record device and output formats, then
9693    * kQTSGAudioPropertyID_PeakHoldLevels for
9694    * kQTPropertyClass_SGAudioRecordDevice and kQTPropertyClass_SGAudio
9695    * will be equivalent.
9696    }
9697 	kQTSGAudioPropertyID_PeakHoldLevels = FourCharCode('phlv'); { Data: C-style array of Float32's, R/W/L: Read, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice, kQTPropertyClass_SGAudio }
9698 
9699   {
9700    * kQTSGAudioPropertyID_AveragePowerLevels:
9701    * kQTSGAudioPropertyID_AveragePowerLevels may only be read when
9702    * level meters are enabled.  The result is an array of Float32
9703    * values, one for each channel on the device (or output) in
9704    * question.  values are in dB.  Poll for AveragePowerLevels as
9705    * frequently as you would like to update ui.  Note that the number
9706    * of elements in the float-32 array will be equal to the number of
9707    * input channels on your record device for
9708    * kQTPropertyClass_SGAudioRecordDevice (or the number of elements in
9709    * your kQTSGAudioPropertyID_ChannelMap, if you've set one), equal to
9710    * the number of output channels on your preview device for
9711    * kQTPropertyClass_SGAudioPreviewDevice, and equal to the number of
9712    * channels in your kQTSGAudioPropertyID_StreamFormat
9713    * (format.mChannelsPerFrame) for kQTPropertyClass_SGAudio.  Also
9714    * note that if you have requested hardware playthru, level metering
9715    * is unavailable.  Also note that if no channel mixdown is being
9716    * performed between record device and output formats, then
9717    * kQTSGAudioPropertyID_PeakHoldLevels for
9718    * kQTPropertyClass_SGAudioRecordDevice and kQTPropertyClass_SGAudio
9719    * will be equivalent.
9720    }
9721 	kQTSGAudioPropertyID_AveragePowerLevels = FourCharCode('aplv'); { Data: C-style array of Float32's, R/W/L: Read, Class(es): kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice, kQTPropertyClass_SGAudio }
9722 
9723   {
9724    * kQTSGAudioPropertyID_MasterGain: With
9725    * kQTPropertyClass_SGAudioRecordDevice, this property gets/sets
9726    * master gain on the physical recording device with 0.0 = minimum
9727    * volume and 1.0 = the max volume of the device.  With
9728    * kQTPropertyClass_SGAudioPreviewDevice, this property gets/sets
9729    * master gain on the physical previewing device with 0.0 = minimum
9730    * volume and 1.0 = the max volume of the device.  With
9731    * kQTPropertyClass_SGAudio, this property gets/sets the master gain
9732    * (volume) of the recorded audio data in software (pre-mixdown) min
9733    * = 0.0, max = unbounded.  Normally you wouldn't set the volume
9734    * greater than 1.0, but if the source material provided by the
9735    * device is too soft, a gain of > 1.0 may be set to boost the gain.
9736    * Note that some devices do not respond to this property setting.
9737    }
9738 	kQTSGAudioPropertyID_MasterGain = FourCharCode('mgan'); { Data: Float32, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio, kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice }
9739 
9740   {
9741    * kQTSGAudioPropertyID_PerChannelGain: With
9742    * kQTPropertyClass_SGAudioRecordDevice, this property gets/sets the
9743    * gain of each channel on the physical recording device.  Note that
9744    * the number of channels in the array for
9745    * kQTPropertyClass_SGAudioRecordDevice and
9746    * kQTPropertyClass_SGAudioPreviewDevice is equal to the total number
9747    * of channels on the device, which can be discovered using the
9748    * kQTSGAudioPropertyID_StreamFormat (on the recording device or
9749    * preview device).  The number of channels (and order of channels)
9750    * in the array for the kQTPropertyClass_SGAudio class must
9751    * correspond to the valence of channels on output (which is affected
9752    * by a channel map, if you've set one).  With
9753    * kQTPropertyClass_SGAudio, this property gets/sets the gain
9754    * (volume) of each channel of recorded audio data in software.
9755    * Levels set on the record device or preview device must adhere to
9756    * min = 0.0, max = 1.0.  Levels set in software may be set to values
9757    * greater than 1.0 in order to boost low signals.  Caller may
9758    * specify that a particular channel gain level should be left alone
9759    * by setting the value to -1.0.  For instance, to set the gain of
9760    * channels 1, 2, and 3 to 0.5 on a 6 channel device, pass the
9761    * following array values in a SetProperty call: ( 0.5, 0.5, 0.5,
9762    * -1., -1., -1. ).
9763    }
9764 	kQTSGAudioPropertyID_PerChannelGain = FourCharCode('cgan'); { Data: C-style array of Float32's, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio, kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice              }
9765 
9766   {
9767    * kQTSGAudioPropertyID_GainScalarToDecibels: Both
9768    * kQTSGAudioPropertyID_MasterGain and
9769    * kQTSGAudioPropertyID_PerChannelGain properties express gain as a
9770    * scalar floating point value from 0.0 - 1.0 (for
9771    * kQTPropertyClass_SGAudioRecordDevice and
9772    * kQTPropertyClass_SGAudioPreviewDevice classes), and from 0.0 - 1.0
9773    * or greater (for kQTPropertyClass_SGAudio).  For UI purposes, it
9774    * may be useful to map the scalar gain value to a decibel value.
9775    * kQTSGAudioPropertyID_GainScalarToDecibels is a read-only property
9776    * that takes a Float32 scalar value and returns the corresponding
9777    * decibel value for that scalar value.  Note that this property uses
9778    * the outPropValueAddress parameter of QTGetComponentProperty for
9779    * both input and output.  This property is available in QT 7.1 and
9780    * later.
9781    }
9782 	kQTSGAudioPropertyID_GainScalarToDecibels = FourCharCode('gsdb'); { Data: Float32, R/W/L: Read, Class(es): kQTPropertyClass_SGAudio, kQTPropertyClass_SGAudioRecordDevice, kQTPropertyClass_SGAudioPreviewDevice}
9783 
9784   {
9785    * kQTSGAudioPropertyID_MixerCoefficients: If you wish to perform a
9786    * custom mix-down from the incoming record device channel valence
9787    * (discoverable using a combination of
9788    * kQTPropertyClass_SGAudioRecordDevice /
9789    * kQTSGAudioPropertyID_StreamFormat &
9790    * kQTPropertyClass_SGAudioRecordDevice /
9791    * kQTSGAudioPropertyID_ChannelMap) to a different output number of
9792    * channels
9793    * (kQTPropertyClass_SGAudio-kQTSGAudioPropertyID_StreamFormat), you
9794    * may specify your own set of mixer coefficients which will be set
9795    * as volume values at each crosspoint in SGAudioMediaType's internal
9796    * matrix mixer. The value you pass is a two-dimensional array of
9797    * Float32's where the first dimension (rows) is the input channel
9798    * and the second dimension (columns) is the output channel.  Each
9799    * Float32 value is the gain level to apply.
9800    }
9801 	kQTSGAudioPropertyID_MixerCoefficients = FourCharCode('mixc'); { Data: C-style array of Float32's, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio}
9802 
9803   {
9804    * kQTSGAudioPropertyID_Settings: This property takes supercedes the
9805    * SGGet/SetChannelSettings calls.  SGAudioMediaType channel accepts
9806    * old-style 'soun' SGChannel settings in a QTSetComponentProperty
9807    * call, but always produces new-style settings in a
9808    * QTGetComponentProperty call.
9809    }
9810 	kQTSGAudioPropertyID_Settings = FourCharCode('setu'); { Data: UserData, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9811 
9812   {
9813    * kQTSGAudioPropertyID_ChunkSize: Use this property to get/set the
9814    * number of seconds of audio that the SGAudioChannel should buffer
9815    * before writing.
9816    }
9817 	kQTSGAudioPropertyID_ChunkSize = FourCharCode('chnk'); { Data: Float32, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9818 
9819   {
9820    * kQTSGAudioPropertyID_SoftPreviewLatency: If previewing or playing
9821    * thru while recording (and
9822    * kQTSGAudioPropertyID_HardwarePlaythruEnabled is not in use), a
9823    * client may specify in seconds the amount of latency to introduce
9824    * before beginning playback. By default, soft preview latency is 0
9825    * seconds.  As soon as audio data arrives from the recording device,
9826    * it is eligible to be played out to the preview device.  This
9827    * property may be of use if software preview breaks up due to the
9828    * recording device not delivering samples fast enough for the
9829    * preview device.
9830    }
9831 	kQTSGAudioPropertyID_SoftPreviewLatency = FourCharCode('slat'); { Data: Float32, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9832 
9833   {
9834    * kQTSGAudioPropertyID_PreMixCallback: If you wish to receive a
9835    * callback when new audio samples become available from the
9836    * recording device (before they've been mixed down), set
9837    * kQTSGAudioPropertyID_PreMixCallback using an SGAudioCallbackStruct
9838    * containing a pointer to your SGAudioCallback function and a
9839    * refcon.  If you've previously registered a callback and no longer
9840    * wish to receive it, call QTSetComponentProperty again, this time
9841    * passing NULL for your inputProc and 0 for your inputRefCon.
9842    }
9843 	kQTSGAudioPropertyID_PreMixCallback = FourCharCode('_mxc'); { Data: SGAudioCallbackStruct, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9844 
9845   {
9846    * kQTSGAudioPropertyID_PreMixCallbackFormat: Call
9847    * QTGetComponentProperty with
9848    * kQTSGAudioPropertyID_PreMixCallbackFormat to discover the format
9849    * of the audio that will be received in your Pre-Mix
9850    * SGAudioCallback.  Note that the format may not be available until
9851    * you've called SGPrepare().
9852    }
9853 	kQTSGAudioPropertyID_PreMixCallbackFormat = FourCharCode('_mcf'); { Data: AudioStreamBasicDescription, R/W/L: Read, Class(es): kQTPropertyClass_SGAudio}
9854 
9855   {
9856    * kQTSGAudioPropertyID_PostMixCallback: If you wish to receive a
9857    * callback after audio samples have been mixed (the first step after
9858    * they are received from a recording device by SGAudioMediaType
9859    * channel), set kQTSGAudioPropertyID_PostMixCallback using an
9860    * SGAudioCallbackStruct containing a pointer to your SGAudioCallback
9861    * function and a refcon.  If you've previously registered a callback
9862    * and no longer wish to receive it, call QTSetComponentProperty
9863    * again, this time passing NULL for your inputProc and 0 for your
9864    * inputRefCon.
9865    }
9866 	kQTSGAudioPropertyID_PostMixCallback = FourCharCode('mx_c'); { Data: SGAudioCallbackStruct, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9867 
9868   {
9869    * kQTSGAudioPropertyID_PostMixCallbackFormat: Call
9870    * QTGetComponentProperty with
9871    * kQTSGAudioPropertyID_PostMixCallbackFormat to discover the format
9872    * of the audio that will be received in your Post-Mix
9873    * SGAudioCallback.  Note that the format may not be available until
9874    * you've called SGPrepare().
9875    }
9876 	kQTSGAudioPropertyID_PostMixCallbackFormat = FourCharCode('m_cf'); { Data: AudioStreamBasicDescription, R/W/L: Read, Class(es): kQTPropertyClass_SGAudio}
9877 
9878   {
9879    * kQTSGAudioPropertyID_PreConversionCallback: If you wish to receive
9880    * a callback just before audio samples are about to be sent through
9881    * an AudioConverter (for format conversion or compression), set
9882    * kQTSGAudioPropertyID_PreConversionCallback using an
9883    * SGAudioCallbackStruct containing a pointer to your SGAudioCallback
9884    * function and a refcon.  If you've previously registered a callback
9885    * and no longer wish to receive it, call QTSetComponentProperty
9886    * again, this time passing NULL for your inputProc and 0 for your
9887    * inputRefCon.
9888    }
9889 	kQTSGAudioPropertyID_PreConversionCallback = FourCharCode('_cvc'); { Data: SGAudioCallbackStruct, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9890 
9891   {
9892    * kQTSGAudioPropertyID_PreConversionCallbackFormat: Call
9893    * QTGetComponentProperty with
9894    * kQTSGAudioPropertyID_PreConversionCallbackFormat to discover the
9895    * format of the audio that will be received in your Pre-Conversion
9896    * SGAudioCallback.  Note that the format may not be available until
9897    * you've called SGPrepare().
9898    }
9899 	kQTSGAudioPropertyID_PreConversionCallbackFormat = FourCharCode('_ccf'); { Data: AudioStreamBasicDescription, R/W/L: Read, Class(es): kQTPropertyClass_SGAudio}
9900 
9901   {
9902    * kQTSGAudioPropertyID_PostConversionCallback: If you wish to
9903    * receive a callback right after audio samples have been sent
9904    * through an AudioConverter (for format conversion or compression),
9905    * set kQTSGAudioPropertyID_PostConversionCallback using an
9906    * SGAudioCallbackStruct containing a pointer to your SGAudioCallback
9907    * function and a refcon.  If you've previously registered a callback
9908    * and no longer wish to receive it, call QTSetComponentProperty
9909    * again, this time passing NULL for your inputProc and 0 for your
9910    * inputRefCon.
9911    }
9912 	kQTSGAudioPropertyID_PostConversionCallback = FourCharCode('cv_c'); { Data: SGAudioCallbackStruct, R/W/L: Read/Write, Class(es): kQTPropertyClass_SGAudio }
9913 
9914   {
9915    * kQTSGAudioPropertyID_PostConversionCallbackFormat: Call
9916    * QTGetComponentProperty with
9917    * kQTSGAudioPropertyID_PostConversionCallbackFormat to discover the
9918    * format of the audio that will be received in your Post-Conversion
9919    * SGAudioCallback.  Note that the format may not be available until
9920    * you've called SGPrepare().
9921    }
9922 	kQTSGAudioPropertyID_PostConversionCallbackFormat = FourCharCode('c_cf'); { Data: AudioStreamBasicDescription, R/W/L: Read, Class(es): kQTPropertyClass_SGAudio}
9923 
9924 
9925 { -----------------------------------------------------------------------------
9926 |                                                                               |
9927 |   SGAudioMediaType Channel - Device Attribute Keys                            |
9928 |                                                                               |
9929 |   These dictionary keys may be used to parse CFDictionaries returned by       |
9930 |   kQTSGAudioPropertyID_DeviceListWithAttributes &                             |
9931 |   kQTSGAudioPropertyID_DeviceAttributes                                       |
9932 |                                                                               |
9933  ------------------------------------------------------------------------------}
9934 
9935 {
9936  *  Summary:
9937  *    Device Attribute Key constants used by SGAudioChannel
9938  }
9939 const
9940 {
9941    * kQTAudioDeviceAttribute_DeviceUIDKey: value = CFStringRef. A
9942    * unique identifier for the device.
9943    }
9944 	kQTAudioDeviceAttribute_DeviceUIDKey = kQTSGAudioPropertyID_DeviceUID;
9945 
9946   {
9947    * kQTAudioDeviceAttribute_DeviceNameKey: value = CFStringRef.  The
9948    * device printable name (suitable for gui).
9949    }
9950 	kQTAudioDeviceAttribute_DeviceNameKey = FourCharCode('name');
9951 
9952   {
9953    * kQTAudioDeviceAttribute_DeviceManufacturerKey: value =
9954    * CFStringRef.  Device manufacturer printable name (suitable for
9955    * gui).
9956    }
9957 	kQTAudioDeviceAttribute_DeviceManufacturerKey = FourCharCode('manu');
9958 
9959   {
9960    * kQTAudioDeviceAttribute_DeviceTransportTypeKey: value =
9961    * CFNumberRef. Wraps an OSType (i.e. '1394' for fw, see
9962    * IOAudioTypes.h).
9963    }
9964 	kQTAudioDeviceAttribute_DeviceTransportTypeKey = FourCharCode('tran');
9965 
9966   {
9967    * kQTAudioDeviceAttribute_DeviceAliveKey: value = CFBooleanRef.
9968    * True if device is present.
9969    }
9970 	kQTAudioDeviceAttribute_DeviceAliveKey = kQTSGAudioPropertyID_DeviceAlive;
9971 
9972   {
9973    * kQTAudioDeviceAttribute_DeviceCanRecordKey: value = CFBooleanRef.
9974    * True if device can be used for recording (some can only do
9975    * playback)
9976    }
9977 	kQTAudioDeviceAttribute_DeviceCanRecordKey = FourCharCode('rec ');
9978 
9979   {
9980    * kQTAudioDeviceAttribute_DeviceCanPreviewKey: value = CFBooleanRef.
9981    *  True if device can be used to preview a grab.
9982    }
9983 	kQTAudioDeviceAttribute_DeviceCanPreviewKey = FourCharCode('prev');
9984 
9985   {
9986    * kQTAudioDeviceAttribute_DeviceHoggedKey: value = CFNumberRef.
9987    * CFNumber wraps the unique process ID that is hogging the device,
9988    * or -1 if the device is currently not being hogged.  Process id
9989    * comes from getpid().
9990    }
9991 	kQTAudioDeviceAttribute_DeviceHoggedKey = kQTSGAudioPropertyID_DeviceHogged;
9992 
9993   {
9994    * kQTAudioDeviceAttribute_DeviceInUseKey: value = CFBooleanRef.
9995    * True if someone is performing IO w/ the device (in any process).
9996    }
9997 	kQTAudioDeviceAttribute_DeviceInUseKey = kQTSGAudioPropertyID_DeviceInUse;
9998 
9999   {
10000    * kQTAudioDeviceAttribute_DeviceSupportsHardwarePlaythruKey: value =
10001    * CFBooleanRef.  True if the device supports hardware playthru of
10002    * inputs to outputs.
10003    }
10004 	kQTAudioDeviceAttribute_DeviceSupportsHardwarePlaythruKey = FourCharCode('hard');
10005 
10006   {
10007    * kQTAudioDeviceAttribute_InputSelectionKey: value = CFNumberRef.
10008    * CFNumber wraps an OSType (device may or may not have an input
10009    * selection)
10010    }
10011 	kQTAudioDeviceAttribute_InputSelectionKey = kQTSGAudioPropertyID_InputSelection;
10012 
10013   {
10014    * kQTAudioDeviceAttribute_InputListWithAttributesKey: value =
10015    * CFArrayRef.  Same as kQTSGAudioPropertyID_InputListWithAttributes.
10016    }
10017 	kQTAudioDeviceAttribute_InputListWithAttributesKey = kQTSGAudioPropertyID_InputListWithAttributes;
10018 	kQTAudioDeviceAttribute_OutputSelectionKey = kQTSGAudioPropertyID_OutputSelection;
10019 
10020   {
10021    * kQTAudioDeviceAttribute_OutputListWithAttributesKey: value =
10022    * CFArrayRef.  Same as kQTSGAudioPropertyID_OutputListWithAttributes.
10023    }
10024 	kQTAudioDeviceAttribute_OutputListWithAttributesKey = kQTSGAudioPropertyID_OutputListWithAttributes;
10025 
10026   {
10027    * kQTAudioDeviceAttribute_DefaultInputDeviceKey: value =
10028    * CFBooleanRef.  True if it's the user-selected default input in
10029    * AudioMidiSetup.
10030    }
10031 	kQTAudioDeviceAttribute_DefaultInputDeviceKey = FourCharCode('dIn ');
10032 
10033   {
10034    * kQTAudioDeviceAttribute_DefaultOutputDeviceKey: value =
10035    * CFBooleanRef.  True if it's the user-selected default output in
10036    * AudioMidiSetup.
10037    }
10038 	kQTAudioDeviceAttribute_DefaultOutputDeviceKey = FourCharCode('dOut');
10039 
10040   {
10041    * kQTAudioDeviceAttribute_DefaultSystemOutputDeviceKey: value =
10042    * CFBooleanRef.  True if it's the user-selected device where system
10043    * alerts plays.
10044    }
10045 	kQTAudioDeviceAttribute_DefaultSystemOutputDeviceKey = FourCharCode('sOut');
10046 
10047   {
10048    * kQTAudioDeviceAttribute_IsCoreAudioDeviceKey: value =
10049    * CFBooleanRef.  True if the device is a Core Audio device.
10050    }
10051 	kQTAudioDeviceAttribute_IsCoreAudioDeviceKey = FourCharCode('hal!');
10052 
10053 
10054 { -----------------------------------------------------------------------------
10055 |                                                                               |
10056 |   SGAudioMediaType Channel - Device Attribute Keys for Inputs & Outputs       |
10057 |                                                                               |
10058 |   These dictionary keys may be used to parse CFDictionaries returned by       |
10059 |   kQTSGAudioPropertyID_InputListWithAttributes &                              |
10060 |   kQTSGAudioPropertyID_OutputListWithAttributes.                              |
10061 |                                                                               |
10062  ------------------------------------------------------------------------------}
10063 
10064 {
10065  *  Summary:
10066  *    Device Attribute Key constants for Inputs and Outputs used by
10067  *    SGAudioChannel
10068  }
10069 const
10070 {
10071    * kQTAudioDeviceAttribute_DeviceInputID: value = CFNumberRef that
10072    * wraps an OSType.
10073    }
10074 	kQTAudioDeviceAttribute_DeviceInputID = FourCharCode('inID');
10075 
10076   {
10077    * kQTAudioDeviceAttribute_DeviceInputDescription: value =
10078    * CFStringRef containing a string suitable for ui display.
10079    }
10080 	kQTAudioDeviceAttribute_DeviceInputDescription = FourCharCode('inds');
10081 
10082   {
10083    * kQTAudioDeviceAttribute_DeviceOutputID: value = CFNumberRef that
10084    * wraps an OSType.
10085    }
10086 	kQTAudioDeviceAttribute_DeviceOutputID = FourCharCode('otID');
10087 
10088   {
10089    * kQTAudioDeviceAttribute_DeviceOutputDescription: value =
10090    * CFStringRef containing a string suitable for ui display.
10091    }
10092 	kQTAudioDeviceAttribute_DeviceOutputDescription = FourCharCode('otds');
10093 
10094 
10095 { -----------------------------------------------------------------------------
10096 |                                                                               |
10097 |   SG SETTINGS CODES USED BY SGAudioMediaType SGChannel                        |
10098 |                                                                               |
10099  ------------------------------------------------------------------------------}
10100 const
10101 	sgcAudioRecordDeviceSettingsAtom = kQTPropertyClass_SGAudioRecordDevice;
10102 	sgcAudioPreviewDeviceSettingsAtom = kQTPropertyClass_SGAudioPreviewDevice;
10103 	sgcAudioOutputSettingsAtom = kQTPropertyClass_SGAudio;
10104 	sgcAudioSettingsVersion = FourCharCode('vers');
10105 	sgcAudioDeviceUID = kQTAudioDeviceAttribute_DeviceUIDKey;
10106 	sgcAudioDeviceName = kQTAudioDeviceAttribute_DeviceNameKey;
10107 	sgcAudioStreamFormat = kQTSGAudioPropertyID_StreamFormat;
10108 	sgcAudioInputSelection = kQTSGAudioPropertyID_InputSelection;
10109 	sgcAudioOutputSelection = kQTSGAudioPropertyID_OutputSelection;
10110 	sgcAudioChannelMap = kQTSGAudioPropertyID_ChannelMap;
10111 	sgcAudioMasterGain = kQTSGAudioPropertyID_MasterGain;
10112 	sgcAudioPerChannelGain = kQTSGAudioPropertyID_PerChannelGain;
10113 	sgcAudioLevelMetersEnabled = kQTSGAudioPropertyID_LevelMetersEnabled;
10114 	sgcAudioChannelLayout = kQTSGAudioPropertyID_ChannelLayout;
10115 	sgcAudioCodecSpecificSettingsArray = kQTSGAudioPropertyID_CodecSpecificSettingsArray;
10116 	sgcAudioMagicCookie = kQTSGAudioPropertyID_MagicCookie;
10117 	sgcAudioHardwarePlaythruEnabled = kQTSGAudioPropertyID_HardwarePlaythruEnabled;
10118 	sgcAudioMixerCoefficients = kQTSGAudioPropertyID_MixerCoefficients;
10119 	sgcAudioChunkSize = kQTSGAudioPropertyID_ChunkSize;
10120 	sgcAudioSoftPreviewLatency = kQTSGAudioPropertyID_SoftPreviewLatency;
10121 
10122 { -----------------------------------------------------------------------------
10123 |                                                                               |
10124 |   SGAudioMediaType Channel Callback Declarations                              |
10125 |                                                                               |
10126  ------------------------------------------------------------------------------}
10127 
10128 type
10129 	SGAudioCallbackFlags = UInt32;
10130 
10131 {
10132  *  SGAudioCallback
10133  *
10134  *  Discussion:
10135  *    Clients define an SGAudioCallback to tap into an SGAudio channel,
10136  *    and gain access to its data at various point along the signal
10137  *    flow chain.  Clients should be aware that they may be called back
10138  *    on threads other than the thread on which they registered for the
10139  *    callback. They should do as little work as possible inside their
10140  *    callback, returning control as soon as possible to the calling
10141  *    SGAudio channel.
10142  *
10143  *  Parameters:
10144  *
10145  *    c:
10146  *      The SGChannel originating this callback
10147  *
10148  *    inRefCon:
10149  *      The refCon assigned by the client when filling out an
10150  *      SGAudioCallbackStruct
10151  *
10152  *    ioFlags:
10153  *      This flags field is currently unused.
10154  *
10155  *    inTimeStamp:
10156  *      The time stamp associated with the first sample passed in inData
10157  *
10158  *    inNumberPackets:
10159  *      The number of data packets (if dealing with LPCM formats,
10160  *      number of packets is the same as number of frames) held in
10161  *      inData.
10162  *
10163  *    inData:
10164  *      A bufferlist containing the requested sample data.
10165  *
10166  *    inPacketDescriptions:
10167  *      If the packets contained in inData are of variable size,
10168  *      inPacketDescriptions will contain an array of inNumberPackets
10169  *      packet descriptions.
10170  *
10171  *  Result:
10172  *    OSStatus Your SGAudioCallback function should return noErr.
10173  }
10174 type
cnull10175 	SGAudioCallback = function( c: SGChannel; inRefCon: UnivPtr; var ioFlags: SGAudioCallbackFlags; const (*var*) inTimeStamp: AudioTimeStamp; const (*var*) inNumberPackets: UInt32; const (*var*) inData: AudioBufferList; const (*var*) inPacketDescriptions: AudioStreamPacketDescription ): OSStatus;
10176 	SGAudioCallbackStructPtr = ^SGAudioCallbackStruct;
10177 	SGAudioCallbackStruct = record
10178 		inputProc: SGAudioCallback;
10179 		inputProcRefCon: UnivPtr;
10180 	end;
10181 {** Sequence Grab SOUND CHANNEL Component Stuff **}
10182 
10183 {
10184     Sound stuff
10185 }
10186 {
10187  *  SGSetSoundInputDriver()
10188  *
10189  *  Availability:
10190  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10191  *    CarbonLib:        in CarbonLib 1.0 and later
10192  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10193  *    Windows:          in qtmlClient.lib 3.0 and later
10194  }
SGSetSoundInputDrivernull10195 function SGSetSoundInputDriver( c: SGChannel; const (*var*) driverName: Str255 ): ComponentResult; external name '_SGSetSoundInputDriver';
10196 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10197 
10198 
10199 {
10200  *  SGGetSoundInputDriver()
10201  *
10202  *  Availability:
10203  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10204  *    CarbonLib:        in CarbonLib 1.0 and later
10205  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10206  *    Windows:          in qtmlClient.lib 3.0 and later
10207  }
SGGetSoundInputDrivernull10208 function SGGetSoundInputDriver( c: SGChannel ): SIGNEDLONG; external name '_SGGetSoundInputDriver';
10209 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10210 
10211 
10212 {
10213  *  SGSoundInputDriverChanged()
10214  *
10215  *  Availability:
10216  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10217  *    CarbonLib:        in CarbonLib 1.0 and later
10218  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10219  *    Windows:          in qtmlClient.lib 3.0 and later
10220  }
SGSoundInputDriverChangednull10221 function SGSoundInputDriverChanged( c: SGChannel ): ComponentResult; external name '_SGSoundInputDriverChanged';
10222 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10223 
10224 
10225 {
10226  *  SGSetSoundRecordChunkSize()
10227  *
10228  *  Availability:
10229  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10230  *    CarbonLib:        in CarbonLib 1.0 and later
10231  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10232  *    Windows:          in qtmlClient.lib 3.0 and later
10233  }
SGSetSoundRecordChunkSizenull10234 function SGSetSoundRecordChunkSize( c: SGChannel; seconds: SIGNEDLONG ): ComponentResult; external name '_SGSetSoundRecordChunkSize';
10235 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10236 
10237 
10238 {
10239  *  SGGetSoundRecordChunkSize()
10240  *
10241  *  Availability:
10242  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10243  *    CarbonLib:        in CarbonLib 1.0 and later
10244  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10245  *    Windows:          in qtmlClient.lib 3.0 and later
10246  }
SGGetSoundRecordChunkSizenull10247 function SGGetSoundRecordChunkSize( c: SGChannel ): SIGNEDLONG; external name '_SGGetSoundRecordChunkSize';
10248 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10249 
10250 
10251 {
10252  *  SGSetSoundInputRate()
10253  *
10254  *  Availability:
10255  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10256  *    CarbonLib:        in CarbonLib 1.0 and later
10257  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10258  *    Windows:          in qtmlClient.lib 3.0 and later
10259  }
SGSetSoundInputRatenull10260 function SGSetSoundInputRate( c: SGChannel; rate: Fixed ): ComponentResult; external name '_SGSetSoundInputRate';
10261 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10262 
10263 
10264 {
10265  *  SGGetSoundInputRate()
10266  *
10267  *  Availability:
10268  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10269  *    CarbonLib:        in CarbonLib 1.0 and later
10270  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10271  *    Windows:          in qtmlClient.lib 3.0 and later
10272  }
SGGetSoundInputRatenull10273 function SGGetSoundInputRate( c: SGChannel ): Fixed; external name '_SGGetSoundInputRate';
10274 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10275 
10276 
10277 {
10278  *  SGSetSoundInputParameters()
10279  *
10280  *  Availability:
10281  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10282  *    CarbonLib:        in CarbonLib 1.0 and later
10283  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10284  *    Windows:          in qtmlClient.lib 3.0 and later
10285  }
SGSetSoundInputParametersnull10286 function SGSetSoundInputParameters( c: SGChannel; sampleSize: SInt16; numChannels: SInt16; compressionType: OSType ): ComponentResult; external name '_SGSetSoundInputParameters';
10287 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10288 
10289 
10290 {
10291  *  SGGetSoundInputParameters()
10292  *
10293  *  Availability:
10294  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10295  *    CarbonLib:        in CarbonLib 1.0 and later
10296  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10297  *    Windows:          in qtmlClient.lib 3.0 and later
10298  }
SGGetSoundInputParametersnull10299 function SGGetSoundInputParameters( c: SGChannel; var sampleSize: SInt16; var numChannels: SInt16; var compressionType: OSType ): ComponentResult; external name '_SGGetSoundInputParameters';
10300 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10301 
10302 
10303 {
10304  *  SGSetAdditionalSoundRates()
10305  *
10306  *  Availability:
10307  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10308  *    CarbonLib:        in CarbonLib 1.0 and later
10309  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10310  *    Windows:          in qtmlClient.lib 3.0 and later
10311  }
SGSetAdditionalSoundRatesnull10312 function SGSetAdditionalSoundRates( c: SGChannel; rates: Handle ): ComponentResult; external name '_SGSetAdditionalSoundRates';
10313 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10314 
10315 
10316 {
10317  *  SGGetAdditionalSoundRates()
10318  *
10319  *  Availability:
10320  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10321  *    CarbonLib:        in CarbonLib 1.0 and later
10322  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10323  *    Windows:          in qtmlClient.lib 3.0 and later
10324  }
SGGetAdditionalSoundRatesnull10325 function SGGetAdditionalSoundRates( c: SGChannel; var rates: Handle ): ComponentResult; external name '_SGGetAdditionalSoundRates';
10326 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10327 
10328 
10329 {
10330     Text stuff
10331 }
10332 {
10333  *  SGSetFontName()
10334  *
10335  *  Availability:
10336  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10337  *    CarbonLib:        in CarbonLib 1.0 and later
10338  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10339  *    Windows:          in qtmlClient.lib 3.0 and later
10340  }
SGSetFontNamenull10341 function SGSetFontName( c: SGChannel; pstr: StringPtr ): ComponentResult; external name '_SGSetFontName';
10342 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10343 
10344 
10345 {
10346  *  SGSetFontSize()
10347  *
10348  *  Availability:
10349  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10350  *    CarbonLib:        in CarbonLib 1.0 and later
10351  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10352  *    Windows:          in qtmlClient.lib 3.0 and later
10353  }
SGSetFontSizenull10354 function SGSetFontSize( c: SGChannel; fontSize: SInt16 ): ComponentResult; external name '_SGSetFontSize';
10355 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10356 
10357 
10358 {
10359  *  SGSetTextForeColor()
10360  *
10361  *  Availability:
10362  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10363  *    CarbonLib:        in CarbonLib 1.0 and later
10364  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10365  *    Windows:          in qtmlClient.lib 3.0 and later
10366  }
SGSetTextForeColornull10367 function SGSetTextForeColor( c: SGChannel; var theColor: RGBColor ): ComponentResult; external name '_SGSetTextForeColor';
10368 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10369 
10370 
10371 {
10372  *  SGSetTextBackColor()
10373  *
10374  *  Availability:
10375  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10376  *    CarbonLib:        in CarbonLib 1.0 and later
10377  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10378  *    Windows:          in qtmlClient.lib 3.0 and later
10379  }
SGSetTextBackColornull10380 function SGSetTextBackColor( c: SGChannel; var theColor: RGBColor ): ComponentResult; external name '_SGSetTextBackColor';
10381 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10382 
10383 
10384 {
10385  *  SGSetJustification()
10386  *
10387  *  Availability:
10388  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10389  *    CarbonLib:        in CarbonLib 1.0 and later
10390  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10391  *    Windows:          in qtmlClient.lib 3.0 and later
10392  }
SGSetJustificationnull10393 function SGSetJustification( c: SGChannel; just: SInt16 ): ComponentResult; external name '_SGSetJustification';
10394 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10395 
10396 
10397 {
10398  *  SGGetTextReturnToSpaceValue()
10399  *
10400  *  Availability:
10401  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10402  *    CarbonLib:        in CarbonLib 1.0 and later
10403  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10404  *    Windows:          in qtmlClient.lib 3.0 and later
10405  }
SGGetTextReturnToSpaceValuenull10406 function SGGetTextReturnToSpaceValue( c: SGChannel; var rettospace: SInt16 ): ComponentResult; external name '_SGGetTextReturnToSpaceValue';
10407 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10408 
10409 
10410 {
10411  *  SGSetTextReturnToSpaceValue()
10412  *
10413  *  Availability:
10414  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10415  *    CarbonLib:        in CarbonLib 1.0 and later
10416  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10417  *    Windows:          in qtmlClient.lib 3.0 and later
10418  }
SGSetTextReturnToSpaceValuenull10419 function SGSetTextReturnToSpaceValue( c: SGChannel; rettospace: SInt16 ): ComponentResult; external name '_SGSetTextReturnToSpaceValue';
10420 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10421 
10422 
10423 {
10424     Music stuff
10425 }
10426 {
10427  *  SGGetInstrument()
10428  *
10429  *  Availability:
10430  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10431  *    CarbonLib:        in CarbonLib 1.0 and later
10432  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10433  *    Windows:          in qtmlClient.lib 3.0 and later
10434  }
SGGetInstrumentnull10435 function SGGetInstrument( c: SGChannel; var td: ToneDescription ): ComponentResult; external name '_SGGetInstrument';
10436 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10437 
10438 
10439 {
10440  *  SGSetInstrument()
10441  *
10442  *  Availability:
10443  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10444  *    CarbonLib:        in CarbonLib 1.0 and later
10445  *    Non-Carbon CFM:   in QuickTimeLib 2.5 and later
10446  *    Windows:          in qtmlClient.lib 3.0 and later
10447  }
SGSetInstrumentnull10448 function SGSetInstrument( c: SGChannel; var td: ToneDescription ): ComponentResult; external name '_SGSetInstrument';
10449 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10450 
10451 
10452 const
10453 	sgChannelAtom = FourCharCode('chan');
10454 	sgChannelSettingsAtom = FourCharCode('ctom');
10455 	sgChannelDescription = FourCharCode('cdsc');
10456 	sgChannelSettings = FourCharCode('cset');
10457 
10458 const
10459 	sgDeviceNameType = FourCharCode('name');
10460 	sgDeviceDisplayNameType = FourCharCode('dnam');
10461 	sgDeviceUIDType = FourCharCode('duid');
10462 	sgInputUIDType = FourCharCode('iuid');
10463 	sgUsageType = FourCharCode('use ');
10464 	sgPlayFlagsType = FourCharCode('plyf');
10465 	sgClipType = FourCharCode('clip');
10466 	sgMatrixType = FourCharCode('mtrx');
10467 	sgVolumeType = FourCharCode('volu');
10468 
10469 const
10470 	sgPanelSettingsAtom = FourCharCode('ptom');
10471 	sgPanelDescription = FourCharCode('pdsc');
10472 	sgPanelSettings = FourCharCode('pset');
10473 
10474 const
10475 	sgcSoundCompressionType = FourCharCode('scmp');
10476 	sgcSoundCodecSettingsType = FourCharCode('cdec');
10477 	sgcSoundSampleRateType = FourCharCode('srat');
10478 	sgcSoundChannelCountType = FourCharCode('schn');
10479 	sgcSoundSampleSizeType = FourCharCode('ssiz');
10480 	sgcSoundInputType = FourCharCode('sinp');
10481 	sgcSoundGainType = FourCharCode('gain');
10482 
10483 const
10484 	sgcVideoHueType = FourCharCode('hue ');
10485 	sgcVideoSaturationType = FourCharCode('satr');
10486 	sgcVideoContrastType = FourCharCode('trst');
10487 	sgcVideoSharpnessType = FourCharCode('shrp');
10488 	sgcVideoBrigtnessType = FourCharCode('brit');
10489 	sgcVideoBlackLevelType = FourCharCode('blkl');
10490 	sgcVideoWhiteLevelType = FourCharCode('whtl');
10491 	sgcVideoInputType = FourCharCode('vinp');
10492 	sgcVideoFormatType = FourCharCode('vstd');
10493 	sgcVideoFilterType = FourCharCode('vflt');
10494 	sgcVideoRectType = FourCharCode('vrct');
10495 	sgcVideoDigitizerType = FourCharCode('vdig');
10496 
10497 
10498 type
10499 	QTVideoOutputComponent = ComponentInstance;
10500 { Component type and subtype enumerations}
10501 const
10502 	QTVideoOutputComponentType = FourCharCode('vout');
10503 	QTVideoOutputComponentBaseSubType = FourCharCode('base');
10504 
10505 
10506 { QTVideoOutput Component flags}
10507 
10508 const
10509 	kQTVideoOutputDontDisplayToUser = 1 shl 0;
10510 
10511 { Display mode atom types}
10512 
10513 const
10514 	kQTVODisplayModeItem = FourCharCode('qdmi');
10515 	kQTVODimensions = FourCharCode('dimn'); { atom contains two longs - pixel count - width, height}
10516 	kQTVOResolution = FourCharCode('resl'); { atom contains two Fixed - hRes, vRes in dpi}
10517 	kQTVORefreshRate = FourCharCode('refr'); { atom contains one Fixed - refresh rate in Hz}
10518 	kQTVOPixelType = FourCharCode('pixl'); { atom contains one OSType - pixel format of mode}
10519 	kQTVOName = FourCharCode('name'); { atom contains string (no length byte) - name of mode for display to user}
10520 	kQTVODecompressors = FourCharCode('deco'); { atom contains other atoms indicating supported decompressors}
10521                                         { kQTVODecompressors sub-atoms}
10522 	kQTVODecompressorType = FourCharCode('dety'); { atom contains one OSType - decompressor type code}
10523 	kQTVODecompressorContinuous = FourCharCode('cont'); { atom contains one Boolean - true if this type is displayed continuously}
10524 	kQTVODecompressorComponent = FourCharCode('cmpt'); { atom contains one Component - component id of decompressor}
10525 
10526 {* These are QTVideoOutput procedures *}
10527 {
10528  *  QTVideoOutputGetDisplayModeList()
10529  *
10530  *  Availability:
10531  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10532  *    CarbonLib:        in CarbonLib 1.0 and later
10533  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10534  *    Windows:          in qtmlClient.lib 3.0 and later
10535  }
QTVideoOutputGetDisplayModeListnull10536 function QTVideoOutputGetDisplayModeList( vo: QTVideoOutputComponent; var outputs: QTAtomContainer ): ComponentResult; external name '_QTVideoOutputGetDisplayModeList';
10537 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10538 
10539 
10540 {
10541  *  QTVideoOutputGetCurrentClientName()
10542  *
10543  *  Availability:
10544  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10545  *    CarbonLib:        in CarbonLib 1.0 and later
10546  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10547  *    Windows:          in qtmlClient.lib 3.0 and later
10548  }
QTVideoOutputGetCurrentClientNamenull10549 function QTVideoOutputGetCurrentClientName( vo: QTVideoOutputComponent; var str: Str255 ): ComponentResult; external name '_QTVideoOutputGetCurrentClientName';
10550 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10551 
10552 
10553 {
10554  *  QTVideoOutputSetClientName()
10555  *
10556  *  Availability:
10557  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10558  *    CarbonLib:        in CarbonLib 1.0 and later
10559  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10560  *    Windows:          in qtmlClient.lib 3.0 and later
10561  }
QTVideoOutputSetClientNamenull10562 function QTVideoOutputSetClientName( vo: QTVideoOutputComponent; const (*var*) str: Str255 ): ComponentResult; external name '_QTVideoOutputSetClientName';
10563 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10564 
10565 
10566 {
10567  *  QTVideoOutputGetClientName()
10568  *
10569  *  Availability:
10570  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10571  *    CarbonLib:        in CarbonLib 1.0 and later
10572  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10573  *    Windows:          in qtmlClient.lib 3.0 and later
10574  }
QTVideoOutputGetClientNamenull10575 function QTVideoOutputGetClientName( vo: QTVideoOutputComponent; var str: Str255 ): ComponentResult; external name '_QTVideoOutputGetClientName';
10576 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10577 
10578 
10579 {
10580  *  QTVideoOutputBegin()
10581  *
10582  *  Availability:
10583  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10584  *    CarbonLib:        in CarbonLib 1.0 and later
10585  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10586  *    Windows:          in qtmlClient.lib 3.0 and later
10587  }
QTVideoOutputBeginnull10588 function QTVideoOutputBegin( vo: QTVideoOutputComponent ): ComponentResult; external name '_QTVideoOutputBegin';
10589 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10590 
10591 
10592 {
10593  *  QTVideoOutputEnd()
10594  *
10595  *  Availability:
10596  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10597  *    CarbonLib:        in CarbonLib 1.0 and later
10598  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10599  *    Windows:          in qtmlClient.lib 3.0 and later
10600  }
QTVideoOutputEndnull10601 function QTVideoOutputEnd( vo: QTVideoOutputComponent ): ComponentResult; external name '_QTVideoOutputEnd';
10602 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10603 
10604 
10605 {
10606  *  QTVideoOutputSetDisplayMode()
10607  *
10608  *  Availability:
10609  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10610  *    CarbonLib:        in CarbonLib 1.0 and later
10611  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10612  *    Windows:          in qtmlClient.lib 3.0 and later
10613  }
QTVideoOutputSetDisplayModenull10614 function QTVideoOutputSetDisplayMode( vo: QTVideoOutputComponent; displayModeID: SIGNEDLONG ): ComponentResult; external name '_QTVideoOutputSetDisplayMode';
10615 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10616 
10617 
10618 {
10619  *  QTVideoOutputGetDisplayMode()
10620  *
10621  *  Availability:
10622  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10623  *    CarbonLib:        in CarbonLib 1.0 and later
10624  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10625  *    Windows:          in qtmlClient.lib 3.0 and later
10626  }
QTVideoOutputGetDisplayModenull10627 function QTVideoOutputGetDisplayMode( vo: QTVideoOutputComponent; var displayModeID: SIGNEDLONG ): ComponentResult; external name '_QTVideoOutputGetDisplayMode';
10628 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10629 
10630 
10631 {
10632  *  QTVideoOutputCustomConfigureDisplay()
10633  *
10634  *  Availability:
10635  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10636  *    CarbonLib:        in CarbonLib 1.0 and later
10637  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10638  *    Windows:          in qtmlClient.lib 3.0 and later
10639  }
QTVideoOutputCustomConfigureDisplaynull10640 function QTVideoOutputCustomConfigureDisplay( vo: QTVideoOutputComponent; filter: ModalFilterUPP ): ComponentResult; external name '_QTVideoOutputCustomConfigureDisplay';
10641 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10642 
10643 
10644 {
10645  *  QTVideoOutputSaveState()
10646  *
10647  *  Availability:
10648  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10649  *    CarbonLib:        in CarbonLib 1.0 and later
10650  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10651  *    Windows:          in qtmlClient.lib 3.0 and later
10652  }
QTVideoOutputSaveStatenull10653 function QTVideoOutputSaveState( vo: QTVideoOutputComponent; var state: QTAtomContainer ): ComponentResult; external name '_QTVideoOutputSaveState';
10654 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10655 
10656 
10657 {
10658  *  QTVideoOutputRestoreState()
10659  *
10660  *  Availability:
10661  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10662  *    CarbonLib:        in CarbonLib 1.0 and later
10663  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10664  *    Windows:          in qtmlClient.lib 3.0 and later
10665  }
QTVideoOutputRestoreStatenull10666 function QTVideoOutputRestoreState( vo: QTVideoOutputComponent; state: QTAtomContainer ): ComponentResult; external name '_QTVideoOutputRestoreState';
10667 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10668 
10669 
10670 {
10671  *  QTVideoOutputGetGWorld()
10672  *
10673  *  Availability:
10674  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10675  *    CarbonLib:        in CarbonLib 1.0 and later
10676  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10677  *    Windows:          in qtmlClient.lib 3.0 and later
10678  }
QTVideoOutputGetGWorldnull10679 function QTVideoOutputGetGWorld( vo: QTVideoOutputComponent; var gw: GWorldPtr ): ComponentResult; external name '_QTVideoOutputGetGWorld';
10680 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10681 
10682 
10683 {
10684  *  QTVideoOutputGetGWorldParameters()
10685  *
10686  *  Availability:
10687  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10688  *    CarbonLib:        in CarbonLib 1.0 and later
10689  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10690  *    Windows:          in qtmlClient.lib 3.0 and later
10691  }
QTVideoOutputGetGWorldParametersnull10692 function QTVideoOutputGetGWorldParameters( vo: QTVideoOutputComponent; var baseAddr: Ptr; var rowBytes: SIGNEDLONG; var colorTable: CTabHandle ): ComponentResult; external name '_QTVideoOutputGetGWorldParameters';
10693 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10694 
10695 
10696 {
10697  *  QTVideoOutputGetIndSoundOutput()
10698  *
10699  *  Availability:
10700  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10701  *    CarbonLib:        in CarbonLib 1.0 and later
10702  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10703  *    Windows:          in qtmlClient.lib 3.0 and later
10704  }
QTVideoOutputGetIndSoundOutputnull10705 function QTVideoOutputGetIndSoundOutput( vo: QTVideoOutputComponent; index: SIGNEDLONG; var outputComponent: Component ): ComponentResult; external name '_QTVideoOutputGetIndSoundOutput';
10706 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10707 
10708 
10709 {
10710  *  QTVideoOutputGetClock()
10711  *
10712  *  Availability:
10713  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10714  *    CarbonLib:        in CarbonLib 1.0 and later
10715  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10716  *    Windows:          in qtmlClient.lib 3.0 and later
10717  }
QTVideoOutputGetClocknull10718 function QTVideoOutputGetClock( vo: QTVideoOutputComponent; var clock: ComponentInstance ): ComponentResult; external name '_QTVideoOutputGetClock';
10719 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10720 
10721 
10722 {
10723  *  QTVideoOutputSetEchoPort()
10724  *
10725  *  Availability:
10726  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10727  *    CarbonLib:        in CarbonLib 1.0 and later
10728  *    Non-Carbon CFM:   in QuickTimeLib 3.0 and later
10729  *    Windows:          in qtmlClient.lib 3.0 and later
10730  }
QTVideoOutputSetEchoPortnull10731 function QTVideoOutputSetEchoPort( vo: QTVideoOutputComponent; echoPort: CGrafPtr ): ComponentResult; external name '_QTVideoOutputSetEchoPort';
10732 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10733 
10734 
10735 {
10736  *  QTVideoOutputGetIndImageDecompressor()
10737  *
10738  *  Availability:
10739  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10740  *    CarbonLib:        in CarbonLib 1.3 and later
10741  *    Non-Carbon CFM:   in QuickTimeLib 5.0 and later
10742  *    Windows:          in qtmlClient.lib 5.0 and later
10743  }
QTVideoOutputGetIndImageDecompressornull10744 function QTVideoOutputGetIndImageDecompressor( vo: QTVideoOutputComponent; index: SIGNEDLONG; var codec: Component ): ComponentResult; external name '_QTVideoOutputGetIndImageDecompressor';
10745 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10746 
10747 
10748 {
10749  *  QTVideoOutputBaseSetEchoPort()
10750  *
10751  *  Availability:
10752  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
10753  *    CarbonLib:        in CarbonLib 1.6 and later
10754  *    Non-Carbon CFM:   in QuickTimeLib 6.0 and later
10755  *    Windows:          in qtmlClient.lib 6.0 and later
10756  }
QTVideoOutputBaseSetEchoPortnull10757 function QTVideoOutputBaseSetEchoPort( vo: QTVideoOutputComponent; echoPort: CGrafPtr ): ComponentResult; external name '_QTVideoOutputBaseSetEchoPort';
10758 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
10759 
10760 
10761 {
10762  *  QTVideoOutputCopyIndAudioOutputDeviceUID()
10763  *
10764  *  Availability:
10765  *    Mac OS X:         in version 10.3 (or QuickTime 6.4) and later in QuickTime.framework
10766  *    CarbonLib:        not available
10767  *    Non-Carbon CFM:   not available
10768  *    Windows:          in qtmlClient.lib 6.5 and later
10769  }
QTVideoOutputCopyIndAudioOutputDeviceUIDnull10770 function QTVideoOutputCopyIndAudioOutputDeviceUID( vo: QTVideoOutputComponent; index: SIGNEDLONG; var audioDeviceUID: CFStringRef ): ComponentResult; external name '_QTVideoOutputCopyIndAudioOutputDeviceUID';
10771 (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
10772 
10773 
10774 { UPP call backs }
10775 {
10776  *  NewDataHCompletionUPP()
10777  *
10778  *  Availability:
10779  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10780  *    CarbonLib:        in CarbonLib 1.0 and later
10781  *    Non-Carbon CFM:   available as macro/inline
10782  }
NewDataHCompletionUPPnull10783 function NewDataHCompletionUPP( userRoutine: DataHCompletionProcPtr ): DataHCompletionUPP; external name '_NewDataHCompletionUPP';
10784 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10785 
10786 {
10787  *  NewVdigIntUPP()
10788  *
10789  *  Availability:
10790  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10791  *    CarbonLib:        in CarbonLib 1.0 and later
10792  *    Non-Carbon CFM:   available as macro/inline
10793  }
NewVdigIntUPPnull10794 function NewVdigIntUPP( userRoutine: VdigIntProcPtr ): VdigIntUPP; external name '_NewVdigIntUPP';
10795 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10796 
10797 {
10798  *  NewStartDocumentHandlerUPP()
10799  *
10800  *  Availability:
10801  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10802  *    CarbonLib:        in CarbonLib 1.3 and later
10803  *    Non-Carbon CFM:   available as macro/inline
10804  }
NewStartDocumentHandlerUPPnull10805 function NewStartDocumentHandlerUPP( userRoutine: StartDocumentHandler ): StartDocumentHandlerUPP; external name '_NewStartDocumentHandlerUPP';
10806 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10807 
10808 {
10809  *  NewEndDocumentHandlerUPP()
10810  *
10811  *  Availability:
10812  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10813  *    CarbonLib:        in CarbonLib 1.3 and later
10814  *    Non-Carbon CFM:   available as macro/inline
10815  }
NewEndDocumentHandlerUPPnull10816 function NewEndDocumentHandlerUPP( userRoutine: EndDocumentHandler ): EndDocumentHandlerUPP; external name '_NewEndDocumentHandlerUPP';
10817 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10818 
10819 {
10820  *  NewStartElementHandlerUPP()
10821  *
10822  *  Availability:
10823  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10824  *    CarbonLib:        in CarbonLib 1.3 and later
10825  *    Non-Carbon CFM:   available as macro/inline
10826  }
NewStartElementHandlerUPPnull10827 function NewStartElementHandlerUPP( userRoutine: StartElementHandler ): StartElementHandlerUPP; external name '_NewStartElementHandlerUPP';
10828 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10829 
10830 {
10831  *  NewEndElementHandlerUPP()
10832  *
10833  *  Availability:
10834  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10835  *    CarbonLib:        in CarbonLib 1.3 and later
10836  *    Non-Carbon CFM:   available as macro/inline
10837  }
NewEndElementHandlerUPPnull10838 function NewEndElementHandlerUPP( userRoutine: EndElementHandler ): EndElementHandlerUPP; external name '_NewEndElementHandlerUPP';
10839 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10840 
10841 {
10842  *  NewCharDataHandlerUPP()
10843  *
10844  *  Availability:
10845  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10846  *    CarbonLib:        in CarbonLib 1.3 and later
10847  *    Non-Carbon CFM:   available as macro/inline
10848  }
NewCharDataHandlerUPPnull10849 function NewCharDataHandlerUPP( userRoutine: CharDataHandler ): CharDataHandlerUPP; external name '_NewCharDataHandlerUPP';
10850 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10851 
10852 {
10853  *  NewPreprocessInstructionHandlerUPP()
10854  *
10855  *  Availability:
10856  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10857  *    CarbonLib:        in CarbonLib 1.3 and later
10858  *    Non-Carbon CFM:   available as macro/inline
10859  }
NewPreprocessInstructionHandlerUPPnull10860 function NewPreprocessInstructionHandlerUPP( userRoutine: PreprocessInstructionHandler ): PreprocessInstructionHandlerUPP; external name '_NewPreprocessInstructionHandlerUPP';
10861 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10862 
10863 {
10864  *  NewCommentHandlerUPP()
10865  *
10866  *  Availability:
10867  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10868  *    CarbonLib:        in CarbonLib 1.3 and later
10869  *    Non-Carbon CFM:   available as macro/inline
10870  }
NewCommentHandlerUPPnull10871 function NewCommentHandlerUPP( userRoutine: CommentHandler ): CommentHandlerUPP; external name '_NewCommentHandlerUPP';
10872 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10873 
10874 {
10875  *  NewCDataHandlerUPP()
10876  *
10877  *  Availability:
10878  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
10879  *    CarbonLib:        in CarbonLib 1.6 and later
10880  *    Non-Carbon CFM:   available as macro/inline
10881  }
NewCDataHandlerUPPnull10882 function NewCDataHandlerUPP( userRoutine: CDataHandler ): CDataHandlerUPP; external name '_NewCDataHandlerUPP';
10883 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
10884 
10885 {
10886  *  NewSGDataUPP()
10887  *
10888  *  Availability:
10889  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10890  *    CarbonLib:        in CarbonLib 1.0 and later
10891  *    Non-Carbon CFM:   available as macro/inline
10892  }
NewSGDataUPPnull10893 function NewSGDataUPP( userRoutine: SGDataProcPtr ): SGDataUPP; external name '_NewSGDataUPP';
10894 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10895 
10896 {
10897  *  NewSGModalFilterUPP()
10898  *
10899  *  Availability:
10900  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10901  *    CarbonLib:        in CarbonLib 1.0 and later
10902  *    Non-Carbon CFM:   available as macro/inline
10903  }
NewSGModalFilterUPPnull10904 function NewSGModalFilterUPP( userRoutine: SGModalFilterProcPtr ): SGModalFilterUPP; external name '_NewSGModalFilterUPP';
10905 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10906 
10907 {
10908  *  NewSGGrabBottleUPP()
10909  *
10910  *  Availability:
10911  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10912  *    CarbonLib:        in CarbonLib 1.0 and later
10913  *    Non-Carbon CFM:   available as macro/inline
10914  }
NewSGGrabBottleUPPnull10915 function NewSGGrabBottleUPP( userRoutine: SGGrabBottleProcPtr ): SGGrabBottleUPP; external name '_NewSGGrabBottleUPP';
10916 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10917 
10918 {
10919  *  NewSGGrabCompleteBottleUPP()
10920  *
10921  *  Availability:
10922  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10923  *    CarbonLib:        in CarbonLib 1.0 and later
10924  *    Non-Carbon CFM:   available as macro/inline
10925  }
NewSGGrabCompleteBottleUPPnull10926 function NewSGGrabCompleteBottleUPP( userRoutine: SGGrabCompleteBottleProcPtr ): SGGrabCompleteBottleUPP; external name '_NewSGGrabCompleteBottleUPP';
10927 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10928 
10929 {
10930  *  NewSGDisplayBottleUPP()
10931  *
10932  *  Availability:
10933  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10934  *    CarbonLib:        in CarbonLib 1.0 and later
10935  *    Non-Carbon CFM:   available as macro/inline
10936  }
NewSGDisplayBottleUPPnull10937 function NewSGDisplayBottleUPP( userRoutine: SGDisplayBottleProcPtr ): SGDisplayBottleUPP; external name '_NewSGDisplayBottleUPP';
10938 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10939 
10940 {
10941  *  NewSGCompressBottleUPP()
10942  *
10943  *  Availability:
10944  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10945  *    CarbonLib:        in CarbonLib 1.0 and later
10946  *    Non-Carbon CFM:   available as macro/inline
10947  }
NewSGCompressBottleUPPnull10948 function NewSGCompressBottleUPP( userRoutine: SGCompressBottleProcPtr ): SGCompressBottleUPP; external name '_NewSGCompressBottleUPP';
10949 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10950 
10951 {
10952  *  NewSGCompressCompleteBottleUPP()
10953  *
10954  *  Availability:
10955  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10956  *    CarbonLib:        in CarbonLib 1.0 and later
10957  *    Non-Carbon CFM:   available as macro/inline
10958  }
NewSGCompressCompleteBottleUPPnull10959 function NewSGCompressCompleteBottleUPP( userRoutine: SGCompressCompleteBottleProcPtr ): SGCompressCompleteBottleUPP; external name '_NewSGCompressCompleteBottleUPP';
10960 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10961 
10962 {
10963  *  NewSGAddFrameBottleUPP()
10964  *
10965  *  Availability:
10966  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10967  *    CarbonLib:        in CarbonLib 1.0 and later
10968  *    Non-Carbon CFM:   available as macro/inline
10969  }
NewSGAddFrameBottleUPPnull10970 function NewSGAddFrameBottleUPP( userRoutine: SGAddFrameBottleProcPtr ): SGAddFrameBottleUPP; external name '_NewSGAddFrameBottleUPP';
10971 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10972 
10973 {
10974  *  NewSGTransferFrameBottleUPP()
10975  *
10976  *  Availability:
10977  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10978  *    CarbonLib:        in CarbonLib 1.0 and later
10979  *    Non-Carbon CFM:   available as macro/inline
10980  }
NewSGTransferFrameBottleUPPnull10981 function NewSGTransferFrameBottleUPP( userRoutine: SGTransferFrameBottleProcPtr ): SGTransferFrameBottleUPP; external name '_NewSGTransferFrameBottleUPP';
10982 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10983 
10984 {
10985  *  NewSGGrabCompressCompleteBottleUPP()
10986  *
10987  *  Availability:
10988  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
10989  *    CarbonLib:        in CarbonLib 1.0 and later
10990  *    Non-Carbon CFM:   available as macro/inline
10991  }
NewSGGrabCompressCompleteBottleUPPnull10992 function NewSGGrabCompressCompleteBottleUPP( userRoutine: SGGrabCompressCompleteBottleProcPtr ): SGGrabCompressCompleteBottleUPP; external name '_NewSGGrabCompressCompleteBottleUPP';
10993 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
10994 
10995 {
10996  *  NewSGDisplayCompressBottleUPP()
10997  *
10998  *  Availability:
10999  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11000  *    CarbonLib:        in CarbonLib 1.0 and later
11001  *    Non-Carbon CFM:   available as macro/inline
11002  }
NewSGDisplayCompressBottleUPPnull11003 function NewSGDisplayCompressBottleUPP( userRoutine: SGDisplayCompressBottleProcPtr ): SGDisplayCompressBottleUPP; external name '_NewSGDisplayCompressBottleUPP';
11004 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11005 
11006 {
11007  *  DisposeDataHCompletionUPP()
11008  *
11009  *  Availability:
11010  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11011  *    CarbonLib:        in CarbonLib 1.0 and later
11012  *    Non-Carbon CFM:   available as macro/inline
11013  }
11014 procedure DisposeDataHCompletionUPP( userUPP: DataHCompletionUPP ); external name '_DisposeDataHCompletionUPP';
11015 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11016 
11017 {
11018  *  DisposeVdigIntUPP()
11019  *
11020  *  Availability:
11021  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11022  *    CarbonLib:        in CarbonLib 1.0 and later
11023  *    Non-Carbon CFM:   available as macro/inline
11024  }
11025 procedure DisposeVdigIntUPP( userUPP: VdigIntUPP ); external name '_DisposeVdigIntUPP';
11026 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11027 
11028 {
11029  *  DisposeStartDocumentHandlerUPP()
11030  *
11031  *  Availability:
11032  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11033  *    CarbonLib:        in CarbonLib 1.3 and later
11034  *    Non-Carbon CFM:   available as macro/inline
11035  }
11036 procedure DisposeStartDocumentHandlerUPP( userUPP: StartDocumentHandlerUPP ); external name '_DisposeStartDocumentHandlerUPP';
11037 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11038 
11039 {
11040  *  DisposeEndDocumentHandlerUPP()
11041  *
11042  *  Availability:
11043  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11044  *    CarbonLib:        in CarbonLib 1.3 and later
11045  *    Non-Carbon CFM:   available as macro/inline
11046  }
11047 procedure DisposeEndDocumentHandlerUPP( userUPP: EndDocumentHandlerUPP ); external name '_DisposeEndDocumentHandlerUPP';
11048 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11049 
11050 {
11051  *  DisposeStartElementHandlerUPP()
11052  *
11053  *  Availability:
11054  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11055  *    CarbonLib:        in CarbonLib 1.3 and later
11056  *    Non-Carbon CFM:   available as macro/inline
11057  }
11058 procedure DisposeStartElementHandlerUPP( userUPP: StartElementHandlerUPP ); external name '_DisposeStartElementHandlerUPP';
11059 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11060 
11061 {
11062  *  DisposeEndElementHandlerUPP()
11063  *
11064  *  Availability:
11065  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11066  *    CarbonLib:        in CarbonLib 1.3 and later
11067  *    Non-Carbon CFM:   available as macro/inline
11068  }
11069 procedure DisposeEndElementHandlerUPP( userUPP: EndElementHandlerUPP ); external name '_DisposeEndElementHandlerUPP';
11070 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11071 
11072 {
11073  *  DisposeCharDataHandlerUPP()
11074  *
11075  *  Availability:
11076  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11077  *    CarbonLib:        in CarbonLib 1.3 and later
11078  *    Non-Carbon CFM:   available as macro/inline
11079  }
11080 procedure DisposeCharDataHandlerUPP( userUPP: CharDataHandlerUPP ); external name '_DisposeCharDataHandlerUPP';
11081 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11082 
11083 {
11084  *  DisposePreprocessInstructionHandlerUPP()
11085  *
11086  *  Availability:
11087  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11088  *    CarbonLib:        in CarbonLib 1.3 and later
11089  *    Non-Carbon CFM:   available as macro/inline
11090  }
11091 procedure DisposePreprocessInstructionHandlerUPP( userUPP: PreprocessInstructionHandlerUPP ); external name '_DisposePreprocessInstructionHandlerUPP';
11092 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11093 
11094 {
11095  *  DisposeCommentHandlerUPP()
11096  *
11097  *  Availability:
11098  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11099  *    CarbonLib:        in CarbonLib 1.3 and later
11100  *    Non-Carbon CFM:   available as macro/inline
11101  }
11102 procedure DisposeCommentHandlerUPP( userUPP: CommentHandlerUPP ); external name '_DisposeCommentHandlerUPP';
11103 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11104 
11105 {
11106  *  DisposeCDataHandlerUPP()
11107  *
11108  *  Availability:
11109  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
11110  *    CarbonLib:        in CarbonLib 1.6 and later
11111  *    Non-Carbon CFM:   available as macro/inline
11112  }
11113 procedure DisposeCDataHandlerUPP( userUPP: CDataHandlerUPP ); external name '_DisposeCDataHandlerUPP';
11114 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
11115 
11116 {
11117  *  DisposeSGDataUPP()
11118  *
11119  *  Availability:
11120  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11121  *    CarbonLib:        in CarbonLib 1.0 and later
11122  *    Non-Carbon CFM:   available as macro/inline
11123  }
11124 procedure DisposeSGDataUPP( userUPP: SGDataUPP ); external name '_DisposeSGDataUPP';
11125 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11126 
11127 {
11128  *  DisposeSGModalFilterUPP()
11129  *
11130  *  Availability:
11131  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11132  *    CarbonLib:        in CarbonLib 1.0 and later
11133  *    Non-Carbon CFM:   available as macro/inline
11134  }
11135 procedure DisposeSGModalFilterUPP( userUPP: SGModalFilterUPP ); external name '_DisposeSGModalFilterUPP';
11136 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11137 
11138 {
11139  *  DisposeSGGrabBottleUPP()
11140  *
11141  *  Availability:
11142  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11143  *    CarbonLib:        in CarbonLib 1.0 and later
11144  *    Non-Carbon CFM:   available as macro/inline
11145  }
11146 procedure DisposeSGGrabBottleUPP( userUPP: SGGrabBottleUPP ); external name '_DisposeSGGrabBottleUPP';
11147 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11148 
11149 {
11150  *  DisposeSGGrabCompleteBottleUPP()
11151  *
11152  *  Availability:
11153  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11154  *    CarbonLib:        in CarbonLib 1.0 and later
11155  *    Non-Carbon CFM:   available as macro/inline
11156  }
11157 procedure DisposeSGGrabCompleteBottleUPP( userUPP: SGGrabCompleteBottleUPP ); external name '_DisposeSGGrabCompleteBottleUPP';
11158 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11159 
11160 {
11161  *  DisposeSGDisplayBottleUPP()
11162  *
11163  *  Availability:
11164  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11165  *    CarbonLib:        in CarbonLib 1.0 and later
11166  *    Non-Carbon CFM:   available as macro/inline
11167  }
11168 procedure DisposeSGDisplayBottleUPP( userUPP: SGDisplayBottleUPP ); external name '_DisposeSGDisplayBottleUPP';
11169 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11170 
11171 {
11172  *  DisposeSGCompressBottleUPP()
11173  *
11174  *  Availability:
11175  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11176  *    CarbonLib:        in CarbonLib 1.0 and later
11177  *    Non-Carbon CFM:   available as macro/inline
11178  }
11179 procedure DisposeSGCompressBottleUPP( userUPP: SGCompressBottleUPP ); external name '_DisposeSGCompressBottleUPP';
11180 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11181 
11182 {
11183  *  DisposeSGCompressCompleteBottleUPP()
11184  *
11185  *  Availability:
11186  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11187  *    CarbonLib:        in CarbonLib 1.0 and later
11188  *    Non-Carbon CFM:   available as macro/inline
11189  }
11190 procedure DisposeSGCompressCompleteBottleUPP( userUPP: SGCompressCompleteBottleUPP ); external name '_DisposeSGCompressCompleteBottleUPP';
11191 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11192 
11193 {
11194  *  DisposeSGAddFrameBottleUPP()
11195  *
11196  *  Availability:
11197  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11198  *    CarbonLib:        in CarbonLib 1.0 and later
11199  *    Non-Carbon CFM:   available as macro/inline
11200  }
11201 procedure DisposeSGAddFrameBottleUPP( userUPP: SGAddFrameBottleUPP ); external name '_DisposeSGAddFrameBottleUPP';
11202 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11203 
11204 {
11205  *  DisposeSGTransferFrameBottleUPP()
11206  *
11207  *  Availability:
11208  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11209  *    CarbonLib:        in CarbonLib 1.0 and later
11210  *    Non-Carbon CFM:   available as macro/inline
11211  }
11212 procedure DisposeSGTransferFrameBottleUPP( userUPP: SGTransferFrameBottleUPP ); external name '_DisposeSGTransferFrameBottleUPP';
11213 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11214 
11215 {
11216  *  DisposeSGGrabCompressCompleteBottleUPP()
11217  *
11218  *  Availability:
11219  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11220  *    CarbonLib:        in CarbonLib 1.0 and later
11221  *    Non-Carbon CFM:   available as macro/inline
11222  }
11223 procedure DisposeSGGrabCompressCompleteBottleUPP( userUPP: SGGrabCompressCompleteBottleUPP ); external name '_DisposeSGGrabCompressCompleteBottleUPP';
11224 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11225 
11226 {
11227  *  DisposeSGDisplayCompressBottleUPP()
11228  *
11229  *  Availability:
11230  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11231  *    CarbonLib:        in CarbonLib 1.0 and later
11232  *    Non-Carbon CFM:   available as macro/inline
11233  }
11234 procedure DisposeSGDisplayCompressBottleUPP( userUPP: SGDisplayCompressBottleUPP ); external name '_DisposeSGDisplayCompressBottleUPP';
11235 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11236 
11237 {
11238  *  InvokeDataHCompletionUPP()
11239  *
11240  *  Availability:
11241  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11242  *    CarbonLib:        in CarbonLib 1.0 and later
11243  *    Non-Carbon CFM:   available as macro/inline
11244  }
11245 procedure InvokeDataHCompletionUPP( request: Ptr; refcon: SIGNEDLONG; err: OSErr; userUPP: DataHCompletionUPP ); external name '_InvokeDataHCompletionUPP';
11246 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11247 
11248 {
11249  *  InvokeVdigIntUPP()
11250  *
11251  *  Availability:
11252  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11253  *    CarbonLib:        in CarbonLib 1.0 and later
11254  *    Non-Carbon CFM:   available as macro/inline
11255  }
11256 procedure InvokeVdigIntUPP( flags: SIGNEDLONG; refcon: SIGNEDLONG; userUPP: VdigIntUPP ); external name '_InvokeVdigIntUPP';
11257 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11258 
11259 {
11260  *  InvokeStartDocumentHandlerUPP()
11261  *
11262  *  Availability:
11263  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11264  *    CarbonLib:        in CarbonLib 1.3 and later
11265  *    Non-Carbon CFM:   available as macro/inline
11266  }
InvokeStartDocumentHandlerUPPnull11267 function InvokeStartDocumentHandlerUPP( refcon: SIGNEDLONG; userUPP: StartDocumentHandlerUPP ): ComponentResult; external name '_InvokeStartDocumentHandlerUPP';
11268 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11269 
11270 {
11271  *  InvokeEndDocumentHandlerUPP()
11272  *
11273  *  Availability:
11274  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11275  *    CarbonLib:        in CarbonLib 1.3 and later
11276  *    Non-Carbon CFM:   available as macro/inline
11277  }
InvokeEndDocumentHandlerUPPnull11278 function InvokeEndDocumentHandlerUPP( refcon: SIGNEDLONG; userUPP: EndDocumentHandlerUPP ): ComponentResult; external name '_InvokeEndDocumentHandlerUPP';
11279 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11280 
11281 {
11282  *  InvokeStartElementHandlerUPP()
11283  *
11284  *  Availability:
11285  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11286  *    CarbonLib:        in CarbonLib 1.3 and later
11287  *    Non-Carbon CFM:   available as macro/inline
11288  }
InvokeStartElementHandlerUPPnull11289 function InvokeStartElementHandlerUPP( name: ConstCStringPtr; var atts: ConstCStringPtr; refcon: SIGNEDLONG; userUPP: StartElementHandlerUPP ): ComponentResult; external name '_InvokeStartElementHandlerUPP';
11290 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11291 
11292 {
11293  *  InvokeEndElementHandlerUPP()
11294  *
11295  *  Availability:
11296  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11297  *    CarbonLib:        in CarbonLib 1.3 and later
11298  *    Non-Carbon CFM:   available as macro/inline
11299  }
InvokeEndElementHandlerUPPnull11300 function InvokeEndElementHandlerUPP( name: ConstCStringPtr; refcon: SIGNEDLONG; userUPP: EndElementHandlerUPP ): ComponentResult; external name '_InvokeEndElementHandlerUPP';
11301 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11302 
11303 {
11304  *  InvokeCharDataHandlerUPP()
11305  *
11306  *  Availability:
11307  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11308  *    CarbonLib:        in CarbonLib 1.3 and later
11309  *    Non-Carbon CFM:   available as macro/inline
11310  }
InvokeCharDataHandlerUPPnull11311 function InvokeCharDataHandlerUPP( charData: ConstCStringPtr; refcon: SIGNEDLONG; userUPP: CharDataHandlerUPP ): ComponentResult; external name '_InvokeCharDataHandlerUPP';
11312 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11313 
11314 {
11315  *  InvokePreprocessInstructionHandlerUPP()
11316  *
11317  *  Availability:
11318  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11319  *    CarbonLib:        in CarbonLib 1.3 and later
11320  *    Non-Carbon CFM:   available as macro/inline
11321  }
InvokePreprocessInstructionHandlerUPPnull11322 function InvokePreprocessInstructionHandlerUPP( name: ConstCStringPtr; atts: ConstCStringPtrPtr; refcon: SIGNEDLONG; userUPP: PreprocessInstructionHandlerUPP ): ComponentResult; external name '_InvokePreprocessInstructionHandlerUPP';
11323 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11324 
11325 {
11326  *  InvokeCommentHandlerUPP()
11327  *
11328  *  Availability:
11329  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11330  *    CarbonLib:        in CarbonLib 1.3 and later
11331  *    Non-Carbon CFM:   available as macro/inline
11332  }
InvokeCommentHandlerUPPnull11333 function InvokeCommentHandlerUPP( comment: ConstCStringPtr; refcon: SIGNEDLONG; userUPP: CommentHandlerUPP ): ComponentResult; external name '_InvokeCommentHandlerUPP';
11334 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11335 
11336 {
11337  *  InvokeCDataHandlerUPP()
11338  *
11339  *  Availability:
11340  *    Mac OS X:         in version 10.2 and later in QuickTime.framework
11341  *    CarbonLib:        in CarbonLib 1.6 and later
11342  *    Non-Carbon CFM:   available as macro/inline
11343  }
InvokeCDataHandlerUPPnull11344 function InvokeCDataHandlerUPP( cdata: ConstCStringPtr; refcon: SIGNEDLONG; userUPP: CDataHandlerUPP ): ComponentResult; external name '_InvokeCDataHandlerUPP';
11345 (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
11346 
11347 {
11348  *  InvokeSGDataUPP()
11349  *
11350  *  Availability:
11351  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11352  *    CarbonLib:        in CarbonLib 1.0 and later
11353  *    Non-Carbon CFM:   available as macro/inline
11354  }
InvokeSGDataUPPnull11355 function InvokeSGDataUPP( c: SGChannel; p: Ptr; len: SIGNEDLONG; var offset: SIGNEDLONG; chRefCon: SIGNEDLONG; time: TimeValue; writeType: SInt16; refCon: SIGNEDLONG; userUPP: SGDataUPP ): OSErr; external name '_InvokeSGDataUPP';
11356 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11357 
11358 {
11359  *  InvokeSGModalFilterUPP()
11360  *
11361  *  Availability:
11362  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11363  *    CarbonLib:        in CarbonLib 1.0 and later
11364  *    Non-Carbon CFM:   available as macro/inline
11365  }
InvokeSGModalFilterUPPnull11366 function InvokeSGModalFilterUPP( theDialog: DialogRef; const (*var*) theEvent: EventRecord; var itemHit: SInt16; refCon: SIGNEDLONG; userUPP: SGModalFilterUPP ): Boolean; external name '_InvokeSGModalFilterUPP';
11367 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11368 
11369 {
11370  *  InvokeSGGrabBottleUPP()
11371  *
11372  *  Availability:
11373  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11374  *    CarbonLib:        in CarbonLib 1.0 and later
11375  *    Non-Carbon CFM:   available as macro/inline
11376  }
InvokeSGGrabBottleUPPnull11377 function InvokeSGGrabBottleUPP( c: SGChannel; bufferNum: SInt16; refCon: SIGNEDLONG; userUPP: SGGrabBottleUPP ): ComponentResult; external name '_InvokeSGGrabBottleUPP';
11378 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11379 
11380 {
11381  *  InvokeSGGrabCompleteBottleUPP()
11382  *
11383  *  Availability:
11384  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11385  *    CarbonLib:        in CarbonLib 1.0 and later
11386  *    Non-Carbon CFM:   available as macro/inline
11387  }
InvokeSGGrabCompleteBottleUPPnull11388 function InvokeSGGrabCompleteBottleUPP( c: SGChannel; bufferNum: SInt16; var done: Boolean; refCon: SIGNEDLONG; userUPP: SGGrabCompleteBottleUPP ): ComponentResult; external name '_InvokeSGGrabCompleteBottleUPP';
11389 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11390 
11391 {
11392  *  InvokeSGDisplayBottleUPP()
11393  *
11394  *  Availability:
11395  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11396  *    CarbonLib:        in CarbonLib 1.0 and later
11397  *    Non-Carbon CFM:   available as macro/inline
11398  }
InvokeSGDisplayBottleUPPnull11399 function InvokeSGDisplayBottleUPP( c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG; userUPP: SGDisplayBottleUPP ): ComponentResult; external name '_InvokeSGDisplayBottleUPP';
11400 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11401 
11402 {
11403  *  InvokeSGCompressBottleUPP()
11404  *
11405  *  Availability:
11406  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11407  *    CarbonLib:        in CarbonLib 1.0 and later
11408  *    Non-Carbon CFM:   available as macro/inline
11409  }
InvokeSGCompressBottleUPPnull11410 function InvokeSGCompressBottleUPP( c: SGChannel; bufferNum: SInt16; refCon: SIGNEDLONG; userUPP: SGCompressBottleUPP ): ComponentResult; external name '_InvokeSGCompressBottleUPP';
11411 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11412 
11413 {
11414  *  InvokeSGCompressCompleteBottleUPP()
11415  *
11416  *  Availability:
11417  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11418  *    CarbonLib:        in CarbonLib 1.0 and later
11419  *    Non-Carbon CFM:   available as macro/inline
11420  }
InvokeSGCompressCompleteBottleUPPnull11421 function InvokeSGCompressCompleteBottleUPP( c: SGChannel; bufferNum: SInt16; var done: Boolean; var ci: SGCompressInfo; refCon: SIGNEDLONG; userUPP: SGCompressCompleteBottleUPP ): ComponentResult; external name '_InvokeSGCompressCompleteBottleUPP';
11422 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11423 
11424 {
11425  *  InvokeSGAddFrameBottleUPP()
11426  *
11427  *  Availability:
11428  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11429  *    CarbonLib:        in CarbonLib 1.0 and later
11430  *    Non-Carbon CFM:   available as macro/inline
11431  }
InvokeSGAddFrameBottleUPPnull11432 function InvokeSGAddFrameBottleUPP( c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo; refCon: SIGNEDLONG; userUPP: SGAddFrameBottleUPP ): ComponentResult; external name '_InvokeSGAddFrameBottleUPP';
11433 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11434 
11435 {
11436  *  InvokeSGTransferFrameBottleUPP()
11437  *
11438  *  Availability:
11439  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11440  *    CarbonLib:        in CarbonLib 1.0 and later
11441  *    Non-Carbon CFM:   available as macro/inline
11442  }
InvokeSGTransferFrameBottleUPPnull11443 function InvokeSGTransferFrameBottleUPP( c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG; userUPP: SGTransferFrameBottleUPP ): ComponentResult; external name '_InvokeSGTransferFrameBottleUPP';
11444 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11445 
11446 {
11447  *  InvokeSGGrabCompressCompleteBottleUPP()
11448  *
11449  *  Availability:
11450  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11451  *    CarbonLib:        in CarbonLib 1.0 and later
11452  *    Non-Carbon CFM:   available as macro/inline
11453  }
InvokeSGGrabCompressCompleteBottleUPPnull11454 function InvokeSGGrabCompressCompleteBottleUPP( c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var t: TimeRecord; refCon: SIGNEDLONG; userUPP: SGGrabCompressCompleteBottleUPP ): ComponentResult; external name '_InvokeSGGrabCompressCompleteBottleUPP';
11455 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11456 
11457 {
11458  *  InvokeSGDisplayCompressBottleUPP()
11459  *
11460  *  Availability:
11461  *    Mac OS X:         in version 10.0 and later in QuickTime.framework
11462  *    CarbonLib:        in CarbonLib 1.0 and later
11463  *    Non-Carbon CFM:   available as macro/inline
11464  }
InvokeSGDisplayCompressBottleUPPnull11465 function InvokeSGDisplayCompressBottleUPP( c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SIGNEDLONG; userUPP: SGDisplayCompressBottleUPP ): ComponentResult; external name '_InvokeSGDisplayCompressBottleUPP';
11466 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
11467 
11468 { selectors for component calls }
11469 const
11470 	kClockGetTimeSelect = $0001;
11471 	kClockNewCallBackSelect = $0002;
11472 	kClockDisposeCallBackSelect = $0003;
11473 	kClockCallMeWhenSelect = $0004;
11474 	kClockCancelCallBackSelect = $0005;
11475 	kClockRateChangedSelect = $0006;
11476 	kClockTimeChangedSelect = $0007;
11477 	kClockSetTimeBaseSelect = $0008;
11478 	kClockStartStopChangedSelect = $0009;
11479 	kClockGetRateSelect = $000A;
11480 	kClockGetTimesForRateChangeSelect = $000B;
11481 	kClockGetRateChangeConstraintsSelect = $000C;
11482 	kSCAudioInvokeLegacyCodecOptionsDialogSelect = $0081;
11483 	kSCAudioFillBufferSelect = $0082;
11484 	kSCAudioResetSelect = $0083;
11485 	kSCGetCompressionExtendedSelect = $0001;
11486 	kSCPositionRectSelect = $0002;
11487 	kSCPositionDialogSelect = $0003;
11488 	kSCSetTestImagePictHandleSelect = $0004;
11489 	kSCSetTestImagePictFileSelect = $0005;
11490 	kSCSetTestImagePixMapSelect = $0006;
11491 	kSCGetBestDeviceRectSelect = $0007;
11492 	kSCRequestImageSettingsSelect = $000A;
11493 	kSCCompressImageSelect = $000B;
11494 	kSCCompressPictureSelect = $000C;
11495 	kSCCompressPictureFileSelect = $000D;
11496 	kSCRequestSequenceSettingsSelect = $000E;
11497 	kSCCompressSequenceBeginSelect = $000F;
11498 	kSCCompressSequenceFrameSelect = $0010;
11499 	kSCCompressSequenceEndSelect = $0011;
11500 	kSCDefaultPictHandleSettingsSelect = $0012;
11501 	kSCDefaultPictFileSettingsSelect = $0013;
11502 	kSCDefaultPixMapSettingsSelect = $0014;
11503 	kSCGetInfoSelect = $0015;
11504 	kSCSetInfoSelect = $0016;
11505 	kSCNewGWorldSelect = $0017;
11506 	kSCSetCompressFlagsSelect = $0018;
11507 	kSCGetCompressFlagsSelect = $0019;
11508 	kSCGetSettingsAsTextSelect = $001A;
11509 	kSCGetSettingsAsAtomContainerSelect = $001B;
11510 	kSCSetSettingsFromAtomContainerSelect = $001C;
11511 	kSCCompressSequenceFrameAsyncSelect = $001D;
11512 	kSCAsyncIdleSelect = $001E;
11513 	kSCCopyCompressionSessionOptionsSelect = $001F;
11514 	kTweenerInitializeSelect = $0001;
11515 	kTweenerDoTweenSelect = $0002;
11516 	kTweenerResetSelect = $0003;
11517 	kTCGetCurrentTimeCodeSelect = $0101;
11518 	kTCGetTimeCodeAtTimeSelect = $0102;
11519 	kTCTimeCodeToStringSelect = $0103;
11520 	kTCTimeCodeToFrameNumberSelect = $0104;
11521 	kTCFrameNumberToTimeCodeSelect = $0105;
11522 	kTCGetSourceRefSelect = $0106;
11523 	kTCSetSourceRefSelect = $0107;
11524 	kTCSetTimeCodeFlagsSelect = $0108;
11525 	kTCGetTimeCodeFlagsSelect = $0109;
11526 	kTCSetDisplayOptionsSelect = $010A;
11527 	kTCGetDisplayOptionsSelect = $010B;
11528 	kTCGetCurrentFrameAndTimeCodeDefSelect = $010C;
11529 	kTCGetFrameAndTimeCodeDefAtTimeSelect = $010D;
11530 	kTCTimeCodeTimeToStringSelect = $010E;
11531 	kTCTimeCodeCounterToStringSelect = $010F;
11532 	kTCTimeCodeTimeToFrameNumberSelect = $0110;
11533 	kTCTimeCodeCounterToFrameNumberSelect = $0111;
11534 	kTCFrameNumberToTimeCodeTimeSelect = $0112;
11535 	kTCFrameNumberToTimeCodeCounterSelect = $0113;
11536 	kMovieImportHandleSelect = $0001;
11537 	kMovieImportFileSelect = $0002;
11538 	kMovieImportSetSampleDurationSelect = $0003;
11539 	kMovieImportSetSampleDescriptionSelect = $0004;
11540 	kMovieImportSetMediaFileSelect = $0005;
11541 	kMovieImportSetDimensionsSelect = $0006;
11542 	kMovieImportSetChunkSizeSelect = $0007;
11543 	kMovieImportSetProgressProcSelect = $0008;
11544 	kMovieImportSetAuxiliaryDataSelect = $0009;
11545 	kMovieImportSetFromScrapSelect = $000A;
11546 	kMovieImportDoUserDialogSelect = $000B;
11547 	kMovieImportSetDurationSelect = $000C;
11548 	kMovieImportGetAuxiliaryDataTypeSelect = $000D;
11549 	kMovieImportValidateSelect = $000E;
11550 	kMovieImportGetFileTypeSelect = $000F;
11551 	kMovieImportDataRefSelect = $0010;
11552 	kMovieImportGetSampleDescriptionSelect = $0011;
11553 	kMovieImportGetMIMETypeListSelect = $0012;
11554 	kMovieImportSetOffsetAndLimitSelect = $0013;
11555 	kMovieImportGetSettingsAsAtomContainerSelect = $0014;
11556 	kMovieImportSetSettingsFromAtomContainerSelect = $0015;
11557 	kMovieImportSetOffsetAndLimit64Select = $0016;
11558 	kMovieImportIdleSelect = $0017;
11559 	kMovieImportValidateDataRefSelect = $0018;
11560 	kMovieImportGetLoadStateSelect = $0019;
11561 	kMovieImportGetMaxLoadedTimeSelect = $001A;
11562 	kMovieImportEstimateCompletionTimeSelect = $001B;
11563 	kMovieImportSetDontBlockSelect = $001C;
11564 	kMovieImportGetDontBlockSelect = $001D;
11565 	kMovieImportSetIdleManagerSelect = $001E;
11566 	kMovieImportSetNewMovieFlagsSelect = $001F;
11567 	kMovieImportGetDestinationMediaTypeSelect = $0020;
11568 	kMovieImportSetMediaDataRefSelect = $0021;
11569 	kMovieImportDoUserDialogDataRefSelect = $0022;
11570 	kMovieExportToHandleSelect = $0080;
11571 	kMovieExportToFileSelect = $0081;
11572 	kMovieExportGetAuxiliaryDataSelect = $0083;
11573 	kMovieExportSetProgressProcSelect = $0084;
11574 	kMovieExportSetSampleDescriptionSelect = $0085;
11575 	kMovieExportDoUserDialogSelect = $0086;
11576 	kMovieExportGetCreatorTypeSelect = $0087;
11577 	kMovieExportToDataRefSelect = $0088;
11578 	kMovieExportFromProceduresToDataRefSelect = $0089;
11579 	kMovieExportAddDataSourceSelect = $008A;
11580 	kMovieExportValidateSelect = $008B;
11581 	kMovieExportGetSettingsAsAtomContainerSelect = $008C;
11582 	kMovieExportSetSettingsFromAtomContainerSelect = $008D;
11583 	kMovieExportGetFileNameExtensionSelect = $008E;
11584 	kMovieExportGetShortFileTypeStringSelect = $008F;
11585 	kMovieExportGetSourceMediaTypeSelect = $0090;
11586 	kMovieExportSetGetMoviePropertyProcSelect = $0091;
11587 	kTextExportGetDisplayDataSelect = $0100;
11588 	kTextExportGetTimeFractionSelect = $0101;
11589 	kTextExportSetTimeFractionSelect = $0102;
11590 	kTextExportGetSettingsSelect = $0103;
11591 	kTextExportSetSettingsSelect = $0104;
11592 	kMIDIImportGetSettingsSelect = $0100;
11593 	kMIDIImportSetSettingsSelect = $0101;
11594 	kMovieExportNewGetDataAndPropertiesProcsSelect = $0100;
11595 	kMovieExportDisposeGetDataAndPropertiesProcsSelect = $0101;
11596 	kGraphicsImageImportSetSequenceEnabledSelect = $0100;
11597 	kGraphicsImageImportGetSequenceEnabledSelect = $0101;
11598 	kPreviewShowDataSelect = $0001;
11599 	kPreviewMakePreviewSelect = $0002;
11600 	kPreviewMakePreviewReferenceSelect = $0003;
11601 	kPreviewEventSelect = $0004;
11602 	kDataCodecDecompressSelect = $0001;
11603 	kDataCodecGetCompressBufferSizeSelect = $0002;
11604 	kDataCodecCompressSelect = $0003;
11605 	kDataCodecBeginInterruptSafeSelect = $0004;
11606 	kDataCodecEndInterruptSafeSelect = $0005;
11607 	kDataCodecDecompressPartialSelect = $0006;
11608 	kDataCodecCompressPartialSelect = $0007;
11609 	kDataHGetDataSelect = $0002;
11610 	kDataHPutDataSelect = $0003;
11611 	kDataHFlushDataSelect = $0004;
11612 	kDataHOpenForWriteSelect = $0005;
11613 	kDataHCloseForWriteSelect = $0006;
11614 	kDataHOpenForReadSelect = $0008;
11615 	kDataHCloseForReadSelect = $0009;
11616 	kDataHSetDataRefSelect = $000A;
11617 	kDataHGetDataRefSelect = $000B;
11618 	kDataHCompareDataRefSelect = $000C;
11619 	kDataHTaskSelect = $000D;
11620 	kDataHScheduleDataSelect = $000E;
11621 	kDataHFinishDataSelect = $000F;
11622 	kDataHFlushCacheSelect = $0010;
11623 	kDataHResolveDataRefSelect = $0011;
11624 	kDataHGetFileSizeSelect = $0012;
11625 	kDataHCanUseDataRefSelect = $0013;
11626 	kDataHGetVolumeListSelect = $0014;
11627 	kDataHWriteSelect = $0015;
11628 	kDataHPreextendSelect = $0016;
11629 	kDataHSetFileSizeSelect = $0017;
11630 	kDataHGetFreeSpaceSelect = $0018;
11631 	kDataHCreateFileSelect = $0019;
11632 	kDataHGetPreferredBlockSizeSelect = $001A;
11633 	kDataHGetDeviceIndexSelect = $001B;
11634 	kDataHIsStreamingDataHandlerSelect = $001C;
11635 	kDataHGetDataInBufferSelect = $001D;
11636 	kDataHGetScheduleAheadTimeSelect = $001E;
11637 	kDataHSetCacheSizeLimitSelect = $001F;
11638 	kDataHGetCacheSizeLimitSelect = $0020;
11639 	kDataHGetMovieSelect = $0021;
11640 	kDataHAddMovieSelect = $0022;
11641 	kDataHUpdateMovieSelect = $0023;
11642 	kDataHDoesBufferSelect = $0024;
11643 	kDataHGetFileNameSelect = $0025;
11644 	kDataHGetAvailableFileSizeSelect = $0026;
11645 	kDataHGetMacOSFileTypeSelect = $0027;
11646 	kDataHGetMIMETypeSelect = $0028;
11647 	kDataHSetDataRefWithAnchorSelect = $0029;
11648 	kDataHGetDataRefWithAnchorSelect = $002A;
11649 	kDataHSetMacOSFileTypeSelect = $002B;
11650 	kDataHSetTimeBaseSelect = $002C;
11651 	kDataHGetInfoFlagsSelect = $002D;
11652 	kDataHScheduleData64Select = $002E;
11653 	kDataHWrite64Select = $002F;
11654 	kDataHGetFileSize64Select = $0030;
11655 	kDataHPreextend64Select = $0031;
11656 	kDataHSetFileSize64Select = $0032;
11657 	kDataHGetFreeSpace64Select = $0033;
11658 	kDataHAppend64Select = $0034;
11659 	kDataHReadAsyncSelect = $0035;
11660 	kDataHPollReadSelect = $0036;
11661 	kDataHGetDataAvailabilitySelect = $0037;
11662 	kDataHGetFileSizeAsyncSelect = $003A;
11663 	kDataHGetDataRefAsTypeSelect = $003B;
11664 	kDataHSetDataRefExtensionSelect = $003C;
11665 	kDataHGetDataRefExtensionSelect = $003D;
11666 	kDataHGetMovieWithFlagsSelect = $003E;
11667 	kDataHGetFileTypeOrderingSelect = $0040;
11668 	kDataHCreateFileWithFlagsSelect = $0041;
11669 	kDataHGetMIMETypeAsyncSelect = $0042;
11670 	kDataHGetInfoSelect = $0043;
11671 	kDataHSetIdleManagerSelect = $0044;
11672 	kDataHDeleteFileSelect = $0045;
11673 	kDataHSetMovieUsageFlagsSelect = $0046;
11674 	kDataHUseTemporaryDataRefSelect = $0047;
11675 	kDataHGetTemporaryDataRefCapabilitiesSelect = $0048;
11676 	kDataHRenameFileSelect = $0049;
11677 	kDataHGetAvailableFileSize64Select = $004E;
11678 	kDataHGetDataAvailability64Select = $004F;
11679 	kDataHPlaybackHintsSelect = $0103;
11680 	kDataHPlaybackHints64Select = $010E;
11681 	kDataHGetDataRateSelect = $0110;
11682 	kDataHSetTimeHintsSelect = $0111;
11683 	kVDGetMaxSrcRectSelect = $0001;
11684 	kVDGetActiveSrcRectSelect = $0002;
11685 	kVDSetDigitizerRectSelect = $0003;
11686 	kVDGetDigitizerRectSelect = $0004;
11687 	kVDGetVBlankRectSelect = $0005;
11688 	kVDGetMaskPixMapSelect = $0006;
11689 	kVDGetPlayThruDestinationSelect = $0008;
11690 	kVDUseThisCLUTSelect = $0009;
11691 	kVDSetInputGammaValueSelect = $000A;
11692 	kVDGetInputGammaValueSelect = $000B;
11693 	kVDSetBrightnessSelect = $000C;
11694 	kVDGetBrightnessSelect = $000D;
11695 	kVDSetContrastSelect = $000E;
11696 	kVDSetHueSelect = $000F;
11697 	kVDSetSharpnessSelect = $0010;
11698 	kVDSetSaturationSelect = $0011;
11699 	kVDGetContrastSelect = $0012;
11700 	kVDGetHueSelect = $0013;
11701 	kVDGetSharpnessSelect = $0014;
11702 	kVDGetSaturationSelect = $0015;
11703 	kVDGrabOneFrameSelect = $0016;
11704 	kVDGetMaxAuxBufferSelect = $0017;
11705 	kVDGetDigitizerInfoSelect = $0019;
11706 	kVDGetCurrentFlagsSelect = $001A;
11707 	kVDSetKeyColorSelect = $001B;
11708 	kVDGetKeyColorSelect = $001C;
11709 	kVDAddKeyColorSelect = $001D;
11710 	kVDGetNextKeyColorSelect = $001E;
11711 	kVDSetKeyColorRangeSelect = $001F;
11712 	kVDGetKeyColorRangeSelect = $0020;
11713 	kVDSetDigitizerUserInterruptSelect = $0021;
11714 	kVDSetInputColorSpaceModeSelect = $0022;
11715 	kVDGetInputColorSpaceModeSelect = $0023;
11716 	kVDSetClipStateSelect = $0024;
11717 	kVDGetClipStateSelect = $0025;
11718 	kVDSetClipRgnSelect = $0026;
11719 	kVDClearClipRgnSelect = $0027;
11720 	kVDGetCLUTInUseSelect = $0028;
11721 	kVDSetPLLFilterTypeSelect = $0029;
11722 	kVDGetPLLFilterTypeSelect = $002A;
11723 	kVDGetMaskandValueSelect = $002B;
11724 	kVDSetMasterBlendLevelSelect = $002C;
11725 	kVDSetPlayThruDestinationSelect = $002D;
11726 	kVDSetPlayThruOnOffSelect = $002E;
11727 	kVDSetFieldPreferenceSelect = $002F;
11728 	kVDGetFieldPreferenceSelect = $0030;
11729 	kVDPreflightDestinationSelect = $0032;
11730 	kVDPreflightGlobalRectSelect = $0033;
11731 	kVDSetPlayThruGlobalRectSelect = $0034;
11732 	kVDSetInputGammaRecordSelect = $0035;
11733 	kVDGetInputGammaRecordSelect = $0036;
11734 	kVDSetBlackLevelValueSelect = $0037;
11735 	kVDGetBlackLevelValueSelect = $0038;
11736 	kVDSetWhiteLevelValueSelect = $0039;
11737 	kVDGetWhiteLevelValueSelect = $003A;
11738 	kVDGetVideoDefaultsSelect = $003B;
11739 	kVDGetNumberOfInputsSelect = $003C;
11740 	kVDGetInputFormatSelect = $003D;
11741 	kVDSetInputSelect = $003E;
11742 	kVDGetInputSelect = $003F;
11743 	kVDSetInputStandardSelect = $0040;
11744 	kVDSetupBuffersSelect = $0041;
11745 	kVDGrabOneFrameAsyncSelect = $0042;
11746 	kVDDoneSelect = $0043;
11747 	kVDSetCompressionSelect = $0044;
11748 	kVDCompressOneFrameAsyncSelect = $0045;
11749 	kVDCompressDoneSelect = $0046;
11750 	kVDReleaseCompressBufferSelect = $0047;
11751 	kVDGetImageDescriptionSelect = $0048;
11752 	kVDResetCompressSequenceSelect = $0049;
11753 	kVDSetCompressionOnOffSelect = $004A;
11754 	kVDGetCompressionTypesSelect = $004B;
11755 	kVDSetTimeBaseSelect = $004C;
11756 	kVDSetFrameRateSelect = $004D;
11757 	kVDGetDataRateSelect = $004E;
11758 	kVDGetSoundInputDriverSelect = $004F;
11759 	kVDGetDMADepthsSelect = $0050;
11760 	kVDGetPreferredTimeScaleSelect = $0051;
11761 	kVDReleaseAsyncBuffersSelect = $0052;
11762 	kVDSetDataRateSelect = $0054;
11763 	kVDGetTimeCodeSelect = $0055;
11764 	kVDUseSafeBuffersSelect = $0056;
11765 	kVDGetSoundInputSourceSelect = $0057;
11766 	kVDGetCompressionTimeSelect = $0058;
11767 	kVDSetPreferredPacketSizeSelect = $0059;
11768 	kVDSetPreferredImageDimensionsSelect = $005A;
11769 	kVDGetPreferredImageDimensionsSelect = $005B;
11770 	kVDGetInputNameSelect = $005C;
11771 	kVDSetDestinationPortSelect = $005D;
11772 	kVDGetDeviceNameAndFlagsSelect = $005E;
11773 	kVDCaptureStateChangingSelect = $005F;
11774 	kVDGetUniqueIDsSelect = $0060;
11775 	kVDSelectUniqueIDsSelect = $0061;
11776 	kVDCopyPreferredAudioDeviceSelect = $0063;
11777 	kVDIIDCGetFeaturesSelect = $0200;
11778 	kVDIIDCSetFeaturesSelect = $0201;
11779 	kVDIIDCGetDefaultFeaturesSelect = $0202;
11780 	kVDIIDCGetCSRDataSelect = $0203;
11781 	kVDIIDCSetCSRDataSelect = $0204;
11782 	kVDIIDCGetFeaturesForSpecifierSelect = $0205;
11783 	kXMLParseDataRefSelect = $0001;
11784 	kXMLParseFileSelect = $0002;
11785 	kXMLParseDisposeXMLDocSelect = $0003;
11786 	kXMLParseGetDetailedParseErrorSelect = $0004;
11787 	kXMLParseAddElementSelect = $0005;
11788 	kXMLParseAddAttributeSelect = $0006;
11789 	kXMLParseAddMultipleAttributesSelect = $0007;
11790 	kXMLParseAddAttributeAndValueSelect = $0008;
11791 	kXMLParseAddMultipleAttributesAndValuesSelect = $0009;
11792 	kXMLParseAddAttributeValueKindSelect = $000A;
11793 	kXMLParseAddNameSpaceSelect = $000B;
11794 	kXMLParseSetOffsetAndLimitSelect = $000C;
11795 	kXMLParseSetEventParseRefConSelect = $000D;
11796 	kXMLParseSetStartDocumentHandlerSelect = $000E;
11797 	kXMLParseSetEndDocumentHandlerSelect = $000F;
11798 	kXMLParseSetStartElementHandlerSelect = $0010;
11799 	kXMLParseSetEndElementHandlerSelect = $0011;
11800 	kXMLParseSetCharDataHandlerSelect = $0012;
11801 	kXMLParseSetPreprocessInstructionHandlerSelect = $0013;
11802 	kXMLParseSetCommentHandlerSelect = $0014;
11803 	kXMLParseSetCDataHandlerSelect = $0015;
11804 	kSGInitializeSelect = $0001;
11805 	kSGSetDataOutputSelect = $0002;
11806 	kSGGetDataOutputSelect = $0003;
11807 	kSGSetGWorldSelect = $0004;
11808 	kSGGetGWorldSelect = $0005;
11809 	kSGNewChannelSelect = $0006;
11810 	kSGDisposeChannelSelect = $0007;
11811 	kSGStartPreviewSelect = $0010;
11812 	kSGStartRecordSelect = $0011;
11813 	kSGIdleSelect = $0012;
11814 	kSGStopSelect = $0013;
11815 	kSGPauseSelect = $0014;
11816 	kSGPrepareSelect = $0015;
11817 	kSGReleaseSelect = $0016;
11818 	kSGGetMovieSelect = $0017;
11819 	kSGSetMaximumRecordTimeSelect = $0018;
11820 	kSGGetMaximumRecordTimeSelect = $0019;
11821 	kSGGetStorageSpaceRemainingSelect = $001A;
11822 	kSGGetTimeRemainingSelect = $001B;
11823 	kSGGrabPictSelect = $001C;
11824 	kSGGetLastMovieResIDSelect = $001D;
11825 	kSGSetFlagsSelect = $001E;
11826 	kSGGetFlagsSelect = $001F;
11827 	kSGSetDataProcSelect = $0020;
11828 	kSGNewChannelFromComponentSelect = $0021;
11829 	kSGDisposeDeviceListSelect = $0022;
11830 	kSGAppendDeviceListToMenuSelect = $0023;
11831 	kSGSetSettingsSelect = $0024;
11832 	kSGGetSettingsSelect = $0025;
11833 	kSGGetIndChannelSelect = $0026;
11834 	kSGUpdateSelect = $0027;
11835 	kSGGetPauseSelect = $0028;
11836 	kSGSettingsDialogSelect = $0029;
11837 	kSGGetAlignmentProcSelect = $002A;
11838 	kSGSetChannelSettingsSelect = $002B;
11839 	kSGGetChannelSettingsSelect = $002C;
11840 	kSGGetModeSelect = $002D;
11841 	kSGSetDataRefSelect = $002E;
11842 	kSGGetDataRefSelect = $002F;
11843 	kSGNewOutputSelect = $0030;
11844 	kSGDisposeOutputSelect = $0031;
11845 	kSGSetOutputFlagsSelect = $0032;
11846 	kSGSetChannelOutputSelect = $0033;
11847 	kSGGetDataOutputStorageSpaceRemainingSelect = $0034;
11848 	kSGHandleUpdateEventSelect = $0035;
11849 	kSGSetOutputNextOutputSelect = $0036;
11850 	kSGGetOutputNextOutputSelect = $0037;
11851 	kSGSetOutputMaximumOffsetSelect = $0038;
11852 	kSGGetOutputMaximumOffsetSelect = $0039;
11853 	kSGGetOutputDataReferenceSelect = $003A;
11854 	kSGWriteExtendedMovieDataSelect = $003B;
11855 	kSGGetStorageSpaceRemaining64Select = $003C;
11856 	kSGGetDataOutputStorageSpaceRemaining64Select = $003D;
11857 	kSGWriteMovieDataSelect = $0100;
11858 	kSGAddFrameReferenceSelect = $0101;
11859 	kSGGetNextFrameReferenceSelect = $0102;
11860 	kSGGetTimeBaseSelect = $0103;
11861 	kSGSortDeviceListSelect = $0104;
11862 	kSGAddMovieDataSelect = $0105;
11863 	kSGChangedSourceSelect = $0106;
11864 	kSGAddExtendedFrameReferenceSelect = $0107;
11865 	kSGGetNextExtendedFrameReferenceSelect = $0108;
11866 	kSGAddExtendedMovieDataSelect = $0109;
11867 	kSGAddOutputDataRefToMediaSelect = $010A;
11868 	kSGSetSettingsSummarySelect = $010B;
11869 	kSGSetChannelUsageSelect = $0080;
11870 	kSGGetChannelUsageSelect = $0081;
11871 	kSGSetChannelBoundsSelect = $0082;
11872 	kSGGetChannelBoundsSelect = $0083;
11873 	kSGSetChannelVolumeSelect = $0084;
11874 	kSGGetChannelVolumeSelect = $0085;
11875 	kSGGetChannelInfoSelect = $0086;
11876 	kSGSetChannelPlayFlagsSelect = $0087;
11877 	kSGGetChannelPlayFlagsSelect = $0088;
11878 	kSGSetChannelMaxFramesSelect = $0089;
11879 	kSGGetChannelMaxFramesSelect = $008A;
11880 	kSGSetChannelRefConSelect = $008B;
11881 	kSGSetChannelClipSelect = $008C;
11882 	kSGGetChannelClipSelect = $008D;
11883 	kSGGetChannelSampleDescriptionSelect = $008E;
11884 	kSGGetChannelDeviceListSelect = $008F;
11885 	kSGSetChannelDeviceSelect = $0090;
11886 	kSGSetChannelMatrixSelect = $0091;
11887 	kSGGetChannelMatrixSelect = $0092;
11888 	kSGGetChannelTimeScaleSelect = $0093;
11889 	kSGChannelPutPictureSelect = $0094;
11890 	kSGChannelSetRequestedDataRateSelect = $0095;
11891 	kSGChannelGetRequestedDataRateSelect = $0096;
11892 	kSGChannelSetDataSourceNameSelect = $0097;
11893 	kSGChannelGetDataSourceNameSelect = $0098;
11894 	kSGChannelSetCodecSettingsSelect = $0099;
11895 	kSGChannelGetCodecSettingsSelect = $009A;
11896 	kSGGetChannelTimeBaseSelect = $009B;
11897 	kSGGetChannelRefConSelect = $009C;
11898 	kSGGetChannelDeviceAndInputNamesSelect = $009D;
11899 	kSGSetChannelDeviceInputSelect = $009E;
11900 	kSGSetChannelSettingsStateChangingSelect = $009F;
11901 	kSGInitChannelSelect = $0180;
11902 	kSGWriteSamplesSelect = $0181;
11903 	kSGGetDataRateSelect = $0182;
11904 	kSGAlignChannelRectSelect = $0183;
11905 	kSGPanelGetDitlSelect = $0200;
11906 	kSGPanelGetTitleSelect = $0201;
11907 	kSGPanelCanRunSelect = $0202;
11908 	kSGPanelInstallSelect = $0203;
11909 	kSGPanelEventSelect = $0204;
11910 	kSGPanelItemSelect = $0205;
11911 	kSGPanelRemoveSelect = $0206;
11912 	kSGPanelSetGrabberSelect = $0207;
11913 	kSGPanelSetResFileSelect = $0208;
11914 	kSGPanelGetSettingsSelect = $0209;
11915 	kSGPanelSetSettingsSelect = $020A;
11916 	kSGPanelValidateInputSelect = $020B;
11917 	kSGPanelSetEventFilterSelect = $020C;
11918 	kSGPanelGetDITLForSizeSelect = $020D;
11919 	kSGGetSrcVideoBoundsSelect = $0100;
11920 	kSGSetVideoRectSelect = $0101;
11921 	kSGGetVideoRectSelect = $0102;
11922 	kSGGetVideoCompressorTypeSelect = $0103;
11923 	kSGSetVideoCompressorTypeSelect = $0104;
11924 	kSGSetVideoCompressorSelect = $0105;
11925 	kSGGetVideoCompressorSelect = $0106;
11926 	kSGGetVideoDigitizerComponentSelect = $0107;
11927 	kSGSetVideoDigitizerComponentSelect = $0108;
11928 	kSGVideoDigitizerChangedSelect = $0109;
11929 	kSGSetVideoBottlenecksSelect = $010A;
11930 	kSGGetVideoBottlenecksSelect = $010B;
11931 	kSGGrabFrameSelect = $010C;
11932 	kSGGrabFrameCompleteSelect = $010D;
11933 	kSGDisplayFrameSelect = $010E;
11934 	kSGCompressFrameSelect = $010F;
11935 	kSGCompressFrameCompleteSelect = $0110;
11936 	kSGAddFrameSelect = $0111;
11937 	kSGTransferFrameForCompressSelect = $0112;
11938 	kSGSetCompressBufferSelect = $0113;
11939 	kSGGetCompressBufferSelect = $0114;
11940 	kSGGetBufferInfoSelect = $0115;
11941 	kSGSetUseScreenBufferSelect = $0116;
11942 	kSGGetUseScreenBufferSelect = $0117;
11943 	kSGGrabCompressCompleteSelect = $0118;
11944 	kSGDisplayCompressSelect = $0119;
11945 	kSGSetFrameRateSelect = $011A;
11946 	kSGGetFrameRateSelect = $011B;
11947 	kSGSetPreferredPacketSizeSelect = $0121;
11948 	kSGGetPreferredPacketSizeSelect = $0122;
11949 	kSGSetUserVideoCompressorListSelect = $0123;
11950 	kSGGetUserVideoCompressorListSelect = $0124;
11951 	kSGSetSoundInputDriverSelect = $0100;
11952 	kSGGetSoundInputDriverSelect = $0101;
11953 	kSGSoundInputDriverChangedSelect = $0102;
11954 	kSGSetSoundRecordChunkSizeSelect = $0103;
11955 	kSGGetSoundRecordChunkSizeSelect = $0104;
11956 	kSGSetSoundInputRateSelect = $0105;
11957 	kSGGetSoundInputRateSelect = $0106;
11958 	kSGSetSoundInputParametersSelect = $0107;
11959 	kSGGetSoundInputParametersSelect = $0108;
11960 	kSGSetAdditionalSoundRatesSelect = $0109;
11961 	kSGGetAdditionalSoundRatesSelect = $010A;
11962 	kSGSetFontNameSelect = $0100;
11963 	kSGSetFontSizeSelect = $0101;
11964 	kSGSetTextForeColorSelect = $0102;
11965 	kSGSetTextBackColorSelect = $0103;
11966 	kSGSetJustificationSelect = $0104;
11967 	kSGGetTextReturnToSpaceValueSelect = $0105;
11968 	kSGSetTextReturnToSpaceValueSelect = $0106;
11969 	kSGGetInstrumentSelect = $0100;
11970 	kSGSetInstrumentSelect = $0101;
11971 	kQTVideoOutputGetDisplayModeListSelect = $0001;
11972 	kQTVideoOutputGetCurrentClientNameSelect = $0002;
11973 	kQTVideoOutputSetClientNameSelect = $0003;
11974 	kQTVideoOutputGetClientNameSelect = $0004;
11975 	kQTVideoOutputBeginSelect = $0005;
11976 	kQTVideoOutputEndSelect = $0006;
11977 	kQTVideoOutputSetDisplayModeSelect = $0007;
11978 	kQTVideoOutputGetDisplayModeSelect = $0008;
11979 	kQTVideoOutputCustomConfigureDisplaySelect = $0009;
11980 	kQTVideoOutputSaveStateSelect = $000A;
11981 	kQTVideoOutputRestoreStateSelect = $000B;
11982 	kQTVideoOutputGetGWorldSelect = $000C;
11983 	kQTVideoOutputGetGWorldParametersSelect = $000D;
11984 	kQTVideoOutputGetIndSoundOutputSelect = $000E;
11985 	kQTVideoOutputGetClockSelect = $000F;
11986 	kQTVideoOutputSetEchoPortSelect = $0010;
11987 	kQTVideoOutputGetIndImageDecompressorSelect = $0011;
11988 	kQTVideoOutputBaseSetEchoPortSelect = $0012;
11989 	kQTVideoOutputCopyIndAudioOutputDeviceUIDSelect = $0016;
11990 
11991 {$endc} {not TARGET_CPU_64}
11992 
11993 {$endc} {TARGET_OS_MAC}
11994 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
11995 
11996 end.
11997 {$endc} {not MACOSALLINCLUDE}
11998