QuickTimeComponents.pas 296 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454
  1. {
  2. File: QuickTimeComponents.p
  3. Contains: QuickTime Interfaces.
  4. Version: Technology: QuickTime 6.0
  5. Release: Universal Interfaces 3.4.2
  6. Copyright: © 1990-2002 by Apple Computer, Inc., all rights reserved
  7. Bugs?: For bug reports, consult the following page on
  8. the World Wide Web:
  9. http://www.freepascal.org/bugs.html
  10. }
  11. {
  12. Modified for use with Free Pascal
  13. Version 200
  14. Please report any bugs to <[email protected]>
  15. }
  16. {$mode macpas}
  17. {$packenum 1}
  18. {$macro on}
  19. {$inline on}
  20. {$CALLING MWPASCAL}
  21. unit QuickTimeComponents;
  22. interface
  23. {$setc UNIVERSAL_INTERFACES_VERSION := $0342}
  24. {$setc GAP_INTERFACES_VERSION := $0200}
  25. {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
  26. {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
  27. {$endc}
  28. {$ifc defined CPUPOWERPC and defined CPUI386}
  29. {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
  30. {$endc}
  31. {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
  32. {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
  33. {$endc}
  34. {$ifc not defined __ppc__ and defined CPUPOWERPC}
  35. {$setc __ppc__ := 1}
  36. {$elsec}
  37. {$setc __ppc__ := 0}
  38. {$endc}
  39. {$ifc not defined __i386__ and defined CPUI386}
  40. {$setc __i386__ := 1}
  41. {$elsec}
  42. {$setc __i386__ := 0}
  43. {$endc}
  44. {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
  45. {$error Conflicting definitions for __ppc__ and __i386__}
  46. {$endc}
  47. {$ifc defined __ppc__ and __ppc__}
  48. {$setc TARGET_CPU_PPC := TRUE}
  49. {$setc TARGET_CPU_X86 := FALSE}
  50. {$elifc defined __i386__ and __i386__}
  51. {$setc TARGET_CPU_PPC := FALSE}
  52. {$setc TARGET_CPU_X86 := TRUE}
  53. {$elsec}
  54. {$error Neither __ppc__ nor __i386__ is defined.}
  55. {$endc}
  56. {$setc TARGET_CPU_PPC_64 := FALSE}
  57. {$ifc defined FPC_BIG_ENDIAN}
  58. {$setc TARGET_RT_BIG_ENDIAN := TRUE}
  59. {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
  60. {$elifc defined FPC_LITTLE_ENDIAN}
  61. {$setc TARGET_RT_BIG_ENDIAN := FALSE}
  62. {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
  63. {$elsec}
  64. {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
  65. {$endc}
  66. {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
  67. {$setc CALL_NOT_IN_CARBON := FALSE}
  68. {$setc OLDROUTINENAMES := FALSE}
  69. {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
  70. {$setc OPAQUE_UPP_TYPES := TRUE}
  71. {$setc OTCARBONAPPLICATION := TRUE}
  72. {$setc OTKERNEL := FALSE}
  73. {$setc PM_USE_SESSION_APIS := TRUE}
  74. {$setc TARGET_API_MAC_CARBON := TRUE}
  75. {$setc TARGET_API_MAC_OS8 := FALSE}
  76. {$setc TARGET_API_MAC_OSX := TRUE}
  77. {$setc TARGET_CARBON := TRUE}
  78. {$setc TARGET_CPU_68K := FALSE}
  79. {$setc TARGET_CPU_MIPS := FALSE}
  80. {$setc TARGET_CPU_SPARC := FALSE}
  81. {$setc TARGET_OS_MAC := TRUE}
  82. {$setc TARGET_OS_UNIX := FALSE}
  83. {$setc TARGET_OS_WIN32 := FALSE}
  84. {$setc TARGET_RT_MAC_68881 := FALSE}
  85. {$setc TARGET_RT_MAC_CFM := FALSE}
  86. {$setc TARGET_RT_MAC_MACHO := TRUE}
  87. {$setc TYPED_FUNCTION_POINTERS := TRUE}
  88. {$setc TYPE_BOOL := FALSE}
  89. {$setc TYPE_EXTENDED := FALSE}
  90. {$setc TYPE_LONGLONG := TRUE}
  91. uses MacTypes,Files,Events,QDOffscreen,Menus,Dialogs,Aliases,MixedMode,Components,Quickdraw,Video,Sound,ImageCompression,Movies,QuickTimeMusic;
  92. {$ALIGN MAC68K}
  93. const
  94. clockComponentType = $636C6F6B (* 'clok' *);
  95. systemTickClock = $7469636B (* 'tick' *); { subtype: 60ths since boot }
  96. systemSecondClock = $7365636F (* 'seco' *); { subtype: seconds since 1904 }
  97. systemMillisecondClock = $6D696C6C (* 'mill' *); { subtype: 1000ths since boot }
  98. systemMicrosecondClock = $6D696372 (* 'micr' *); { subtype: 1000000ths since boot }
  99. kClockRateIsLinear = 1;
  100. kClockImplementsCallBacks = 2;
  101. kClockCanHandleIntermittentSound = 4; { sound clocks only }
  102. { * These are Clock procedures * }
  103. {
  104. * ClockGetTime()
  105. *
  106. * Availability:
  107. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  108. * CarbonLib: in CarbonLib 1.0 and later
  109. * Mac OS X: in version 10.0 and later
  110. * Windows: in qtmlClient.lib 3.0 and later
  111. }
  112. function ClockGetTime(aClock: ComponentInstance; var out: TimeRecord): ComponentResult; external name '_ClockGetTime';
  113. {
  114. * ClockNewCallBack()
  115. *
  116. * Availability:
  117. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  118. * CarbonLib: in CarbonLib 1.0 and later
  119. * Mac OS X: in version 10.0 and later
  120. * Windows: in qtmlClient.lib 3.0 and later
  121. }
  122. function ClockNewCallBack(aClock: ComponentInstance; tb: TimeBase; callBackType: SInt16): QTCallBack; external name '_ClockNewCallBack';
  123. {
  124. * ClockDisposeCallBack()
  125. *
  126. * Availability:
  127. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  128. * CarbonLib: in CarbonLib 1.0 and later
  129. * Mac OS X: in version 10.0 and later
  130. * Windows: in qtmlClient.lib 3.0 and later
  131. }
  132. function ClockDisposeCallBack(aClock: ComponentInstance; cb: QTCallBack): ComponentResult; external name '_ClockDisposeCallBack';
  133. {
  134. * ClockCallMeWhen()
  135. *
  136. * Availability:
  137. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  138. * CarbonLib: in CarbonLib 1.0 and later
  139. * Mac OS X: in version 10.0 and later
  140. * Windows: in qtmlClient.lib 3.0 and later
  141. }
  142. function ClockCallMeWhen(aClock: ComponentInstance; cb: QTCallBack; param1: SInt32; param2: SInt32; param3: SInt32): ComponentResult; external name '_ClockCallMeWhen';
  143. {
  144. * ClockCancelCallBack()
  145. *
  146. * Availability:
  147. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  148. * CarbonLib: in CarbonLib 1.0 and later
  149. * Mac OS X: in version 10.0 and later
  150. * Windows: in qtmlClient.lib 3.0 and later
  151. }
  152. function ClockCancelCallBack(aClock: ComponentInstance; cb: QTCallBack): ComponentResult; external name '_ClockCancelCallBack';
  153. {
  154. * ClockRateChanged()
  155. *
  156. * Availability:
  157. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  158. * CarbonLib: in CarbonLib 1.0 and later
  159. * Mac OS X: in version 10.0 and later
  160. * Windows: in qtmlClient.lib 3.0 and later
  161. }
  162. function ClockRateChanged(aClock: ComponentInstance; cb: QTCallBack): ComponentResult; external name '_ClockRateChanged';
  163. {
  164. * ClockTimeChanged()
  165. *
  166. * Availability:
  167. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  168. * CarbonLib: in CarbonLib 1.0 and later
  169. * Mac OS X: in version 10.0 and later
  170. * Windows: in qtmlClient.lib 3.0 and later
  171. }
  172. function ClockTimeChanged(aClock: ComponentInstance; cb: QTCallBack): ComponentResult; external name '_ClockTimeChanged';
  173. {
  174. * ClockSetTimeBase()
  175. *
  176. * Availability:
  177. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  178. * CarbonLib: in CarbonLib 1.0 and later
  179. * Mac OS X: in version 10.0 and later
  180. * Windows: in qtmlClient.lib 3.0 and later
  181. }
  182. function ClockSetTimeBase(aClock: ComponentInstance; tb: TimeBase): ComponentResult; external name '_ClockSetTimeBase';
  183. {
  184. * ClockStartStopChanged()
  185. *
  186. * Availability:
  187. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  188. * CarbonLib: in CarbonLib 1.0 and later
  189. * Mac OS X: in version 10.0 and later
  190. * Windows: in qtmlClient.lib 3.0 and later
  191. }
  192. function ClockStartStopChanged(aClock: ComponentInstance; cb: QTCallBack; startChanged: boolean; stopChanged: boolean): ComponentResult; external name '_ClockStartStopChanged';
  193. {
  194. * ClockGetRate()
  195. *
  196. * Availability:
  197. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  198. * CarbonLib: in CarbonLib 1.0 and later
  199. * Mac OS X: in version 10.0 and later
  200. * Windows: in qtmlClient.lib 3.0 and later
  201. }
  202. function ClockGetRate(aClock: ComponentInstance; var rate: Fixed): ComponentResult; external name '_ClockGetRate';
  203. const
  204. StandardCompressionType = $73636469 (* 'scdi' *);
  205. StandardCompressionSubType = $696D6167 (* 'imag' *);
  206. StandardCompressionSubTypeSound = $736F756E (* 'soun' *);
  207. type
  208. {$ifc TYPED_FUNCTION_POINTERS}
  209. SCModalFilterProcPtr = function(theDialog: DialogRef; var theEvent: EventRecord; var itemHit: SInt16; refcon: SInt32): boolean;
  210. {$elsec}
  211. SCModalFilterProcPtr = ProcPtr;
  212. {$endc}
  213. {$ifc TYPED_FUNCTION_POINTERS}
  214. SCModalHookProcPtr = function(theDialog: DialogRef; itemHit: SInt16; params: UnivPtr; refcon: SInt32): SInt16;
  215. {$elsec}
  216. SCModalHookProcPtr = ProcPtr;
  217. {$endc}
  218. {$ifc OPAQUE_UPP_TYPES}
  219. SCModalFilterUPP = ^SInt32; { an opaque UPP }
  220. {$elsec}
  221. SCModalFilterUPP = UniversalProcPtr;
  222. {$endc}
  223. {$ifc OPAQUE_UPP_TYPES}
  224. SCModalHookUPP = ^SInt32; { an opaque UPP }
  225. {$elsec}
  226. SCModalHookUPP = UniversalProcPtr;
  227. {$endc}
  228. { Preference flags. }
  229. const
  230. scListEveryCodec = $00000002;
  231. scAllowZeroFrameRate = $00000004;
  232. scAllowZeroKeyFrameRate = $00000008;
  233. scShowBestDepth = $00000010;
  234. scUseMovableModal = $00000020;
  235. scDisableFrameRateItem = $00000040;
  236. scShowDataRateAsKilobits = $00000080;
  237. { Possible test flags for setting test image. }
  238. scPreferCropping = $01;
  239. scPreferScaling = $02;
  240. scPreferScalingAndCropping = $03;
  241. scDontDetermineSettingsFromTestImage = $04;
  242. { Dimensions of the image preview box. }
  243. scTestImageWidth = 80;
  244. scTestImageHeight = 80;
  245. { Possible items returned by hookProc. }
  246. scOKItem = 1;
  247. scCancelItem = 2;
  248. scCustomItem = 3;
  249. { Result returned when user cancelled. }
  250. scUserCancelled = 1;
  251. { Get/SetInfo structures. }
  252. type
  253. SCSpatialSettingsPtr = ^SCSpatialSettings;
  254. SCSpatialSettings = record
  255. codecType: CodecType_fix;
  256. codec: CodecComponent;
  257. depth: SInt16;
  258. spatialQuality: CodecQ;
  259. end;
  260. SCTemporalSettingsPtr = ^SCTemporalSettings;
  261. SCTemporalSettings = record
  262. temporalQuality: CodecQ;
  263. frameRate: Fixed;
  264. keyFrameRate: SInt32;
  265. end;
  266. SCDataRateSettingsPtr = ^SCDataRateSettings;
  267. SCDataRateSettings = record
  268. dataRate: SInt32;
  269. frameDuration: SInt32;
  270. minSpatialQuality: CodecQ;
  271. minTemporalQuality: CodecQ;
  272. end;
  273. SCExtendedProcsPtr = ^SCExtendedProcs;
  274. SCExtendedProcs = record
  275. filterProc: SCModalFilterUPP;
  276. hookProc: SCModalHookUPP;
  277. refcon: SInt32;
  278. customName: Str31;
  279. end;
  280. { Get/SetInfo selectors }
  281. const
  282. scSpatialSettingsType = $7370746C (* 'sptl' *); { pointer to SCSpatialSettings struct }
  283. scTemporalSettingsType = $7470726C (* 'tprl' *); { pointer to SCTemporalSettings struct }
  284. scDataRateSettingsType = $64726174 (* 'drat' *); { pointer to SCDataRateSettings struct }
  285. scColorTableType = $636C7574 (* 'clut' *); { pointer to CTabHandle }
  286. scProgressProcType = $70726F67 (* 'prog' *); { pointer to ProgressRecord struct }
  287. scExtendedProcsType = $78707263 (* 'xprc' *); { pointer to SCExtendedProcs struct }
  288. scPreferenceFlagsType = $70726566 (* 'pref' *); { pointer to long }
  289. scSettingsStateType = $73737461 (* 'ssta' *); { pointer to Handle }
  290. scSequenceIDType = $73657175 (* 'sequ' *); { pointer to ImageSequence }
  291. scWindowPositionType = $776E6477 (* 'wndw' *); { pointer to Point }
  292. scCodecFlagsType = $63666C67 (* 'cflg' *); { pointer to CodecFlags }
  293. scCodecSettingsType = $63646563 (* 'cdec' *); { pointer to Handle }
  294. scForceKeyValueType = $6B73696D (* 'ksim' *); { pointer to long }
  295. scSoundSampleRateType = $73737274 (* 'ssrt' *); { pointer to UnsignedFixed }
  296. scSoundSampleSizeType = $73737373 (* 'ssss' *); { pointer to short }
  297. scSoundChannelCountType = $73736363 (* 'sscc' *); { pointer to short }
  298. scSoundCompressionType = $73736374 (* 'ssct' *); { pointer to OSType }
  299. scCompressionListType = $6374796C (* 'ctyl' *); { pointer to OSType Handle }
  300. scCodecManufacturerType = $636D6672 (* 'cmfr' *); { pointer to OSType }
  301. scSoundVBRCompressionOK = $63766272 (* 'cvbr' *); { pointer to Boolean }
  302. scSoundInputSampleRateType = $73736972 (* 'ssir' *); { pointer to UnsignedFixed }
  303. scSoundSampleRateChangeOK = $72636F6B (* 'rcok' *); { pointer to Boolean }
  304. scAvailableCompressionListType = $61766169 (* 'avai' *); { pointer to OSType Handle }
  305. { scTypeNotFoundErr returned by Get/SetInfo when type cannot be found. }
  306. type
  307. SCParamsPtr = ^SCParams;
  308. SCParams = record
  309. flags: SInt32;
  310. theCodecType: CodecType;
  311. theCodec: CodecComponent;
  312. spatialQuality: CodecQ;
  313. temporalQuality: CodecQ;
  314. depth: SInt16;
  315. frameRate: Fixed;
  316. keyFrameRate: SInt32;
  317. reserved1: SInt32;
  318. reserved2: SInt32;
  319. end;
  320. const
  321. scGetCompression = 1;
  322. scShowMotionSettings = $00000001;
  323. scSettingsChangedItem = -1;
  324. scCompressFlagIgnoreIdenticalFrames = 1;
  325. { QTAtomTypes for atoms found in settings atom containers }
  326. kQTSettingsVideo = $76696465 (* 'vide' *); { Container for video/image compression related atoms (Get/SetInfo selectors) }
  327. kQTSettingsSound = $736F756E (* 'soun' *); { Container for sound compression related atoms (Get/SetInfo selectors) }
  328. kQTSettingsComponentVersion = $76657273 (* 'vers' *); { . Version of component that wrote settings (QTSettingsVersionAtomRecord) }
  329. { Format of 'vers' atom found in settings atom containers }
  330. type
  331. QTSettingsVersionAtomRecordPtr = ^QTSettingsVersionAtomRecord;
  332. QTSettingsVersionAtomRecord = record
  333. componentVersion: SInt32; { standard compression component version }
  334. flags: SInt16; { low bit is 1 if little endian platform, 0 if big endian platform }
  335. reserved: SInt16; { should be 0 }
  336. end;
  337. { * These are Progress procedures * }
  338. {
  339. * SCGetCompressionExtended()
  340. *
  341. * Availability:
  342. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  343. * CarbonLib: in CarbonLib 1.0 and later
  344. * Mac OS X: in version 10.0 and later
  345. * Windows: in qtmlClient.lib 3.0 and later
  346. }
  347. function SCGetCompressionExtended(ci: ComponentInstance; var params: SCParams; where: Point; filterProc: SCModalFilterUPP; hookProc: SCModalHookUPP; refcon: SInt32; customName: StringPtr): ComponentResult; external name '_SCGetCompressionExtended';
  348. {
  349. * SCPositionRect()
  350. *
  351. * Availability:
  352. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  353. * CarbonLib: in CarbonLib 1.0 and later
  354. * Mac OS X: in version 10.0 and later
  355. * Windows: in qtmlClient.lib 3.0 and later
  356. }
  357. function SCPositionRect(ci: ComponentInstance; var rp: Rect; var where: Point): ComponentResult; external name '_SCPositionRect';
  358. {
  359. * SCPositionDialog()
  360. *
  361. * Availability:
  362. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  363. * CarbonLib: in CarbonLib 1.0 and later
  364. * Mac OS X: in version 10.0 and later
  365. * Windows: in qtmlClient.lib 3.0 and later
  366. }
  367. function SCPositionDialog(ci: ComponentInstance; id: SInt16; var where: Point): ComponentResult; external name '_SCPositionDialog';
  368. {
  369. * SCSetTestImagePictHandle()
  370. *
  371. * Availability:
  372. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  373. * CarbonLib: in CarbonLib 1.0 and later
  374. * Mac OS X: in version 10.0 and later
  375. * Windows: in qtmlClient.lib 3.0 and later
  376. }
  377. function SCSetTestImagePictHandle(ci: ComponentInstance; testPict: PicHandle; var testRect: Rect; testFlags: SInt16): ComponentResult; external name '_SCSetTestImagePictHandle';
  378. {
  379. * SCSetTestImagePictFile()
  380. *
  381. * Availability:
  382. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  383. * CarbonLib: in CarbonLib 1.0 and later
  384. * Mac OS X: in version 10.0 and later
  385. * Windows: in qtmlClient.lib 3.0 and later
  386. }
  387. function SCSetTestImagePictFile(ci: ComponentInstance; testFileRef: SInt16; var testRect: Rect; testFlags: SInt16): ComponentResult; external name '_SCSetTestImagePictFile';
  388. {
  389. * SCSetTestImagePixMap()
  390. *
  391. * Availability:
  392. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  393. * CarbonLib: in CarbonLib 1.0 and later
  394. * Mac OS X: in version 10.0 and later
  395. * Windows: in qtmlClient.lib 3.0 and later
  396. }
  397. function SCSetTestImagePixMap(ci: ComponentInstance; testPixMap: PixMapHandle; var testRect: Rect; testFlags: SInt16): ComponentResult; external name '_SCSetTestImagePixMap';
  398. {
  399. * SCGetBestDeviceRect()
  400. *
  401. * Availability:
  402. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  403. * CarbonLib: in CarbonLib 1.0 and later
  404. * Mac OS X: in version 10.0 and later
  405. * Windows: in qtmlClient.lib 3.0 and later
  406. }
  407. function SCGetBestDeviceRect(ci: ComponentInstance; var r: Rect): ComponentResult; external name '_SCGetBestDeviceRect';
  408. {
  409. * SCRequestImageSettings()
  410. *
  411. * Availability:
  412. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  413. * CarbonLib: in CarbonLib 1.0 and later
  414. * Mac OS X: in version 10.0 and later
  415. * Windows: in qtmlClient.lib 3.0 and later
  416. }
  417. function SCRequestImageSettings(ci: ComponentInstance): ComponentResult; external name '_SCRequestImageSettings';
  418. {
  419. * SCCompressImage()
  420. *
  421. * Availability:
  422. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  423. * CarbonLib: in CarbonLib 1.0 and later
  424. * Mac OS X: in version 10.0 and later
  425. * Windows: in qtmlClient.lib 3.0 and later
  426. }
  427. function SCCompressImage(ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var desc: ImageDescriptionHandle; var data: Handle): ComponentResult; external name '_SCCompressImage';
  428. {
  429. * SCCompressPicture()
  430. *
  431. * Availability:
  432. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  433. * CarbonLib: in CarbonLib 1.0 and later
  434. * Mac OS X: in version 10.0 and later
  435. * Windows: in qtmlClient.lib 3.0 and later
  436. }
  437. function SCCompressPicture(ci: ComponentInstance; srcPicture: PicHandle; dstPicture: PicHandle): ComponentResult; external name '_SCCompressPicture';
  438. {
  439. * SCCompressPictureFile()
  440. *
  441. * Availability:
  442. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  443. * CarbonLib: in CarbonLib 1.0 and later
  444. * Mac OS X: in version 10.0 and later
  445. * Windows: in qtmlClient.lib 3.0 and later
  446. }
  447. function SCCompressPictureFile(ci: ComponentInstance; srcRefNum: SInt16; dstRefNum: SInt16): ComponentResult; external name '_SCCompressPictureFile';
  448. {
  449. * SCRequestSequenceSettings()
  450. *
  451. * Availability:
  452. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  453. * CarbonLib: in CarbonLib 1.0 and later
  454. * Mac OS X: in version 10.0 and later
  455. * Windows: in qtmlClient.lib 3.0 and later
  456. }
  457. function SCRequestSequenceSettings(ci: ComponentInstance): ComponentResult; external name '_SCRequestSequenceSettings';
  458. {
  459. * SCCompressSequenceBegin()
  460. *
  461. * Availability:
  462. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  463. * CarbonLib: in CarbonLib 1.0 and later
  464. * Mac OS X: in version 10.0 and later
  465. * Windows: in qtmlClient.lib 3.0 and later
  466. }
  467. function SCCompressSequenceBegin(ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var desc: ImageDescriptionHandle): ComponentResult; external name '_SCCompressSequenceBegin';
  468. {
  469. * SCCompressSequenceFrame()
  470. *
  471. * Availability:
  472. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  473. * CarbonLib: in CarbonLib 1.0 and later
  474. * Mac OS X: in version 10.0 and later
  475. * Windows: in qtmlClient.lib 3.0 and later
  476. }
  477. function SCCompressSequenceFrame(ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var data: Handle; var dataSize: SInt32; var notSyncFlag: SInt16): ComponentResult; external name '_SCCompressSequenceFrame';
  478. {
  479. * SCCompressSequenceEnd()
  480. *
  481. * Availability:
  482. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  483. * CarbonLib: in CarbonLib 1.0 and later
  484. * Mac OS X: in version 10.0 and later
  485. * Windows: in qtmlClient.lib 3.0 and later
  486. }
  487. function SCCompressSequenceEnd(ci: ComponentInstance): ComponentResult; external name '_SCCompressSequenceEnd';
  488. {
  489. * SCDefaultPictHandleSettings()
  490. *
  491. * Availability:
  492. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  493. * CarbonLib: in CarbonLib 1.0 and later
  494. * Mac OS X: in version 10.0 and later
  495. * Windows: in qtmlClient.lib 3.0 and later
  496. }
  497. function SCDefaultPictHandleSettings(ci: ComponentInstance; srcPicture: PicHandle; motion: SInt16): ComponentResult; external name '_SCDefaultPictHandleSettings';
  498. {
  499. * SCDefaultPictFileSettings()
  500. *
  501. * Availability:
  502. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  503. * CarbonLib: in CarbonLib 1.0 and later
  504. * Mac OS X: in version 10.0 and later
  505. * Windows: in qtmlClient.lib 3.0 and later
  506. }
  507. function SCDefaultPictFileSettings(ci: ComponentInstance; srcRef: SInt16; motion: SInt16): ComponentResult; external name '_SCDefaultPictFileSettings';
  508. {
  509. * SCDefaultPixMapSettings()
  510. *
  511. * Availability:
  512. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  513. * CarbonLib: in CarbonLib 1.0 and later
  514. * Mac OS X: in version 10.0 and later
  515. * Windows: in qtmlClient.lib 3.0 and later
  516. }
  517. function SCDefaultPixMapSettings(ci: ComponentInstance; src: PixMapHandle; motion: SInt16): ComponentResult; external name '_SCDefaultPixMapSettings';
  518. {
  519. * SCGetInfo()
  520. *
  521. * Availability:
  522. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  523. * CarbonLib: in CarbonLib 1.0 and later
  524. * Mac OS X: in version 10.0 and later
  525. * Windows: in qtmlClient.lib 3.0 and later
  526. }
  527. function SCGetInfo(ci: ComponentInstance; infoType: OSType; info: UnivPtr): ComponentResult; external name '_SCGetInfo';
  528. {
  529. * SCSetInfo()
  530. *
  531. * Availability:
  532. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  533. * CarbonLib: in CarbonLib 1.0 and later
  534. * Mac OS X: in version 10.0 and later
  535. * Windows: in qtmlClient.lib 3.0 and later
  536. }
  537. function SCSetInfo(ci: ComponentInstance; infoType: OSType; info: UnivPtr): ComponentResult; external name '_SCSetInfo';
  538. {
  539. * SCNewGWorld()
  540. *
  541. * Availability:
  542. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  543. * CarbonLib: in CarbonLib 1.0 and later
  544. * Mac OS X: in version 10.0 and later
  545. * Windows: in qtmlClient.lib 3.0 and later
  546. }
  547. function SCNewGWorld(ci: ComponentInstance; var gwp: GWorldPtr; var rp: Rect; flags: GWorldFlags): ComponentResult; external name '_SCNewGWorld';
  548. {
  549. * SCSetCompressFlags()
  550. *
  551. * Availability:
  552. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  553. * CarbonLib: in CarbonLib 1.0 and later
  554. * Mac OS X: in version 10.0 and later
  555. * Windows: in qtmlClient.lib 3.0 and later
  556. }
  557. function SCSetCompressFlags(ci: ComponentInstance; flags: SInt32): ComponentResult; external name '_SCSetCompressFlags';
  558. {
  559. * SCGetCompressFlags()
  560. *
  561. * Availability:
  562. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  563. * CarbonLib: in CarbonLib 1.0 and later
  564. * Mac OS X: in version 10.0 and later
  565. * Windows: in qtmlClient.lib 3.0 and later
  566. }
  567. function SCGetCompressFlags(ci: ComponentInstance; var flags: SInt32): ComponentResult; external name '_SCGetCompressFlags';
  568. {
  569. * SCGetSettingsAsText()
  570. *
  571. * Availability:
  572. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  573. * CarbonLib: in CarbonLib 1.0 and later
  574. * Mac OS X: in version 10.0 and later
  575. * Windows: in qtmlClient.lib 3.0 and later
  576. }
  577. function SCGetSettingsAsText(ci: ComponentInstance; var text: Handle): ComponentResult; external name '_SCGetSettingsAsText';
  578. {
  579. * SCGetSettingsAsAtomContainer()
  580. *
  581. * Availability:
  582. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  583. * CarbonLib: in CarbonLib 1.0 and later
  584. * Mac OS X: in version 10.0 and later
  585. * Windows: in qtmlClient.lib 3.0 and later
  586. }
  587. function SCGetSettingsAsAtomContainer(ci: ComponentInstance; var settings: QTAtomContainer): ComponentResult; external name '_SCGetSettingsAsAtomContainer';
  588. {
  589. * SCSetSettingsFromAtomContainer()
  590. *
  591. * Availability:
  592. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  593. * CarbonLib: in CarbonLib 1.0 and later
  594. * Mac OS X: in version 10.0 and later
  595. * Windows: in qtmlClient.lib 3.0 and later
  596. }
  597. function SCSetSettingsFromAtomContainer(ci: ComponentInstance; settings: QTAtomContainer): ComponentResult; external name '_SCSetSettingsFromAtomContainer';
  598. { Note: if you're using SCCompressSequenceFrameAsync with a scForceKeyValue setting, you must call SCAsyncIdle occasionally at main task time. }
  599. {
  600. * SCCompressSequenceFrameAsync()
  601. *
  602. * Availability:
  603. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  604. * CarbonLib: in CarbonLib 1.3 and later
  605. * Mac OS X: in version 10.0 and later
  606. * Windows: in qtmlClient.lib 5.0 and later
  607. }
  608. function SCCompressSequenceFrameAsync(ci: ComponentInstance; src: PixMapHandle; const (*var*) srcRect: Rect; var data: Handle; var dataSize: SInt32; var notSyncFlag: SInt16; asyncCompletionProc: ICMCompletionProcRecordPtr): ComponentResult; external name '_SCCompressSequenceFrameAsync';
  609. {
  610. * SCAsyncIdle()
  611. *
  612. * Availability:
  613. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  614. * CarbonLib: in CarbonLib 1.3 and later
  615. * Mac OS X: in version 10.0 and later
  616. * Windows: in qtmlClient.lib 5.0 and later
  617. }
  618. function SCAsyncIdle(ci: ComponentInstance): ComponentResult; external name '_SCAsyncIdle';
  619. const
  620. TweenComponentType = $7477656E (* 'twen' *);
  621. type
  622. TweenerComponent = ComponentInstance;
  623. {
  624. * TweenerInitialize()
  625. *
  626. * Availability:
  627. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  628. * CarbonLib: in CarbonLib 1.0 and later
  629. * Mac OS X: in version 10.0 and later
  630. * Windows: in qtmlClient.lib 3.0 and later
  631. }
  632. function TweenerInitialize(tc: TweenerComponent; container: QTAtomContainer; tweenAtom: QTAtom; dataAtom: QTAtom): ComponentResult; external name '_TweenerInitialize';
  633. {
  634. * TweenerDoTween()
  635. *
  636. * Availability:
  637. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  638. * CarbonLib: in CarbonLib 1.0 and later
  639. * Mac OS X: in version 10.0 and later
  640. * Windows: in qtmlClient.lib 3.0 and later
  641. }
  642. function TweenerDoTween(tc: TweenerComponent; var tr: TweenRecord): ComponentResult; external name '_TweenerDoTween';
  643. {
  644. * TweenerReset()
  645. *
  646. * Availability:
  647. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  648. * CarbonLib: in CarbonLib 1.0 and later
  649. * Mac OS X: in version 10.0 and later
  650. * Windows: in qtmlClient.lib 3.0 and later
  651. }
  652. function TweenerReset(tc: TweenerComponent): ComponentResult; external name '_TweenerReset';
  653. const
  654. TCSourceRefNameType = $6E616D65 (* 'name' *);
  655. tcDropFrame = $01;
  656. tc24HourMax = $02;
  657. tcNegTimesOK = $04;
  658. tcCounter = $08;
  659. type
  660. TimeCodeDefPtr = ^TimeCodeDef;
  661. TimeCodeDef = record
  662. flags: SInt32; { drop-frame, etc. }
  663. fTimeScale: TimeScale; { time scale of frameDuration (eg. 2997) }
  664. frameDuration: TimeValue; { duration of each frame (eg. 100) }
  665. numFrames: SInt8; { frames/sec for timecode (eg. 30) OR frames/tick for counter mode }
  666. padding: SInt8; { unused padding byte }
  667. end;
  668. TimeCodeDef_fix = TimeCodeDef; { used as field type when a record declaration contains a TimeCodeDef field identifier }
  669. const
  670. tctNegFlag = $80; { negative bit is in minutes }
  671. type
  672. TimeCodeTimePtr = ^TimeCodeTime;
  673. TimeCodeTime = record
  674. hours: SInt8;
  675. minutes: SInt8;
  676. seconds: SInt8;
  677. frames: SInt8;
  678. end;
  679. TimeCodeCounterPtr = ^TimeCodeCounter;
  680. TimeCodeCounter = record
  681. counter: SInt32;
  682. end;
  683. TimeCodeRecordPtr = ^TimeCodeRecord;
  684. TimeCodeRecord = record
  685. case SInt16 of
  686. 0: (
  687. t: TimeCodeTime;
  688. );
  689. 1: (
  690. c: TimeCodeCounter;
  691. );
  692. end;
  693. TimeCodeDescriptionPtr = ^TimeCodeDescription;
  694. TimeCodeDescription = record
  695. descSize: SInt32; { standard sample description header }
  696. dataFormat: SInt32;
  697. resvd1: SInt32;
  698. resvd2: SInt16;
  699. dataRefIndex: SInt16;
  700. flags: SInt32; { timecode specific stuff }
  701. timeCodeDef: TimeCodeDef_fix;
  702. srcRef: array [0..0] of SInt32;
  703. end;
  704. TimeCodeDescriptionHandle = ^TimeCodeDescriptionPtr;
  705. const
  706. tcdfShowTimeCode = $01;
  707. type
  708. TCTextOptionsPtr = ^TCTextOptions;
  709. TCTextOptions = record
  710. txFont: SInt16;
  711. txFace: SInt16;
  712. txSize: SInt16;
  713. pad: SInt16; { let's make it longword aligned - thanks.. }
  714. foreColor: RGBColor;
  715. backColor: RGBColor;
  716. end;
  717. {
  718. * TCGetCurrentTimeCode()
  719. *
  720. * Availability:
  721. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  722. * CarbonLib: in CarbonLib 1.0 and later
  723. * Mac OS X: in version 10.0 and later
  724. * Windows: in qtmlClient.lib 3.0 and later
  725. }
  726. function TCGetCurrentTimeCode(mh: MediaHandler; var frameNum: SInt32; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; var srcRefH: UserData): HandlerError; external name '_TCGetCurrentTimeCode';
  727. {
  728. * TCGetTimeCodeAtTime()
  729. *
  730. * Availability:
  731. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  732. * CarbonLib: in CarbonLib 1.0 and later
  733. * Mac OS X: in version 10.0 and later
  734. * Windows: in qtmlClient.lib 3.0 and later
  735. }
  736. function TCGetTimeCodeAtTime(mh: MediaHandler; mediaTime: TimeValue; var frameNum: SInt32; var tcdef: TimeCodeDef; var tcdata: TimeCodeRecord; var srcRefH: UserData): HandlerError; external name '_TCGetTimeCodeAtTime';
  737. {
  738. * TCTimeCodeToString()
  739. *
  740. * Availability:
  741. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  742. * CarbonLib: in CarbonLib 1.0 and later
  743. * Mac OS X: in version 10.0 and later
  744. * Windows: in qtmlClient.lib 3.0 and later
  745. }
  746. function TCTimeCodeToString(mh: MediaHandler; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; tcStr: StringPtr): HandlerError; external name '_TCTimeCodeToString';
  747. {
  748. * TCTimeCodeToFrameNumber()
  749. *
  750. * Availability:
  751. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  752. * CarbonLib: in CarbonLib 1.0 and later
  753. * Mac OS X: in version 10.0 and later
  754. * Windows: in qtmlClient.lib 3.0 and later
  755. }
  756. function TCTimeCodeToFrameNumber(mh: MediaHandler; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord; var frameNumber: SInt32): HandlerError; external name '_TCTimeCodeToFrameNumber';
  757. {
  758. * TCFrameNumberToTimeCode()
  759. *
  760. * Availability:
  761. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  762. * CarbonLib: in CarbonLib 1.0 and later
  763. * Mac OS X: in version 10.0 and later
  764. * Windows: in qtmlClient.lib 3.0 and later
  765. }
  766. function TCFrameNumberToTimeCode(mh: MediaHandler; frameNumber: SInt32; var tcdef: TimeCodeDef; var tcrec: TimeCodeRecord): HandlerError; external name '_TCFrameNumberToTimeCode';
  767. {
  768. * TCGetSourceRef()
  769. *
  770. * Availability:
  771. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  772. * CarbonLib: in CarbonLib 1.0 and later
  773. * Mac OS X: in version 10.0 and later
  774. * Windows: in qtmlClient.lib 3.0 and later
  775. }
  776. function TCGetSourceRef(mh: MediaHandler; tcdH: TimeCodeDescriptionHandle; var srefH: UserData): HandlerError; external name '_TCGetSourceRef';
  777. {
  778. * TCSetSourceRef()
  779. *
  780. * Availability:
  781. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  782. * CarbonLib: in CarbonLib 1.0 and later
  783. * Mac OS X: in version 10.0 and later
  784. * Windows: in qtmlClient.lib 3.0 and later
  785. }
  786. function TCSetSourceRef(mh: MediaHandler; tcdH: TimeCodeDescriptionHandle; srefH: UserData): HandlerError; external name '_TCSetSourceRef';
  787. {
  788. * TCSetTimeCodeFlags()
  789. *
  790. * Availability:
  791. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  792. * CarbonLib: in CarbonLib 1.0 and later
  793. * Mac OS X: in version 10.0 and later
  794. * Windows: in qtmlClient.lib 3.0 and later
  795. }
  796. function TCSetTimeCodeFlags(mh: MediaHandler; flags: SInt32; flagsMask: SInt32): HandlerError; external name '_TCSetTimeCodeFlags';
  797. {
  798. * TCGetTimeCodeFlags()
  799. *
  800. * Availability:
  801. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  802. * CarbonLib: in CarbonLib 1.0 and later
  803. * Mac OS X: in version 10.0 and later
  804. * Windows: in qtmlClient.lib 3.0 and later
  805. }
  806. function TCGetTimeCodeFlags(mh: MediaHandler; var flags: SInt32): HandlerError; external name '_TCGetTimeCodeFlags';
  807. {
  808. * TCSetDisplayOptions()
  809. *
  810. * Availability:
  811. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  812. * CarbonLib: in CarbonLib 1.0 and later
  813. * Mac OS X: in version 10.0 and later
  814. * Windows: in qtmlClient.lib 3.0 and later
  815. }
  816. function TCSetDisplayOptions(mh: MediaHandler; textOptions: TCTextOptionsPtr): HandlerError; external name '_TCSetDisplayOptions';
  817. {
  818. * TCGetDisplayOptions()
  819. *
  820. * Availability:
  821. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  822. * CarbonLib: in CarbonLib 1.0 and later
  823. * Mac OS X: in version 10.0 and later
  824. * Windows: in qtmlClient.lib 3.0 and later
  825. }
  826. function TCGetDisplayOptions(mh: MediaHandler; textOptions: TCTextOptionsPtr): HandlerError; external name '_TCGetDisplayOptions';
  827. type
  828. MovieImportComponent = ComponentInstance;
  829. MovieExportComponent = ComponentInstance;
  830. const
  831. MovieImportType = $65617420 (* 'eat ' *);
  832. MovieExportType = $73706974 (* 'spit' *);
  833. canMovieImportHandles = $01;
  834. canMovieImportFiles = $02;
  835. hasMovieImportUserInterface = $04;
  836. canMovieExportHandles = $08;
  837. canMovieExportFiles = $10;
  838. hasMovieExportUserInterface = $20;
  839. movieImporterIsXMLBased = $20;
  840. dontAutoFileMovieImport = $40;
  841. canMovieExportAuxDataHandle = $80;
  842. canMovieImportValidateHandles = $0100;
  843. canMovieImportValidateFile = $0200;
  844. dontRegisterWithEasyOpen = $0400;
  845. canMovieImportInPlace = $0800;
  846. movieImportSubTypeIsFileExtension = $1000;
  847. canMovieImportPartial = $2000;
  848. hasMovieImportMIMEList = $4000;
  849. canMovieImportAvoidBlocking = $8000;
  850. canMovieExportFromProcedures = $8000;
  851. canMovieExportValidateMovie = $00010000;
  852. movieImportMustGetDestinationMediaType = $00010000;
  853. movieExportNeedsResourceFork = $00020000;
  854. canMovieImportDataReferences = $00040000;
  855. movieExportMustGetSourceMediaType = $00080000;
  856. canMovieImportWithIdle = $00100000;
  857. canMovieImportValidateDataReferences = $00200000;
  858. reservedForUseByGraphicsImporters = $00800000;
  859. movieImportCreateTrack = 1;
  860. movieImportInParallel = 2;
  861. movieImportMustUseTrack = 4;
  862. movieImportWithIdle = 16;
  863. movieImportResultUsedMultipleTracks = 8;
  864. movieImportResultNeedIdles = 32;
  865. movieImportResultComplete = 64;
  866. kMovieExportTextOnly = 0;
  867. kMovieExportAbsoluteTime = 1;
  868. kMovieExportRelativeTime = 2;
  869. kMIDIImportSilenceBefore = $01;
  870. kMIDIImportSilenceAfter = $02;
  871. kMIDIImport20Playable = $04;
  872. kMIDIImportWantLyrics = $08;
  873. kQTMediaConfigResourceType = $6D636667 (* 'mcfg' *);
  874. kQTMediaConfigResourceVersion = 2;
  875. kQTMediaGroupResourceType = $6D677270 (* 'mgrp' *);
  876. kQTMediaGroupResourceVersion = 1;
  877. kQTBrowserInfoResourceType = $62727773 (* 'brws' *);
  878. kQTBrowserInfoResourceVersion = 1;
  879. kQTMediaMIMEInfoHasChanged = $00000002; { the MIME type(s) is(are) new or has changed since the last time }
  880. { someone asked about it }
  881. kQTMediaFileInfoHasChanged = $00000004; { the file extension(s) is(are) new or has changed since the last time }
  882. { anyone asked about it }
  883. kQTMediaConfigCanUseApp = $00040000; { this MIME type can be configured to use app }
  884. kQTMediaConfigCanUsePlugin = $00080000; { this MIME type can be configured to use plug-in }
  885. kQTMediaConfigUNUSED = $00100000; { currently unused }
  886. kQTMediaConfigBinaryFile = $00800000; { file should be transfered in binary mode }
  887. kQTMediaConfigTextFile = 0; { not a bit, defined for clarity }
  888. kQTMediaConfigMacintoshFile = $01000000; { file's resource fork is significant }
  889. kQTMediaConfigAssociateByDefault = $08000000; { take this file association by default }
  890. kQTMediaConfigUseAppByDefault = $10000000; { use the app by default for this MIME type }
  891. kQTMediaConfigUsePluginByDefault = $20000000; { use the plug-in by default for this MIME type }
  892. kQTMediaConfigDefaultsMask = $30000000;
  893. kQTMediaConfigDefaultsShift = 12; { ((flags & kQTMediaConfigDefaultsMask) >> kQTMediaConfigDefaultsShift) to get default setting }
  894. kQTMediaConfigHasFileHasQTAtoms = $40000000; { the file has a "QuickTime like" file format }
  895. { mime type group constants for groupID field of 'mcfg' resource }
  896. kQTMediaConfigStreamGroupID = $7374726D (* 'strm' *);
  897. kQTMediaConfigInteractiveGroupID = $696E7472 (* 'intr' *);
  898. kQTMediaConfigVideoGroupID = $65796573 (* 'eyes' *);
  899. kQTMediaConfigAudioGroupID = $65617273 (* 'ears' *);
  900. kQTMediaConfigMPEGGroupID = $6D706567 (* 'mpeg' *);
  901. kQTMediaConfigMP3GroupID = $6D703320 (* 'mp3 ' *);
  902. kQTMediaConfigImageGroupID = $6F676C65 (* 'ogle' *);
  903. kQTMediaConfigMiscGroupID = $6D697363 (* 'misc' *);
  904. { file type group constants for groupID field of 'mcfg' resource }
  905. kQTMediaInfoNetGroup = $6E657420 (* 'net ' *);
  906. kQTMediaInfoWinGroup = $77696E20 (* 'win ' *);
  907. kQTMediaInfoMacGroup = $6D616320 (* 'mac ' *);
  908. kQTMediaInfoMiscGroup = $3F3F3F3F; { '????' }
  909. kMimeInfoMimeTypeTag = $6D696D65 (* 'mime' *);
  910. kMimeInfoFileExtensionTag = $65787420 (* 'ext ' *);
  911. kMimeInfoDescriptionTag = $64657363 (* 'desc' *);
  912. kMimeInfoGroupTag = $67726F70 (* 'grop' *);
  913. kMimeInfoDoNotOverrideExistingFileTypeAssociation = $6E6F6661 (* 'nofa' *);
  914. kQTFileTypeAIFF = $41494646 (* 'AIFF' *);
  915. kQTFileTypeAIFC = $41494643 (* 'AIFC' *);
  916. kQTFileTypeDVC = $64766321 (* 'dvc!' *);
  917. kQTFileTypeMIDI = $4D696469 (* 'Midi' *);
  918. kQTFileTypePicture = $50494354 (* 'PICT' *);
  919. kQTFileTypeMovie = $4D6F6F56 (* 'MooV' *);
  920. kQTFileTypeText = $54455854 (* 'TEXT' *);
  921. kQTFileTypeWave = $57415645 (* 'WAVE' *);
  922. kQTFileTypeSystemSevenSound = $7366696C (* 'sfil' *);
  923. kQTFileTypeMuLaw = $554C4157 (* 'ULAW' *);
  924. kQTFileTypeAVI = $56665720 (* 'VfW ' *);
  925. kQTFileTypeSoundDesignerII = $53643266 (* 'Sd2f' *);
  926. kQTFileTypeAudioCDTrack = $7472616B (* 'trak' *);
  927. kQTFileTypePICS = $50494353 (* 'PICS' *);
  928. kQTFileTypeGIF = $47494666 (* 'GIFf' *);
  929. kQTFileTypePNG = $504E4766 (* 'PNGf' *);
  930. kQTFileTypeTIFF = $54494646 (* 'TIFF' *);
  931. kQTFileTypePhotoShop = $38425053 (* '8BPS' *);
  932. kQTFileTypeSGIImage = $2E534749 (* '.SGI' *);
  933. kQTFileTypeBMP = $424D5066 (* 'BMPf' *);
  934. kQTFileTypeJPEG = $4A504547 (* 'JPEG' *);
  935. kQTFileTypeJFIF = $4A504547 (* 'JPEG' *);
  936. kQTFileTypeMacPaint = $504E5447 (* 'PNTG' *);
  937. kQTFileTypeTargaImage = $54504943 (* 'TPIC' *);
  938. kQTFileTypeQuickDrawGXPicture = $71646778 (* 'qdgx' *);
  939. kQTFileTypeQuickTimeImage = $71746966 (* 'qtif' *);
  940. kQTFileType3DMF = $33444D46 (* '3DMF' *);
  941. kQTFileTypeFLC = $464C4320 (* 'FLC ' *);
  942. kQTFileTypeFlash = $5357464C (* 'SWFL' *);
  943. kQTFileTypeFlashPix = $46506978 (* 'FPix' *);
  944. kQTFileTypeMP4 = $6D706734 (* 'mpg4' *);
  945. { QTAtomTypes for atoms in import/export settings containers }
  946. kQTSettingsDVExportNTSC = $64766376 (* 'dvcv' *); { True is export as NTSC, false is export as PAL. (Boolean) }
  947. kQTSettingsDVExportLockedAudio = $6C6F636B (* 'lock' *); { True if audio locked to video. (Boolean) }
  948. kQTSettingsEffect = $65666665 (* 'effe' *); { Parent atom whose contents are atoms of an effects description }
  949. kQTSettingsGraphicsFileImportSequence = $73657175 (* 'sequ' *); { Parent atom of graphic file movie import component }
  950. kQTSettingsGraphicsFileImportSequenceEnabled = $656E6162 (* 'enab' *); { . If true, import numbered image sequence (Boolean) }
  951. kQTSettingsMovieExportEnableVideo = $656E7669 (* 'envi' *); { Enable exporting of video track (Boolean) }
  952. kQTSettingsMovieExportEnableSound = $656E736F (* 'enso' *); { Enable exporting of sound track (Boolean) }
  953. kQTSettingsMovieExportSaveOptions = $73617665 (* 'save' *); { Parent atom of save options }
  954. kQTSettingsMovieExportSaveForInternet = $66617374 (* 'fast' *); { . Save for Internet }
  955. kQTSettingsMovieExportSaveCompressedMovie = $636D706D (* 'cmpm' *); { . Save compressed movie resource }
  956. kQTSettingsMIDI = $4D494449 (* 'MIDI' *); { MIDI import related container }
  957. kQTSettingsMIDISettingFlags = $73747467 (* 'sttg' *); { . MIDI import settings (UInt32) }
  958. kQTSettingsText = $74657874 (* 'text' *); { Text related container }
  959. kQTSettingsTextDescription = $64657363 (* 'desc' *); { . Text import settings (TextDescription record) }
  960. kQTSettingsTextSize = $73697A65 (* 'size' *); { . Width/height to create during import (FixedPoint) }
  961. kQTSettingsTextSettingFlags = $73747467 (* 'sttg' *); { . Text export settings (UInt32) }
  962. kQTSettingsTextTimeFraction = $74696D66 (* 'timf' *); { . Movie time fraction for export (UInt32) }
  963. kQTSettingsTime = $74696D65 (* 'time' *); { Time related container }
  964. kQTSettingsTimeDuration = $64757261 (* 'dura' *); { . Time related container }
  965. kQTSettingsAudioCDTrack = $7472616B (* 'trak' *); { Audio CD track related container }
  966. kQTSettingsAudioCDTrackRateShift = $72736866 (* 'rshf' *); { . Rate shift to be performed (SInt16) }
  967. kQTSettingsDVExportDVFormat = $64766366 (* 'dvcf' *); { Exported DV Format, DV('dv ') or DVCPRO('dvp '). (OSType) }
  968. type
  969. MovieExportGetDataParamsPtr = ^MovieExportGetDataParams;
  970. MovieExportGetDataParams = record
  971. recordSize: SInt32;
  972. trackID: SInt32;
  973. sourceTimeScale: TimeScale;
  974. requestedTime: TimeValue;
  975. actualTime: TimeValue;
  976. dataPtr: Ptr;
  977. dataSize: SInt32;
  978. desc: SampleDescriptionHandle;
  979. descType: OSType;
  980. descSeed: SInt32;
  981. requestedSampleCount: SInt32;
  982. actualSampleCount: SInt32;
  983. durationPerSample: TimeValue;
  984. sampleFlags: SInt32;
  985. end;
  986. {$ifc TYPED_FUNCTION_POINTERS}
  987. MovieExportGetDataProcPtr = function(refCon: UnivPtr; var params: MovieExportGetDataParams): OSErr;
  988. {$elsec}
  989. MovieExportGetDataProcPtr = ProcPtr;
  990. {$endc}
  991. {$ifc TYPED_FUNCTION_POINTERS}
  992. MovieExportGetPropertyProcPtr = function(refcon: UnivPtr; trackID: SInt32; propertyType: OSType; propertyValue: UnivPtr): OSErr;
  993. {$elsec}
  994. MovieExportGetPropertyProcPtr = ProcPtr;
  995. {$endc}
  996. const
  997. kQTPresetsListResourceType = $73746723 (* 'stg#' *);
  998. kQTPresetsPlatformListResourceType = $73746770 (* 'stgp' *);
  999. kQTPresetInfoIsDivider = 1;
  1000. type
  1001. QTPresetInfoPtr = ^QTPresetInfo;
  1002. QTPresetInfo = record
  1003. presetKey: OSType; { unique key for this preset in presetsArray }
  1004. presetFlags: UInt32; { flags about this preset }
  1005. settingsResourceType: OSType; { resource type of settings resource }
  1006. settingsResourceID: SInt16; { resource id of settings resource }
  1007. padding1: SInt16;
  1008. nameStringListID: SInt16; { name string list resource id }
  1009. nameStringIndex: SInt16; { name string index }
  1010. infoStringListID: SInt16; { info string list resource id }
  1011. infoStringIndex: SInt16; { info string index }
  1012. end;
  1013. QTPresetListRecordPtr = ^QTPresetListRecord;
  1014. QTPresetListRecord = record
  1015. flags: UInt32; { flags for whole list }
  1016. count: UInt32; { number of elements in presetsArray }
  1017. reserved: UInt32;
  1018. presetsArray: array [0..0] of QTPresetInfo; { info about each preset }
  1019. end;
  1020. const
  1021. kQTMovieExportSourceInfoResourceType = $73726323 (* 'src#' *);
  1022. kQTMovieExportSourceInfoIsMediaType = $00000001;
  1023. kQTMovieExportSourceInfoIsMediaCharacteristic = $00000002;
  1024. kQTMovieExportSourceInfoIsSourceType = $00000004;
  1025. type
  1026. QTMovieExportSourceInfoPtr = ^QTMovieExportSourceInfo;
  1027. QTMovieExportSourceInfo = record
  1028. mediaType: OSType; { Media type of source }
  1029. minCount: UInt16; { min number of sources of this kind required, zero if none required }
  1030. maxCount: UInt16; { max number of sources of this kind allowed, -1 if unlimited allowed }
  1031. flags: SInt32; { reserved for flags }
  1032. end;
  1033. QTMovieExportSourceRecordPtr = ^QTMovieExportSourceRecord;
  1034. QTMovieExportSourceRecord = record
  1035. count: SInt32;
  1036. reserved: SInt32;
  1037. sourceArray: array [0..0] of QTMovieExportSourceInfo;
  1038. end;
  1039. {$ifc OPAQUE_UPP_TYPES}
  1040. MovieExportGetDataUPP = ^SInt32; { an opaque UPP }
  1041. {$elsec}
  1042. MovieExportGetDataUPP = UniversalProcPtr;
  1043. {$endc}
  1044. {$ifc OPAQUE_UPP_TYPES}
  1045. MovieExportGetPropertyUPP = ^SInt32; { an opaque UPP }
  1046. {$elsec}
  1047. MovieExportGetPropertyUPP = UniversalProcPtr;
  1048. {$endc}
  1049. const
  1050. uppSCModalFilterProcInfo = $00003FD0;
  1051. uppSCModalHookProcInfo = $00003EE0;
  1052. uppMovieExportGetDataProcInfo = $000003E0;
  1053. uppMovieExportGetPropertyProcInfo = $00003FE0;
  1054. {
  1055. * NewSCModalFilterUPP()
  1056. *
  1057. * Availability:
  1058. * Non-Carbon CFM: available as macro/inline
  1059. * CarbonLib: in CarbonLib 1.0 and later
  1060. * Mac OS X: in version 10.0 and later
  1061. }
  1062. function NewSCModalFilterUPP(userRoutine: SCModalFilterProcPtr): SCModalFilterUPP; external name '_NewSCModalFilterUPP'; { old name was NewSCModalFilterProc }
  1063. {
  1064. * NewSCModalHookUPP()
  1065. *
  1066. * Availability:
  1067. * Non-Carbon CFM: available as macro/inline
  1068. * CarbonLib: in CarbonLib 1.0 and later
  1069. * Mac OS X: in version 10.0 and later
  1070. }
  1071. function NewSCModalHookUPP(userRoutine: SCModalHookProcPtr): SCModalHookUPP; external name '_NewSCModalHookUPP'; { old name was NewSCModalHookProc }
  1072. {
  1073. * NewMovieExportGetDataUPP()
  1074. *
  1075. * Availability:
  1076. * Non-Carbon CFM: available as macro/inline
  1077. * CarbonLib: in CarbonLib 1.0 and later
  1078. * Mac OS X: in version 10.0 and later
  1079. }
  1080. function NewMovieExportGetDataUPP(userRoutine: MovieExportGetDataProcPtr): MovieExportGetDataUPP; external name '_NewMovieExportGetDataUPP'; { old name was NewMovieExportGetDataProc }
  1081. {
  1082. * NewMovieExportGetPropertyUPP()
  1083. *
  1084. * Availability:
  1085. * Non-Carbon CFM: available as macro/inline
  1086. * CarbonLib: in CarbonLib 1.0 and later
  1087. * Mac OS X: in version 10.0 and later
  1088. }
  1089. function NewMovieExportGetPropertyUPP(userRoutine: MovieExportGetPropertyProcPtr): MovieExportGetPropertyUPP; external name '_NewMovieExportGetPropertyUPP'; { old name was NewMovieExportGetPropertyProc }
  1090. {
  1091. * DisposeSCModalFilterUPP()
  1092. *
  1093. * Availability:
  1094. * Non-Carbon CFM: available as macro/inline
  1095. * CarbonLib: in CarbonLib 1.0 and later
  1096. * Mac OS X: in version 10.0 and later
  1097. }
  1098. procedure DisposeSCModalFilterUPP(userUPP: SCModalFilterUPP); external name '_DisposeSCModalFilterUPP';
  1099. {
  1100. * DisposeSCModalHookUPP()
  1101. *
  1102. * Availability:
  1103. * Non-Carbon CFM: available as macro/inline
  1104. * CarbonLib: in CarbonLib 1.0 and later
  1105. * Mac OS X: in version 10.0 and later
  1106. }
  1107. procedure DisposeSCModalHookUPP(userUPP: SCModalHookUPP); external name '_DisposeSCModalHookUPP';
  1108. {
  1109. * DisposeMovieExportGetDataUPP()
  1110. *
  1111. * Availability:
  1112. * Non-Carbon CFM: available as macro/inline
  1113. * CarbonLib: in CarbonLib 1.0 and later
  1114. * Mac OS X: in version 10.0 and later
  1115. }
  1116. procedure DisposeMovieExportGetDataUPP(userUPP: MovieExportGetDataUPP); external name '_DisposeMovieExportGetDataUPP';
  1117. {
  1118. * DisposeMovieExportGetPropertyUPP()
  1119. *
  1120. * Availability:
  1121. * Non-Carbon CFM: available as macro/inline
  1122. * CarbonLib: in CarbonLib 1.0 and later
  1123. * Mac OS X: in version 10.0 and later
  1124. }
  1125. procedure DisposeMovieExportGetPropertyUPP(userUPP: MovieExportGetPropertyUPP); external name '_DisposeMovieExportGetPropertyUPP';
  1126. {
  1127. * InvokeSCModalFilterUPP()
  1128. *
  1129. * Availability:
  1130. * Non-Carbon CFM: available as macro/inline
  1131. * CarbonLib: in CarbonLib 1.0 and later
  1132. * Mac OS X: in version 10.0 and later
  1133. }
  1134. function InvokeSCModalFilterUPP(theDialog: DialogRef; var theEvent: EventRecord; var itemHit: SInt16; refcon: SInt32; userRoutine: SCModalFilterUPP): boolean; external name '_InvokeSCModalFilterUPP'; { old name was CallSCModalFilterProc }
  1135. {
  1136. * InvokeSCModalHookUPP()
  1137. *
  1138. * Availability:
  1139. * Non-Carbon CFM: available as macro/inline
  1140. * CarbonLib: in CarbonLib 1.0 and later
  1141. * Mac OS X: in version 10.0 and later
  1142. }
  1143. function InvokeSCModalHookUPP(theDialog: DialogRef; itemHit: SInt16; params: UnivPtr; refcon: SInt32; userRoutine: SCModalHookUPP): SInt16; external name '_InvokeSCModalHookUPP'; { old name was CallSCModalHookProc }
  1144. {
  1145. * InvokeMovieExportGetDataUPP()
  1146. *
  1147. * Availability:
  1148. * Non-Carbon CFM: available as macro/inline
  1149. * CarbonLib: in CarbonLib 1.0 and later
  1150. * Mac OS X: in version 10.0 and later
  1151. }
  1152. function InvokeMovieExportGetDataUPP(refCon: UnivPtr; var params: MovieExportGetDataParams; userRoutine: MovieExportGetDataUPP): OSErr; external name '_InvokeMovieExportGetDataUPP'; { old name was CallMovieExportGetDataProc }
  1153. {
  1154. * InvokeMovieExportGetPropertyUPP()
  1155. *
  1156. * Availability:
  1157. * Non-Carbon CFM: available as macro/inline
  1158. * CarbonLib: in CarbonLib 1.0 and later
  1159. * Mac OS X: in version 10.0 and later
  1160. }
  1161. function InvokeMovieExportGetPropertyUPP(refcon: UnivPtr; trackID: SInt32; propertyType: OSType; propertyValue: UnivPtr; userRoutine: MovieExportGetPropertyUPP): OSErr; external name '_InvokeMovieExportGetPropertyUPP'; { old name was CallMovieExportGetPropertyProc }
  1162. {
  1163. * MovieImportHandle()
  1164. *
  1165. * Availability:
  1166. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1167. * CarbonLib: in CarbonLib 1.0 and later
  1168. * Mac OS X: in version 10.0 and later
  1169. * Windows: in qtmlClient.lib 3.0 and later
  1170. }
  1171. function MovieImportHandle(ci: MovieImportComponent; dataH: Handle; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SInt32; var outFlags: SInt32): ComponentResult; external name '_MovieImportHandle';
  1172. {
  1173. * MovieImportFile()
  1174. *
  1175. * Availability:
  1176. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1177. * CarbonLib: in CarbonLib 1.0 and later
  1178. * Mac OS X: in version 10.0 and later
  1179. * Windows: in qtmlClient.lib 3.0 and later
  1180. }
  1181. function MovieImportFile(ci: MovieImportComponent; const (*var*) theFile: FSSpec; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SInt32; var outFlags: SInt32): ComponentResult; external name '_MovieImportFile';
  1182. {
  1183. * MovieImportSetSampleDuration()
  1184. *
  1185. * Availability:
  1186. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1187. * CarbonLib: in CarbonLib 1.0 and later
  1188. * Mac OS X: in version 10.0 and later
  1189. * Windows: in qtmlClient.lib 3.0 and later
  1190. }
  1191. function MovieImportSetSampleDuration(ci: MovieImportComponent; duration: TimeValue; scale: TimeScale): ComponentResult; external name '_MovieImportSetSampleDuration';
  1192. {
  1193. * MovieImportSetSampleDescription()
  1194. *
  1195. * Availability:
  1196. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1197. * CarbonLib: in CarbonLib 1.0 and later
  1198. * Mac OS X: in version 10.0 and later
  1199. * Windows: in qtmlClient.lib 3.0 and later
  1200. }
  1201. function MovieImportSetSampleDescription(ci: MovieImportComponent; desc: SampleDescriptionHandle; mediaType: OSType): ComponentResult; external name '_MovieImportSetSampleDescription';
  1202. {
  1203. * MovieImportSetMediaFile()
  1204. *
  1205. * Availability:
  1206. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1207. * CarbonLib: in CarbonLib 1.0 and later
  1208. * Mac OS X: in version 10.0 and later
  1209. * Windows: in qtmlClient.lib 3.0 and later
  1210. }
  1211. function MovieImportSetMediaFile(ci: MovieImportComponent; alias: AliasHandle): ComponentResult; external name '_MovieImportSetMediaFile';
  1212. {
  1213. * MovieImportSetDimensions()
  1214. *
  1215. * Availability:
  1216. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1217. * CarbonLib: in CarbonLib 1.0 and later
  1218. * Mac OS X: in version 10.0 and later
  1219. * Windows: in qtmlClient.lib 3.0 and later
  1220. }
  1221. function MovieImportSetDimensions(ci: MovieImportComponent; width: Fixed; height: Fixed): ComponentResult; external name '_MovieImportSetDimensions';
  1222. {
  1223. * MovieImportSetChunkSize()
  1224. *
  1225. * Availability:
  1226. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1227. * CarbonLib: in CarbonLib 1.0 and later
  1228. * Mac OS X: in version 10.0 and later
  1229. * Windows: in qtmlClient.lib 3.0 and later
  1230. }
  1231. function MovieImportSetChunkSize(ci: MovieImportComponent; chunkSize: SInt32): ComponentResult; external name '_MovieImportSetChunkSize';
  1232. {
  1233. * MovieImportSetProgressProc()
  1234. *
  1235. * Availability:
  1236. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1237. * CarbonLib: in CarbonLib 1.0 and later
  1238. * Mac OS X: in version 10.0 and later
  1239. * Windows: in qtmlClient.lib 3.0 and later
  1240. }
  1241. function MovieImportSetProgressProc(ci: MovieImportComponent; proc: MovieProgressUPP; refcon: SInt32): ComponentResult; external name '_MovieImportSetProgressProc';
  1242. {
  1243. * MovieImportSetAuxiliaryData()
  1244. *
  1245. * Availability:
  1246. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1247. * CarbonLib: in CarbonLib 1.0 and later
  1248. * Mac OS X: in version 10.0 and later
  1249. * Windows: in qtmlClient.lib 3.0 and later
  1250. }
  1251. function MovieImportSetAuxiliaryData(ci: MovieImportComponent; data: Handle; handleType: OSType): ComponentResult; external name '_MovieImportSetAuxiliaryData';
  1252. {
  1253. * MovieImportSetFromScrap()
  1254. *
  1255. * Availability:
  1256. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1257. * CarbonLib: in CarbonLib 1.0 and later
  1258. * Mac OS X: in version 10.0 and later
  1259. * Windows: in qtmlClient.lib 3.0 and later
  1260. }
  1261. function MovieImportSetFromScrap(ci: MovieImportComponent; fromScrap: boolean): ComponentResult; external name '_MovieImportSetFromScrap';
  1262. {
  1263. * MovieImportDoUserDialog()
  1264. *
  1265. * Availability:
  1266. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1267. * CarbonLib: in CarbonLib 1.0 and later
  1268. * Mac OS X: in version 10.0 and later
  1269. * Windows: in qtmlClient.lib 3.0 and later
  1270. }
  1271. function MovieImportDoUserDialog(ci: MovieImportComponent; const (*var*) theFile: FSSpec; theData: Handle; var canceled: boolean): ComponentResult; external name '_MovieImportDoUserDialog';
  1272. {
  1273. * MovieImportSetDuration()
  1274. *
  1275. * Availability:
  1276. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1277. * CarbonLib: in CarbonLib 1.0 and later
  1278. * Mac OS X: in version 10.0 and later
  1279. * Windows: in qtmlClient.lib 3.0 and later
  1280. }
  1281. function MovieImportSetDuration(ci: MovieImportComponent; duration: TimeValue): ComponentResult; external name '_MovieImportSetDuration';
  1282. {
  1283. * MovieImportGetAuxiliaryDataType()
  1284. *
  1285. * Availability:
  1286. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1287. * CarbonLib: in CarbonLib 1.0 and later
  1288. * Mac OS X: in version 10.0 and later
  1289. * Windows: in qtmlClient.lib 3.0 and later
  1290. }
  1291. function MovieImportGetAuxiliaryDataType(ci: MovieImportComponent; var auxType: OSType): ComponentResult; external name '_MovieImportGetAuxiliaryDataType';
  1292. {
  1293. * MovieImportValidate()
  1294. *
  1295. * Availability:
  1296. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1297. * CarbonLib: in CarbonLib 1.0 and later
  1298. * Mac OS X: in version 10.0 and later
  1299. * Windows: in qtmlClient.lib 3.0 and later
  1300. }
  1301. function MovieImportValidate(ci: MovieImportComponent; const (*var*) theFile: FSSpec; theData: Handle; var valid: boolean): ComponentResult; external name '_MovieImportValidate';
  1302. {
  1303. * MovieImportGetFileType()
  1304. *
  1305. * Availability:
  1306. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1307. * CarbonLib: in CarbonLib 1.0 and later
  1308. * Mac OS X: in version 10.0 and later
  1309. * Windows: in qtmlClient.lib 3.0 and later
  1310. }
  1311. function MovieImportGetFileType(ci: MovieImportComponent; var fileType: OSType): ComponentResult; external name '_MovieImportGetFileType';
  1312. {
  1313. * MovieImportDataRef()
  1314. *
  1315. * Availability:
  1316. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1317. * CarbonLib: in CarbonLib 1.0 and later
  1318. * Mac OS X: in version 10.0 and later
  1319. * Windows: in qtmlClient.lib 3.0 and later
  1320. }
  1321. function MovieImportDataRef(ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType; theMovie: Movie; targetTrack: Track; var usedTrack: Track; atTime: TimeValue; var addedDuration: TimeValue; inFlags: SInt32; var outFlags: SInt32): ComponentResult; external name '_MovieImportDataRef';
  1322. {
  1323. * MovieImportGetSampleDescription()
  1324. *
  1325. * Availability:
  1326. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1327. * CarbonLib: in CarbonLib 1.0 and later
  1328. * Mac OS X: in version 10.0 and later
  1329. * Windows: in qtmlClient.lib 3.0 and later
  1330. }
  1331. function MovieImportGetSampleDescription(ci: MovieImportComponent; var desc: SampleDescriptionHandle; var mediaType: OSType): ComponentResult; external name '_MovieImportGetSampleDescription';
  1332. {
  1333. * MovieImportGetMIMETypeList()
  1334. *
  1335. * Availability:
  1336. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1337. * CarbonLib: in CarbonLib 1.0 and later
  1338. * Mac OS X: in version 10.0 and later
  1339. * Windows: in qtmlClient.lib 3.0 and later
  1340. }
  1341. function MovieImportGetMIMETypeList(ci: MovieImportComponent; var mimeInfo: QTAtomContainer): ComponentResult; external name '_MovieImportGetMIMETypeList';
  1342. {
  1343. * MovieImportSetOffsetAndLimit()
  1344. *
  1345. * Availability:
  1346. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1347. * CarbonLib: in CarbonLib 1.0 and later
  1348. * Mac OS X: in version 10.0 and later
  1349. * Windows: in qtmlClient.lib 3.0 and later
  1350. }
  1351. function MovieImportSetOffsetAndLimit(ci: MovieImportComponent; offset: UInt32; limit: UInt32): ComponentResult; external name '_MovieImportSetOffsetAndLimit';
  1352. {
  1353. * MovieImportGetSettingsAsAtomContainer()
  1354. *
  1355. * Availability:
  1356. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1357. * CarbonLib: in CarbonLib 1.0 and later
  1358. * Mac OS X: in version 10.0 and later
  1359. * Windows: in qtmlClient.lib 3.0 and later
  1360. }
  1361. function MovieImportGetSettingsAsAtomContainer(ci: MovieImportComponent; var settings: QTAtomContainer): ComponentResult; external name '_MovieImportGetSettingsAsAtomContainer';
  1362. {
  1363. * MovieImportSetSettingsFromAtomContainer()
  1364. *
  1365. * Availability:
  1366. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1367. * CarbonLib: in CarbonLib 1.0 and later
  1368. * Mac OS X: in version 10.0 and later
  1369. * Windows: in qtmlClient.lib 3.0 and later
  1370. }
  1371. function MovieImportSetSettingsFromAtomContainer(ci: MovieImportComponent; settings: QTAtomContainer): ComponentResult; external name '_MovieImportSetSettingsFromAtomContainer';
  1372. {
  1373. * MovieImportSetOffsetAndLimit64()
  1374. *
  1375. * Availability:
  1376. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1377. * CarbonLib: in CarbonLib 1.0.2 and later
  1378. * Mac OS X: in version 10.0 and later
  1379. * Windows: in qtmlClient.lib 4.0 and later
  1380. }
  1381. function MovieImportSetOffsetAndLimit64(ci: MovieImportComponent; const (*var*) offset: wide; const (*var*) limit: wide): ComponentResult; external name '_MovieImportSetOffsetAndLimit64';
  1382. {
  1383. * MovieImportIdle()
  1384. *
  1385. * Availability:
  1386. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1387. * CarbonLib: in CarbonLib 1.0.2 and later
  1388. * Mac OS X: in version 10.0 and later
  1389. * Windows: in qtmlClient.lib 4.0 and later
  1390. }
  1391. function MovieImportIdle(ci: MovieImportComponent; inFlags: SInt32; var outFlags: SInt32): ComponentResult; external name '_MovieImportIdle';
  1392. {
  1393. * MovieImportValidateDataRef()
  1394. *
  1395. * Availability:
  1396. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1397. * CarbonLib: in CarbonLib 1.0.2 and later
  1398. * Mac OS X: in version 10.0 and later
  1399. * Windows: in qtmlClient.lib 4.0 and later
  1400. }
  1401. function MovieImportValidateDataRef(ci: MovieImportComponent; dataRef: Handle; dataRefType: OSType; var valid: UInt8): ComponentResult; external name '_MovieImportValidateDataRef';
  1402. {
  1403. * MovieImportGetLoadState()
  1404. *
  1405. * Availability:
  1406. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  1407. * CarbonLib: in CarbonLib 1.1 and later
  1408. * Mac OS X: in version 10.0 and later
  1409. * Windows: in qtmlClient.lib 4.1 and later
  1410. }
  1411. function MovieImportGetLoadState(ci: MovieImportComponent; var importerLoadState: SInt32): ComponentResult; external name '_MovieImportGetLoadState';
  1412. {
  1413. * MovieImportGetMaxLoadedTime()
  1414. *
  1415. * Availability:
  1416. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  1417. * CarbonLib: in CarbonLib 1.1 and later
  1418. * Mac OS X: in version 10.0 and later
  1419. * Windows: in qtmlClient.lib 4.1 and later
  1420. }
  1421. function MovieImportGetMaxLoadedTime(ci: MovieImportComponent; var time: TimeValue): ComponentResult; external name '_MovieImportGetMaxLoadedTime';
  1422. {
  1423. * MovieImportEstimateCompletionTime()
  1424. *
  1425. * Availability:
  1426. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1427. * CarbonLib: in CarbonLib 1.3 and later
  1428. * Mac OS X: in version 10.0 and later
  1429. * Windows: in qtmlClient.lib 5.0 and later
  1430. }
  1431. function MovieImportEstimateCompletionTime(ci: MovieImportComponent; var time: TimeRecord): ComponentResult; external name '_MovieImportEstimateCompletionTime';
  1432. {
  1433. * MovieImportSetDontBlock()
  1434. *
  1435. * Availability:
  1436. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1437. * CarbonLib: in CarbonLib 1.3 and later
  1438. * Mac OS X: in version 10.0 and later
  1439. * Windows: in qtmlClient.lib 5.0 and later
  1440. }
  1441. function MovieImportSetDontBlock(ci: MovieImportComponent; dontBlock: boolean): ComponentResult; external name '_MovieImportSetDontBlock';
  1442. {
  1443. * MovieImportGetDontBlock()
  1444. *
  1445. * Availability:
  1446. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  1447. * CarbonLib: in CarbonLib 1.3 and later
  1448. * Mac OS X: in version 10.0 and later
  1449. * Windows: in qtmlClient.lib 5.0 and later
  1450. }
  1451. function MovieImportGetDontBlock(ci: MovieImportComponent; var willBlock: boolean): ComponentResult; external name '_MovieImportGetDontBlock';
  1452. {
  1453. * MovieImportSetIdleManager()
  1454. *
  1455. * Availability:
  1456. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1457. * CarbonLib: in CarbonLib 1.6 and later
  1458. * Mac OS X: in version 10.2 and later
  1459. * Windows: in qtmlClient.lib 6.0 and later
  1460. }
  1461. function MovieImportSetIdleManager(ci: MovieImportComponent; im: IdleManager): ComponentResult; external name '_MovieImportSetIdleManager';
  1462. {
  1463. * MovieImportSetNewMovieFlags()
  1464. *
  1465. * Availability:
  1466. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1467. * CarbonLib: in CarbonLib 1.6 and later
  1468. * Mac OS X: in version 10.2 and later
  1469. * Windows: in qtmlClient.lib 6.0 and later
  1470. }
  1471. function MovieImportSetNewMovieFlags(ci: MovieImportComponent; newMovieFlags: SInt32): ComponentResult; external name '_MovieImportSetNewMovieFlags';
  1472. {
  1473. * MovieImportGetDestinationMediaType()
  1474. *
  1475. * Availability:
  1476. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  1477. * CarbonLib: in CarbonLib 1.6 and later
  1478. * Mac OS X: in version 10.2 and later
  1479. * Windows: in qtmlClient.lib 6.0 and later
  1480. }
  1481. function MovieImportGetDestinationMediaType(ci: MovieImportComponent; var mediaType: OSType): ComponentResult; external name '_MovieImportGetDestinationMediaType';
  1482. {
  1483. * MovieExportToHandle()
  1484. *
  1485. * Availability:
  1486. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1487. * CarbonLib: in CarbonLib 1.0 and later
  1488. * Mac OS X: in version 10.0 and later
  1489. * Windows: in qtmlClient.lib 3.0 and later
  1490. }
  1491. function MovieExportToHandle(ci: MovieExportComponent; dataH: Handle; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue): ComponentResult; external name '_MovieExportToHandle';
  1492. {
  1493. * MovieExportToFile()
  1494. *
  1495. * Availability:
  1496. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1497. * CarbonLib: in CarbonLib 1.0 and later
  1498. * Mac OS X: in version 10.0 and later
  1499. * Windows: in qtmlClient.lib 3.0 and later
  1500. }
  1501. function MovieExportToFile(ci: MovieExportComponent; const (*var*) theFile: FSSpec; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue): ComponentResult; external name '_MovieExportToFile';
  1502. {
  1503. * MovieExportGetAuxiliaryData()
  1504. *
  1505. * Availability:
  1506. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1507. * CarbonLib: in CarbonLib 1.0 and later
  1508. * Mac OS X: in version 10.0 and later
  1509. * Windows: in qtmlClient.lib 3.0 and later
  1510. }
  1511. function MovieExportGetAuxiliaryData(ci: MovieExportComponent; dataH: Handle; var handleType: OSType): ComponentResult; external name '_MovieExportGetAuxiliaryData';
  1512. {
  1513. * MovieExportSetProgressProc()
  1514. *
  1515. * Availability:
  1516. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1517. * CarbonLib: in CarbonLib 1.0 and later
  1518. * Mac OS X: in version 10.0 and later
  1519. * Windows: in qtmlClient.lib 3.0 and later
  1520. }
  1521. function MovieExportSetProgressProc(ci: MovieExportComponent; proc: MovieProgressUPP; refcon: SInt32): ComponentResult; external name '_MovieExportSetProgressProc';
  1522. {
  1523. * MovieExportSetSampleDescription()
  1524. *
  1525. * Availability:
  1526. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1527. * CarbonLib: in CarbonLib 1.0 and later
  1528. * Mac OS X: in version 10.0 and later
  1529. * Windows: in qtmlClient.lib 3.0 and later
  1530. }
  1531. function MovieExportSetSampleDescription(ci: MovieExportComponent; desc: SampleDescriptionHandle; mediaType: OSType): ComponentResult; external name '_MovieExportSetSampleDescription';
  1532. {
  1533. * MovieExportDoUserDialog()
  1534. *
  1535. * Availability:
  1536. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1537. * CarbonLib: in CarbonLib 1.0 and later
  1538. * Mac OS X: in version 10.0 and later
  1539. * Windows: in qtmlClient.lib 3.0 and later
  1540. }
  1541. function MovieExportDoUserDialog(ci: MovieExportComponent; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue; var canceled: boolean): ComponentResult; external name '_MovieExportDoUserDialog';
  1542. {
  1543. * MovieExportGetCreatorType()
  1544. *
  1545. * Availability:
  1546. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1547. * CarbonLib: in CarbonLib 1.0 and later
  1548. * Mac OS X: in version 10.0 and later
  1549. * Windows: in qtmlClient.lib 3.0 and later
  1550. }
  1551. function MovieExportGetCreatorType(ci: MovieExportComponent; var creator: OSType): ComponentResult; external name '_MovieExportGetCreatorType';
  1552. {
  1553. * MovieExportToDataRef()
  1554. *
  1555. * Availability:
  1556. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1557. * CarbonLib: in CarbonLib 1.0 and later
  1558. * Mac OS X: in version 10.0 and later
  1559. * Windows: in qtmlClient.lib 3.0 and later
  1560. }
  1561. function MovieExportToDataRef(ci: MovieExportComponent; dataRef: Handle; dataRefType: OSType; theMovie: Movie; onlyThisTrack: Track; startTime: TimeValue; duration: TimeValue): ComponentResult; external name '_MovieExportToDataRef';
  1562. {
  1563. * MovieExportFromProceduresToDataRef()
  1564. *
  1565. * Availability:
  1566. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1567. * CarbonLib: in CarbonLib 1.0 and later
  1568. * Mac OS X: in version 10.0 and later
  1569. * Windows: in qtmlClient.lib 3.0 and later
  1570. }
  1571. function MovieExportFromProceduresToDataRef(ci: MovieExportComponent; dataRef: Handle; dataRefType: OSType): ComponentResult; external name '_MovieExportFromProceduresToDataRef';
  1572. {
  1573. * MovieExportAddDataSource()
  1574. *
  1575. * Availability:
  1576. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1577. * CarbonLib: in CarbonLib 1.0 and later
  1578. * Mac OS X: in version 10.0 and later
  1579. * Windows: in qtmlClient.lib 3.0 and later
  1580. }
  1581. function MovieExportAddDataSource(ci: MovieExportComponent; trackType: OSType; scale: TimeScale; var trackID: SInt32; getPropertyProc: MovieExportGetPropertyUPP; getDataProc: MovieExportGetDataUPP; refCon: UnivPtr): ComponentResult; external name '_MovieExportAddDataSource';
  1582. {
  1583. * MovieExportValidate()
  1584. *
  1585. * Availability:
  1586. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1587. * CarbonLib: in CarbonLib 1.0 and later
  1588. * Mac OS X: in version 10.0 and later
  1589. * Windows: in qtmlClient.lib 3.0 and later
  1590. }
  1591. function MovieExportValidate(ci: MovieExportComponent; theMovie: Movie; onlyThisTrack: Track; var valid: boolean): ComponentResult; external name '_MovieExportValidate';
  1592. {
  1593. * MovieExportGetSettingsAsAtomContainer()
  1594. *
  1595. * Availability:
  1596. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1597. * CarbonLib: in CarbonLib 1.0 and later
  1598. * Mac OS X: in version 10.0 and later
  1599. * Windows: in qtmlClient.lib 3.0 and later
  1600. }
  1601. function MovieExportGetSettingsAsAtomContainer(ci: MovieExportComponent; var settings: QTAtomContainer): ComponentResult; external name '_MovieExportGetSettingsAsAtomContainer';
  1602. {
  1603. * MovieExportSetSettingsFromAtomContainer()
  1604. *
  1605. * Availability:
  1606. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1607. * CarbonLib: in CarbonLib 1.0 and later
  1608. * Mac OS X: in version 10.0 and later
  1609. * Windows: in qtmlClient.lib 3.0 and later
  1610. }
  1611. function MovieExportSetSettingsFromAtomContainer(ci: MovieExportComponent; settings: QTAtomContainer): ComponentResult; external name '_MovieExportSetSettingsFromAtomContainer';
  1612. {
  1613. * MovieExportGetFileNameExtension()
  1614. *
  1615. * Availability:
  1616. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1617. * CarbonLib: in CarbonLib 1.0 and later
  1618. * Mac OS X: in version 10.0 and later
  1619. * Windows: in qtmlClient.lib 3.0 and later
  1620. }
  1621. function MovieExportGetFileNameExtension(ci: MovieExportComponent; var extension: OSType): ComponentResult; external name '_MovieExportGetFileNameExtension';
  1622. {
  1623. * MovieExportGetShortFileTypeString()
  1624. *
  1625. * Availability:
  1626. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1627. * CarbonLib: in CarbonLib 1.0 and later
  1628. * Mac OS X: in version 10.0 and later
  1629. * Windows: in qtmlClient.lib 3.0 and later
  1630. }
  1631. function MovieExportGetShortFileTypeString(ci: MovieExportComponent; var typeString: Str255): ComponentResult; external name '_MovieExportGetShortFileTypeString';
  1632. {
  1633. * MovieExportGetSourceMediaType()
  1634. *
  1635. * Availability:
  1636. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1637. * CarbonLib: in CarbonLib 1.0 and later
  1638. * Mac OS X: in version 10.0 and later
  1639. * Windows: in qtmlClient.lib 3.0 and later
  1640. }
  1641. function MovieExportGetSourceMediaType(ci: MovieExportComponent; var mediaType: OSType): ComponentResult; external name '_MovieExportGetSourceMediaType';
  1642. {
  1643. * MovieExportSetGetMoviePropertyProc()
  1644. *
  1645. * Availability:
  1646. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  1647. * CarbonLib: in CarbonLib 1.0.2 and later
  1648. * Mac OS X: in version 10.0 and later
  1649. * Windows: in qtmlClient.lib 4.0 and later
  1650. }
  1651. function MovieExportSetGetMoviePropertyProc(ci: MovieExportComponent; getPropertyProc: MovieExportGetPropertyUPP; refCon: UnivPtr): ComponentResult; external name '_MovieExportSetGetMoviePropertyProc';
  1652. { Text Export Display Info data structure }
  1653. type
  1654. TextDisplayDataPtr = ^TextDisplayData;
  1655. TextDisplayData = record
  1656. displayFlags: SInt32;
  1657. textJustification: SInt32;
  1658. bgColor: RGBColor;
  1659. textBox: Rect;
  1660. beginHilite: SInt16;
  1661. endHilite: SInt16;
  1662. hiliteColor: RGBColor;
  1663. doHiliteColor: boolean;
  1664. filler: SInt8;
  1665. scrollDelayDur: TimeValue;
  1666. dropShadowOffset: Point;
  1667. dropShadowTransparency: SInt16;
  1668. end;
  1669. TextExportComponent = ComponentInstance;
  1670. GraphicImageMovieImportComponent = ComponentInstance;
  1671. {
  1672. * TextExportGetDisplayData()
  1673. *
  1674. * Availability:
  1675. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1676. * CarbonLib: in CarbonLib 1.0 and later
  1677. * Mac OS X: in version 10.0 and later
  1678. * Windows: in qtmlClient.lib 3.0 and later
  1679. }
  1680. function TextExportGetDisplayData(ci: TextExportComponent; var textDisplay: TextDisplayData): ComponentResult; external name '_TextExportGetDisplayData';
  1681. {
  1682. * TextExportGetTimeFraction()
  1683. *
  1684. * Availability:
  1685. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1686. * CarbonLib: in CarbonLib 1.0 and later
  1687. * Mac OS X: in version 10.0 and later
  1688. * Windows: in qtmlClient.lib 3.0 and later
  1689. }
  1690. function TextExportGetTimeFraction(ci: TextExportComponent; var movieTimeFraction: SInt32): ComponentResult; external name '_TextExportGetTimeFraction';
  1691. {
  1692. * TextExportSetTimeFraction()
  1693. *
  1694. * Availability:
  1695. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1696. * CarbonLib: in CarbonLib 1.0 and later
  1697. * Mac OS X: in version 10.0 and later
  1698. * Windows: in qtmlClient.lib 3.0 and later
  1699. }
  1700. function TextExportSetTimeFraction(ci: TextExportComponent; movieTimeFraction: SInt32): ComponentResult; external name '_TextExportSetTimeFraction';
  1701. {
  1702. * TextExportGetSettings()
  1703. *
  1704. * Availability:
  1705. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1706. * CarbonLib: in CarbonLib 1.0 and later
  1707. * Mac OS X: in version 10.0 and later
  1708. * Windows: in qtmlClient.lib 3.0 and later
  1709. }
  1710. function TextExportGetSettings(ci: TextExportComponent; var setting: SInt32): ComponentResult; external name '_TextExportGetSettings';
  1711. {
  1712. * TextExportSetSettings()
  1713. *
  1714. * Availability:
  1715. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1716. * CarbonLib: in CarbonLib 1.0 and later
  1717. * Mac OS X: in version 10.0 and later
  1718. * Windows: in qtmlClient.lib 3.0 and later
  1719. }
  1720. function TextExportSetSettings(ci: TextExportComponent; setting: SInt32): ComponentResult; external name '_TextExportSetSettings';
  1721. {
  1722. * MIDIImportGetSettings()
  1723. *
  1724. * Availability:
  1725. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1726. * CarbonLib: in CarbonLib 1.0 and later
  1727. * Mac OS X: in version 10.0 and later
  1728. * Windows: in qtmlClient.lib 3.0 and later
  1729. }
  1730. function MIDIImportGetSettings(ci: TextExportComponent; var setting: SInt32): ComponentResult; external name '_MIDIImportGetSettings';
  1731. {
  1732. * MIDIImportSetSettings()
  1733. *
  1734. * Availability:
  1735. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1736. * CarbonLib: in CarbonLib 1.0 and later
  1737. * Mac OS X: in version 10.0 and later
  1738. * Windows: in qtmlClient.lib 3.0 and later
  1739. }
  1740. function MIDIImportSetSettings(ci: TextExportComponent; setting: SInt32): ComponentResult; external name '_MIDIImportSetSettings';
  1741. {
  1742. * MovieExportNewGetDataAndPropertiesProcs()
  1743. *
  1744. * Availability:
  1745. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1746. * CarbonLib: in CarbonLib 1.0 and later
  1747. * Mac OS X: in version 10.0 and later
  1748. * Windows: in qtmlClient.lib 3.0 and later
  1749. }
  1750. 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';
  1751. {
  1752. * MovieExportDisposeGetDataAndPropertiesProcs()
  1753. *
  1754. * Availability:
  1755. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1756. * CarbonLib: in CarbonLib 1.0 and later
  1757. * Mac OS X: in version 10.0 and later
  1758. * Windows: in qtmlClient.lib 3.0 and later
  1759. }
  1760. function MovieExportDisposeGetDataAndPropertiesProcs(ci: MovieExportComponent; getPropertyProc: MovieExportGetPropertyUPP; getDataProc: MovieExportGetDataUPP; refCon: UnivPtr): ComponentResult; external name '_MovieExportDisposeGetDataAndPropertiesProcs';
  1761. const
  1762. movieExportUseConfiguredSettings = $75636667 (* 'ucfg' *); { pointer to Boolean }
  1763. movieExportWidth = $77647468 (* 'wdth' *); { pointer to Fixed }
  1764. movieExportHeight = $68656774 (* 'hegt' *); { pointer to Fixed }
  1765. movieExportDuration = $64757261 (* 'dura' *); { pointer to TimeRecord }
  1766. movieExportVideoFilter = $69666C74 (* 'iflt' *); { pointer to QTAtomContainer }
  1767. movieExportTimeScale = $746D7363 (* 'tmsc' *); { pointer to TimeScale }
  1768. {
  1769. * GraphicsImageImportSetSequenceEnabled()
  1770. *
  1771. * Availability:
  1772. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1773. * CarbonLib: in CarbonLib 1.0 and later
  1774. * Mac OS X: in version 10.0 and later
  1775. * Windows: in qtmlClient.lib 3.0 and later
  1776. }
  1777. function GraphicsImageImportSetSequenceEnabled(ci: GraphicImageMovieImportComponent; enable: boolean): ComponentResult; external name '_GraphicsImageImportSetSequenceEnabled';
  1778. {
  1779. * GraphicsImageImportGetSequenceEnabled()
  1780. *
  1781. * Availability:
  1782. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1783. * CarbonLib: in CarbonLib 1.0 and later
  1784. * Mac OS X: in version 10.0 and later
  1785. * Windows: in qtmlClient.lib 3.0 and later
  1786. }
  1787. function GraphicsImageImportGetSequenceEnabled(ci: GraphicImageMovieImportComponent; var enable: boolean): ComponentResult; external name '_GraphicsImageImportGetSequenceEnabled';
  1788. {----------------------------'brws' ¥ browser prefs configuration info ------------------------}
  1789. const
  1790. kQTBrowserInfoCanUseSystemFolderPlugin = $00000001; { Mac browser can use plug-in from System "Internet Plug-ins" folder }
  1791. kQTPreFlightOpenComponent = $00000002; { Open component as preflight check }
  1792. type
  1793. ComponentPreflightFlagsPtr = ^ComponentPreflightFlags;
  1794. ComponentPreflightFlags = record
  1795. flags: SInt32;
  1796. end;
  1797. { **************
  1798. File Preview Components
  1799. ************** }
  1800. pnotComponent = ComponentInstance;
  1801. const
  1802. pnotComponentWantsEvents = 1;
  1803. pnotComponentNeedsNoCache = 2;
  1804. ShowFilePreviewComponentType = $706E6F74 (* 'pnot' *);
  1805. CreateFilePreviewComponentType = $706D616B (* 'pmak' *);
  1806. {
  1807. * PreviewShowData()
  1808. *
  1809. * Availability:
  1810. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1811. * CarbonLib: in CarbonLib 1.0 and later
  1812. * Mac OS X: in version 10.0 and later
  1813. * Windows: in qtmlClient.lib 3.0 and later
  1814. }
  1815. function PreviewShowData(p: pnotComponent; dataType: OSType; data: Handle; const (*var*) inHere: Rect): ComponentResult; external name '_PreviewShowData';
  1816. {
  1817. * PreviewMakePreview()
  1818. *
  1819. * Availability:
  1820. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1821. * CarbonLib: in CarbonLib 1.0 and later
  1822. * Mac OS X: in version 10.0 and later
  1823. * Windows: in qtmlClient.lib 3.0 and later
  1824. }
  1825. function PreviewMakePreview(p: pnotComponent; var previewType: OSType; var previewResult: Handle; const (*var*) sourceFile: FSSpec; progress: ICMProgressProcRecordPtr): ComponentResult; external name '_PreviewMakePreview';
  1826. {
  1827. * PreviewMakePreviewReference()
  1828. *
  1829. * Availability:
  1830. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1831. * CarbonLib: in CarbonLib 1.0 and later
  1832. * Mac OS X: in version 10.0 and later
  1833. * Windows: in qtmlClient.lib 3.0 and later
  1834. }
  1835. function PreviewMakePreviewReference(p: pnotComponent; var previewType: OSType; var resID: SInt16; const (*var*) sourceFile: FSSpec): ComponentResult; external name '_PreviewMakePreviewReference';
  1836. {
  1837. * PreviewEvent()
  1838. *
  1839. * Availability:
  1840. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  1841. * CarbonLib: in CarbonLib 1.0 and later
  1842. * Mac OS X: in version 10.0 and later
  1843. * Windows: in qtmlClient.lib 3.0 and later
  1844. }
  1845. function PreviewEvent(p: pnotComponent; var e: EventRecord; var handledEvent: boolean): ComponentResult; external name '_PreviewEvent';
  1846. type
  1847. DataCompressorComponent = ComponentInstance;
  1848. DataDecompressorComponent = ComponentInstance;
  1849. DataCodecComponent = ComponentInstance;
  1850. const
  1851. DataCompressorComponentType = $64636F6D (* 'dcom' *);
  1852. DataDecompressorComponentType = $64646563 (* 'ddec' *);
  1853. AppleDataCompressorSubType = $61646563 (* 'adec' *);
  1854. zlibDataCompressorSubType = $7A6C6962 (* 'zlib' *);
  1855. { * These are DataCodec procedures * }
  1856. {
  1857. * DataCodecDecompress()
  1858. *
  1859. * Availability:
  1860. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1861. * CarbonLib: in CarbonLib 1.0 and later
  1862. * Mac OS X: in version 10.0 and later
  1863. * Windows: in qtmlClient.lib 3.0 and later
  1864. }
  1865. function DataCodecDecompress(dc: DataCodecComponent; srcData: UnivPtr; srcSize: UInt32; dstData: UnivPtr; dstBufferSize: UInt32): ComponentResult; external name '_DataCodecDecompress';
  1866. {
  1867. * DataCodecGetCompressBufferSize()
  1868. *
  1869. * Availability:
  1870. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1871. * CarbonLib: in CarbonLib 1.0 and later
  1872. * Mac OS X: in version 10.0 and later
  1873. * Windows: in qtmlClient.lib 3.0 and later
  1874. }
  1875. function DataCodecGetCompressBufferSize(dc: DataCodecComponent; srcSize: UInt32; var dstSize: UInt32): ComponentResult; external name '_DataCodecGetCompressBufferSize';
  1876. {
  1877. * DataCodecCompress()
  1878. *
  1879. * Availability:
  1880. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1881. * CarbonLib: in CarbonLib 1.0 and later
  1882. * Mac OS X: in version 10.0 and later
  1883. * Windows: in qtmlClient.lib 3.0 and later
  1884. }
  1885. function DataCodecCompress(dc: DataCodecComponent; srcData: UnivPtr; srcSize: UInt32; dstData: UnivPtr; dstBufferSize: UInt32; var actualDstSize: UInt32; var decompressSlop: UInt32): ComponentResult; external name '_DataCodecCompress';
  1886. {
  1887. * DataCodecBeginInterruptSafe()
  1888. *
  1889. * Availability:
  1890. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1891. * CarbonLib: in CarbonLib 1.0 and later
  1892. * Mac OS X: in version 10.0 and later
  1893. * Windows: in qtmlClient.lib 3.0 and later
  1894. }
  1895. function DataCodecBeginInterruptSafe(dc: DataCodecComponent; maxSrcSize: UInt32): ComponentResult; external name '_DataCodecBeginInterruptSafe';
  1896. {
  1897. * DataCodecEndInterruptSafe()
  1898. *
  1899. * Availability:
  1900. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1901. * CarbonLib: in CarbonLib 1.0 and later
  1902. * Mac OS X: in version 10.0 and later
  1903. * Windows: in qtmlClient.lib 3.0 and later
  1904. }
  1905. function DataCodecEndInterruptSafe(dc: DataCodecComponent): ComponentResult; external name '_DataCodecEndInterruptSafe';
  1906. {
  1907. * DataCodecDecompressPartial()
  1908. *
  1909. * Availability:
  1910. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1911. * CarbonLib: in CarbonLib 1.0 and later
  1912. * Mac OS X: in version 10.0 and later
  1913. * Windows: in qtmlClient.lib 3.0 and later
  1914. }
  1915. function DataCodecDecompressPartial(dc: DataCodecComponent; var next_in: UnivPtr; var avail_in: UInt32; var total_in: UInt32; var next_out: UnivPtr; var avail_out: UInt32; var total_out: UInt32; var didFinish: boolean): ComponentResult; external name '_DataCodecDecompressPartial';
  1916. {
  1917. * DataCodecCompressPartial()
  1918. *
  1919. * Availability:
  1920. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  1921. * CarbonLib: in CarbonLib 1.0 and later
  1922. * Mac OS X: in version 10.0 and later
  1923. * Windows: in qtmlClient.lib 3.0 and later
  1924. }
  1925. function DataCodecCompressPartial(dc: DataCodecComponent; var next_in: UnivPtr; var avail_in: UInt32; var total_in: UInt32; var next_out: UnivPtr; var avail_out: UInt32; var total_out: UInt32; tryToFinish: boolean; var didFinish: boolean): ComponentResult; external name '_DataCodecCompressPartial';
  1926. type
  1927. {$ifc TYPED_FUNCTION_POINTERS}
  1928. DataHCompletionProcPtr = procedure(request: Ptr; refcon: SInt32; err: OSErr);
  1929. {$elsec}
  1930. DataHCompletionProcPtr = ProcPtr;
  1931. {$endc}
  1932. {$ifc OPAQUE_UPP_TYPES}
  1933. DataHCompletionUPP = ^SInt32; { an opaque UPP }
  1934. {$elsec}
  1935. DataHCompletionUPP = UniversalProcPtr;
  1936. {$endc}
  1937. const
  1938. kDataHCanRead = $00000001;
  1939. kDataHSpecialRead = $00000002;
  1940. kDataHSpecialReadFile = $00000004;
  1941. kDataHCanWrite = $00000008;
  1942. kDataHSpecialWrite = $10;
  1943. kDataHSpecialWriteFile = $20;
  1944. kDataHCanStreamingWrite = $40;
  1945. kDataHMustCheckDataRef = $80;
  1946. { Data reference records for specific data ref types }
  1947. type
  1948. HandleDataRefRecordPtr = ^HandleDataRefRecord;
  1949. HandleDataRefRecord = record
  1950. dataHndl: Handle;
  1951. end;
  1952. HandleDataRefPtr = ^HandleDataRefRecord;
  1953. HandleDataRef = ^HandleDataRefPtr;
  1954. PointerDataRefRecordPtr = ^PointerDataRefRecord;
  1955. PointerDataRefRecord = record
  1956. data: Ptr;
  1957. dataLength: Size;
  1958. end;
  1959. PointerDataRefPtr = ^PointerDataRefRecord;
  1960. PointerDataRef = ^PointerDataRefPtr;
  1961. { Data reference extensions }
  1962. const
  1963. kDataRefExtensionChokeSpeed = $63686F6B (* 'chok' *);
  1964. kDataRefExtensionFileName = $666E616D (* 'fnam' *);
  1965. kDataRefExtensionMIMEType = $6D696D65 (* 'mime' *);
  1966. kDataRefExtensionMacOSFileType = $66747970 (* 'ftyp' *);
  1967. kDataRefExtensionInitializationData = $64617461 (* 'data' *);
  1968. kDataRefExtensionQuickTimeMediaType = $6D747970 (* 'mtyp' *);
  1969. kDataHChokeToMovieDataRate = $01; { param is 0 }
  1970. kDataHChokeToParam = $02; { param is bytes per second }
  1971. type
  1972. DataHChokeAtomRecordPtr = ^DataHChokeAtomRecord;
  1973. DataHChokeAtomRecord = record
  1974. flags: SInt32; { one of kDataHChokeTo constants }
  1975. param: SInt32;
  1976. end;
  1977. DataHVolumeListRecordPtr = ^DataHVolumeListRecord;
  1978. DataHVolumeListRecord = record
  1979. vRefNum: SInt16;
  1980. flags: SInt32;
  1981. end;
  1982. DataHVolumeListPtr = ^DataHVolumeListRecord;
  1983. DataHVolumeList = ^DataHVolumeListPtr;
  1984. const
  1985. kDataHExtendedSchedule = $78746E64 (* 'xtnd' *);
  1986. type
  1987. DataHScheduleRecordPtr = ^DataHScheduleRecord;
  1988. DataHScheduleRecord = record
  1989. timeNeededBy: TimeRecord;
  1990. extendedID: SInt32; { always is kDataHExtendedSchedule }
  1991. extendedVers: SInt32; { always set to 0 }
  1992. priority: Fixed; { 100.0 or more means must have. lower numbersÉ }
  1993. end;
  1994. DataHSchedulePtr = ^DataHScheduleRecord;
  1995. { Flags for DataHGetInfoFlags }
  1996. const
  1997. kDataHInfoFlagNeverStreams = $01; { set if this data handler doesn't stream }
  1998. kDataHInfoFlagCanUpdateDataRefs = $02; { set if this data handler might update data reference }
  1999. kDataHInfoFlagNeedsNetworkBandwidth = $04; { set if this data handler may need to occupy the network }
  2000. { Types for DataHGetFileTypeOrdering }
  2001. kDataHFileTypeMacOSFileType = $66747970 (* 'ftyp' *);
  2002. kDataHFileTypeExtension = $66657874 (* 'fext' *);
  2003. kDataHFileTypeMIME = $6D696D65 (* 'mime' *);
  2004. type
  2005. DataHFileTypeOrderingPtr = ^OSType;
  2006. DataHFileTypeOrderingHandle = ^DataHFileTypeOrderingPtr;
  2007. {
  2008. * DataHGetData()
  2009. *
  2010. * Availability:
  2011. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2012. * CarbonLib: in CarbonLib 1.0 and later
  2013. * Mac OS X: in version 10.0 and later
  2014. * Windows: in qtmlClient.lib 3.0 and later
  2015. }
  2016. function DataHGetData(dh: DataHandler; h: Handle; hOffset: SInt32; offset: SInt32; size: SInt32): ComponentResult; external name '_DataHGetData';
  2017. {
  2018. * DataHPutData()
  2019. *
  2020. * Availability:
  2021. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2022. * CarbonLib: in CarbonLib 1.0 and later
  2023. * Mac OS X: in version 10.0 and later
  2024. * Windows: in qtmlClient.lib 3.0 and later
  2025. }
  2026. function DataHPutData(dh: DataHandler; h: Handle; hOffset: SInt32; var offset: SInt32; size: SInt32): ComponentResult; external name '_DataHPutData';
  2027. {
  2028. * DataHFlushData()
  2029. *
  2030. * Availability:
  2031. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2032. * CarbonLib: in CarbonLib 1.0 and later
  2033. * Mac OS X: in version 10.0 and later
  2034. * Windows: in qtmlClient.lib 3.0 and later
  2035. }
  2036. function DataHFlushData(dh: DataHandler): ComponentResult; external name '_DataHFlushData';
  2037. {
  2038. * DataHOpenForWrite()
  2039. *
  2040. * Availability:
  2041. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2042. * CarbonLib: in CarbonLib 1.0 and later
  2043. * Mac OS X: in version 10.0 and later
  2044. * Windows: in qtmlClient.lib 3.0 and later
  2045. }
  2046. function DataHOpenForWrite(dh: DataHandler): ComponentResult; external name '_DataHOpenForWrite';
  2047. {
  2048. * DataHCloseForWrite()
  2049. *
  2050. * Availability:
  2051. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2052. * CarbonLib: in CarbonLib 1.0 and later
  2053. * Mac OS X: in version 10.0 and later
  2054. * Windows: in qtmlClient.lib 3.0 and later
  2055. }
  2056. function DataHCloseForWrite(dh: DataHandler): ComponentResult; external name '_DataHCloseForWrite';
  2057. {
  2058. * DataHOpenForRead()
  2059. *
  2060. * Availability:
  2061. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2062. * CarbonLib: in CarbonLib 1.0 and later
  2063. * Mac OS X: in version 10.0 and later
  2064. * Windows: in qtmlClient.lib 3.0 and later
  2065. }
  2066. function DataHOpenForRead(dh: DataHandler): ComponentResult; external name '_DataHOpenForRead';
  2067. {
  2068. * DataHCloseForRead()
  2069. *
  2070. * Availability:
  2071. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2072. * CarbonLib: in CarbonLib 1.0 and later
  2073. * Mac OS X: in version 10.0 and later
  2074. * Windows: in qtmlClient.lib 3.0 and later
  2075. }
  2076. function DataHCloseForRead(dh: DataHandler): ComponentResult; external name '_DataHCloseForRead';
  2077. {
  2078. * DataHSetDataRef()
  2079. *
  2080. * Availability:
  2081. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2082. * CarbonLib: in CarbonLib 1.0 and later
  2083. * Mac OS X: in version 10.0 and later
  2084. * Windows: in qtmlClient.lib 3.0 and later
  2085. }
  2086. function DataHSetDataRef(dh: DataHandler; dataRef: Handle): ComponentResult; external name '_DataHSetDataRef';
  2087. {
  2088. * DataHGetDataRef()
  2089. *
  2090. * Availability:
  2091. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2092. * CarbonLib: in CarbonLib 1.0 and later
  2093. * Mac OS X: in version 10.0 and later
  2094. * Windows: in qtmlClient.lib 3.0 and later
  2095. }
  2096. function DataHGetDataRef(dh: DataHandler; var dataRef: Handle): ComponentResult; external name '_DataHGetDataRef';
  2097. {
  2098. * DataHCompareDataRef()
  2099. *
  2100. * Availability:
  2101. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2102. * CarbonLib: in CarbonLib 1.0 and later
  2103. * Mac OS X: in version 10.0 and later
  2104. * Windows: in qtmlClient.lib 3.0 and later
  2105. }
  2106. function DataHCompareDataRef(dh: DataHandler; dataRef: Handle; var equal: boolean): ComponentResult; external name '_DataHCompareDataRef';
  2107. {
  2108. * DataHTask()
  2109. *
  2110. * Availability:
  2111. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2112. * CarbonLib: in CarbonLib 1.0 and later
  2113. * Mac OS X: in version 10.0 and later
  2114. * Windows: in qtmlClient.lib 3.0 and later
  2115. }
  2116. function DataHTask(dh: DataHandler): ComponentResult; external name '_DataHTask';
  2117. {
  2118. * DataHScheduleData()
  2119. *
  2120. * Availability:
  2121. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2122. * CarbonLib: in CarbonLib 1.0 and later
  2123. * Mac OS X: in version 10.0 and later
  2124. * Windows: in qtmlClient.lib 3.0 and later
  2125. }
  2126. function DataHScheduleData(dh: DataHandler; PlaceToPutDataPtr: Ptr; FileOffset: SInt32; DataSize: SInt32; RefCon: SInt32; scheduleRec: DataHSchedulePtr; CompletionRtn: DataHCompletionUPP): ComponentResult; external name '_DataHScheduleData';
  2127. {
  2128. * DataHFinishData()
  2129. *
  2130. * Availability:
  2131. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2132. * CarbonLib: in CarbonLib 1.0 and later
  2133. * Mac OS X: in version 10.0 and later
  2134. * Windows: in qtmlClient.lib 3.0 and later
  2135. }
  2136. function DataHFinishData(dh: DataHandler; PlaceToPutDataPtr: Ptr; Cancel: boolean): ComponentResult; external name '_DataHFinishData';
  2137. {
  2138. * DataHFlushCache()
  2139. *
  2140. * Availability:
  2141. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2142. * CarbonLib: in CarbonLib 1.0 and later
  2143. * Mac OS X: in version 10.0 and later
  2144. * Windows: in qtmlClient.lib 3.0 and later
  2145. }
  2146. function DataHFlushCache(dh: DataHandler): ComponentResult; external name '_DataHFlushCache';
  2147. {
  2148. * DataHResolveDataRef()
  2149. *
  2150. * Availability:
  2151. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2152. * CarbonLib: in CarbonLib 1.0 and later
  2153. * Mac OS X: in version 10.0 and later
  2154. * Windows: in qtmlClient.lib 3.0 and later
  2155. }
  2156. function DataHResolveDataRef(dh: DataHandler; theDataRef: Handle; var wasChanged: boolean; userInterfaceAllowed: boolean): ComponentResult; external name '_DataHResolveDataRef';
  2157. {
  2158. * DataHGetFileSize()
  2159. *
  2160. * Availability:
  2161. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2162. * CarbonLib: in CarbonLib 1.0 and later
  2163. * Mac OS X: in version 10.0 and later
  2164. * Windows: in qtmlClient.lib 3.0 and later
  2165. }
  2166. function DataHGetFileSize(dh: DataHandler; var fileSize: SInt32): ComponentResult; external name '_DataHGetFileSize';
  2167. {
  2168. * DataHCanUseDataRef()
  2169. *
  2170. * Availability:
  2171. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2172. * CarbonLib: in CarbonLib 1.0 and later
  2173. * Mac OS X: in version 10.0 and later
  2174. * Windows: in qtmlClient.lib 3.0 and later
  2175. }
  2176. function DataHCanUseDataRef(dh: DataHandler; dataRef: Handle; var useFlags: SInt32): ComponentResult; external name '_DataHCanUseDataRef';
  2177. {
  2178. * DataHGetVolumeList()
  2179. *
  2180. * Availability:
  2181. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2182. * CarbonLib: in CarbonLib 1.0 and later
  2183. * Mac OS X: in version 10.0 and later
  2184. * Windows: in qtmlClient.lib 3.0 and later
  2185. }
  2186. function DataHGetVolumeList(dh: DataHandler; var volumeList: DataHVolumeList): ComponentResult; external name '_DataHGetVolumeList';
  2187. {
  2188. * DataHWrite()
  2189. *
  2190. * Availability:
  2191. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2192. * CarbonLib: in CarbonLib 1.0 and later
  2193. * Mac OS X: in version 10.0 and later
  2194. * Windows: in qtmlClient.lib 3.0 and later
  2195. }
  2196. function DataHWrite(dh: DataHandler; data: Ptr; offset: SInt32; size: SInt32; completion: DataHCompletionUPP; refCon: SInt32): ComponentResult; external name '_DataHWrite';
  2197. {
  2198. * DataHPreextend()
  2199. *
  2200. * Availability:
  2201. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2202. * CarbonLib: in CarbonLib 1.0 and later
  2203. * Mac OS X: in version 10.0 and later
  2204. * Windows: in qtmlClient.lib 3.0 and later
  2205. }
  2206. function DataHPreextend(dh: DataHandler; maxToAdd: UInt32; var spaceAdded: UInt32): ComponentResult; external name '_DataHPreextend';
  2207. {
  2208. * DataHSetFileSize()
  2209. *
  2210. * Availability:
  2211. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2212. * CarbonLib: in CarbonLib 1.0 and later
  2213. * Mac OS X: in version 10.0 and later
  2214. * Windows: in qtmlClient.lib 3.0 and later
  2215. }
  2216. function DataHSetFileSize(dh: DataHandler; fileSize: SInt32): ComponentResult; external name '_DataHSetFileSize';
  2217. {
  2218. * DataHGetFreeSpace()
  2219. *
  2220. * Availability:
  2221. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2222. * CarbonLib: in CarbonLib 1.0 and later
  2223. * Mac OS X: in version 10.0 and later
  2224. * Windows: in qtmlClient.lib 3.0 and later
  2225. }
  2226. function DataHGetFreeSpace(dh: DataHandler; var freeSize: UInt32): ComponentResult; external name '_DataHGetFreeSpace';
  2227. {
  2228. * DataHCreateFile()
  2229. *
  2230. * Availability:
  2231. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2232. * CarbonLib: in CarbonLib 1.0 and later
  2233. * Mac OS X: in version 10.0 and later
  2234. * Windows: in qtmlClient.lib 3.0 and later
  2235. }
  2236. function DataHCreateFile(dh: DataHandler; creator: OSType; deleteExisting: boolean): ComponentResult; external name '_DataHCreateFile';
  2237. {
  2238. * DataHGetPreferredBlockSize()
  2239. *
  2240. * Availability:
  2241. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2242. * CarbonLib: in CarbonLib 1.0 and later
  2243. * Mac OS X: in version 10.0 and later
  2244. * Windows: in qtmlClient.lib 3.0 and later
  2245. }
  2246. function DataHGetPreferredBlockSize(dh: DataHandler; var blockSize: SInt32): ComponentResult; external name '_DataHGetPreferredBlockSize';
  2247. {
  2248. * DataHGetDeviceIndex()
  2249. *
  2250. * Availability:
  2251. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2252. * CarbonLib: in CarbonLib 1.0 and later
  2253. * Mac OS X: in version 10.0 and later
  2254. * Windows: in qtmlClient.lib 3.0 and later
  2255. }
  2256. function DataHGetDeviceIndex(dh: DataHandler; var deviceIndex: SInt32): ComponentResult; external name '_DataHGetDeviceIndex';
  2257. {
  2258. * DataHIsStreamingDataHandler()
  2259. *
  2260. * Availability:
  2261. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2262. * CarbonLib: in CarbonLib 1.0 and later
  2263. * Mac OS X: in version 10.0 and later
  2264. * Windows: in qtmlClient.lib 3.0 and later
  2265. }
  2266. function DataHIsStreamingDataHandler(dh: DataHandler; var yes: boolean): ComponentResult; external name '_DataHIsStreamingDataHandler';
  2267. {
  2268. * DataHGetDataInBuffer()
  2269. *
  2270. * Availability:
  2271. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2272. * CarbonLib: in CarbonLib 1.0 and later
  2273. * Mac OS X: in version 10.0 and later
  2274. * Windows: in qtmlClient.lib 3.0 and later
  2275. }
  2276. function DataHGetDataInBuffer(dh: DataHandler; startOffset: SInt32; var size: SInt32): ComponentResult; external name '_DataHGetDataInBuffer';
  2277. {
  2278. * DataHGetScheduleAheadTime()
  2279. *
  2280. * Availability:
  2281. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2282. * CarbonLib: in CarbonLib 1.0 and later
  2283. * Mac OS X: in version 10.0 and later
  2284. * Windows: in qtmlClient.lib 3.0 and later
  2285. }
  2286. function DataHGetScheduleAheadTime(dh: DataHandler; var millisecs: SInt32): ComponentResult; external name '_DataHGetScheduleAheadTime';
  2287. {
  2288. * DataHSetCacheSizeLimit()
  2289. *
  2290. * Availability:
  2291. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2292. * CarbonLib: in CarbonLib 1.0 and later
  2293. * Mac OS X: in version 10.0 and later
  2294. * Windows: in qtmlClient.lib 3.0 and later
  2295. }
  2296. function DataHSetCacheSizeLimit(dh: DataHandler; cacheSizeLimit: Size): ComponentResult; external name '_DataHSetCacheSizeLimit';
  2297. {
  2298. * DataHGetCacheSizeLimit()
  2299. *
  2300. * Availability:
  2301. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2302. * CarbonLib: in CarbonLib 1.0 and later
  2303. * Mac OS X: in version 10.0 and later
  2304. * Windows: in qtmlClient.lib 3.0 and later
  2305. }
  2306. function DataHGetCacheSizeLimit(dh: DataHandler; var cacheSizeLimit: Size): ComponentResult; external name '_DataHGetCacheSizeLimit';
  2307. {
  2308. * DataHGetMovie()
  2309. *
  2310. * Availability:
  2311. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2312. * CarbonLib: in CarbonLib 1.0 and later
  2313. * Mac OS X: in version 10.0 and later
  2314. * Windows: in qtmlClient.lib 3.0 and later
  2315. }
  2316. function DataHGetMovie(dh: DataHandler; var theMovie: Movie; var id: SInt16): ComponentResult; external name '_DataHGetMovie';
  2317. {
  2318. * DataHAddMovie()
  2319. *
  2320. * Availability:
  2321. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2322. * CarbonLib: in CarbonLib 1.0 and later
  2323. * Mac OS X: in version 10.0 and later
  2324. * Windows: in qtmlClient.lib 3.0 and later
  2325. }
  2326. function DataHAddMovie(dh: DataHandler; theMovie: Movie; var id: SInt16): ComponentResult; external name '_DataHAddMovie';
  2327. {
  2328. * DataHUpdateMovie()
  2329. *
  2330. * Availability:
  2331. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2332. * CarbonLib: in CarbonLib 1.0 and later
  2333. * Mac OS X: in version 10.0 and later
  2334. * Windows: in qtmlClient.lib 3.0 and later
  2335. }
  2336. function DataHUpdateMovie(dh: DataHandler; theMovie: Movie; id: SInt16): ComponentResult; external name '_DataHUpdateMovie';
  2337. {
  2338. * DataHDoesBuffer()
  2339. *
  2340. * Availability:
  2341. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2342. * CarbonLib: in CarbonLib 1.0 and later
  2343. * Mac OS X: in version 10.0 and later
  2344. * Windows: in qtmlClient.lib 3.0 and later
  2345. }
  2346. function DataHDoesBuffer(dh: DataHandler; var buffersReads: boolean; var buffersWrites: boolean): ComponentResult; external name '_DataHDoesBuffer';
  2347. {
  2348. * DataHGetFileName()
  2349. *
  2350. * Availability:
  2351. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2352. * CarbonLib: in CarbonLib 1.0 and later
  2353. * Mac OS X: in version 10.0 and later
  2354. * Windows: in qtmlClient.lib 3.0 and later
  2355. }
  2356. function DataHGetFileName(dh: DataHandler; var str: Str255): ComponentResult; external name '_DataHGetFileName';
  2357. {
  2358. * DataHGetAvailableFileSize()
  2359. *
  2360. * Availability:
  2361. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2362. * CarbonLib: in CarbonLib 1.0 and later
  2363. * Mac OS X: in version 10.0 and later
  2364. * Windows: in qtmlClient.lib 3.0 and later
  2365. }
  2366. function DataHGetAvailableFileSize(dh: DataHandler; var fileSize: SInt32): ComponentResult; external name '_DataHGetAvailableFileSize';
  2367. {
  2368. * DataHGetMacOSFileType()
  2369. *
  2370. * Availability:
  2371. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2372. * CarbonLib: in CarbonLib 1.0 and later
  2373. * Mac OS X: in version 10.0 and later
  2374. * Windows: in qtmlClient.lib 3.0 and later
  2375. }
  2376. function DataHGetMacOSFileType(dh: DataHandler; var fileType: OSType): ComponentResult; external name '_DataHGetMacOSFileType';
  2377. {
  2378. * DataHGetMIMEType()
  2379. *
  2380. * Availability:
  2381. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2382. * CarbonLib: in CarbonLib 1.0 and later
  2383. * Mac OS X: in version 10.0 and later
  2384. * Windows: in qtmlClient.lib 3.0 and later
  2385. }
  2386. function DataHGetMIMEType(dh: DataHandler; var mimeType: Str255): ComponentResult; external name '_DataHGetMIMEType';
  2387. {
  2388. * DataHSetDataRefWithAnchor()
  2389. *
  2390. * Availability:
  2391. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2392. * CarbonLib: in CarbonLib 1.0 and later
  2393. * Mac OS X: in version 10.0 and later
  2394. * Windows: in qtmlClient.lib 3.0 and later
  2395. }
  2396. function DataHSetDataRefWithAnchor(dh: DataHandler; anchorDataRef: Handle; dataRefType: OSType; dataRef: Handle): ComponentResult; external name '_DataHSetDataRefWithAnchor';
  2397. {
  2398. * DataHGetDataRefWithAnchor()
  2399. *
  2400. * Availability:
  2401. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2402. * CarbonLib: in CarbonLib 1.0 and later
  2403. * Mac OS X: in version 10.0 and later
  2404. * Windows: in qtmlClient.lib 3.0 and later
  2405. }
  2406. function DataHGetDataRefWithAnchor(dh: DataHandler; anchorDataRef: Handle; dataRefType: OSType; var dataRef: Handle): ComponentResult; external name '_DataHGetDataRefWithAnchor';
  2407. {
  2408. * DataHSetMacOSFileType()
  2409. *
  2410. * Availability:
  2411. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2412. * CarbonLib: in CarbonLib 1.0 and later
  2413. * Mac OS X: in version 10.0 and later
  2414. * Windows: in qtmlClient.lib 3.0 and later
  2415. }
  2416. function DataHSetMacOSFileType(dh: DataHandler; fileType: OSType): ComponentResult; external name '_DataHSetMacOSFileType';
  2417. {
  2418. * DataHSetTimeBase()
  2419. *
  2420. * Availability:
  2421. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  2422. * CarbonLib: in CarbonLib 1.0.2 and later
  2423. * Mac OS X: in version 10.0 and later
  2424. * Windows: in qtmlClient.lib 3.0 and later
  2425. }
  2426. function DataHSetTimeBase(dh: DataHandler; tb: TimeBase): ComponentResult; external name '_DataHSetTimeBase';
  2427. {
  2428. * DataHGetInfoFlags()
  2429. *
  2430. * Availability:
  2431. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2432. * CarbonLib: in CarbonLib 1.0.2 and later
  2433. * Mac OS X: in version 10.0 and later
  2434. * Windows: in qtmlClient.lib 4.0 and later
  2435. }
  2436. function DataHGetInfoFlags(dh: DataHandler; var flags: UInt32): ComponentResult; external name '_DataHGetInfoFlags';
  2437. {
  2438. * DataHScheduleData64()
  2439. *
  2440. * Availability:
  2441. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2442. * CarbonLib: in CarbonLib 1.0.2 and later
  2443. * Mac OS X: in version 10.0 and later
  2444. * Windows: in qtmlClient.lib 4.0 and later
  2445. }
  2446. function DataHScheduleData64(dh: DataHandler; PlaceToPutDataPtr: Ptr; const (*var*) FileOffset: wide; DataSize: SInt32; RefCon: SInt32; scheduleRec: DataHSchedulePtr; CompletionRtn: DataHCompletionUPP): ComponentResult; external name '_DataHScheduleData64';
  2447. {
  2448. * DataHWrite64()
  2449. *
  2450. * Availability:
  2451. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2452. * CarbonLib: in CarbonLib 1.0.2 and later
  2453. * Mac OS X: in version 10.0 and later
  2454. * Windows: in qtmlClient.lib 4.0 and later
  2455. }
  2456. function DataHWrite64(dh: DataHandler; data: Ptr; const (*var*) offset: wide; size: SInt32; completion: DataHCompletionUPP; refCon: SInt32): ComponentResult; external name '_DataHWrite64';
  2457. {
  2458. * DataHGetFileSize64()
  2459. *
  2460. * Availability:
  2461. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2462. * CarbonLib: in CarbonLib 1.0.2 and later
  2463. * Mac OS X: in version 10.0 and later
  2464. * Windows: in qtmlClient.lib 4.0 and later
  2465. }
  2466. function DataHGetFileSize64(dh: DataHandler; var fileSize: wide): ComponentResult; external name '_DataHGetFileSize64';
  2467. {
  2468. * DataHPreextend64()
  2469. *
  2470. * Availability:
  2471. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2472. * CarbonLib: in CarbonLib 1.0.2 and later
  2473. * Mac OS X: in version 10.0 and later
  2474. * Windows: in qtmlClient.lib 4.0 and later
  2475. }
  2476. function DataHPreextend64(dh: DataHandler; const (*var*) maxToAdd: wide; var spaceAdded: wide): ComponentResult; external name '_DataHPreextend64';
  2477. {
  2478. * DataHSetFileSize64()
  2479. *
  2480. * Availability:
  2481. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2482. * CarbonLib: in CarbonLib 1.0.2 and later
  2483. * Mac OS X: in version 10.0 and later
  2484. * Windows: in qtmlClient.lib 4.0 and later
  2485. }
  2486. function DataHSetFileSize64(dh: DataHandler; const (*var*) fileSize: wide): ComponentResult; external name '_DataHSetFileSize64';
  2487. {
  2488. * DataHGetFreeSpace64()
  2489. *
  2490. * Availability:
  2491. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2492. * CarbonLib: in CarbonLib 1.0.2 and later
  2493. * Mac OS X: in version 10.0 and later
  2494. * Windows: in qtmlClient.lib 4.0 and later
  2495. }
  2496. function DataHGetFreeSpace64(dh: DataHandler; var freeSize: wide): ComponentResult; external name '_DataHGetFreeSpace64';
  2497. {
  2498. * DataHAppend64()
  2499. *
  2500. * Availability:
  2501. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2502. * CarbonLib: in CarbonLib 1.0.2 and later
  2503. * Mac OS X: in version 10.0 and later
  2504. * Windows: in qtmlClient.lib 4.0 and later
  2505. }
  2506. function DataHAppend64(dh: DataHandler; data: UnivPtr; var fileOffset: wide; size: UInt32): ComponentResult; external name '_DataHAppend64';
  2507. {
  2508. * DataHReadAsync()
  2509. *
  2510. * Availability:
  2511. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2512. * CarbonLib: in CarbonLib 1.0.2 and later
  2513. * Mac OS X: in version 10.0 and later
  2514. * Windows: in qtmlClient.lib 4.0 and later
  2515. }
  2516. function DataHReadAsync(dh: DataHandler; dataPtr: UnivPtr; dataSize: UInt32; const (*var*) dataOffset: wide; completion: DataHCompletionUPP; refCon: SInt32): ComponentResult; external name '_DataHReadAsync';
  2517. {
  2518. * DataHPollRead()
  2519. *
  2520. * Availability:
  2521. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2522. * CarbonLib: in CarbonLib 1.0.2 and later
  2523. * Mac OS X: in version 10.0 and later
  2524. * Windows: in qtmlClient.lib 4.0 and later
  2525. }
  2526. function DataHPollRead(dh: DataHandler; dataPtr: UnivPtr; var dataSizeSoFar: UInt32): ComponentResult; external name '_DataHPollRead';
  2527. {
  2528. * DataHGetDataAvailability()
  2529. *
  2530. * Availability:
  2531. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2532. * CarbonLib: in CarbonLib 1.0.2 and later
  2533. * Mac OS X: in version 10.0 and later
  2534. * Windows: in qtmlClient.lib 4.0 and later
  2535. }
  2536. function DataHGetDataAvailability(dh: DataHandler; offset: SInt32; len: SInt32; var missing_offset: SInt32; var missing_len: SInt32): ComponentResult; external name '_DataHGetDataAvailability';
  2537. {
  2538. * DataHGetFileSizeAsync()
  2539. *
  2540. * Availability:
  2541. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  2542. * CarbonLib: in CarbonLib 1.0.2 and later
  2543. * Mac OS X: in version 10.0 and later
  2544. * Windows: in qtmlClient.lib 4.0 and later
  2545. }
  2546. function DataHGetFileSizeAsync(dh: DataHandler; var fileSize: wide; completionRtn: DataHCompletionUPP; refCon: SInt32): ComponentResult; external name '_DataHGetFileSizeAsync';
  2547. {
  2548. * DataHGetDataRefAsType()
  2549. *
  2550. * Availability:
  2551. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  2552. * CarbonLib: in CarbonLib 1.1 and later
  2553. * Mac OS X: in version 10.0 and later
  2554. * Windows: in qtmlClient.lib 4.1 and later
  2555. }
  2556. function DataHGetDataRefAsType(dh: DataHandler; requestedType: OSType; var dataRef: Handle): ComponentResult; external name '_DataHGetDataRefAsType';
  2557. {
  2558. * DataHSetDataRefExtension()
  2559. *
  2560. * Availability:
  2561. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  2562. * CarbonLib: in CarbonLib 1.1 and later
  2563. * Mac OS X: in version 10.0 and later
  2564. * Windows: in qtmlClient.lib 4.1 and later
  2565. }
  2566. function DataHSetDataRefExtension(dh: DataHandler; extension: Handle; idType: OSType): ComponentResult; external name '_DataHSetDataRefExtension';
  2567. {
  2568. * DataHGetDataRefExtension()
  2569. *
  2570. * Availability:
  2571. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  2572. * CarbonLib: in CarbonLib 1.1 and later
  2573. * Mac OS X: in version 10.0 and later
  2574. * Windows: in qtmlClient.lib 4.1 and later
  2575. }
  2576. function DataHGetDataRefExtension(dh: DataHandler; var extension: Handle; idType: OSType): ComponentResult; external name '_DataHGetDataRefExtension';
  2577. {
  2578. * DataHGetMovieWithFlags()
  2579. *
  2580. * Availability:
  2581. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  2582. * CarbonLib: in CarbonLib 1.1 and later
  2583. * Mac OS X: in version 10.0 and later
  2584. * Windows: in qtmlClient.lib 4.1 and later
  2585. }
  2586. function DataHGetMovieWithFlags(dh: DataHandler; var theMovie: Movie; var id: SInt16; flags: SInt16): ComponentResult; external name '_DataHGetMovieWithFlags';
  2587. {
  2588. * DataHGetFileTypeOrdering()
  2589. *
  2590. * Availability:
  2591. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  2592. * CarbonLib: in CarbonLib 1.3 and later
  2593. * Mac OS X: in version 10.0 and later
  2594. * Windows: in qtmlClient.lib 5.0 and later
  2595. }
  2596. function DataHGetFileTypeOrdering(dh: DataHandler; var orderingListHandle: DataHFileTypeOrderingHandle): ComponentResult; external name '_DataHGetFileTypeOrdering';
  2597. { flags for DataHCreateFileWithFlags }
  2598. const
  2599. kDataHCreateFileButDontCreateResFile = $00000001;
  2600. {
  2601. * DataHCreateFileWithFlags()
  2602. *
  2603. * Availability:
  2604. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  2605. * CarbonLib: in CarbonLib 1.3 and later
  2606. * Mac OS X: in version 10.0 and later
  2607. * Windows: in qtmlClient.lib 5.0 and later
  2608. }
  2609. function DataHCreateFileWithFlags(dh: DataHandler; creator: OSType; deleteExisting: boolean; flags: UInt32): ComponentResult; external name '_DataHCreateFileWithFlags';
  2610. {
  2611. * DataHGetMIMETypeAsync()
  2612. *
  2613. * Availability:
  2614. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  2615. * CarbonLib: in CarbonLib 1.3 and later
  2616. * Mac OS X: in version 10.0 and later
  2617. * Windows: in qtmlClient.lib 5.0 and later
  2618. }
  2619. function DataHGetMIMETypeAsync(dh: DataHandler; var mimeType: Str255; completionRtn: DataHCompletionUPP; refCon: SInt32): ComponentResult; external name '_DataHGetMIMETypeAsync';
  2620. {
  2621. * DataHGetInfo()
  2622. *
  2623. * Availability:
  2624. * Non-Carbon CFM: in QuickTimeLib 5.0.1 and later
  2625. * CarbonLib: in CarbonLib 1.6 and later
  2626. * Mac OS X: in version 10.1 and later
  2627. * Windows: in qtmlClient.lib 5.0.1 and later
  2628. }
  2629. function DataHGetInfo(dh: DataHandler; what: OSType; info: UnivPtr): ComponentResult; external name '_DataHGetInfo';
  2630. {
  2631. * DataHSetIdleManager()
  2632. *
  2633. * Availability:
  2634. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2635. * CarbonLib: in CarbonLib 1.6 and later
  2636. * Mac OS X: in version 10.2 and later
  2637. * Windows: in qtmlClient.lib 6.0 and later
  2638. }
  2639. function DataHSetIdleManager(dh: DataHandler; im: IdleManager): ComponentResult; external name '_DataHSetIdleManager';
  2640. {
  2641. * DataHDeleteFile()
  2642. *
  2643. * Availability:
  2644. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2645. * CarbonLib: in CarbonLib 1.6 and later
  2646. * Mac OS X: in version 10.2 and later
  2647. * Windows: in qtmlClient.lib 6.0 and later
  2648. }
  2649. function DataHDeleteFile(dh: DataHandler): ComponentResult; external name '_DataHDeleteFile';
  2650. const
  2651. kDataHMovieUsageDoAppendMDAT = $00000001; { if set, datahandler should append wide and mdat atoms in append call }
  2652. {
  2653. * DataHSetMovieUsageFlags()
  2654. *
  2655. * Availability:
  2656. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2657. * CarbonLib: in CarbonLib 1.6 and later
  2658. * Mac OS X: in version 10.2 and later
  2659. * Windows: in qtmlClient.lib 6.0 and later
  2660. }
  2661. function DataHSetMovieUsageFlags(dh: DataHandler; flags: SInt32): ComponentResult; external name '_DataHSetMovieUsageFlags';
  2662. const
  2663. kDataHTempUseSameDirectory = $00000001; { temp data ref should be in same directory as current data ref (vs. in temporary directory) }
  2664. kDataHTempUseSameVolume = $00000002; { temp data ref should be on same volume as current data ref (vs. find "best" volume) }
  2665. kDataHTempCreateFile = $00000004; { create the file }
  2666. kDataHTempOpenFile = $00000008; { open temporary file for write (kDataHTempCreateFile must be passed, too) }
  2667. {
  2668. * DataHUseTemporaryDataRef()
  2669. *
  2670. * Availability:
  2671. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2672. * CarbonLib: in CarbonLib 1.6 and later
  2673. * Mac OS X: in version 10.2 and later
  2674. * Windows: in qtmlClient.lib 6.0 and later
  2675. }
  2676. function DataHUseTemporaryDataRef(dh: DataHandler; inFlags: SInt32): ComponentResult; external name '_DataHUseTemporaryDataRef';
  2677. {
  2678. * DataHGetTemporaryDataRefCapabilities()
  2679. *
  2680. * Availability:
  2681. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2682. * CarbonLib: in CarbonLib 1.6 and later
  2683. * Mac OS X: in version 10.2 and later
  2684. * Windows: in qtmlClient.lib 6.0 and later
  2685. }
  2686. function DataHGetTemporaryDataRefCapabilities(dh: DataHandler; var outUnderstoodFlags: SInt32): ComponentResult; external name '_DataHGetTemporaryDataRefCapabilities';
  2687. {
  2688. * DataHRenameFile()
  2689. *
  2690. * Availability:
  2691. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  2692. * CarbonLib: in CarbonLib 1.6 and later
  2693. * Mac OS X: in version 10.2 and later
  2694. * Windows: in qtmlClient.lib 6.0 and later
  2695. }
  2696. function DataHRenameFile(dh: DataHandler; newDataRef: Handle): ComponentResult; external name '_DataHRenameFile';
  2697. {
  2698. * DataHPlaybackHints()
  2699. *
  2700. * Availability:
  2701. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2702. * CarbonLib: in CarbonLib 1.0 and later
  2703. * Mac OS X: in version 10.0 and later
  2704. * Windows: in qtmlClient.lib 3.0 and later
  2705. }
  2706. function DataHPlaybackHints(dh: DataHandler; flags: SInt32; minFileOffset: UInt32; maxFileOffset: UInt32; bytesPerSecond: SInt32): ComponentResult; external name '_DataHPlaybackHints';
  2707. {
  2708. * DataHPlaybackHints64()
  2709. *
  2710. * Availability:
  2711. * Non-Carbon CFM: in QuickTimeLib 4.1 and later
  2712. * CarbonLib: in CarbonLib 1.1 and later
  2713. * Mac OS X: in version 10.0 and later
  2714. * Windows: in qtmlClient.lib 4.1 and later
  2715. }
  2716. function DataHPlaybackHints64(dh: DataHandler; flags: SInt32; const (*var*) minFileOffset: wide; const (*var*) maxFileOffset: wide; bytesPerSecond: SInt32): ComponentResult; external name '_DataHPlaybackHints64';
  2717. { Symbolic constants for DataHGetDataRate }
  2718. const
  2719. kDataHGetDataRateInfiniteRate = $7FFFFFFF; { all the data arrived instantaneously }
  2720. {
  2721. * DataHGetDataRate()
  2722. *
  2723. * Availability:
  2724. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  2725. * CarbonLib: in CarbonLib 1.3 and later
  2726. * Mac OS X: in version 10.0 and later
  2727. * Windows: in qtmlClient.lib 5.0 and later
  2728. }
  2729. function DataHGetDataRate(dh: DataHandler; flags: SInt32; var bytesPerSecond: SInt32): ComponentResult; external name '_DataHGetDataRate';
  2730. { Flags for DataHSetTimeHints }
  2731. const
  2732. kDataHSetTimeHintsSkipBandwidthRequest = $01; { set if this data handler should use the network without requesting bandwidth }
  2733. {
  2734. * DataHSetTimeHints()
  2735. *
  2736. * Availability:
  2737. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  2738. * CarbonLib: in CarbonLib 1.3 and later
  2739. * Mac OS X: in version 10.0 and later
  2740. * Windows: in qtmlClient.lib 5.0 and later
  2741. }
  2742. function DataHSetTimeHints(dh: DataHandler; flags: SInt32; bandwidthPriority: SInt32; scale: TimeScale; minTime: TimeValue; maxTime: TimeValue): ComponentResult; external name '_DataHSetTimeHints';
  2743. { Standard type for video digitizers }
  2744. const
  2745. videoDigitizerComponentType = $76646967 (* 'vdig' *);
  2746. vdigInterfaceRev = 2;
  2747. { Input Format Standards }
  2748. ntscIn = 0; { current input format }
  2749. currentIn = 0; { ntsc input format }
  2750. palIn = 1; { pal input format }
  2751. secamIn = 2; { secam input format }
  2752. ntscReallyIn = 3; { ntsc input format }
  2753. { Input Formats }
  2754. compositeIn = 0; { input is composite format }
  2755. sVideoIn = 1; { input is sVideo format }
  2756. rgbComponentIn = 2; { input is rgb component format }
  2757. rgbComponentSyncIn = 3; { input is rgb component format (sync on green?) }
  2758. yuvComponentIn = 4; { input is yuv component format }
  2759. yuvComponentSyncIn = 5; { input is yuv component format (sync on green?) }
  2760. tvTunerIn = 6;
  2761. sdiIn = 7;
  2762. { Video Digitizer PlayThru States }
  2763. vdPlayThruOff = 0;
  2764. vdPlayThruOn = 1;
  2765. { Input Color Space Modes }
  2766. vdDigitizerBW = 0; { black and white }
  2767. vdDigitizerRGB = 1; { rgb color }
  2768. { Phase Lock Loop Modes }
  2769. vdBroadcastMode = 0; { Broadcast / Laser Disk video mode }
  2770. vdVTRMode = 1; { VCR / Magnetic media mode }
  2771. { Field Select Options }
  2772. vdUseAnyField = 0; { Digitizers choice on field use }
  2773. vdUseOddField = 1; { Use odd field for half size vert and smaller }
  2774. vdUseEvenField = 2; { Use even field for half size vert and smaller }
  2775. { vdig types }
  2776. vdTypeBasic = 0; { basic, no clipping }
  2777. vdTypeAlpha = 1; { supports clipping with alpha channel }
  2778. vdTypeMask = 2; { supports clipping with mask plane }
  2779. vdTypeKey = 3; { supports clipping with key color(s) }
  2780. { Digitizer Input Capability/Current Flags }
  2781. digiInDoesNTSC = $00000001; { digitizer supports NTSC input format }
  2782. digiInDoesPAL = $00000002; { digitizer supports PAL input format }
  2783. digiInDoesSECAM = $00000004; { digitizer supports SECAM input format }
  2784. digiInDoesGenLock = $00000080; { digitizer does genlock }
  2785. digiInDoesComposite = $00000100; { digitizer supports composite input type }
  2786. digiInDoesSVideo = $00000200; { digitizer supports S-Video input type }
  2787. digiInDoesComponent = $00000400; { digitizer supports component = rgb, input type }
  2788. digiInVTR_Broadcast = $00000800; { digitizer can differentiate between the two }
  2789. digiInDoesColor = $00001000; { digitizer supports color }
  2790. digiInDoesBW = $00002000; { digitizer supports black & white }
  2791. { Digitizer Input Current Flags = these are valid only during active operating conditions, }
  2792. digiInSignalLock = $80000000; { digitizer detects input signal is locked, this bit = horiz lock || vertical lock }
  2793. { Digitizer Output Capability/Current Flags }
  2794. digiOutDoes1 = $00000001; { digitizer supports 1 bit pixels }
  2795. digiOutDoes2 = $00000002; { digitizer supports 2 bit pixels }
  2796. digiOutDoes4 = $00000004; { digitizer supports 4 bit pixels }
  2797. digiOutDoes8 = $00000008; { digitizer supports 8 bit pixels }
  2798. digiOutDoes16 = $00000010; { digitizer supports 16 bit pixels }
  2799. digiOutDoes32 = $00000020; { digitizer supports 32 bit pixels }
  2800. digiOutDoesDither = $00000040; { digitizer dithers in indexed modes }
  2801. digiOutDoesStretch = $00000080; { digitizer can arbitrarily stretch }
  2802. digiOutDoesShrink = $00000100; { digitizer can arbitrarily shrink }
  2803. digiOutDoesMask = $00000200; { digitizer can mask to clipping regions }
  2804. digiOutDoesDouble = $00000800; { digitizer can stretch to exactly double size }
  2805. digiOutDoesQuad = $00001000; { digitizer can stretch exactly quadruple size }
  2806. digiOutDoesQuarter = $00002000; { digitizer can shrink to exactly quarter size }
  2807. digiOutDoesSixteenth = $00004000; { digitizer can shrink to exactly sixteenth size }
  2808. digiOutDoesRotate = $00008000; { digitizer supports rotate transformations }
  2809. digiOutDoesHorizFlip = $00010000; { digitizer supports horizontal flips Sx < 0 }
  2810. digiOutDoesVertFlip = $00020000; { digitizer supports vertical flips Sy < 0 }
  2811. digiOutDoesSkew = $00040000; { digitizer supports skew = shear,twist, }
  2812. digiOutDoesBlend = $00080000;
  2813. digiOutDoesWarp = $00100000;
  2814. digiOutDoesHW_DMA = $00200000; { digitizer not constrained to local device }
  2815. digiOutDoesHWPlayThru = $00400000; { digitizer doesn't need time to play thru }
  2816. digiOutDoesILUT = $00800000; { digitizer does inverse LUT for index modes }
  2817. digiOutDoesKeyColor = $01000000; { digitizer does key color functions too }
  2818. digiOutDoesAsyncGrabs = $02000000; { digitizer supports async grabs }
  2819. digiOutDoesUnreadableScreenBits = $04000000; { playthru doesn't generate readable bits on screen }
  2820. digiOutDoesCompress = $08000000; { supports alternate output data types }
  2821. digiOutDoesCompressOnly = $10000000; { can't provide raw frames anywhere }
  2822. digiOutDoesPlayThruDuringCompress = $20000000; { digi can do playthru while providing compressed data }
  2823. digiOutDoesCompressPartiallyVisible = $40000000; { digi doesn't need all bits visible on screen to do hardware compress }
  2824. digiOutDoesNotNeedCopyOfCompressData = $80000000; { digi doesn't need any bufferization when providing compressed data }
  2825. { Types }
  2826. type
  2827. VideoDigitizerComponent = ComponentInstance;
  2828. VideoDigitizerError = ComponentResult;
  2829. DigitizerInfoPtr = ^DigitizerInfo;
  2830. DigitizerInfo = record
  2831. vdigType: SInt16;
  2832. inputCapabilityFlags: SInt32;
  2833. outputCapabilityFlags: SInt32;
  2834. inputCurrentFlags: SInt32;
  2835. outputCurrentFlags: SInt32;
  2836. slot: SInt16; { temporary for connection purposes }
  2837. gdh: GDHandle; { temporary for digitizers that have preferred screen }
  2838. maskgdh: GDHandle; { temporary for digitizers that have mask planes }
  2839. minDestHeight: SInt16; { Smallest resizable height }
  2840. minDestWidth: SInt16; { Smallest resizable width }
  2841. maxDestHeight: SInt16; { Largest resizable height }
  2842. maxDestWidth: SInt16; { Largest resizable width }
  2843. blendLevels: SInt16; { Number of blend levels supported (2 if 1 bit mask) }
  2844. reserved: SInt32; { reserved }
  2845. end;
  2846. VdigTypePtr = ^VdigType;
  2847. VdigType = record
  2848. digType: SInt32;
  2849. reserved: SInt32;
  2850. end;
  2851. VdigTypeListPtr = ^VdigTypeList;
  2852. VdigTypeList = record
  2853. count: SInt16;
  2854. list: array [0..0] of VdigType;
  2855. end;
  2856. VdigBufferRecPtr = ^VdigBufferRec;
  2857. VdigBufferRec = record
  2858. dest: PixMapHandle;
  2859. location: Point;
  2860. reserved: SInt32;
  2861. end;
  2862. VdigBufferRecListPtr = ^VdigBufferRecList;
  2863. VdigBufferRecList = record
  2864. count: SInt16;
  2865. matrix: MatrixRecordPtr;
  2866. mask: RgnHandle;
  2867. list: array [0..0] of VdigBufferRec;
  2868. end;
  2869. VdigBufferRecListHandle = ^VdigBufferRecListPtr;
  2870. {$ifc TYPED_FUNCTION_POINTERS}
  2871. VdigIntProcPtr = procedure(flags: SInt32; refcon: SInt32);
  2872. {$elsec}
  2873. VdigIntProcPtr = ProcPtr;
  2874. {$endc}
  2875. {$ifc OPAQUE_UPP_TYPES}
  2876. VdigIntUPP = ^SInt32; { an opaque UPP }
  2877. {$elsec}
  2878. VdigIntUPP = UniversalProcPtr;
  2879. {$endc}
  2880. VDCompressionListPtr = ^VDCompressionList;
  2881. VDCompressionList = record
  2882. codec: CodecComponent;
  2883. cType: CodecType;
  2884. typeName: Str63;
  2885. name: Str63;
  2886. formatFlags: SInt32;
  2887. compressFlags: SInt32;
  2888. reserved: SInt32;
  2889. end;
  2890. VDCompressionListHandle = ^VDCompressionListPtr;
  2891. const
  2892. dmaDepth1 = 1;
  2893. dmaDepth2 = 2;
  2894. dmaDepth4 = 4;
  2895. dmaDepth8 = 8;
  2896. dmaDepth16 = 16;
  2897. dmaDepth32 = 32;
  2898. dmaDepth2Gray = 64;
  2899. dmaDepth4Gray = 128;
  2900. dmaDepth8Gray = 256;
  2901. kVDIGControlledFrameRate = -1;
  2902. {
  2903. * VDGetMaxSrcRect()
  2904. *
  2905. * Availability:
  2906. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2907. * CarbonLib: in CarbonLib 1.0 and later
  2908. * Mac OS X: in version 10.0 and later
  2909. * Windows: in qtmlClient.lib 3.0 and later
  2910. }
  2911. function VDGetMaxSrcRect(ci: VideoDigitizerComponent; inputStd: SInt16; var maxSrcRect: Rect): VideoDigitizerError; external name '_VDGetMaxSrcRect';
  2912. {
  2913. * VDGetActiveSrcRect()
  2914. *
  2915. * Availability:
  2916. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2917. * CarbonLib: in CarbonLib 1.0 and later
  2918. * Mac OS X: in version 10.0 and later
  2919. * Windows: in qtmlClient.lib 3.0 and later
  2920. }
  2921. function VDGetActiveSrcRect(ci: VideoDigitizerComponent; inputStd: SInt16; var activeSrcRect: Rect): VideoDigitizerError; external name '_VDGetActiveSrcRect';
  2922. {
  2923. * VDSetDigitizerRect()
  2924. *
  2925. * Availability:
  2926. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2927. * CarbonLib: in CarbonLib 1.0 and later
  2928. * Mac OS X: in version 10.0 and later
  2929. * Windows: in qtmlClient.lib 3.0 and later
  2930. }
  2931. function VDSetDigitizerRect(ci: VideoDigitizerComponent; var digitizerRect: Rect): VideoDigitizerError; external name '_VDSetDigitizerRect';
  2932. {
  2933. * VDGetDigitizerRect()
  2934. *
  2935. * Availability:
  2936. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2937. * CarbonLib: in CarbonLib 1.0 and later
  2938. * Mac OS X: in version 10.0 and later
  2939. * Windows: in qtmlClient.lib 3.0 and later
  2940. }
  2941. function VDGetDigitizerRect(ci: VideoDigitizerComponent; var digitizerRect: Rect): VideoDigitizerError; external name '_VDGetDigitizerRect';
  2942. {
  2943. * VDGetVBlankRect()
  2944. *
  2945. * Availability:
  2946. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2947. * CarbonLib: in CarbonLib 1.0 and later
  2948. * Mac OS X: in version 10.0 and later
  2949. * Windows: in qtmlClient.lib 3.0 and later
  2950. }
  2951. function VDGetVBlankRect(ci: VideoDigitizerComponent; inputStd: SInt16; var vBlankRect: Rect): VideoDigitizerError; external name '_VDGetVBlankRect';
  2952. {
  2953. * VDGetMaskPixMap()
  2954. *
  2955. * Availability:
  2956. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2957. * CarbonLib: in CarbonLib 1.0 and later
  2958. * Mac OS X: in version 10.0 and later
  2959. * Windows: in qtmlClient.lib 3.0 and later
  2960. }
  2961. function VDGetMaskPixMap(ci: VideoDigitizerComponent; maskPixMap: PixMapHandle): VideoDigitizerError; external name '_VDGetMaskPixMap';
  2962. {
  2963. * VDGetPlayThruDestination()
  2964. *
  2965. * Availability:
  2966. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2967. * CarbonLib: in CarbonLib 1.0 and later
  2968. * Mac OS X: in version 10.0 and later
  2969. * Windows: in qtmlClient.lib 3.0 and later
  2970. }
  2971. function VDGetPlayThruDestination(ci: VideoDigitizerComponent; var dest: PixMapHandle; var destRect: Rect; var m: MatrixRecord; var mask: RgnHandle): VideoDigitizerError; external name '_VDGetPlayThruDestination';
  2972. {
  2973. * VDUseThisCLUT()
  2974. *
  2975. * Availability:
  2976. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2977. * CarbonLib: in CarbonLib 1.0 and later
  2978. * Mac OS X: in version 10.0 and later
  2979. * Windows: in qtmlClient.lib 3.0 and later
  2980. }
  2981. function VDUseThisCLUT(ci: VideoDigitizerComponent; colorTableHandle: CTabHandle): VideoDigitizerError; external name '_VDUseThisCLUT';
  2982. {
  2983. * VDSetInputGammaValue()
  2984. *
  2985. * Availability:
  2986. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2987. * CarbonLib: in CarbonLib 1.0 and later
  2988. * Mac OS X: in version 10.0 and later
  2989. * Windows: in qtmlClient.lib 3.0 and later
  2990. }
  2991. function VDSetInputGammaValue(ci: VideoDigitizerComponent; channel1: Fixed; channel2: Fixed; channel3: Fixed): VideoDigitizerError; external name '_VDSetInputGammaValue';
  2992. {
  2993. * VDGetInputGammaValue()
  2994. *
  2995. * Availability:
  2996. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  2997. * CarbonLib: in CarbonLib 1.0 and later
  2998. * Mac OS X: in version 10.0 and later
  2999. * Windows: in qtmlClient.lib 3.0 and later
  3000. }
  3001. function VDGetInputGammaValue(ci: VideoDigitizerComponent; var channel1: Fixed; var channel2: Fixed; var channel3: Fixed): VideoDigitizerError; external name '_VDGetInputGammaValue';
  3002. {
  3003. * VDSetBrightness()
  3004. *
  3005. * Availability:
  3006. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3007. * CarbonLib: in CarbonLib 1.0 and later
  3008. * Mac OS X: in version 10.0 and later
  3009. * Windows: in qtmlClient.lib 3.0 and later
  3010. }
  3011. function VDSetBrightness(ci: VideoDigitizerComponent; var brightness: UInt16): VideoDigitizerError; external name '_VDSetBrightness';
  3012. {
  3013. * VDGetBrightness()
  3014. *
  3015. * Availability:
  3016. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3017. * CarbonLib: in CarbonLib 1.0 and later
  3018. * Mac OS X: in version 10.0 and later
  3019. * Windows: in qtmlClient.lib 3.0 and later
  3020. }
  3021. function VDGetBrightness(ci: VideoDigitizerComponent; var brightness: UInt16): VideoDigitizerError; external name '_VDGetBrightness';
  3022. {
  3023. * VDSetContrast()
  3024. *
  3025. * Availability:
  3026. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3027. * CarbonLib: in CarbonLib 1.0 and later
  3028. * Mac OS X: in version 10.0 and later
  3029. * Windows: in qtmlClient.lib 3.0 and later
  3030. }
  3031. function VDSetContrast(ci: VideoDigitizerComponent; var contrast: UInt16): VideoDigitizerError; external name '_VDSetContrast';
  3032. {
  3033. * VDSetHue()
  3034. *
  3035. * Availability:
  3036. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3037. * CarbonLib: in CarbonLib 1.0 and later
  3038. * Mac OS X: in version 10.0 and later
  3039. * Windows: in qtmlClient.lib 3.0 and later
  3040. }
  3041. function VDSetHue(ci: VideoDigitizerComponent; var hue: UInt16): VideoDigitizerError; external name '_VDSetHue';
  3042. {
  3043. * VDSetSharpness()
  3044. *
  3045. * Availability:
  3046. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3047. * CarbonLib: in CarbonLib 1.0 and later
  3048. * Mac OS X: in version 10.0 and later
  3049. * Windows: in qtmlClient.lib 3.0 and later
  3050. }
  3051. function VDSetSharpness(ci: VideoDigitizerComponent; var sharpness: UInt16): VideoDigitizerError; external name '_VDSetSharpness';
  3052. {
  3053. * VDSetSaturation()
  3054. *
  3055. * Availability:
  3056. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3057. * CarbonLib: in CarbonLib 1.0 and later
  3058. * Mac OS X: in version 10.0 and later
  3059. * Windows: in qtmlClient.lib 3.0 and later
  3060. }
  3061. function VDSetSaturation(ci: VideoDigitizerComponent; var saturation: UInt16): VideoDigitizerError; external name '_VDSetSaturation';
  3062. {
  3063. * VDGetContrast()
  3064. *
  3065. * Availability:
  3066. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3067. * CarbonLib: in CarbonLib 1.0 and later
  3068. * Mac OS X: in version 10.0 and later
  3069. * Windows: in qtmlClient.lib 3.0 and later
  3070. }
  3071. function VDGetContrast(ci: VideoDigitizerComponent; var contrast: UInt16): VideoDigitizerError; external name '_VDGetContrast';
  3072. {
  3073. * VDGetHue()
  3074. *
  3075. * Availability:
  3076. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3077. * CarbonLib: in CarbonLib 1.0 and later
  3078. * Mac OS X: in version 10.0 and later
  3079. * Windows: in qtmlClient.lib 3.0 and later
  3080. }
  3081. function VDGetHue(ci: VideoDigitizerComponent; var hue: UInt16): VideoDigitizerError; external name '_VDGetHue';
  3082. {
  3083. * VDGetSharpness()
  3084. *
  3085. * Availability:
  3086. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3087. * CarbonLib: in CarbonLib 1.0 and later
  3088. * Mac OS X: in version 10.0 and later
  3089. * Windows: in qtmlClient.lib 3.0 and later
  3090. }
  3091. function VDGetSharpness(ci: VideoDigitizerComponent; var sharpness: UInt16): VideoDigitizerError; external name '_VDGetSharpness';
  3092. {
  3093. * VDGetSaturation()
  3094. *
  3095. * Availability:
  3096. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3097. * CarbonLib: in CarbonLib 1.0 and later
  3098. * Mac OS X: in version 10.0 and later
  3099. * Windows: in qtmlClient.lib 3.0 and later
  3100. }
  3101. function VDGetSaturation(ci: VideoDigitizerComponent; var saturation: UInt16): VideoDigitizerError; external name '_VDGetSaturation';
  3102. {
  3103. * VDGrabOneFrame()
  3104. *
  3105. * Availability:
  3106. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3107. * CarbonLib: in CarbonLib 1.0 and later
  3108. * Mac OS X: in version 10.0 and later
  3109. * Windows: in qtmlClient.lib 3.0 and later
  3110. }
  3111. function VDGrabOneFrame(ci: VideoDigitizerComponent): VideoDigitizerError; external name '_VDGrabOneFrame';
  3112. {
  3113. * VDGetMaxAuxBuffer()
  3114. *
  3115. * Availability:
  3116. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3117. * CarbonLib: in CarbonLib 1.0 and later
  3118. * Mac OS X: in version 10.0 and later
  3119. * Windows: in qtmlClient.lib 3.0 and later
  3120. }
  3121. function VDGetMaxAuxBuffer(ci: VideoDigitizerComponent; var pm: PixMapHandle; var r: Rect): VideoDigitizerError; external name '_VDGetMaxAuxBuffer';
  3122. {
  3123. * VDGetDigitizerInfo()
  3124. *
  3125. * Availability:
  3126. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3127. * CarbonLib: in CarbonLib 1.0 and later
  3128. * Mac OS X: in version 10.0 and later
  3129. * Windows: in qtmlClient.lib 3.0 and later
  3130. }
  3131. function VDGetDigitizerInfo(ci: VideoDigitizerComponent; var info: DigitizerInfo): VideoDigitizerError; external name '_VDGetDigitizerInfo';
  3132. {
  3133. * VDGetCurrentFlags()
  3134. *
  3135. * Availability:
  3136. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3137. * CarbonLib: in CarbonLib 1.0 and later
  3138. * Mac OS X: in version 10.0 and later
  3139. * Windows: in qtmlClient.lib 3.0 and later
  3140. }
  3141. function VDGetCurrentFlags(ci: VideoDigitizerComponent; var inputCurrentFlag: SInt32; var outputCurrentFlag: SInt32): VideoDigitizerError; external name '_VDGetCurrentFlags';
  3142. {
  3143. * VDSetKeyColor()
  3144. *
  3145. * Availability:
  3146. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3147. * CarbonLib: in CarbonLib 1.0 and later
  3148. * Mac OS X: in version 10.0 and later
  3149. * Windows: in qtmlClient.lib 3.0 and later
  3150. }
  3151. function VDSetKeyColor(ci: VideoDigitizerComponent; index: SInt32): VideoDigitizerError; external name '_VDSetKeyColor';
  3152. {
  3153. * VDGetKeyColor()
  3154. *
  3155. * Availability:
  3156. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3157. * CarbonLib: in CarbonLib 1.0 and later
  3158. * Mac OS X: in version 10.0 and later
  3159. * Windows: in qtmlClient.lib 3.0 and later
  3160. }
  3161. function VDGetKeyColor(ci: VideoDigitizerComponent; var index: SInt32): VideoDigitizerError; external name '_VDGetKeyColor';
  3162. {
  3163. * VDAddKeyColor()
  3164. *
  3165. * Availability:
  3166. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3167. * CarbonLib: in CarbonLib 1.0 and later
  3168. * Mac OS X: in version 10.0 and later
  3169. * Windows: in qtmlClient.lib 3.0 and later
  3170. }
  3171. function VDAddKeyColor(ci: VideoDigitizerComponent; var index: SInt32): VideoDigitizerError; external name '_VDAddKeyColor';
  3172. {
  3173. * VDGetNextKeyColor()
  3174. *
  3175. * Availability:
  3176. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3177. * CarbonLib: in CarbonLib 1.0 and later
  3178. * Mac OS X: in version 10.0 and later
  3179. * Windows: in qtmlClient.lib 3.0 and later
  3180. }
  3181. function VDGetNextKeyColor(ci: VideoDigitizerComponent; index: SInt32): VideoDigitizerError; external name '_VDGetNextKeyColor';
  3182. {
  3183. * VDSetKeyColorRange()
  3184. *
  3185. * Availability:
  3186. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3187. * CarbonLib: in CarbonLib 1.0 and later
  3188. * Mac OS X: in version 10.0 and later
  3189. * Windows: in qtmlClient.lib 3.0 and later
  3190. }
  3191. function VDSetKeyColorRange(ci: VideoDigitizerComponent; var minRGB: RGBColor; var maxRGB: RGBColor): VideoDigitizerError; external name '_VDSetKeyColorRange';
  3192. {
  3193. * VDGetKeyColorRange()
  3194. *
  3195. * Availability:
  3196. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3197. * CarbonLib: in CarbonLib 1.0 and later
  3198. * Mac OS X: in version 10.0 and later
  3199. * Windows: in qtmlClient.lib 3.0 and later
  3200. }
  3201. function VDGetKeyColorRange(ci: VideoDigitizerComponent; var minRGB: RGBColor; var maxRGB: RGBColor): VideoDigitizerError; external name '_VDGetKeyColorRange';
  3202. {
  3203. * VDSetDigitizerUserInterrupt()
  3204. *
  3205. * Availability:
  3206. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3207. * CarbonLib: in CarbonLib 1.0 and later
  3208. * Mac OS X: in version 10.0 and later
  3209. * Windows: in qtmlClient.lib 3.0 and later
  3210. }
  3211. function VDSetDigitizerUserInterrupt(ci: VideoDigitizerComponent; flags: SInt32; userInterruptProc: VdigIntUPP; refcon: SInt32): VideoDigitizerError; external name '_VDSetDigitizerUserInterrupt';
  3212. {
  3213. * VDSetInputColorSpaceMode()
  3214. *
  3215. * Availability:
  3216. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3217. * CarbonLib: in CarbonLib 1.0 and later
  3218. * Mac OS X: in version 10.0 and later
  3219. * Windows: in qtmlClient.lib 3.0 and later
  3220. }
  3221. function VDSetInputColorSpaceMode(ci: VideoDigitizerComponent; colorSpaceMode: SInt16): VideoDigitizerError; external name '_VDSetInputColorSpaceMode';
  3222. {
  3223. * VDGetInputColorSpaceMode()
  3224. *
  3225. * Availability:
  3226. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3227. * CarbonLib: in CarbonLib 1.0 and later
  3228. * Mac OS X: in version 10.0 and later
  3229. * Windows: in qtmlClient.lib 3.0 and later
  3230. }
  3231. function VDGetInputColorSpaceMode(ci: VideoDigitizerComponent; var colorSpaceMode: SInt16): VideoDigitizerError; external name '_VDGetInputColorSpaceMode';
  3232. {
  3233. * VDSetClipState()
  3234. *
  3235. * Availability:
  3236. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3237. * CarbonLib: in CarbonLib 1.0 and later
  3238. * Mac OS X: in version 10.0 and later
  3239. * Windows: in qtmlClient.lib 3.0 and later
  3240. }
  3241. function VDSetClipState(ci: VideoDigitizerComponent; clipEnable: SInt16): VideoDigitizerError; external name '_VDSetClipState';
  3242. {
  3243. * VDGetClipState()
  3244. *
  3245. * Availability:
  3246. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3247. * CarbonLib: in CarbonLib 1.0 and later
  3248. * Mac OS X: in version 10.0 and later
  3249. * Windows: in qtmlClient.lib 3.0 and later
  3250. }
  3251. function VDGetClipState(ci: VideoDigitizerComponent; var clipEnable: SInt16): VideoDigitizerError; external name '_VDGetClipState';
  3252. {
  3253. * VDSetClipRgn()
  3254. *
  3255. * Availability:
  3256. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3257. * CarbonLib: in CarbonLib 1.0 and later
  3258. * Mac OS X: in version 10.0 and later
  3259. * Windows: in qtmlClient.lib 3.0 and later
  3260. }
  3261. function VDSetClipRgn(ci: VideoDigitizerComponent; clipRegion: RgnHandle): VideoDigitizerError; external name '_VDSetClipRgn';
  3262. {
  3263. * VDClearClipRgn()
  3264. *
  3265. * Availability:
  3266. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3267. * CarbonLib: in CarbonLib 1.0 and later
  3268. * Mac OS X: in version 10.0 and later
  3269. * Windows: in qtmlClient.lib 3.0 and later
  3270. }
  3271. function VDClearClipRgn(ci: VideoDigitizerComponent; clipRegion: RgnHandle): VideoDigitizerError; external name '_VDClearClipRgn';
  3272. {
  3273. * VDGetCLUTInUse()
  3274. *
  3275. * Availability:
  3276. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3277. * CarbonLib: in CarbonLib 1.0 and later
  3278. * Mac OS X: in version 10.0 and later
  3279. * Windows: in qtmlClient.lib 3.0 and later
  3280. }
  3281. function VDGetCLUTInUse(ci: VideoDigitizerComponent; var colorTableHandle: CTabHandle): VideoDigitizerError; external name '_VDGetCLUTInUse';
  3282. {
  3283. * VDSetPLLFilterType()
  3284. *
  3285. * Availability:
  3286. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3287. * CarbonLib: in CarbonLib 1.0 and later
  3288. * Mac OS X: in version 10.0 and later
  3289. * Windows: in qtmlClient.lib 3.0 and later
  3290. }
  3291. function VDSetPLLFilterType(ci: VideoDigitizerComponent; pllType: SInt16): VideoDigitizerError; external name '_VDSetPLLFilterType';
  3292. {
  3293. * VDGetPLLFilterType()
  3294. *
  3295. * Availability:
  3296. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3297. * CarbonLib: in CarbonLib 1.0 and later
  3298. * Mac OS X: in version 10.0 and later
  3299. * Windows: in qtmlClient.lib 3.0 and later
  3300. }
  3301. function VDGetPLLFilterType(ci: VideoDigitizerComponent; var pllType: SInt16): VideoDigitizerError; external name '_VDGetPLLFilterType';
  3302. {
  3303. * VDGetMaskandValue()
  3304. *
  3305. * Availability:
  3306. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3307. * CarbonLib: in CarbonLib 1.0 and later
  3308. * Mac OS X: in version 10.0 and later
  3309. * Windows: in qtmlClient.lib 3.0 and later
  3310. }
  3311. function VDGetMaskandValue(ci: VideoDigitizerComponent; blendLevel: UInt16; var mask: SInt32; var value: SInt32): VideoDigitizerError; external name '_VDGetMaskandValue';
  3312. {
  3313. * VDSetMasterBlendLevel()
  3314. *
  3315. * Availability:
  3316. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3317. * CarbonLib: in CarbonLib 1.0 and later
  3318. * Mac OS X: in version 10.0 and later
  3319. * Windows: in qtmlClient.lib 3.0 and later
  3320. }
  3321. function VDSetMasterBlendLevel(ci: VideoDigitizerComponent; var blendLevel: UInt16): VideoDigitizerError; external name '_VDSetMasterBlendLevel';
  3322. {
  3323. * VDSetPlayThruDestination()
  3324. *
  3325. * Availability:
  3326. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3327. * CarbonLib: in CarbonLib 1.0 and later
  3328. * Mac OS X: in version 10.0 and later
  3329. * Windows: in qtmlClient.lib 3.0 and later
  3330. }
  3331. function VDSetPlayThruDestination(ci: VideoDigitizerComponent; dest: PixMapHandle; destRect: RectPtr; m: MatrixRecordPtr; mask: RgnHandle): VideoDigitizerError; external name '_VDSetPlayThruDestination';
  3332. {
  3333. * VDSetPlayThruOnOff()
  3334. *
  3335. * Availability:
  3336. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3337. * CarbonLib: in CarbonLib 1.0 and later
  3338. * Mac OS X: in version 10.0 and later
  3339. * Windows: in qtmlClient.lib 3.0 and later
  3340. }
  3341. function VDSetPlayThruOnOff(ci: VideoDigitizerComponent; state: SInt16): VideoDigitizerError; external name '_VDSetPlayThruOnOff';
  3342. {
  3343. * VDSetFieldPreference()
  3344. *
  3345. * Availability:
  3346. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3347. * CarbonLib: in CarbonLib 1.0 and later
  3348. * Mac OS X: in version 10.0 and later
  3349. * Windows: in qtmlClient.lib 3.0 and later
  3350. }
  3351. function VDSetFieldPreference(ci: VideoDigitizerComponent; fieldFlag: SInt16): VideoDigitizerError; external name '_VDSetFieldPreference';
  3352. {
  3353. * VDGetFieldPreference()
  3354. *
  3355. * Availability:
  3356. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3357. * CarbonLib: in CarbonLib 1.0 and later
  3358. * Mac OS X: in version 10.0 and later
  3359. * Windows: in qtmlClient.lib 3.0 and later
  3360. }
  3361. function VDGetFieldPreference(ci: VideoDigitizerComponent; var fieldFlag: SInt16): VideoDigitizerError; external name '_VDGetFieldPreference';
  3362. {
  3363. * VDPreflightDestination()
  3364. *
  3365. * Availability:
  3366. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3367. * CarbonLib: in CarbonLib 1.0 and later
  3368. * Mac OS X: in version 10.0 and later
  3369. * Windows: in qtmlClient.lib 3.0 and later
  3370. }
  3371. function VDPreflightDestination(ci: VideoDigitizerComponent; var digitizerRect: Rect; var dest: PixMapPtr; destRect: RectPtr; m: MatrixRecordPtr): VideoDigitizerError; external name '_VDPreflightDestination';
  3372. {
  3373. * VDPreflightGlobalRect()
  3374. *
  3375. * Availability:
  3376. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3377. * CarbonLib: in CarbonLib 1.0 and later
  3378. * Mac OS X: in version 10.0 and later
  3379. * Windows: in qtmlClient.lib 3.0 and later
  3380. }
  3381. function VDPreflightGlobalRect(ci: VideoDigitizerComponent; theWindow: GrafPtr; var globalRect: Rect): VideoDigitizerError; external name '_VDPreflightGlobalRect';
  3382. {
  3383. * VDSetPlayThruGlobalRect()
  3384. *
  3385. * Availability:
  3386. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3387. * CarbonLib: in CarbonLib 1.0 and later
  3388. * Mac OS X: in version 10.0 and later
  3389. * Windows: in qtmlClient.lib 3.0 and later
  3390. }
  3391. function VDSetPlayThruGlobalRect(ci: VideoDigitizerComponent; theWindow: GrafPtr; var globalRect: Rect): VideoDigitizerError; external name '_VDSetPlayThruGlobalRect';
  3392. {
  3393. * VDSetInputGammaRecord()
  3394. *
  3395. * Availability:
  3396. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3397. * CarbonLib: in CarbonLib 1.0 and later
  3398. * Mac OS X: in version 10.0 and later
  3399. * Windows: in qtmlClient.lib 3.0 and later
  3400. }
  3401. function VDSetInputGammaRecord(ci: VideoDigitizerComponent; inputGammaPtr: VDGamRecPtr): VideoDigitizerError; external name '_VDSetInputGammaRecord';
  3402. {
  3403. * VDGetInputGammaRecord()
  3404. *
  3405. * Availability:
  3406. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3407. * CarbonLib: in CarbonLib 1.0 and later
  3408. * Mac OS X: in version 10.0 and later
  3409. * Windows: in qtmlClient.lib 3.0 and later
  3410. }
  3411. function VDGetInputGammaRecord(ci: VideoDigitizerComponent; var inputGammaPtr: VDGamRecPtr): VideoDigitizerError; external name '_VDGetInputGammaRecord';
  3412. {
  3413. * VDSetBlackLevelValue()
  3414. *
  3415. * Availability:
  3416. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3417. * CarbonLib: in CarbonLib 1.0 and later
  3418. * Mac OS X: in version 10.0 and later
  3419. * Windows: in qtmlClient.lib 3.0 and later
  3420. }
  3421. function VDSetBlackLevelValue(ci: VideoDigitizerComponent; var blackLevel: UInt16): VideoDigitizerError; external name '_VDSetBlackLevelValue';
  3422. {
  3423. * VDGetBlackLevelValue()
  3424. *
  3425. * Availability:
  3426. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3427. * CarbonLib: in CarbonLib 1.0 and later
  3428. * Mac OS X: in version 10.0 and later
  3429. * Windows: in qtmlClient.lib 3.0 and later
  3430. }
  3431. function VDGetBlackLevelValue(ci: VideoDigitizerComponent; var blackLevel: UInt16): VideoDigitizerError; external name '_VDGetBlackLevelValue';
  3432. {
  3433. * VDSetWhiteLevelValue()
  3434. *
  3435. * Availability:
  3436. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3437. * CarbonLib: in CarbonLib 1.0 and later
  3438. * Mac OS X: in version 10.0 and later
  3439. * Windows: in qtmlClient.lib 3.0 and later
  3440. }
  3441. function VDSetWhiteLevelValue(ci: VideoDigitizerComponent; var whiteLevel: UInt16): VideoDigitizerError; external name '_VDSetWhiteLevelValue';
  3442. {
  3443. * VDGetWhiteLevelValue()
  3444. *
  3445. * Availability:
  3446. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3447. * CarbonLib: in CarbonLib 1.0 and later
  3448. * Mac OS X: in version 10.0 and later
  3449. * Windows: in qtmlClient.lib 3.0 and later
  3450. }
  3451. function VDGetWhiteLevelValue(ci: VideoDigitizerComponent; var whiteLevel: UInt16): VideoDigitizerError; external name '_VDGetWhiteLevelValue';
  3452. {
  3453. * VDGetVideoDefaults()
  3454. *
  3455. * Availability:
  3456. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3457. * CarbonLib: in CarbonLib 1.0 and later
  3458. * Mac OS X: in version 10.0 and later
  3459. * Windows: in qtmlClient.lib 3.0 and later
  3460. }
  3461. 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';
  3462. {
  3463. * VDGetNumberOfInputs()
  3464. *
  3465. * Availability:
  3466. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3467. * CarbonLib: in CarbonLib 1.0 and later
  3468. * Mac OS X: in version 10.0 and later
  3469. * Windows: in qtmlClient.lib 3.0 and later
  3470. }
  3471. function VDGetNumberOfInputs(ci: VideoDigitizerComponent; var inputs: SInt16): VideoDigitizerError; external name '_VDGetNumberOfInputs';
  3472. {
  3473. * VDGetInputFormat()
  3474. *
  3475. * Availability:
  3476. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3477. * CarbonLib: in CarbonLib 1.0 and later
  3478. * Mac OS X: in version 10.0 and later
  3479. * Windows: in qtmlClient.lib 3.0 and later
  3480. }
  3481. function VDGetInputFormat(ci: VideoDigitizerComponent; input: SInt16; var format: SInt16): VideoDigitizerError; external name '_VDGetInputFormat';
  3482. {
  3483. * VDSetInput()
  3484. *
  3485. * Availability:
  3486. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3487. * CarbonLib: in CarbonLib 1.0 and later
  3488. * Mac OS X: in version 10.0 and later
  3489. * Windows: in qtmlClient.lib 3.0 and later
  3490. }
  3491. function VDSetInput(ci: VideoDigitizerComponent; input: SInt16): VideoDigitizerError; external name '_VDSetInput';
  3492. {
  3493. * VDGetInput()
  3494. *
  3495. * Availability:
  3496. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3497. * CarbonLib: in CarbonLib 1.0 and later
  3498. * Mac OS X: in version 10.0 and later
  3499. * Windows: in qtmlClient.lib 3.0 and later
  3500. }
  3501. function VDGetInput(ci: VideoDigitizerComponent; var input: SInt16): VideoDigitizerError; external name '_VDGetInput';
  3502. {
  3503. * VDSetInputStandard()
  3504. *
  3505. * Availability:
  3506. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3507. * CarbonLib: in CarbonLib 1.0 and later
  3508. * Mac OS X: in version 10.0 and later
  3509. * Windows: in qtmlClient.lib 3.0 and later
  3510. }
  3511. function VDSetInputStandard(ci: VideoDigitizerComponent; inputStandard: SInt16): VideoDigitizerError; external name '_VDSetInputStandard';
  3512. {
  3513. * VDSetupBuffers()
  3514. *
  3515. * Availability:
  3516. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3517. * CarbonLib: in CarbonLib 1.0 and later
  3518. * Mac OS X: in version 10.0 and later
  3519. * Windows: in qtmlClient.lib 3.0 and later
  3520. }
  3521. function VDSetupBuffers(ci: VideoDigitizerComponent; bufferList: VdigBufferRecListHandle): VideoDigitizerError; external name '_VDSetupBuffers';
  3522. {
  3523. * VDGrabOneFrameAsync()
  3524. *
  3525. * Availability:
  3526. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3527. * CarbonLib: in CarbonLib 1.0 and later
  3528. * Mac OS X: in version 10.0 and later
  3529. * Windows: in qtmlClient.lib 3.0 and later
  3530. }
  3531. function VDGrabOneFrameAsync(ci: VideoDigitizerComponent; buffer: SInt16): VideoDigitizerError; external name '_VDGrabOneFrameAsync';
  3532. {
  3533. * VDDone()
  3534. *
  3535. * Availability:
  3536. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3537. * CarbonLib: in CarbonLib 1.0 and later
  3538. * Mac OS X: in version 10.0 and later
  3539. * Windows: in qtmlClient.lib 3.0 and later
  3540. }
  3541. function VDDone(ci: VideoDigitizerComponent; buffer: SInt16): VideoDigitizerError; external name '_VDDone';
  3542. {
  3543. * VDSetCompression()
  3544. *
  3545. * Availability:
  3546. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3547. * CarbonLib: in CarbonLib 1.0 and later
  3548. * Mac OS X: in version 10.0 and later
  3549. * Windows: in qtmlClient.lib 3.0 and later
  3550. }
  3551. function VDSetCompression(ci: VideoDigitizerComponent; compressType: OSType; depth: SInt16; var bounds: Rect; spatialQuality: CodecQ; temporalQuality: CodecQ; keyFrameRate: SInt32): VideoDigitizerError; external name '_VDSetCompression';
  3552. {
  3553. * VDCompressOneFrameAsync()
  3554. *
  3555. * Availability:
  3556. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3557. * CarbonLib: in CarbonLib 1.0 and later
  3558. * Mac OS X: in version 10.0 and later
  3559. * Windows: in qtmlClient.lib 3.0 and later
  3560. }
  3561. function VDCompressOneFrameAsync(ci: VideoDigitizerComponent): VideoDigitizerError; external name '_VDCompressOneFrameAsync';
  3562. { Note that UInt8* queuedFrameCount replaces Boolean* done. 0(==false) still means no frames, and 1(==true) one,
  3563. but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
  3564. 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 }
  3565. {
  3566. * VDCompressDone()
  3567. *
  3568. * Availability:
  3569. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3570. * CarbonLib: in CarbonLib 1.0 and later
  3571. * Mac OS X: in version 10.0 and later
  3572. * Windows: in qtmlClient.lib 3.0 and later
  3573. }
  3574. function VDCompressDone(ci: VideoDigitizerComponent; var queuedFrameCount: UInt8; var theData: Ptr; var dataSize: SInt32; var similarity: UInt8; var t: TimeRecord): VideoDigitizerError; external name '_VDCompressDone';
  3575. {
  3576. * VDReleaseCompressBuffer()
  3577. *
  3578. * Availability:
  3579. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3580. * CarbonLib: in CarbonLib 1.0 and later
  3581. * Mac OS X: in version 10.0 and later
  3582. * Windows: in qtmlClient.lib 3.0 and later
  3583. }
  3584. function VDReleaseCompressBuffer(ci: VideoDigitizerComponent; bufferAddr: Ptr): VideoDigitizerError; external name '_VDReleaseCompressBuffer';
  3585. {
  3586. * VDGetImageDescription()
  3587. *
  3588. * Availability:
  3589. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3590. * CarbonLib: in CarbonLib 1.0 and later
  3591. * Mac OS X: in version 10.0 and later
  3592. * Windows: in qtmlClient.lib 3.0 and later
  3593. }
  3594. function VDGetImageDescription(ci: VideoDigitizerComponent; desc: ImageDescriptionHandle): VideoDigitizerError; external name '_VDGetImageDescription';
  3595. {
  3596. * VDResetCompressSequence()
  3597. *
  3598. * Availability:
  3599. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3600. * CarbonLib: in CarbonLib 1.0 and later
  3601. * Mac OS X: in version 10.0 and later
  3602. * Windows: in qtmlClient.lib 3.0 and later
  3603. }
  3604. function VDResetCompressSequence(ci: VideoDigitizerComponent): VideoDigitizerError; external name '_VDResetCompressSequence';
  3605. {
  3606. * VDSetCompressionOnOff()
  3607. *
  3608. * Availability:
  3609. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3610. * CarbonLib: in CarbonLib 1.0 and later
  3611. * Mac OS X: in version 10.0 and later
  3612. * Windows: in qtmlClient.lib 3.0 and later
  3613. }
  3614. function VDSetCompressionOnOff(ci: VideoDigitizerComponent; state: boolean): VideoDigitizerError; external name '_VDSetCompressionOnOff';
  3615. {
  3616. * VDGetCompressionTypes()
  3617. *
  3618. * Availability:
  3619. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3620. * CarbonLib: in CarbonLib 1.0 and later
  3621. * Mac OS X: in version 10.0 and later
  3622. * Windows: in qtmlClient.lib 3.0 and later
  3623. }
  3624. function VDGetCompressionTypes(ci: VideoDigitizerComponent; h: VDCompressionListHandle): VideoDigitizerError; external name '_VDGetCompressionTypes';
  3625. {
  3626. * VDSetTimeBase()
  3627. *
  3628. * Availability:
  3629. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3630. * CarbonLib: in CarbonLib 1.0 and later
  3631. * Mac OS X: in version 10.0 and later
  3632. * Windows: in qtmlClient.lib 3.0 and later
  3633. }
  3634. function VDSetTimeBase(ci: VideoDigitizerComponent; t: TimeBase): VideoDigitizerError; external name '_VDSetTimeBase';
  3635. {
  3636. * VDSetFrameRate()
  3637. *
  3638. * Availability:
  3639. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3640. * CarbonLib: in CarbonLib 1.0 and later
  3641. * Mac OS X: in version 10.0 and later
  3642. * Windows: in qtmlClient.lib 3.0 and later
  3643. }
  3644. function VDSetFrameRate(ci: VideoDigitizerComponent; framesPerSecond: Fixed): VideoDigitizerError; external name '_VDSetFrameRate';
  3645. {
  3646. * VDGetDataRate()
  3647. *
  3648. * Availability:
  3649. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3650. * CarbonLib: in CarbonLib 1.0 and later
  3651. * Mac OS X: in version 10.0 and later
  3652. * Windows: in qtmlClient.lib 3.0 and later
  3653. }
  3654. function VDGetDataRate(ci: VideoDigitizerComponent; var milliSecPerFrame: SInt32; var framesPerSecond: Fixed; var bytesPerSecond: SInt32): VideoDigitizerError; external name '_VDGetDataRate';
  3655. {
  3656. * VDGetSoundInputDriver()
  3657. *
  3658. * Availability:
  3659. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3660. * CarbonLib: in CarbonLib 1.0 and later
  3661. * Mac OS X: in version 10.0 and later
  3662. * Windows: in qtmlClient.lib 3.0 and later
  3663. }
  3664. function VDGetSoundInputDriver(ci: VideoDigitizerComponent; var soundDriverName: Str255): VideoDigitizerError; external name '_VDGetSoundInputDriver';
  3665. {
  3666. * VDGetDMADepths()
  3667. *
  3668. * Availability:
  3669. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3670. * CarbonLib: in CarbonLib 1.0 and later
  3671. * Mac OS X: in version 10.0 and later
  3672. * Windows: in qtmlClient.lib 3.0 and later
  3673. }
  3674. function VDGetDMADepths(ci: VideoDigitizerComponent; var depthArray: SInt32; var preferredDepth: SInt32): VideoDigitizerError; external name '_VDGetDMADepths';
  3675. {
  3676. * VDGetPreferredTimeScale()
  3677. *
  3678. * Availability:
  3679. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3680. * CarbonLib: in CarbonLib 1.0 and later
  3681. * Mac OS X: in version 10.0 and later
  3682. * Windows: in qtmlClient.lib 3.0 and later
  3683. }
  3684. function VDGetPreferredTimeScale(ci: VideoDigitizerComponent; var preferred: TimeScale): VideoDigitizerError; external name '_VDGetPreferredTimeScale';
  3685. {
  3686. * VDReleaseAsyncBuffers()
  3687. *
  3688. * Availability:
  3689. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3690. * CarbonLib: in CarbonLib 1.0 and later
  3691. * Mac OS X: in version 10.0 and later
  3692. * Windows: in qtmlClient.lib 3.0 and later
  3693. }
  3694. function VDReleaseAsyncBuffers(ci: VideoDigitizerComponent): VideoDigitizerError; external name '_VDReleaseAsyncBuffers';
  3695. { 83 is reserved for compatibility reasons }
  3696. {
  3697. * VDSetDataRate()
  3698. *
  3699. * Availability:
  3700. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3701. * CarbonLib: in CarbonLib 1.0 and later
  3702. * Mac OS X: in version 10.0 and later
  3703. * Windows: in qtmlClient.lib 3.0 and later
  3704. }
  3705. function VDSetDataRate(ci: VideoDigitizerComponent; bytesPerSecond: SInt32): VideoDigitizerError; external name '_VDSetDataRate';
  3706. {
  3707. * VDGetTimeCode()
  3708. *
  3709. * Availability:
  3710. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3711. * CarbonLib: in CarbonLib 1.0 and later
  3712. * Mac OS X: in version 10.0 and later
  3713. * Windows: in qtmlClient.lib 3.0 and later
  3714. }
  3715. function VDGetTimeCode(ci: VideoDigitizerComponent; var atTime: TimeRecord; timeCodeFormat: UnivPtr; timeCodeTime: UnivPtr): VideoDigitizerError; external name '_VDGetTimeCode';
  3716. {
  3717. * VDUseSafeBuffers()
  3718. *
  3719. * Availability:
  3720. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3721. * CarbonLib: in CarbonLib 1.0 and later
  3722. * Mac OS X: in version 10.0 and later
  3723. * Windows: in qtmlClient.lib 3.0 and later
  3724. }
  3725. function VDUseSafeBuffers(ci: VideoDigitizerComponent; useSafeBuffers: boolean): VideoDigitizerError; external name '_VDUseSafeBuffers';
  3726. {
  3727. * VDGetSoundInputSource()
  3728. *
  3729. * Availability:
  3730. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3731. * CarbonLib: in CarbonLib 1.0 and later
  3732. * Mac OS X: in version 10.0 and later
  3733. * Windows: in qtmlClient.lib 3.0 and later
  3734. }
  3735. function VDGetSoundInputSource(ci: VideoDigitizerComponent; videoInput: SInt32; var soundInput: SInt32): VideoDigitizerError; external name '_VDGetSoundInputSource';
  3736. {
  3737. * VDGetCompressionTime()
  3738. *
  3739. * Availability:
  3740. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3741. * CarbonLib: in CarbonLib 1.0 and later
  3742. * Mac OS X: in version 10.0 and later
  3743. * Windows: in qtmlClient.lib 3.0 and later
  3744. }
  3745. function VDGetCompressionTime(ci: VideoDigitizerComponent; compressionType: OSType; depth: SInt16; var srcRect: Rect; var spatialQuality: CodecQ; var temporalQuality: CodecQ; var compressTime: UInt32): VideoDigitizerError; external name '_VDGetCompressionTime';
  3746. {
  3747. * VDSetPreferredPacketSize()
  3748. *
  3749. * Availability:
  3750. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  3751. * CarbonLib: in CarbonLib 1.0 and later
  3752. * Mac OS X: in version 10.0 and later
  3753. * Windows: in qtmlClient.lib 3.0 and later
  3754. }
  3755. function VDSetPreferredPacketSize(ci: VideoDigitizerComponent; preferredPacketSizeInBytes: SInt32): VideoDigitizerError; external name '_VDSetPreferredPacketSize';
  3756. {
  3757. * VDSetPreferredImageDimensions()
  3758. *
  3759. * Availability:
  3760. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  3761. * CarbonLib: in CarbonLib 1.0 and later
  3762. * Mac OS X: in version 10.0 and later
  3763. * Windows: in qtmlClient.lib 3.0 and later
  3764. }
  3765. function VDSetPreferredImageDimensions(ci: VideoDigitizerComponent; width: SInt32; height: SInt32): VideoDigitizerError; external name '_VDSetPreferredImageDimensions';
  3766. {
  3767. * VDGetPreferredImageDimensions()
  3768. *
  3769. * Availability:
  3770. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  3771. * CarbonLib: in CarbonLib 1.0 and later
  3772. * Mac OS X: in version 10.0 and later
  3773. * Windows: in qtmlClient.lib 3.0 and later
  3774. }
  3775. function VDGetPreferredImageDimensions(ci: VideoDigitizerComponent; var width: SInt32; var height: SInt32): VideoDigitizerError; external name '_VDGetPreferredImageDimensions';
  3776. {
  3777. * VDGetInputName()
  3778. *
  3779. * Availability:
  3780. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  3781. * CarbonLib: in CarbonLib 1.0 and later
  3782. * Mac OS X: in version 10.0 and later
  3783. * Windows: in qtmlClient.lib 3.0 and later
  3784. }
  3785. function VDGetInputName(ci: VideoDigitizerComponent; videoInput: SInt32; var name: Str255): VideoDigitizerError; external name '_VDGetInputName';
  3786. {
  3787. * VDSetDestinationPort()
  3788. *
  3789. * Availability:
  3790. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  3791. * CarbonLib: in CarbonLib 1.1 and later
  3792. * Mac OS X: in version 10.0 and later
  3793. * Windows: in qtmlClient.lib 3.0 and later
  3794. }
  3795. function VDSetDestinationPort(ci: VideoDigitizerComponent; destPort: CGrafPtr): VideoDigitizerError; external name '_VDSetDestinationPort';
  3796. {
  3797. The following call is designed to give the VDIG a little more control over how it is presented to the User, to clarify the
  3798. distinction between Devices and Inputs. Historically, the assumption has been that there is one component registered per device
  3799. and the component name is displayed. This change lets a component choose its name after registration.
  3800. vdDeviceFlagShowInputsAsDevices is meant for components that register once and support multiple devices
  3801. The UI is clearer if these are presented as device rather than inputs,
  3802. and this allows a VDIG to present itself this way without huge restructuring
  3803. vdDeviceFlagHideDevice is for the kind of VDIG that registers itself, and then can register a further VDIG for each device.
  3804. If no hardware is available, returning this flag will omit it from the list.
  3805. This call being made is also a good time to check for hardware and register further VDIG components if needed,
  3806. allowing for lazy initialization when the Application needs to find a VDIG rather than on every launch or replug.
  3807. }
  3808. const
  3809. vdDeviceFlagShowInputsAsDevices = $01; { Tell the Panel to promote Inputs to Devices }
  3810. vdDeviceFlagHideDevice = $02; { Omit this Device entirely from the list }
  3811. {
  3812. * VDGetDeviceNameAndFlags()
  3813. *
  3814. * Availability:
  3815. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  3816. * CarbonLib: in CarbonLib 1.6 and later
  3817. * Mac OS X: in version 10.2 and later
  3818. * Windows: in qtmlClient.lib 6.0 and later
  3819. }
  3820. function VDGetDeviceNameAndFlags(ci: VideoDigitizerComponent; var outName: Str255; var outNameFlags: UInt32): VideoDigitizerError; external name '_VDGetDeviceNameAndFlags';
  3821. const
  3822. vdFlagCaptureStarting = $01; { Capture is about to start; allocate bandwidth }
  3823. vdFlagCaptureStopping = $02; { Capture is about to stop; stop queuing frames }
  3824. vdFlagCaptureIsForPreview = $04; { Capture is just to screen for preview purposes }
  3825. vdFlagCaptureIsForRecord = $08; { Capture is going to be recorded }
  3826. vdFlagCaptureLowLatency = $10; { Fresh frames are more important than delivering every frame - don't queue too much }
  3827. vdFlagCaptureAlwaysUseTimeBase = $20; { Use the timebase for every frame; don't worry about making durations uniform }
  3828. vdFlagCaptureSetSettingsBegin = $40; { A series of calls are about to be made to restore settings. }
  3829. vdFlagCaptureSetSettingsEnd = $80; { Finished restoring settings; any set calls after this are from the app or UI }
  3830. {
  3831. * VDCaptureStateChanging()
  3832. *
  3833. * Availability:
  3834. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  3835. * CarbonLib: in CarbonLib 1.6 and later
  3836. * Mac OS X: in version 10.2 and later
  3837. * Windows: in qtmlClient.lib 6.0 and later
  3838. }
  3839. function VDCaptureStateChanging(ci: VideoDigitizerComponent; inStateFlags: UInt32): VideoDigitizerError; external name '_VDCaptureStateChanging';
  3840. {
  3841. These UniqueID calls are so that the VDIG can give the SG information enabling it to restore a particular
  3842. configuration - choose a particular device and input from those available.
  3843. For example, restoring the specific camera for a set of several hot-plugged FireWire cameras
  3844. the caller can pass nil if it is not interested in one of the IDs
  3845. returning 0 in an ID means you don't have one
  3846. }
  3847. {
  3848. * VDGetUniqueIDs()
  3849. *
  3850. * Availability:
  3851. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  3852. * CarbonLib: in CarbonLib 1.6 and later
  3853. * Mac OS X: in version 10.2 and later
  3854. * Windows: in qtmlClient.lib 6.0 and later
  3855. }
  3856. function VDGetUniqueIDs(ci: VideoDigitizerComponent; var outDeviceID: UInt64; var outInputID: UInt64): VideoDigitizerError; external name '_VDGetUniqueIDs';
  3857. {
  3858. Note this is a 'Select' not a 'Set' - the assumption is that the Unique ID is a function of the hardware
  3859. and not modifiable by the calling application. Either a nil pointer or 0 an the ID means don't care.
  3860. return vdDontHaveThatUniqueIDErr if your device doesn't have a match.
  3861. }
  3862. {
  3863. * VDSelectUniqueIDs()
  3864. *
  3865. * Availability:
  3866. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  3867. * CarbonLib: in CarbonLib 1.6 and later
  3868. * Mac OS X: in version 10.2 and later
  3869. * Windows: in qtmlClient.lib 6.0 and later
  3870. }
  3871. function VDSelectUniqueIDs(ci: VideoDigitizerComponent; (*const*) var inDeviceID: UInt64; (*const*) var inInputID: UInt64): VideoDigitizerError; external name '_VDSelectUniqueIDs';
  3872. const
  3873. xmlParseComponentType = $70617273 (* 'pars' *);
  3874. xmlParseComponentSubType = $786D6C20 (* 'xml ' *);
  3875. xmlIdentifierInvalid = 0;
  3876. xmlIdentifierUnrecognized = $FFFFFFFF;
  3877. xmlContentTypeInvalid = 0;
  3878. xmlContentTypeElement = 1;
  3879. xmlContentTypeCharData = 2;
  3880. elementFlagAlwaysSelfContained = $00000001; { Element doesn't have contents or closing tag even if it doesn't end with />, as in the HTML <img> tag }
  3881. elementFlagPreserveWhiteSpace = $00000002; { Preserve whitespace in content, default is to remove it }
  3882. xmlParseFlagAllowUppercase = $00000001; { Entities and attributes do not have to be lowercase (strict XML), but can be upper or mixed case as in HTML }
  3883. xmlParseFlagAllowUnquotedAttributeValues = $00000002; { Attributes values do not have to be enclosed in quotes (strict XML), but can be left unquoted if they contain no spaces }
  3884. xmlParseFlagEventParseOnly = $00000004; { Do event parsing only }
  3885. attributeValueKindCharString = 0;
  3886. attributeValueKindInteger = $00000001; { Number }
  3887. attributeValueKindPercent = $00000002; { Number or percent }
  3888. attributeValueKindBoolean = $00000004; { "true" or "false" }
  3889. attributeValueKindOnOff = $00000008; { "on" or "off" }
  3890. attributeValueKindColor = $00000010; { Either "#rrggbb" or a color name }
  3891. attributeValueKindEnum = $00000020; { one of a number of strings; the enum strings are passed as a zero-separated, double-zero-terminated C string in the attributeKindValueInfo param }
  3892. attributeValueKindCaseSensEnum = $00000040; { one of a number of strings; the enum strings are passed as for attributeValueKindEnum, but the values are case-sensitive }
  3893. MAX_ATTRIBUTE_VALUE_KIND = $00000040;
  3894. nameSpaceIDNone = 0;
  3895. { A Parsed XML attribute value, one of number/percent, boolean/on-off, color, or enumerated type }
  3896. type
  3897. XMLAttributeValuePtr = ^XMLAttributeValue;
  3898. XMLAttributeValue = record
  3899. case SInt16 of
  3900. 0: (
  3901. number: SInt32; { The value when valueKind is attributeValueKindInteger or attributeValueKindPercent }
  3902. );
  3903. 1: (
  3904. boolean: boolean_fix; { The value when valueKind is attributeValueKindBoolean or attributeValueKindOnOff }
  3905. );
  3906. 2: (
  3907. color: RGBColor; { The value when valueKind is attributeValueKindColor }
  3908. );
  3909. 3: (
  3910. enumType: UInt32; { The value when valueKind is attributeValueKindEnum }
  3911. );
  3912. end;
  3913. { An XML attribute-value pair }
  3914. XMLAttributePtr = ^XMLAttribute;
  3915. XMLAttribute = record
  3916. identifier: UInt32; { Tokenized identifier, if the attribute name was recognized by the parser }
  3917. name: CStringPtr; { Attribute name, Only present if identifier == xmlIdentifierUnrecognized }
  3918. valueKind: SInt32; { Type of parsed value, if the value was recognized and parsed; otherwise, attributeValueKindCharString }
  3919. value: XMLAttributeValue; { Parsed attribute value }
  3920. valueStr: CStringPtr; { Always present }
  3921. end;
  3922. { Forward struct declarations for recursively-defined tree structure }
  3923. XMLContentPtr = ^XMLContent;
  3924. {
  3925. An XML Element, i.e.
  3926. <element attr="value" attr="value" ...> [contents] </element>
  3927. or
  3928. <element attr="value" attr="value" .../>
  3929. }
  3930. XMLElementPtr = ^XMLElement;
  3931. XMLElement = record
  3932. identifier: UInt32; { Tokenized identifier, if the element name was recognized by the parser }
  3933. name: CStringPtr; { Element name, only present if identifier == xmlIdentifierUnrecognized }
  3934. attributes: XMLAttributePtr; { Array of attributes, terminated with an attribute with identifier == xmlIdentifierInvalid }
  3935. contents: XMLContentPtr; { Array of contents, terminated with a content with kind == xmlIdentifierInvalid }
  3936. end;
  3937. {
  3938. The content of an XML element is a series of parts, each of which may be either another element
  3939. or simply character data.
  3940. }
  3941. XMLElementContentPtr = ^XMLElementContent;
  3942. XMLElementContent = record
  3943. case SInt16 of
  3944. 0: (
  3945. element: XMLElement; { The contents when the content kind is xmlContentTypeElement }
  3946. );
  3947. 1: (
  3948. charData: CStringPtr; { The contents when the content kind is xmlContentTypeCharData }
  3949. );
  3950. end;
  3951. XMLContent = record
  3952. kind: UInt32;
  3953. actualContent: XMLElementContent;
  3954. end;
  3955. XMLDocRecordPtr = ^XMLDocRecord;
  3956. XMLDocRecord = record
  3957. xmlDataStorage: Ptr; { opaque storage }
  3958. rootElement: XMLElement;
  3959. end;
  3960. XMLDoc = ^XMLDocRecord;
  3961. { callback routines for event parsing }
  3962. {$ifc TYPED_FUNCTION_POINTERS}
  3963. StartDocumentHandler = function(refcon: SInt32): ComponentResult;
  3964. {$elsec}
  3965. StartDocumentHandler = ProcPtr;
  3966. {$endc}
  3967. {$ifc TYPED_FUNCTION_POINTERS}
  3968. EndDocumentHandler = function(refcon: SInt32): ComponentResult;
  3969. {$elsec}
  3970. EndDocumentHandler = ProcPtr;
  3971. {$endc}
  3972. {$ifc TYPED_FUNCTION_POINTERS}
  3973. StartElementHandler = function(name: ConstCStringPtr; var atts: ConstCStringPtr; refcon: SInt32): ComponentResult;
  3974. {$elsec}
  3975. StartElementHandler = ProcPtr;
  3976. {$endc}
  3977. {$ifc TYPED_FUNCTION_POINTERS}
  3978. EndElementHandler = function(name: ConstCStringPtr; refcon: SInt32): ComponentResult;
  3979. {$elsec}
  3980. EndElementHandler = ProcPtr;
  3981. {$endc}
  3982. {$ifc TYPED_FUNCTION_POINTERS}
  3983. CharDataHandler = function(charData: ConstCStringPtr; refcon: SInt32): ComponentResult;
  3984. {$elsec}
  3985. CharDataHandler = ProcPtr;
  3986. {$endc}
  3987. {$ifc TYPED_FUNCTION_POINTERS}
  3988. PreprocessInstructionHandler = function(name: ConstCStringPtr; atts: ConstCStringPtrPtr; refcon: SInt32): ComponentResult;
  3989. {$elsec}
  3990. PreprocessInstructionHandler = ProcPtr;
  3991. {$endc}
  3992. {$ifc TYPED_FUNCTION_POINTERS}
  3993. CommentHandler = function(comment: ConstCStringPtr; refcon: SInt32): ComponentResult;
  3994. {$elsec}
  3995. CommentHandler = ProcPtr;
  3996. {$endc}
  3997. {$ifc TYPED_FUNCTION_POINTERS}
  3998. CDataHandler = function(cdata: ConstCStringPtr; refcon: SInt32): ComponentResult;
  3999. {$elsec}
  4000. CDataHandler = ProcPtr;
  4001. {$endc}
  4002. {$ifc OPAQUE_UPP_TYPES}
  4003. StartDocumentHandlerUPP = ^SInt32; { an opaque UPP }
  4004. {$elsec}
  4005. StartDocumentHandlerUPP = UniversalProcPtr;
  4006. {$endc}
  4007. {$ifc OPAQUE_UPP_TYPES}
  4008. EndDocumentHandlerUPP = ^SInt32; { an opaque UPP }
  4009. {$elsec}
  4010. EndDocumentHandlerUPP = UniversalProcPtr;
  4011. {$endc}
  4012. {$ifc OPAQUE_UPP_TYPES}
  4013. StartElementHandlerUPP = ^SInt32; { an opaque UPP }
  4014. {$elsec}
  4015. StartElementHandlerUPP = UniversalProcPtr;
  4016. {$endc}
  4017. {$ifc OPAQUE_UPP_TYPES}
  4018. EndElementHandlerUPP = ^SInt32; { an opaque UPP }
  4019. {$elsec}
  4020. EndElementHandlerUPP = UniversalProcPtr;
  4021. {$endc}
  4022. {$ifc OPAQUE_UPP_TYPES}
  4023. CharDataHandlerUPP = ^SInt32; { an opaque UPP }
  4024. {$elsec}
  4025. CharDataHandlerUPP = UniversalProcPtr;
  4026. {$endc}
  4027. {$ifc OPAQUE_UPP_TYPES}
  4028. PreprocessInstructionHandlerUPP = ^SInt32; { an opaque UPP }
  4029. {$elsec}
  4030. PreprocessInstructionHandlerUPP = UniversalProcPtr;
  4031. {$endc}
  4032. {$ifc OPAQUE_UPP_TYPES}
  4033. CommentHandlerUPP = ^SInt32; { an opaque UPP }
  4034. {$elsec}
  4035. CommentHandlerUPP = UniversalProcPtr;
  4036. {$endc}
  4037. {$ifc OPAQUE_UPP_TYPES}
  4038. CDataHandlerUPP = ^SInt32; { an opaque UPP }
  4039. {$elsec}
  4040. CDataHandlerUPP = UniversalProcPtr;
  4041. {$endc}
  4042. { Parses the XML file pointed to by dataRef, returning a XMLDoc parse tree }
  4043. {
  4044. * XMLParseDataRef()
  4045. *
  4046. * Availability:
  4047. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4048. * CarbonLib: in CarbonLib 1.3 and later
  4049. * Mac OS X: in version 10.0 and later
  4050. * Windows: in qtmlClient.lib 5.0 and later
  4051. }
  4052. function XMLParseDataRef(aParser: ComponentInstance; dataRef: Handle; dataRefType: OSType; parseFlags: SInt32; var document: XMLDoc): ComponentResult; external name '_XMLParseDataRef';
  4053. { Parses the XML file pointed to by fileSpec, returning a XMLDoc parse tree }
  4054. {
  4055. * XMLParseFile()
  4056. *
  4057. * Availability:
  4058. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4059. * CarbonLib: in CarbonLib 1.3 and later
  4060. * Mac OS X: in version 10.0 and later
  4061. * Windows: in qtmlClient.lib 5.0 and later
  4062. }
  4063. function XMLParseFile(aParser: ComponentInstance; fileSpec: ConstFSSpecPtr; parseFlags: SInt32; var document: XMLDoc): ComponentResult; external name '_XMLParseFile';
  4064. { Disposes of a XMLDoc parse tree }
  4065. {
  4066. * XMLParseDisposeXMLDoc()
  4067. *
  4068. * Availability:
  4069. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4070. * CarbonLib: in CarbonLib 1.3 and later
  4071. * Mac OS X: in version 10.0 and later
  4072. * Windows: in qtmlClient.lib 5.0 and later
  4073. }
  4074. function XMLParseDisposeXMLDoc(aParser: ComponentInstance; document: XMLDoc): ComponentResult; external name '_XMLParseDisposeXMLDoc';
  4075. {
  4076. Returns a more detailed description of the error and the line in which it occurred, if a
  4077. file failed to parse properly.
  4078. }
  4079. {
  4080. * XMLParseGetDetailedParseError()
  4081. *
  4082. * Availability:
  4083. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4084. * CarbonLib: in CarbonLib 1.3 and later
  4085. * Mac OS X: in version 10.0 and later
  4086. * Windows: in qtmlClient.lib 5.0 and later
  4087. }
  4088. function XMLParseGetDetailedParseError(aParser: ComponentInstance; var errorLine: SInt32; errDesc: StringPtr): ComponentResult; external name '_XMLParseGetDetailedParseError';
  4089. {
  4090. Tell the parser of an element to be recognized. The tokenized element unique identifier is
  4091. passed in *elementID, unless *elementID is zero, whereupon a unique ID is generated and returned.
  4092. Thus, a valid element identifier can never be zero.
  4093. }
  4094. {
  4095. * XMLParseAddElement()
  4096. *
  4097. * Availability:
  4098. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4099. * CarbonLib: in CarbonLib 1.3 and later
  4100. * Mac OS X: in version 10.0 and later
  4101. * Windows: in qtmlClient.lib 5.0 and later
  4102. }
  4103. function XMLParseAddElement(aParser: ComponentInstance; elementName: CStringPtr; nameSpaceID: UInt32; var elementID: UInt32; elementFlags: SInt32): ComponentResult; external name '_XMLParseAddElement';
  4104. {
  4105. Tells the parser of an attribute for the specified element. The tokenized attribute unique
  4106. ID is passed in *attributeID, unless *attributeID is zero, whereupon a unique ID is generated and
  4107. returned. Thus, a valid attribute identifier can never be zero.
  4108. }
  4109. {
  4110. * XMLParseAddAttribute()
  4111. *
  4112. * Availability:
  4113. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4114. * CarbonLib: in CarbonLib 1.3 and later
  4115. * Mac OS X: in version 10.0 and later
  4116. * Windows: in qtmlClient.lib 5.0 and later
  4117. }
  4118. function XMLParseAddAttribute(aParser: ComponentInstance; elementID: UInt32; nameSpaceID: UInt32; attributeName: CStringPtr; var attributeID: UInt32): ComponentResult; external name '_XMLParseAddAttribute';
  4119. {
  4120. Tells the parser of several attributes for the specified element. The attributes are passed
  4121. as a zero-delimited, double-zero-terminated C string in attributeNames, and the attribute
  4122. IDs are passed in on attributeIDs as an array; if any attributeIDs are zero, unique IDs
  4123. are generated for those and returned
  4124. }
  4125. {
  4126. * XMLParseAddMultipleAttributes()
  4127. *
  4128. * Availability:
  4129. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4130. * CarbonLib: in CarbonLib 1.3 and later
  4131. * Mac OS X: in version 10.0 and later
  4132. * Windows: in qtmlClient.lib 5.0 and later
  4133. }
  4134. function XMLParseAddMultipleAttributes(aParser: ComponentInstance; elementID: UInt32; var nameSpaceIDs: UInt32; attributeNames: CStringPtr; var attributeIDs: UInt32): ComponentResult; external name '_XMLParseAddMultipleAttributes';
  4135. {
  4136. Tells the parser of an attribute, which may have a particular type of value, for the
  4137. specified element. Params are as in XMLParseAddAttribute, plus all the kinds of values
  4138. the attribute may have are passed in attributeValueKind, and optional additional information
  4139. required to tokenize the particular kind of attribute is passed in attributeValueKindInfo
  4140. }
  4141. {
  4142. * XMLParseAddAttributeAndValue()
  4143. *
  4144. * Availability:
  4145. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4146. * CarbonLib: in CarbonLib 1.3 and later
  4147. * Mac OS X: in version 10.0 and later
  4148. * Windows: in qtmlClient.lib 5.0 and later
  4149. }
  4150. function XMLParseAddAttributeAndValue(aParser: ComponentInstance; elementID: UInt32; nameSpaceID: UInt32; attributeName: CStringPtr; var attributeID: UInt32; attributeValueKind: UInt32; attributeValueKindInfo: UnivPtr): ComponentResult; external name '_XMLParseAddAttributeAndValue';
  4151. {
  4152. Tells the parser of several attributes, which may have a particular type of value, for the
  4153. specified element. Params are as in XMLParseAddMultipleAttributes, plus all the kinds of values
  4154. the attributes may have are passed in attributeValueKinds, and optional additional information
  4155. required to tokenize the particular kind of attributes is passed in attributeValueKindInfos
  4156. }
  4157. {
  4158. * XMLParseAddMultipleAttributesAndValues()
  4159. *
  4160. * Availability:
  4161. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4162. * CarbonLib: in CarbonLib 1.3 and later
  4163. * Mac OS X: in version 10.0 and later
  4164. * Windows: in qtmlClient.lib 5.0 and later
  4165. }
  4166. function XMLParseAddMultipleAttributesAndValues(aParser: ComponentInstance; elementID: UInt32; var nameSpaceIDs: UInt32; attributeNames: CStringPtr; var attributeIDs: UInt32; var attributeValueKinds: UInt32; var attributeValueKindInfos: UnivPtr): ComponentResult; external name '_XMLParseAddMultipleAttributesAndValues';
  4167. {
  4168. Tells the parser that the particular attribute may have an additional kind of
  4169. value, as specified by attributeValueKind and attributeValueKindInfo
  4170. }
  4171. {
  4172. * XMLParseAddAttributeValueKind()
  4173. *
  4174. * Availability:
  4175. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4176. * CarbonLib: in CarbonLib 1.3 and later
  4177. * Mac OS X: in version 10.0 and later
  4178. * Windows: in qtmlClient.lib 5.0 and later
  4179. }
  4180. function XMLParseAddAttributeValueKind(aParser: ComponentInstance; elementID: UInt32; attributeID: UInt32; attributeValueKind: UInt32; attributeValueKindInfo: UnivPtr): ComponentResult; external name '_XMLParseAddAttributeValueKind';
  4181. {
  4182. Tell the parser of a namespace to be recognized. The tokenized namespace unique identifier is
  4183. passed in *nameSpaceID, unless *nameSpaceID is zero, whereupon a unique ID is generated and returned.
  4184. Thus, a valid nameSpaceID identifier can never be zero.
  4185. }
  4186. {
  4187. * XMLParseAddNameSpace()
  4188. *
  4189. * Availability:
  4190. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4191. * CarbonLib: in CarbonLib 1.3 and later
  4192. * Mac OS X: in version 10.0 and later
  4193. * Windows: in qtmlClient.lib 5.0 and later
  4194. }
  4195. function XMLParseAddNameSpace(aParser: ComponentInstance; nameSpaceURL: CStringPtr; var nameSpaceID: UInt32): ComponentResult; external name '_XMLParseAddNameSpace';
  4196. { Specifies the offset and limit for reading from the dataref to be used when parsing }
  4197. {
  4198. * XMLParseSetOffsetAndLimit()
  4199. *
  4200. * Availability:
  4201. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4202. * CarbonLib: in CarbonLib 1.3 and later
  4203. * Mac OS X: in version 10.0 and later
  4204. * Windows: in qtmlClient.lib 5.0 and later
  4205. }
  4206. function XMLParseSetOffsetAndLimit(aParser: ComponentInstance; offset: UInt32; limit: UInt32): ComponentResult; external name '_XMLParseSetOffsetAndLimit';
  4207. { Set the event parse refcon }
  4208. {
  4209. * XMLParseSetEventParseRefCon()
  4210. *
  4211. * Availability:
  4212. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4213. * CarbonLib: in CarbonLib 1.3 and later
  4214. * Mac OS X: in version 10.0 and later
  4215. * Windows: in qtmlClient.lib 5.0 and later
  4216. }
  4217. function XMLParseSetEventParseRefCon(aParser: ComponentInstance; refcon: SInt32): ComponentResult; external name '_XMLParseSetEventParseRefCon';
  4218. { Set the start document handler UPP for event parsing }
  4219. {
  4220. * XMLParseSetStartDocumentHandler()
  4221. *
  4222. * Availability:
  4223. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4224. * CarbonLib: in CarbonLib 1.3 and later
  4225. * Mac OS X: in version 10.0 and later
  4226. * Windows: in qtmlClient.lib 5.0 and later
  4227. }
  4228. function XMLParseSetStartDocumentHandler(aParser: ComponentInstance; startDocument: StartDocumentHandlerUPP): ComponentResult; external name '_XMLParseSetStartDocumentHandler';
  4229. { Set the end document handler UPP for event parsing }
  4230. {
  4231. * XMLParseSetEndDocumentHandler()
  4232. *
  4233. * Availability:
  4234. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4235. * CarbonLib: in CarbonLib 1.3 and later
  4236. * Mac OS X: in version 10.0 and later
  4237. * Windows: in qtmlClient.lib 5.0 and later
  4238. }
  4239. function XMLParseSetEndDocumentHandler(aParser: ComponentInstance; endDocument: EndDocumentHandlerUPP): ComponentResult; external name '_XMLParseSetEndDocumentHandler';
  4240. { Set the start element handler UPP for event parsing }
  4241. {
  4242. * XMLParseSetStartElementHandler()
  4243. *
  4244. * Availability:
  4245. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4246. * CarbonLib: in CarbonLib 1.3 and later
  4247. * Mac OS X: in version 10.0 and later
  4248. * Windows: in qtmlClient.lib 5.0 and later
  4249. }
  4250. function XMLParseSetStartElementHandler(aParser: ComponentInstance; startElement: StartElementHandlerUPP): ComponentResult; external name '_XMLParseSetStartElementHandler';
  4251. { Set the end element handler UPP for event parsing }
  4252. {
  4253. * XMLParseSetEndElementHandler()
  4254. *
  4255. * Availability:
  4256. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4257. * CarbonLib: in CarbonLib 1.3 and later
  4258. * Mac OS X: in version 10.0 and later
  4259. * Windows: in qtmlClient.lib 5.0 and later
  4260. }
  4261. function XMLParseSetEndElementHandler(aParser: ComponentInstance; endElement: EndElementHandlerUPP): ComponentResult; external name '_XMLParseSetEndElementHandler';
  4262. { Set the character data handler UPP for event parsing }
  4263. {
  4264. * XMLParseSetCharDataHandler()
  4265. *
  4266. * Availability:
  4267. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4268. * CarbonLib: in CarbonLib 1.3 and later
  4269. * Mac OS X: in version 10.0 and later
  4270. * Windows: in qtmlClient.lib 5.0 and later
  4271. }
  4272. function XMLParseSetCharDataHandler(aParser: ComponentInstance; charData: CharDataHandlerUPP): ComponentResult; external name '_XMLParseSetCharDataHandler';
  4273. { Set the preprocess instruction handler UPP for event parsing }
  4274. {
  4275. * XMLParseSetPreprocessInstructionHandler()
  4276. *
  4277. * Availability:
  4278. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4279. * CarbonLib: in CarbonLib 1.3 and later
  4280. * Mac OS X: in version 10.0 and later
  4281. * Windows: in qtmlClient.lib 5.0 and later
  4282. }
  4283. function XMLParseSetPreprocessInstructionHandler(aParser: ComponentInstance; preprocessInstruction: PreprocessInstructionHandlerUPP): ComponentResult; external name '_XMLParseSetPreprocessInstructionHandler';
  4284. { Set the comment handler UPP for event parsing }
  4285. {
  4286. * XMLParseSetCommentHandler()
  4287. *
  4288. * Availability:
  4289. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  4290. * CarbonLib: in CarbonLib 1.3 and later
  4291. * Mac OS X: in version 10.0 and later
  4292. * Windows: in qtmlClient.lib 5.0 and later
  4293. }
  4294. function XMLParseSetCommentHandler(aParser: ComponentInstance; comment: CommentHandlerUPP): ComponentResult; external name '_XMLParseSetCommentHandler';
  4295. { Set the cdata handler UPP for event parsing }
  4296. {
  4297. * XMLParseSetCDataHandler()
  4298. *
  4299. * Availability:
  4300. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  4301. * CarbonLib: in CarbonLib 1.6 and later
  4302. * Mac OS X: in version 10.2 and later
  4303. * Windows: in qtmlClient.lib 6.0 and later
  4304. }
  4305. function XMLParseSetCDataHandler(aParser: ComponentInstance; cdata: CDataHandlerUPP): ComponentResult; external name '_XMLParseSetCDataHandler';
  4306. {
  4307. Helper Macros
  4308. These macros allow you to easily add entities and attributes to the parser
  4309. in an error free manner when the identifiers are defined in a particular manner.
  4310. For these to work, you must define the identifiers as follows:
  4311. For entities, they must be defined as element_elementName, as in:
  4312. enum
  4313. (
  4314. element_xml = 1, // "xml"
  4315. element_head, // "head"
  4316. element_body // "body"
  4317. );
  4318. If the element name has characters that are illegal in an identifier,
  4319. some of the macros support that, but the identifier must not contain
  4320. the illegal characters:
  4321. enum
  4322. (
  4323. element_rootlayout // "root-layout"
  4324. )
  4325. For attribute names, similar rules apply except that they must be defined
  4326. as attr_attributeName, as in:
  4327. enum
  4328. (
  4329. attr_src = 1, // "src"
  4330. attr_href,
  4331. attr_width,
  4332. attr_height
  4333. )
  4334. Finally, the existence of local variables elementID and attributeID is required.
  4335. }
  4336. {
  4337. Adds the specified element to the parser, i.e. XML_ADD_ELEMENT(head) adds the element "head" with
  4338. a unique identifier of element_head
  4339. }
  4340. {
  4341. Adds the specified element to the parser, not using the same string to generate the identifier and
  4342. the element name. Use for element names that contain characters which are illegal in identifiers,
  4343. i.e XML_ADD_COMPLEX_ELEMENT("root-layout",rootlayout) adds the element "root-layout" with a unique
  4344. identifier of element_rootlayout
  4345. }
  4346. {
  4347. Adds the specified attribute to the current element in the parser, i.e. XML_ADD_ATTRIBUTE(src)
  4348. adds the attribute "src" to the current element, and identifies it by attr_src
  4349. }
  4350. {
  4351. Adds the specified attribute to the current element in the parser, i.e. XML_ADD_ATTRIBUTE(element_img, src)
  4352. adds the attribute "src" to the element_img element, and identifies it by attr_src
  4353. Adds the specified attribute to the current element in the parser, not using the same string to
  4354. generate the identifier and the element name. Use for attribute names that contain characters which
  4355. are illegal in identifiers, i.e XML_ADD_COMPLEX_ATTRIBUTE("http-equiv",httpequiv) adds the element
  4356. "http-equiv" with a unique identifier of attr_httpequiv
  4357. }
  4358. {
  4359. General Sequence Grab stuff
  4360. }
  4361. type
  4362. SeqGrabComponent = ComponentInstance;
  4363. SGChannel = ComponentInstance;
  4364. const
  4365. SeqGrabComponentType = $62617267 (* 'barg' *);
  4366. SeqGrabChannelType = $73676368 (* 'sgch' *);
  4367. SeqGrabPanelType = $7367706E (* 'sgpn' *);
  4368. SeqGrabCompressionPanelType = $636D7072 (* 'cmpr' *);
  4369. SeqGrabSourcePanelType = $736F7572 (* 'sour' *);
  4370. seqGrabToDisk = 1;
  4371. seqGrabToMemory = 2;
  4372. seqGrabDontUseTempMemory = 4;
  4373. seqGrabAppendToFile = 8;
  4374. seqGrabDontAddMovieResource = 16;
  4375. seqGrabDontMakeMovie = 32;
  4376. seqGrabPreExtendFile = 64;
  4377. seqGrabDataProcIsInterruptSafe = 128;
  4378. seqGrabDataProcDoesOverlappingReads = 256;
  4379. type
  4380. SeqGrabDataOutputEnum = UInt32;
  4381. const
  4382. seqGrabRecord = 1;
  4383. seqGrabPreview = 2;
  4384. seqGrabPlayDuringRecord = 4;
  4385. seqGrabLowLatencyCapture = 8; { return the freshest frame possible, for live work (videoconferencing, live broadcast, live image processing) }
  4386. seqGrabAlwaysUseTimeBase = 16; { Tell VDIGs to use TimebaseTime always, rather than creating uniform frame durations, for more accurate live sync with audio }
  4387. type
  4388. SeqGrabUsageEnum = UInt32;
  4389. const
  4390. seqGrabHasBounds = 1;
  4391. seqGrabHasVolume = 2;
  4392. seqGrabHasDiscreteSamples = 4;
  4393. seqGrabDoNotBufferizeData = 8;
  4394. seqGrabCanMoveWindowWhileRecording = 16;
  4395. type
  4396. SeqGrabChannelInfoEnum = UInt32;
  4397. SGOutputRecordPtr = ^SGOutputRecord;
  4398. SGOutputRecord = record
  4399. data: array [0..0] of SInt32;
  4400. end;
  4401. SGOutput = ^SGOutputRecord;
  4402. SeqGrabFrameInfoPtr = ^SeqGrabFrameInfo;
  4403. SeqGrabFrameInfo = record
  4404. frameOffset: SInt32;
  4405. frameTime: SInt32;
  4406. frameSize: SInt32;
  4407. frameChannel: SGChannel;
  4408. frameRefCon: SInt32;
  4409. end;
  4410. SeqGrabExtendedFrameInfoPtr = ^SeqGrabExtendedFrameInfo;
  4411. SeqGrabExtendedFrameInfo = record
  4412. frameOffset: wide;
  4413. frameTime: SInt32;
  4414. frameSize: SInt32;
  4415. frameChannel: SGChannel;
  4416. frameRefCon: SInt32;
  4417. frameOutput: SGOutput;
  4418. end;
  4419. const
  4420. grabPictOffScreen = 1;
  4421. grabPictIgnoreClip = 2;
  4422. grabPictCurrentImage = 4;
  4423. sgFlagControlledGrab = $01;
  4424. sgFlagAllowNonRGBPixMaps = $02;
  4425. type
  4426. {$ifc TYPED_FUNCTION_POINTERS}
  4427. SGDataProcPtr = function(c: SGChannel; p: Ptr; len: SInt32; var offset: SInt32; chRefCon: SInt32; time: TimeValue; writeType: SInt16; refCon: SInt32): OSErr;
  4428. {$elsec}
  4429. SGDataProcPtr = ProcPtr;
  4430. {$endc}
  4431. {$ifc OPAQUE_UPP_TYPES}
  4432. SGDataUPP = ^SInt32; { an opaque UPP }
  4433. {$elsec}
  4434. SGDataUPP = UniversalProcPtr;
  4435. {$endc}
  4436. SGDeviceInputNamePtr = ^SGDeviceInputName;
  4437. SGDeviceInputName = record
  4438. name: Str63;
  4439. icon: Handle;
  4440. flags: SInt32;
  4441. reserved: SInt32; { zero }
  4442. end;
  4443. const
  4444. sgDeviceInputNameFlagInputUnavailable = $01;
  4445. type
  4446. SGDeviceInputListRecordPtr = ^SGDeviceInputListRecord;
  4447. SGDeviceInputListRecord = record
  4448. count: SInt16;
  4449. selectedIndex: SInt16;
  4450. reserved: SInt32; { zero }
  4451. entry: array [0..0] of SGDeviceInputName;
  4452. end;
  4453. SGDeviceInputListPtr = ^SGDeviceInputListRecord;
  4454. SGDeviceInputList = ^SGDeviceInputListPtr;
  4455. SGDeviceNamePtr = ^SGDeviceName;
  4456. SGDeviceName = record
  4457. name: Str63;
  4458. icon: Handle;
  4459. flags: SInt32;
  4460. refCon: SInt32;
  4461. inputs: SGDeviceInputList; { list of inputs; formerly reserved to 0 }
  4462. end;
  4463. const
  4464. sgDeviceNameFlagDeviceUnavailable = $01;
  4465. sgDeviceNameFlagShowInputsAsDevices = $02;
  4466. type
  4467. SGDeviceListRecordPtr = ^SGDeviceListRecord;
  4468. SGDeviceListRecord = record
  4469. count: SInt16;
  4470. selectedIndex: SInt16;
  4471. reserved: SInt32; { zero }
  4472. entry: array [0..0] of SGDeviceName;
  4473. end;
  4474. SGDeviceListPtr = ^SGDeviceListRecord;
  4475. SGDeviceList = ^SGDeviceListPtr;
  4476. const
  4477. sgDeviceListWithIcons = $01;
  4478. sgDeviceListDontCheckAvailability = $02;
  4479. sgDeviceListIncludeInputs = $04;
  4480. seqGrabWriteAppend = 0;
  4481. seqGrabWriteReserve = 1;
  4482. seqGrabWriteFill = 2;
  4483. seqGrabUnpause = 0;
  4484. seqGrabPause = 1;
  4485. seqGrabPauseForMenu = 3;
  4486. channelFlagDontOpenResFile = 2;
  4487. channelFlagHasDependency = 4;
  4488. type
  4489. {$ifc TYPED_FUNCTION_POINTERS}
  4490. SGModalFilterProcPtr = function(theDialog: DialogRef; const (*var*) theEvent: EventRecord; var itemHit: SInt16; refCon: SInt32): boolean;
  4491. {$elsec}
  4492. SGModalFilterProcPtr = ProcPtr;
  4493. {$endc}
  4494. {$ifc OPAQUE_UPP_TYPES}
  4495. SGModalFilterUPP = ^SInt32; { an opaque UPP }
  4496. {$elsec}
  4497. SGModalFilterUPP = UniversalProcPtr;
  4498. {$endc}
  4499. const
  4500. sgPanelFlagForPanel = 1;
  4501. seqGrabSettingsPreviewOnly = 1;
  4502. channelPlayNormal = 0;
  4503. channelPlayFast = 1;
  4504. channelPlayHighQuality = 2;
  4505. channelPlayAllData = 4;
  4506. {
  4507. * SGInitialize()
  4508. *
  4509. * Availability:
  4510. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4511. * CarbonLib: in CarbonLib 1.0 and later
  4512. * Mac OS X: in version 10.0 and later
  4513. * Windows: in qtmlClient.lib 3.0 and later
  4514. }
  4515. function SGInitialize(s: SeqGrabComponent): ComponentResult; external name '_SGInitialize';
  4516. {
  4517. * SGSetDataOutput()
  4518. *
  4519. * Availability:
  4520. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4521. * CarbonLib: in CarbonLib 1.0 and later
  4522. * Mac OS X: in version 10.0 and later
  4523. * Windows: in qtmlClient.lib 3.0 and later
  4524. }
  4525. function SGSetDataOutput(s: SeqGrabComponent; const (*var*) movieFile: FSSpec; whereFlags: SInt32): ComponentResult; external name '_SGSetDataOutput';
  4526. {
  4527. * SGGetDataOutput()
  4528. *
  4529. * Availability:
  4530. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4531. * CarbonLib: in CarbonLib 1.0 and later
  4532. * Mac OS X: in version 10.0 and later
  4533. * Windows: in qtmlClient.lib 3.0 and later
  4534. }
  4535. function SGGetDataOutput(s: SeqGrabComponent; var movieFile: FSSpec; var whereFlags: SInt32): ComponentResult; external name '_SGGetDataOutput';
  4536. {
  4537. * SGSetGWorld()
  4538. *
  4539. * Availability:
  4540. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4541. * CarbonLib: in CarbonLib 1.0 and later
  4542. * Mac OS X: in version 10.0 and later
  4543. * Windows: in qtmlClient.lib 3.0 and later
  4544. }
  4545. function SGSetGWorld(s: SeqGrabComponent; gp: CGrafPtr; gd: GDHandle): ComponentResult; external name '_SGSetGWorld';
  4546. {
  4547. * SGGetGWorld()
  4548. *
  4549. * Availability:
  4550. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4551. * CarbonLib: in CarbonLib 1.0 and later
  4552. * Mac OS X: in version 10.0 and later
  4553. * Windows: in qtmlClient.lib 3.0 and later
  4554. }
  4555. function SGGetGWorld(s: SeqGrabComponent; var gp: CGrafPtr; var gd: GDHandle): ComponentResult; external name '_SGGetGWorld';
  4556. {
  4557. * SGNewChannel()
  4558. *
  4559. * Availability:
  4560. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4561. * CarbonLib: in CarbonLib 1.0 and later
  4562. * Mac OS X: in version 10.0 and later
  4563. * Windows: in qtmlClient.lib 3.0 and later
  4564. }
  4565. function SGNewChannel(s: SeqGrabComponent; channelType: OSType; var ref: SGChannel): ComponentResult; external name '_SGNewChannel';
  4566. {
  4567. * SGDisposeChannel()
  4568. *
  4569. * Availability:
  4570. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4571. * CarbonLib: in CarbonLib 1.0 and later
  4572. * Mac OS X: in version 10.0 and later
  4573. * Windows: in qtmlClient.lib 3.0 and later
  4574. }
  4575. function SGDisposeChannel(s: SeqGrabComponent; c: SGChannel): ComponentResult; external name '_SGDisposeChannel';
  4576. {
  4577. * SGStartPreview()
  4578. *
  4579. * Availability:
  4580. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4581. * CarbonLib: in CarbonLib 1.0 and later
  4582. * Mac OS X: in version 10.0 and later
  4583. * Windows: in qtmlClient.lib 3.0 and later
  4584. }
  4585. function SGStartPreview(s: SeqGrabComponent): ComponentResult; external name '_SGStartPreview';
  4586. {
  4587. * SGStartRecord()
  4588. *
  4589. * Availability:
  4590. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4591. * CarbonLib: in CarbonLib 1.0 and later
  4592. * Mac OS X: in version 10.0 and later
  4593. * Windows: in qtmlClient.lib 3.0 and later
  4594. }
  4595. function SGStartRecord(s: SeqGrabComponent): ComponentResult; external name '_SGStartRecord';
  4596. {
  4597. * SGIdle()
  4598. *
  4599. * Availability:
  4600. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4601. * CarbonLib: in CarbonLib 1.0 and later
  4602. * Mac OS X: in version 10.0 and later
  4603. * Windows: in qtmlClient.lib 3.0 and later
  4604. }
  4605. function SGIdle(s: SeqGrabComponent): ComponentResult; external name '_SGIdle';
  4606. {
  4607. * SGStop()
  4608. *
  4609. * Availability:
  4610. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4611. * CarbonLib: in CarbonLib 1.0 and later
  4612. * Mac OS X: in version 10.0 and later
  4613. * Windows: in qtmlClient.lib 3.0 and later
  4614. }
  4615. function SGStop(s: SeqGrabComponent): ComponentResult; external name '_SGStop';
  4616. {
  4617. * SGPause()
  4618. *
  4619. * Availability:
  4620. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4621. * CarbonLib: in CarbonLib 1.0 and later
  4622. * Mac OS X: in version 10.0 and later
  4623. * Windows: in qtmlClient.lib 3.0 and later
  4624. }
  4625. function SGPause(s: SeqGrabComponent; pause: ByteParameter): ComponentResult; external name '_SGPause';
  4626. {
  4627. * SGPrepare()
  4628. *
  4629. * Availability:
  4630. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4631. * CarbonLib: in CarbonLib 1.0 and later
  4632. * Mac OS X: in version 10.0 and later
  4633. * Windows: in qtmlClient.lib 3.0 and later
  4634. }
  4635. function SGPrepare(s: SeqGrabComponent; prepareForPreview: boolean; prepareForRecord: boolean): ComponentResult; external name '_SGPrepare';
  4636. {
  4637. * SGRelease()
  4638. *
  4639. * Availability:
  4640. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4641. * CarbonLib: in CarbonLib 1.0 and later
  4642. * Mac OS X: in version 10.0 and later
  4643. * Windows: in qtmlClient.lib 3.0 and later
  4644. }
  4645. function SGRelease(s: SeqGrabComponent): ComponentResult; external name '_SGRelease';
  4646. {
  4647. * SGGetMovie()
  4648. *
  4649. * Availability:
  4650. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4651. * CarbonLib: in CarbonLib 1.0 and later
  4652. * Mac OS X: in version 10.0 and later
  4653. * Windows: in qtmlClient.lib 3.0 and later
  4654. }
  4655. function SGGetMovie(s: SeqGrabComponent): Movie; external name '_SGGetMovie';
  4656. {
  4657. * SGSetMaximumRecordTime()
  4658. *
  4659. * Availability:
  4660. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4661. * CarbonLib: in CarbonLib 1.0 and later
  4662. * Mac OS X: in version 10.0 and later
  4663. * Windows: in qtmlClient.lib 3.0 and later
  4664. }
  4665. function SGSetMaximumRecordTime(s: SeqGrabComponent; ticks: UInt32): ComponentResult; external name '_SGSetMaximumRecordTime';
  4666. {
  4667. * SGGetMaximumRecordTime()
  4668. *
  4669. * Availability:
  4670. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4671. * CarbonLib: in CarbonLib 1.0 and later
  4672. * Mac OS X: in version 10.0 and later
  4673. * Windows: in qtmlClient.lib 3.0 and later
  4674. }
  4675. function SGGetMaximumRecordTime(s: SeqGrabComponent; var ticks: UInt32): ComponentResult; external name '_SGGetMaximumRecordTime';
  4676. {
  4677. * SGGetStorageSpaceRemaining()
  4678. *
  4679. * Availability:
  4680. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4681. * CarbonLib: in CarbonLib 1.0 and later
  4682. * Mac OS X: in version 10.0 and later
  4683. * Windows: in qtmlClient.lib 3.0 and later
  4684. }
  4685. function SGGetStorageSpaceRemaining(s: SeqGrabComponent; var bytes: UInt32): ComponentResult; external name '_SGGetStorageSpaceRemaining';
  4686. {
  4687. * SGGetTimeRemaining()
  4688. *
  4689. * Availability:
  4690. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4691. * CarbonLib: in CarbonLib 1.0 and later
  4692. * Mac OS X: in version 10.0 and later
  4693. * Windows: in qtmlClient.lib 3.0 and later
  4694. }
  4695. function SGGetTimeRemaining(s: SeqGrabComponent; var ticksLeft: SInt32): ComponentResult; external name '_SGGetTimeRemaining';
  4696. {
  4697. * SGGrabPict()
  4698. *
  4699. * Availability:
  4700. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4701. * CarbonLib: in CarbonLib 1.0 and later
  4702. * Mac OS X: in version 10.0 and later
  4703. * Windows: in qtmlClient.lib 3.0 and later
  4704. }
  4705. function SGGrabPict(s: SeqGrabComponent; var p: PicHandle; const (*var*) bounds: Rect; offscreenDepth: SInt16; grabPictFlags: SInt32): ComponentResult; external name '_SGGrabPict';
  4706. {
  4707. * SGGetLastMovieResID()
  4708. *
  4709. * Availability:
  4710. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4711. * CarbonLib: in CarbonLib 1.0 and later
  4712. * Mac OS X: in version 10.0 and later
  4713. * Windows: in qtmlClient.lib 3.0 and later
  4714. }
  4715. function SGGetLastMovieResID(s: SeqGrabComponent; var resID: SInt16): ComponentResult; external name '_SGGetLastMovieResID';
  4716. {
  4717. * SGSetFlags()
  4718. *
  4719. * Availability:
  4720. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4721. * CarbonLib: in CarbonLib 1.0 and later
  4722. * Mac OS X: in version 10.0 and later
  4723. * Windows: in qtmlClient.lib 3.0 and later
  4724. }
  4725. function SGSetFlags(s: SeqGrabComponent; sgFlags: SInt32): ComponentResult; external name '_SGSetFlags';
  4726. {
  4727. * SGGetFlags()
  4728. *
  4729. * Availability:
  4730. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4731. * CarbonLib: in CarbonLib 1.0 and later
  4732. * Mac OS X: in version 10.0 and later
  4733. * Windows: in qtmlClient.lib 3.0 and later
  4734. }
  4735. function SGGetFlags(s: SeqGrabComponent; var sgFlags: SInt32): ComponentResult; external name '_SGGetFlags';
  4736. {
  4737. * SGSetDataProc()
  4738. *
  4739. * Availability:
  4740. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4741. * CarbonLib: in CarbonLib 1.0 and later
  4742. * Mac OS X: in version 10.0 and later
  4743. * Windows: in qtmlClient.lib 3.0 and later
  4744. }
  4745. function SGSetDataProc(s: SeqGrabComponent; proc: SGDataUPP; refCon: SInt32): ComponentResult; external name '_SGSetDataProc';
  4746. {
  4747. * SGNewChannelFromComponent()
  4748. *
  4749. * Availability:
  4750. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4751. * CarbonLib: in CarbonLib 1.0 and later
  4752. * Mac OS X: in version 10.0 and later
  4753. * Windows: in qtmlClient.lib 3.0 and later
  4754. }
  4755. function SGNewChannelFromComponent(s: SeqGrabComponent; var newChannel: SGChannel; sgChannelComponent: Component): ComponentResult; external name '_SGNewChannelFromComponent';
  4756. {
  4757. * SGDisposeDeviceList()
  4758. *
  4759. * Availability:
  4760. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4761. * CarbonLib: in CarbonLib 1.0 and later
  4762. * Mac OS X: in version 10.0 and later
  4763. * Windows: in qtmlClient.lib 3.0 and later
  4764. }
  4765. function SGDisposeDeviceList(s: SeqGrabComponent; list: SGDeviceList): ComponentResult; external name '_SGDisposeDeviceList';
  4766. {
  4767. * SGAppendDeviceListToMenu()
  4768. *
  4769. * Availability:
  4770. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4771. * CarbonLib: in CarbonLib 1.0 and later
  4772. * Mac OS X: in version 10.0 and later
  4773. * Windows: in qtmlClient.lib 3.0 and later
  4774. }
  4775. function SGAppendDeviceListToMenu(s: SeqGrabComponent; list: SGDeviceList; mh: MenuRef): ComponentResult; external name '_SGAppendDeviceListToMenu';
  4776. {
  4777. * SGSetSettings()
  4778. *
  4779. * Availability:
  4780. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4781. * CarbonLib: in CarbonLib 1.0 and later
  4782. * Mac OS X: in version 10.0 and later
  4783. * Windows: in qtmlClient.lib 3.0 and later
  4784. }
  4785. function SGSetSettings(s: SeqGrabComponent; ud: UserData; flags: SInt32): ComponentResult; external name '_SGSetSettings';
  4786. {
  4787. * SGGetSettings()
  4788. *
  4789. * Availability:
  4790. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4791. * CarbonLib: in CarbonLib 1.0 and later
  4792. * Mac OS X: in version 10.0 and later
  4793. * Windows: in qtmlClient.lib 3.0 and later
  4794. }
  4795. function SGGetSettings(s: SeqGrabComponent; var ud: UserData; flags: SInt32): ComponentResult; external name '_SGGetSettings';
  4796. {
  4797. * SGGetIndChannel()
  4798. *
  4799. * Availability:
  4800. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4801. * CarbonLib: in CarbonLib 1.0 and later
  4802. * Mac OS X: in version 10.0 and later
  4803. * Windows: in qtmlClient.lib 3.0 and later
  4804. }
  4805. function SGGetIndChannel(s: SeqGrabComponent; index: SInt16; var ref: SGChannel; var chanType: OSType): ComponentResult; external name '_SGGetIndChannel';
  4806. {
  4807. * SGUpdate()
  4808. *
  4809. * Availability:
  4810. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4811. * CarbonLib: in CarbonLib 1.0 and later
  4812. * Mac OS X: in version 10.0 and later
  4813. * Windows: in qtmlClient.lib 3.0 and later
  4814. }
  4815. function SGUpdate(s: SeqGrabComponent; updateRgn: RgnHandle): ComponentResult; external name '_SGUpdate';
  4816. {
  4817. * SGGetPause()
  4818. *
  4819. * Availability:
  4820. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4821. * CarbonLib: in CarbonLib 1.0 and later
  4822. * Mac OS X: in version 10.0 and later
  4823. * Windows: in qtmlClient.lib 3.0 and later
  4824. }
  4825. function SGGetPause(s: SeqGrabComponent; var paused: Byte): ComponentResult; external name '_SGGetPause';
  4826. type
  4827. ConstComponentListPtr = ^Component;
  4828. {
  4829. * SGSettingsDialog()
  4830. *
  4831. * Availability:
  4832. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4833. * CarbonLib: in CarbonLib 1.0 and later
  4834. * Mac OS X: in version 10.0 and later
  4835. * Windows: in qtmlClient.lib 3.0 and later
  4836. }
  4837. function SGSettingsDialog(s: SeqGrabComponent; c: SGChannel; numPanels: SInt16; panelList: ConstComponentListPtr; flags: SInt32; proc: SGModalFilterUPP; procRefNum: SInt32): ComponentResult; external name '_SGSettingsDialog';
  4838. {
  4839. * SGGetAlignmentProc()
  4840. *
  4841. * Availability:
  4842. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4843. * CarbonLib: in CarbonLib 1.0 and later
  4844. * Mac OS X: in version 10.0 and later
  4845. * Windows: in qtmlClient.lib 3.0 and later
  4846. }
  4847. function SGGetAlignmentProc(s: SeqGrabComponent; alignmentProc: ICMAlignmentProcRecordPtr): ComponentResult; external name '_SGGetAlignmentProc';
  4848. {
  4849. * SGSetChannelSettings()
  4850. *
  4851. * Availability:
  4852. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4853. * CarbonLib: in CarbonLib 1.0 and later
  4854. * Mac OS X: in version 10.0 and later
  4855. * Windows: in qtmlClient.lib 3.0 and later
  4856. }
  4857. function SGSetChannelSettings(s: SeqGrabComponent; c: SGChannel; ud: UserData; flags: SInt32): ComponentResult; external name '_SGSetChannelSettings';
  4858. {
  4859. * SGGetChannelSettings()
  4860. *
  4861. * Availability:
  4862. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4863. * CarbonLib: in CarbonLib 1.0 and later
  4864. * Mac OS X: in version 10.0 and later
  4865. * Windows: in qtmlClient.lib 3.0 and later
  4866. }
  4867. function SGGetChannelSettings(s: SeqGrabComponent; c: SGChannel; var ud: UserData; flags: SInt32): ComponentResult; external name '_SGGetChannelSettings';
  4868. {
  4869. * SGGetMode()
  4870. *
  4871. * Availability:
  4872. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4873. * CarbonLib: in CarbonLib 1.0 and later
  4874. * Mac OS X: in version 10.0 and later
  4875. * Windows: in qtmlClient.lib 3.0 and later
  4876. }
  4877. function SGGetMode(s: SeqGrabComponent; var previewMode: boolean; var recordMode: boolean): ComponentResult; external name '_SGGetMode';
  4878. {
  4879. * SGSetDataRef()
  4880. *
  4881. * Availability:
  4882. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4883. * CarbonLib: in CarbonLib 1.0 and later
  4884. * Mac OS X: in version 10.0 and later
  4885. * Windows: in qtmlClient.lib 3.0 and later
  4886. }
  4887. function SGSetDataRef(s: SeqGrabComponent; dataRef: Handle; dataRefType: OSType; whereFlags: SInt32): ComponentResult; external name '_SGSetDataRef';
  4888. {
  4889. * SGGetDataRef()
  4890. *
  4891. * Availability:
  4892. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4893. * CarbonLib: in CarbonLib 1.0 and later
  4894. * Mac OS X: in version 10.0 and later
  4895. * Windows: in qtmlClient.lib 3.0 and later
  4896. }
  4897. function SGGetDataRef(s: SeqGrabComponent; var dataRef: Handle; var dataRefType: OSType; var whereFlags: SInt32): ComponentResult; external name '_SGGetDataRef';
  4898. {
  4899. * SGNewOutput()
  4900. *
  4901. * Availability:
  4902. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4903. * CarbonLib: in CarbonLib 1.0 and later
  4904. * Mac OS X: in version 10.0 and later
  4905. * Windows: in qtmlClient.lib 3.0 and later
  4906. }
  4907. function SGNewOutput(s: SeqGrabComponent; dataRef: Handle; dataRefType: OSType; whereFlags: SInt32; var sgOut: SGOutput): ComponentResult; external name '_SGNewOutput';
  4908. {
  4909. * SGDisposeOutput()
  4910. *
  4911. * Availability:
  4912. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4913. * CarbonLib: in CarbonLib 1.0 and later
  4914. * Mac OS X: in version 10.0 and later
  4915. * Windows: in qtmlClient.lib 3.0 and later
  4916. }
  4917. function SGDisposeOutput(s: SeqGrabComponent; sgOut: SGOutput): ComponentResult; external name '_SGDisposeOutput';
  4918. {
  4919. * SGSetOutputFlags()
  4920. *
  4921. * Availability:
  4922. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4923. * CarbonLib: in CarbonLib 1.0 and later
  4924. * Mac OS X: in version 10.0 and later
  4925. * Windows: in qtmlClient.lib 3.0 and later
  4926. }
  4927. function SGSetOutputFlags(s: SeqGrabComponent; sgOut: SGOutput; whereFlags: SInt32): ComponentResult; external name '_SGSetOutputFlags';
  4928. {
  4929. * SGSetChannelOutput()
  4930. *
  4931. * Availability:
  4932. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4933. * CarbonLib: in CarbonLib 1.0 and later
  4934. * Mac OS X: in version 10.0 and later
  4935. * Windows: in qtmlClient.lib 3.0 and later
  4936. }
  4937. function SGSetChannelOutput(s: SeqGrabComponent; c: SGChannel; sgOut: SGOutput): ComponentResult; external name '_SGSetChannelOutput';
  4938. {
  4939. * SGGetDataOutputStorageSpaceRemaining()
  4940. *
  4941. * Availability:
  4942. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4943. * CarbonLib: in CarbonLib 1.0 and later
  4944. * Mac OS X: in version 10.0 and later
  4945. * Windows: in qtmlClient.lib 3.0 and later
  4946. }
  4947. function SGGetDataOutputStorageSpaceRemaining(s: SeqGrabComponent; sgOut: SGOutput; var space: UInt32): ComponentResult; external name '_SGGetDataOutputStorageSpaceRemaining';
  4948. {
  4949. * SGHandleUpdateEvent()
  4950. *
  4951. * Availability:
  4952. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  4953. * CarbonLib: in CarbonLib 1.0 and later
  4954. * Mac OS X: in version 10.0 and later
  4955. * Windows: in qtmlClient.lib 3.0 and later
  4956. }
  4957. function SGHandleUpdateEvent(s: SeqGrabComponent; const (*var*) event: EventRecord; var handled: boolean): ComponentResult; external name '_SGHandleUpdateEvent';
  4958. {
  4959. * SGSetOutputNextOutput()
  4960. *
  4961. * Availability:
  4962. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  4963. * CarbonLib: in CarbonLib 1.0 and later
  4964. * Mac OS X: in version 10.0 and later
  4965. * Windows: in qtmlClient.lib 3.0 and later
  4966. }
  4967. function SGSetOutputNextOutput(s: SeqGrabComponent; sgOut: SGOutput; nextOut: SGOutput): ComponentResult; external name '_SGSetOutputNextOutput';
  4968. {
  4969. * SGGetOutputNextOutput()
  4970. *
  4971. * Availability:
  4972. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  4973. * CarbonLib: in CarbonLib 1.0 and later
  4974. * Mac OS X: in version 10.0 and later
  4975. * Windows: in qtmlClient.lib 3.0 and later
  4976. }
  4977. function SGGetOutputNextOutput(s: SeqGrabComponent; sgOut: SGOutput; var nextOut: SGOutput): ComponentResult; external name '_SGGetOutputNextOutput';
  4978. {
  4979. * SGSetOutputMaximumOffset()
  4980. *
  4981. * Availability:
  4982. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  4983. * CarbonLib: in CarbonLib 1.0 and later
  4984. * Mac OS X: in version 10.0 and later
  4985. * Windows: in qtmlClient.lib 3.0 and later
  4986. }
  4987. function SGSetOutputMaximumOffset(s: SeqGrabComponent; sgOut: SGOutput; const (*var*) maxOffset: wide): ComponentResult; external name '_SGSetOutputMaximumOffset';
  4988. {
  4989. * SGGetOutputMaximumOffset()
  4990. *
  4991. * Availability:
  4992. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  4993. * CarbonLib: in CarbonLib 1.0 and later
  4994. * Mac OS X: in version 10.0 and later
  4995. * Windows: in qtmlClient.lib 3.0 and later
  4996. }
  4997. function SGGetOutputMaximumOffset(s: SeqGrabComponent; sgOut: SGOutput; var maxOffset: wide): ComponentResult; external name '_SGGetOutputMaximumOffset';
  4998. {
  4999. * SGGetOutputDataReference()
  5000. *
  5001. * Availability:
  5002. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5003. * CarbonLib: in CarbonLib 1.0 and later
  5004. * Mac OS X: in version 10.0 and later
  5005. * Windows: in qtmlClient.lib 3.0 and later
  5006. }
  5007. function SGGetOutputDataReference(s: SeqGrabComponent; sgOut: SGOutput; var dataRef: Handle; var dataRefType: OSType): ComponentResult; external name '_SGGetOutputDataReference';
  5008. {
  5009. * SGWriteExtendedMovieData()
  5010. *
  5011. * Availability:
  5012. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5013. * CarbonLib: in CarbonLib 1.0 and later
  5014. * Mac OS X: in version 10.0 and later
  5015. * Windows: in qtmlClient.lib 3.0 and later
  5016. }
  5017. function SGWriteExtendedMovieData(s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SInt32; var offset: wide; var sgOut: SGOutput): ComponentResult; external name '_SGWriteExtendedMovieData';
  5018. {
  5019. * SGGetStorageSpaceRemaining64()
  5020. *
  5021. * Availability:
  5022. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  5023. * CarbonLib: in CarbonLib 1.0.2 and later
  5024. * Mac OS X: in version 10.0 and later
  5025. * Windows: in qtmlClient.lib 4.0 and later
  5026. }
  5027. function SGGetStorageSpaceRemaining64(s: SeqGrabComponent; var bytes: wide): ComponentResult; external name '_SGGetStorageSpaceRemaining64';
  5028. {
  5029. * SGGetDataOutputStorageSpaceRemaining64()
  5030. *
  5031. * Availability:
  5032. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  5033. * CarbonLib: in CarbonLib 1.3 and later
  5034. * Mac OS X: in version 10.0 and later
  5035. * Windows: in qtmlClient.lib 5.0 and later
  5036. }
  5037. function SGGetDataOutputStorageSpaceRemaining64(s: SeqGrabComponent; sgOut: SGOutput; var space: wide): ComponentResult; external name '_SGGetDataOutputStorageSpaceRemaining64';
  5038. {
  5039. calls from Channel to seqGrab
  5040. }
  5041. {
  5042. * SGWriteMovieData()
  5043. *
  5044. * Availability:
  5045. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5046. * CarbonLib: in CarbonLib 1.0 and later
  5047. * Mac OS X: in version 10.0 and later
  5048. * Windows: in qtmlClient.lib 3.0 and later
  5049. }
  5050. function SGWriteMovieData(s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SInt32; var offset: SInt32): ComponentResult; external name '_SGWriteMovieData';
  5051. {
  5052. * SGAddFrameReference()
  5053. *
  5054. * Availability:
  5055. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5056. * CarbonLib: in CarbonLib 1.0 and later
  5057. * Mac OS X: in version 10.0 and later
  5058. * Windows: in qtmlClient.lib 3.0 and later
  5059. }
  5060. function SGAddFrameReference(s: SeqGrabComponent; frameInfo: SeqGrabFrameInfoPtr): ComponentResult; external name '_SGAddFrameReference';
  5061. {
  5062. * SGGetNextFrameReference()
  5063. *
  5064. * Availability:
  5065. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5066. * CarbonLib: in CarbonLib 1.0 and later
  5067. * Mac OS X: in version 10.0 and later
  5068. * Windows: in qtmlClient.lib 3.0 and later
  5069. }
  5070. function SGGetNextFrameReference(s: SeqGrabComponent; frameInfo: SeqGrabFrameInfoPtr; var frameDuration: TimeValue; var frameNumber: SInt32): ComponentResult; external name '_SGGetNextFrameReference';
  5071. {
  5072. * SGGetTimeBase()
  5073. *
  5074. * Availability:
  5075. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5076. * CarbonLib: in CarbonLib 1.0 and later
  5077. * Mac OS X: in version 10.0 and later
  5078. * Windows: in qtmlClient.lib 3.0 and later
  5079. }
  5080. function SGGetTimeBase(s: SeqGrabComponent; var tb: TimeBase): ComponentResult; external name '_SGGetTimeBase';
  5081. {
  5082. * SGSortDeviceList()
  5083. *
  5084. * Availability:
  5085. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5086. * CarbonLib: in CarbonLib 1.0 and later
  5087. * Mac OS X: in version 10.0 and later
  5088. * Windows: in qtmlClient.lib 3.0 and later
  5089. }
  5090. function SGSortDeviceList(s: SeqGrabComponent; list: SGDeviceList): ComponentResult; external name '_SGSortDeviceList';
  5091. {
  5092. * SGAddMovieData()
  5093. *
  5094. * Availability:
  5095. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5096. * CarbonLib: in CarbonLib 1.0 and later
  5097. * Mac OS X: in version 10.0 and later
  5098. * Windows: in qtmlClient.lib 3.0 and later
  5099. }
  5100. function SGAddMovieData(s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SInt32; var offset: SInt32; chRefCon: SInt32; time: TimeValue; writeType: SInt16): ComponentResult; external name '_SGAddMovieData';
  5101. {
  5102. * SGChangedSource()
  5103. *
  5104. * Availability:
  5105. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5106. * CarbonLib: in CarbonLib 1.0 and later
  5107. * Mac OS X: in version 10.0 and later
  5108. * Windows: in qtmlClient.lib 3.0 and later
  5109. }
  5110. function SGChangedSource(s: SeqGrabComponent; c: SGChannel): ComponentResult; external name '_SGChangedSource';
  5111. {
  5112. * SGAddExtendedFrameReference()
  5113. *
  5114. * Availability:
  5115. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5116. * CarbonLib: in CarbonLib 1.0 and later
  5117. * Mac OS X: in version 10.0 and later
  5118. * Windows: in qtmlClient.lib 3.0 and later
  5119. }
  5120. function SGAddExtendedFrameReference(s: SeqGrabComponent; frameInfo: SeqGrabExtendedFrameInfoPtr): ComponentResult; external name '_SGAddExtendedFrameReference';
  5121. {
  5122. * SGGetNextExtendedFrameReference()
  5123. *
  5124. * Availability:
  5125. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5126. * CarbonLib: in CarbonLib 1.0 and later
  5127. * Mac OS X: in version 10.0 and later
  5128. * Windows: in qtmlClient.lib 3.0 and later
  5129. }
  5130. function SGGetNextExtendedFrameReference(s: SeqGrabComponent; frameInfo: SeqGrabExtendedFrameInfoPtr; var frameDuration: TimeValue; var frameNumber: SInt32): ComponentResult; external name '_SGGetNextExtendedFrameReference';
  5131. {
  5132. * SGAddExtendedMovieData()
  5133. *
  5134. * Availability:
  5135. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5136. * CarbonLib: in CarbonLib 1.0 and later
  5137. * Mac OS X: in version 10.0 and later
  5138. * Windows: in qtmlClient.lib 3.0 and later
  5139. }
  5140. function SGAddExtendedMovieData(s: SeqGrabComponent; c: SGChannel; p: Ptr; len: SInt32; var offset: wide; chRefCon: SInt32; time: TimeValue; writeType: SInt16; var whichOutput: SGOutput): ComponentResult; external name '_SGAddExtendedMovieData';
  5141. {
  5142. * SGAddOutputDataRefToMedia()
  5143. *
  5144. * Availability:
  5145. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  5146. * CarbonLib: in CarbonLib 1.0 and later
  5147. * Mac OS X: in version 10.0 and later
  5148. * Windows: in qtmlClient.lib 3.0 and later
  5149. }
  5150. function SGAddOutputDataRefToMedia(s: SeqGrabComponent; sgOut: SGOutput; theMedia: Media; desc: SampleDescriptionHandle): ComponentResult; external name '_SGAddOutputDataRefToMedia';
  5151. {
  5152. * SGSetSettingsSummary()
  5153. *
  5154. * Availability:
  5155. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5156. * CarbonLib: in CarbonLib 1.6 and later
  5157. * Mac OS X: in version 10.2 and later
  5158. * Windows: in qtmlClient.lib 6.0 and later
  5159. }
  5160. function SGSetSettingsSummary(s: SeqGrabComponent; summaryText: Handle): ComponentResult; external name '_SGSetSettingsSummary';
  5161. {** Sequence Grab CHANNEL Component Stuff **}
  5162. {
  5163. * SGSetChannelUsage()
  5164. *
  5165. * Availability:
  5166. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5167. * CarbonLib: in CarbonLib 1.0 and later
  5168. * Mac OS X: in version 10.0 and later
  5169. * Windows: in qtmlClient.lib 3.0 and later
  5170. }
  5171. function SGSetChannelUsage(c: SGChannel; usage: SInt32): ComponentResult; external name '_SGSetChannelUsage';
  5172. {
  5173. * SGGetChannelUsage()
  5174. *
  5175. * Availability:
  5176. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5177. * CarbonLib: in CarbonLib 1.0 and later
  5178. * Mac OS X: in version 10.0 and later
  5179. * Windows: in qtmlClient.lib 3.0 and later
  5180. }
  5181. function SGGetChannelUsage(c: SGChannel; var usage: SInt32): ComponentResult; external name '_SGGetChannelUsage';
  5182. {
  5183. * SGSetChannelBounds()
  5184. *
  5185. * Availability:
  5186. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5187. * CarbonLib: in CarbonLib 1.0 and later
  5188. * Mac OS X: in version 10.0 and later
  5189. * Windows: in qtmlClient.lib 3.0 and later
  5190. }
  5191. function SGSetChannelBounds(c: SGChannel; const (*var*) bounds: Rect): ComponentResult; external name '_SGSetChannelBounds';
  5192. {
  5193. * SGGetChannelBounds()
  5194. *
  5195. * Availability:
  5196. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5197. * CarbonLib: in CarbonLib 1.0 and later
  5198. * Mac OS X: in version 10.0 and later
  5199. * Windows: in qtmlClient.lib 3.0 and later
  5200. }
  5201. function SGGetChannelBounds(c: SGChannel; var bounds: Rect): ComponentResult; external name '_SGGetChannelBounds';
  5202. {
  5203. * SGSetChannelVolume()
  5204. *
  5205. * Availability:
  5206. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5207. * CarbonLib: in CarbonLib 1.0 and later
  5208. * Mac OS X: in version 10.0 and later
  5209. * Windows: in qtmlClient.lib 3.0 and later
  5210. }
  5211. function SGSetChannelVolume(c: SGChannel; volume: SInt16): ComponentResult; external name '_SGSetChannelVolume';
  5212. {
  5213. * SGGetChannelVolume()
  5214. *
  5215. * Availability:
  5216. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5217. * CarbonLib: in CarbonLib 1.0 and later
  5218. * Mac OS X: in version 10.0 and later
  5219. * Windows: in qtmlClient.lib 3.0 and later
  5220. }
  5221. function SGGetChannelVolume(c: SGChannel; var volume: SInt16): ComponentResult; external name '_SGGetChannelVolume';
  5222. {
  5223. * SGGetChannelInfo()
  5224. *
  5225. * Availability:
  5226. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5227. * CarbonLib: in CarbonLib 1.0 and later
  5228. * Mac OS X: in version 10.0 and later
  5229. * Windows: in qtmlClient.lib 3.0 and later
  5230. }
  5231. function SGGetChannelInfo(c: SGChannel; var channelInfo: SInt32): ComponentResult; external name '_SGGetChannelInfo';
  5232. {
  5233. * SGSetChannelPlayFlags()
  5234. *
  5235. * Availability:
  5236. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5237. * CarbonLib: in CarbonLib 1.0 and later
  5238. * Mac OS X: in version 10.0 and later
  5239. * Windows: in qtmlClient.lib 3.0 and later
  5240. }
  5241. function SGSetChannelPlayFlags(c: SGChannel; playFlags: SInt32): ComponentResult; external name '_SGSetChannelPlayFlags';
  5242. {
  5243. * SGGetChannelPlayFlags()
  5244. *
  5245. * Availability:
  5246. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5247. * CarbonLib: in CarbonLib 1.0 and later
  5248. * Mac OS X: in version 10.0 and later
  5249. * Windows: in qtmlClient.lib 3.0 and later
  5250. }
  5251. function SGGetChannelPlayFlags(c: SGChannel; var playFlags: SInt32): ComponentResult; external name '_SGGetChannelPlayFlags';
  5252. {
  5253. * SGSetChannelMaxFrames()
  5254. *
  5255. * Availability:
  5256. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5257. * CarbonLib: in CarbonLib 1.0 and later
  5258. * Mac OS X: in version 10.0 and later
  5259. * Windows: in qtmlClient.lib 3.0 and later
  5260. }
  5261. function SGSetChannelMaxFrames(c: SGChannel; frameCount: SInt32): ComponentResult; external name '_SGSetChannelMaxFrames';
  5262. {
  5263. * SGGetChannelMaxFrames()
  5264. *
  5265. * Availability:
  5266. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5267. * CarbonLib: in CarbonLib 1.0 and later
  5268. * Mac OS X: in version 10.0 and later
  5269. * Windows: in qtmlClient.lib 3.0 and later
  5270. }
  5271. function SGGetChannelMaxFrames(c: SGChannel; var frameCount: SInt32): ComponentResult; external name '_SGGetChannelMaxFrames';
  5272. {
  5273. * SGSetChannelRefCon()
  5274. *
  5275. * Availability:
  5276. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5277. * CarbonLib: in CarbonLib 1.0 and later
  5278. * Mac OS X: in version 10.0 and later
  5279. * Windows: in qtmlClient.lib 3.0 and later
  5280. }
  5281. function SGSetChannelRefCon(c: SGChannel; refCon: SInt32): ComponentResult; external name '_SGSetChannelRefCon';
  5282. {
  5283. * SGSetChannelClip()
  5284. *
  5285. * Availability:
  5286. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5287. * CarbonLib: in CarbonLib 1.0 and later
  5288. * Mac OS X: in version 10.0 and later
  5289. * Windows: in qtmlClient.lib 3.0 and later
  5290. }
  5291. function SGSetChannelClip(c: SGChannel; theClip: RgnHandle): ComponentResult; external name '_SGSetChannelClip';
  5292. {
  5293. * SGGetChannelClip()
  5294. *
  5295. * Availability:
  5296. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5297. * CarbonLib: in CarbonLib 1.0 and later
  5298. * Mac OS X: in version 10.0 and later
  5299. * Windows: in qtmlClient.lib 3.0 and later
  5300. }
  5301. function SGGetChannelClip(c: SGChannel; var theClip: RgnHandle): ComponentResult; external name '_SGGetChannelClip';
  5302. {
  5303. * SGGetChannelSampleDescription()
  5304. *
  5305. * Availability:
  5306. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5307. * CarbonLib: in CarbonLib 1.0 and later
  5308. * Mac OS X: in version 10.0 and later
  5309. * Windows: in qtmlClient.lib 3.0 and later
  5310. }
  5311. function SGGetChannelSampleDescription(c: SGChannel; sampleDesc: Handle): ComponentResult; external name '_SGGetChannelSampleDescription';
  5312. {
  5313. * SGGetChannelDeviceList()
  5314. *
  5315. * Availability:
  5316. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5317. * CarbonLib: in CarbonLib 1.0 and later
  5318. * Mac OS X: in version 10.0 and later
  5319. * Windows: in qtmlClient.lib 3.0 and later
  5320. }
  5321. function SGGetChannelDeviceList(c: SGChannel; selectionFlags: SInt32; var list: SGDeviceList): ComponentResult; external name '_SGGetChannelDeviceList';
  5322. {
  5323. * SGSetChannelDevice()
  5324. *
  5325. * Availability:
  5326. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5327. * CarbonLib: in CarbonLib 1.0 and later
  5328. * Mac OS X: in version 10.0 and later
  5329. * Windows: in qtmlClient.lib 3.0 and later
  5330. }
  5331. function SGSetChannelDevice(c: SGChannel; name: StringPtr): ComponentResult; external name '_SGSetChannelDevice';
  5332. {
  5333. * SGSetChannelMatrix()
  5334. *
  5335. * Availability:
  5336. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5337. * CarbonLib: in CarbonLib 1.0 and later
  5338. * Mac OS X: in version 10.0 and later
  5339. * Windows: in qtmlClient.lib 3.0 and later
  5340. }
  5341. function SGSetChannelMatrix(c: SGChannel; const (*var*) m: MatrixRecord): ComponentResult; external name '_SGSetChannelMatrix';
  5342. {
  5343. * SGGetChannelMatrix()
  5344. *
  5345. * Availability:
  5346. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5347. * CarbonLib: in CarbonLib 1.0 and later
  5348. * Mac OS X: in version 10.0 and later
  5349. * Windows: in qtmlClient.lib 3.0 and later
  5350. }
  5351. function SGGetChannelMatrix(c: SGChannel; var m: MatrixRecord): ComponentResult; external name '_SGGetChannelMatrix';
  5352. {
  5353. * SGGetChannelTimeScale()
  5354. *
  5355. * Availability:
  5356. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5357. * CarbonLib: in CarbonLib 1.0 and later
  5358. * Mac OS X: in version 10.0 and later
  5359. * Windows: in qtmlClient.lib 3.0 and later
  5360. }
  5361. function SGGetChannelTimeScale(c: SGChannel; var scale: TimeScale): ComponentResult; external name '_SGGetChannelTimeScale';
  5362. {
  5363. * SGChannelPutPicture()
  5364. *
  5365. * Availability:
  5366. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5367. * CarbonLib: in CarbonLib 1.0 and later
  5368. * Mac OS X: in version 10.0 and later
  5369. * Windows: in qtmlClient.lib 3.0 and later
  5370. }
  5371. function SGChannelPutPicture(c: SGChannel): ComponentResult; external name '_SGChannelPutPicture';
  5372. {
  5373. * SGChannelSetRequestedDataRate()
  5374. *
  5375. * Availability:
  5376. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5377. * CarbonLib: in CarbonLib 1.0 and later
  5378. * Mac OS X: in version 10.0 and later
  5379. * Windows: in qtmlClient.lib 3.0 and later
  5380. }
  5381. function SGChannelSetRequestedDataRate(c: SGChannel; bytesPerSecond: SInt32): ComponentResult; external name '_SGChannelSetRequestedDataRate';
  5382. {
  5383. * SGChannelGetRequestedDataRate()
  5384. *
  5385. * Availability:
  5386. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5387. * CarbonLib: in CarbonLib 1.0 and later
  5388. * Mac OS X: in version 10.0 and later
  5389. * Windows: in qtmlClient.lib 3.0 and later
  5390. }
  5391. function SGChannelGetRequestedDataRate(c: SGChannel; var bytesPerSecond: SInt32): ComponentResult; external name '_SGChannelGetRequestedDataRate';
  5392. {
  5393. * SGChannelSetDataSourceName()
  5394. *
  5395. * Availability:
  5396. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5397. * CarbonLib: in CarbonLib 1.0 and later
  5398. * Mac OS X: in version 10.0 and later
  5399. * Windows: in qtmlClient.lib 3.0 and later
  5400. }
  5401. function SGChannelSetDataSourceName(c: SGChannel; const (*var*) name: Str255; scriptTag: ScriptCode): ComponentResult; external name '_SGChannelSetDataSourceName';
  5402. {
  5403. * SGChannelGetDataSourceName()
  5404. *
  5405. * Availability:
  5406. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5407. * CarbonLib: in CarbonLib 1.0 and later
  5408. * Mac OS X: in version 10.0 and later
  5409. * Windows: in qtmlClient.lib 3.0 and later
  5410. }
  5411. function SGChannelGetDataSourceName(c: SGChannel; var name: Str255; var scriptTag: ScriptCode): ComponentResult; external name '_SGChannelGetDataSourceName';
  5412. {
  5413. * SGChannelSetCodecSettings()
  5414. *
  5415. * Availability:
  5416. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  5417. * CarbonLib: in CarbonLib 1.0.2 and later
  5418. * Mac OS X: in version 10.0 and later
  5419. * Windows: in qtmlClient.lib 4.0 and later
  5420. }
  5421. function SGChannelSetCodecSettings(c: SGChannel; settings: Handle): ComponentResult; external name '_SGChannelSetCodecSettings';
  5422. {
  5423. * SGChannelGetCodecSettings()
  5424. *
  5425. * Availability:
  5426. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  5427. * CarbonLib: in CarbonLib 1.0.2 and later
  5428. * Mac OS X: in version 10.0 and later
  5429. * Windows: in qtmlClient.lib 4.0 and later
  5430. }
  5431. function SGChannelGetCodecSettings(c: SGChannel; var settings: Handle): ComponentResult; external name '_SGChannelGetCodecSettings';
  5432. {
  5433. * SGGetChannelTimeBase()
  5434. *
  5435. * Availability:
  5436. * Non-Carbon CFM: in QuickTimeLib 4.0 and later
  5437. * CarbonLib: in CarbonLib 1.0.2 and later
  5438. * Mac OS X: in version 10.0 and later
  5439. * Windows: in qtmlClient.lib 4.0 and later
  5440. }
  5441. function SGGetChannelTimeBase(c: SGChannel; var tb: TimeBase): ComponentResult; external name '_SGGetChannelTimeBase';
  5442. {
  5443. * SGGetChannelRefCon()
  5444. *
  5445. * Availability:
  5446. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5447. * CarbonLib: in CarbonLib 1.6 and later
  5448. * Mac OS X: in version 10.2 and later
  5449. * Windows: in qtmlClient.lib 6.0 and later
  5450. }
  5451. function SGGetChannelRefCon(c: SGChannel; var refCon: SInt32): ComponentResult; external name '_SGGetChannelRefCon';
  5452. { A utility call to find out the current device and input names, instead of having to call GetDeviceList and walk it yourself }
  5453. {
  5454. * SGGetChannelDeviceAndInputNames()
  5455. *
  5456. * Availability:
  5457. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5458. * CarbonLib: in CarbonLib 1.6 and later
  5459. * Mac OS X: in version 10.2 and later
  5460. * Windows: in qtmlClient.lib 6.0 and later
  5461. }
  5462. function SGGetChannelDeviceAndInputNames(c: SGChannel; var outDeviceName: Str255; var outInputName: Str255; var outInputNumber: SInt16): ComponentResult; external name '_SGGetChannelDeviceAndInputNames';
  5463. { A media format independent call for this. Inputs start at 0 here (Sound starts at 1, VDIGs at 0 in direct calls) }
  5464. {
  5465. * SGSetChannelDeviceInput()
  5466. *
  5467. * Availability:
  5468. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5469. * CarbonLib: in CarbonLib 1.6 and later
  5470. * Mac OS X: in version 10.2 and later
  5471. * Windows: in qtmlClient.lib 6.0 and later
  5472. }
  5473. function SGSetChannelDeviceInput(c: SGChannel; inInputNumber: SInt16): ComponentResult; external name '_SGSetChannelDeviceInput';
  5474. { A call to bracket SetSettings related calls, to give downstream components an opportunity to deal with the entire
  5475. settings change in one go }
  5476. const
  5477. sgSetSettingsBegin = $01; { SGSetSettings related set calls about to start }
  5478. sgSetSettingsEnd = $02; { Finished SGSetSettings calls. Get ready to use the new settings }
  5479. {
  5480. * SGSetChannelSettingsStateChanging()
  5481. *
  5482. * Availability:
  5483. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5484. * CarbonLib: in CarbonLib 1.6 and later
  5485. * Mac OS X: in version 10.2 and later
  5486. * Windows: in qtmlClient.lib 6.0 and later
  5487. }
  5488. function SGSetChannelSettingsStateChanging(c: SGChannel; inFlags: UInt32): ComponentResult; external name '_SGSetChannelSettingsStateChanging';
  5489. {
  5490. calls from seqGrab to Channel
  5491. }
  5492. {
  5493. * SGInitChannel()
  5494. *
  5495. * Availability:
  5496. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5497. * CarbonLib: in CarbonLib 1.0 and later
  5498. * Mac OS X: in version 10.0 and later
  5499. * Windows: in qtmlClient.lib 3.0 and later
  5500. }
  5501. function SGInitChannel(c: SGChannel; owner: SeqGrabComponent): ComponentResult; external name '_SGInitChannel';
  5502. {
  5503. * SGWriteSamples()
  5504. *
  5505. * Availability:
  5506. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5507. * CarbonLib: in CarbonLib 1.0 and later
  5508. * Mac OS X: in version 10.0 and later
  5509. * Windows: in qtmlClient.lib 3.0 and later
  5510. }
  5511. function SGWriteSamples(c: SGChannel; m: Movie; theFile: AliasHandle): ComponentResult; external name '_SGWriteSamples';
  5512. {
  5513. * SGGetDataRate()
  5514. *
  5515. * Availability:
  5516. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5517. * CarbonLib: in CarbonLib 1.0 and later
  5518. * Mac OS X: in version 10.0 and later
  5519. * Windows: in qtmlClient.lib 3.0 and later
  5520. }
  5521. function SGGetDataRate(c: SGChannel; var bytesPerSecond: SInt32): ComponentResult; external name '_SGGetDataRate';
  5522. {
  5523. * SGAlignChannelRect()
  5524. *
  5525. * Availability:
  5526. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5527. * CarbonLib: in CarbonLib 1.0 and later
  5528. * Mac OS X: in version 10.0 and later
  5529. * Windows: in qtmlClient.lib 3.0 and later
  5530. }
  5531. function SGAlignChannelRect(c: SGChannel; var r: Rect): ComponentResult; external name '_SGAlignChannelRect';
  5532. {
  5533. Dorky dialog panel calls
  5534. }
  5535. {
  5536. * SGPanelGetDitl()
  5537. *
  5538. * Availability:
  5539. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5540. * CarbonLib: in CarbonLib 1.0 and later
  5541. * Mac OS X: in version 10.0 and later
  5542. * Windows: in qtmlClient.lib 3.0 and later
  5543. }
  5544. function SGPanelGetDitl(s: SeqGrabComponent; var ditl: Handle): ComponentResult; external name '_SGPanelGetDitl';
  5545. {
  5546. * SGPanelGetTitle()
  5547. *
  5548. * Availability:
  5549. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5550. * CarbonLib: in CarbonLib 1.0 and later
  5551. * Mac OS X: in version 10.0 and later
  5552. * Windows: in qtmlClient.lib 3.0 and later
  5553. }
  5554. function SGPanelGetTitle(s: SeqGrabComponent; var title: Str255): ComponentResult; external name '_SGPanelGetTitle';
  5555. {
  5556. * SGPanelCanRun()
  5557. *
  5558. * Availability:
  5559. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5560. * CarbonLib: in CarbonLib 1.0 and later
  5561. * Mac OS X: in version 10.0 and later
  5562. * Windows: in qtmlClient.lib 3.0 and later
  5563. }
  5564. function SGPanelCanRun(s: SeqGrabComponent; c: SGChannel): ComponentResult; external name '_SGPanelCanRun';
  5565. {
  5566. * SGPanelInstall()
  5567. *
  5568. * Availability:
  5569. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5570. * CarbonLib: in CarbonLib 1.0 and later
  5571. * Mac OS X: in version 10.0 and later
  5572. * Windows: in qtmlClient.lib 3.0 and later
  5573. }
  5574. function SGPanelInstall(s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16): ComponentResult; external name '_SGPanelInstall';
  5575. {
  5576. * SGPanelEvent()
  5577. *
  5578. * Availability:
  5579. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5580. * CarbonLib: in CarbonLib 1.0 and later
  5581. * Mac OS X: in version 10.0 and later
  5582. * Windows: in qtmlClient.lib 3.0 and later
  5583. }
  5584. function SGPanelEvent(s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16; const (*var*) theEvent: EventRecord; var itemHit: SInt16; var handled: boolean): ComponentResult; external name '_SGPanelEvent';
  5585. {
  5586. * SGPanelItem()
  5587. *
  5588. * Availability:
  5589. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5590. * CarbonLib: in CarbonLib 1.0 and later
  5591. * Mac OS X: in version 10.0 and later
  5592. * Windows: in qtmlClient.lib 3.0 and later
  5593. }
  5594. function SGPanelItem(s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16; itemNum: SInt16): ComponentResult; external name '_SGPanelItem';
  5595. {
  5596. * SGPanelRemove()
  5597. *
  5598. * Availability:
  5599. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5600. * CarbonLib: in CarbonLib 1.0 and later
  5601. * Mac OS X: in version 10.0 and later
  5602. * Windows: in qtmlClient.lib 3.0 and later
  5603. }
  5604. function SGPanelRemove(s: SeqGrabComponent; c: SGChannel; d: DialogRef; itemOffset: SInt16): ComponentResult; external name '_SGPanelRemove';
  5605. {
  5606. * SGPanelSetGrabber()
  5607. *
  5608. * Availability:
  5609. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5610. * CarbonLib: in CarbonLib 1.0 and later
  5611. * Mac OS X: in version 10.0 and later
  5612. * Windows: in qtmlClient.lib 3.0 and later
  5613. }
  5614. function SGPanelSetGrabber(s: SeqGrabComponent; sg: SeqGrabComponent): ComponentResult; external name '_SGPanelSetGrabber';
  5615. {
  5616. * SGPanelSetResFile()
  5617. *
  5618. * Availability:
  5619. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5620. * CarbonLib: in CarbonLib 1.0 and later
  5621. * Mac OS X: in version 10.0 and later
  5622. * Windows: in qtmlClient.lib 3.0 and later
  5623. }
  5624. function SGPanelSetResFile(s: SeqGrabComponent; resRef: SInt16): ComponentResult; external name '_SGPanelSetResFile';
  5625. {
  5626. * SGPanelGetSettings()
  5627. *
  5628. * Availability:
  5629. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5630. * CarbonLib: in CarbonLib 1.0 and later
  5631. * Mac OS X: in version 10.0 and later
  5632. * Windows: in qtmlClient.lib 3.0 and later
  5633. }
  5634. function SGPanelGetSettings(s: SeqGrabComponent; c: SGChannel; var ud: UserData; flags: SInt32): ComponentResult; external name '_SGPanelGetSettings';
  5635. {
  5636. * SGPanelSetSettings()
  5637. *
  5638. * Availability:
  5639. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5640. * CarbonLib: in CarbonLib 1.0 and later
  5641. * Mac OS X: in version 10.0 and later
  5642. * Windows: in qtmlClient.lib 3.0 and later
  5643. }
  5644. function SGPanelSetSettings(s: SeqGrabComponent; c: SGChannel; ud: UserData; flags: SInt32): ComponentResult; external name '_SGPanelSetSettings';
  5645. {
  5646. * SGPanelValidateInput()
  5647. *
  5648. * Availability:
  5649. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5650. * CarbonLib: in CarbonLib 1.0 and later
  5651. * Mac OS X: in version 10.0 and later
  5652. * Windows: in qtmlClient.lib 3.0 and later
  5653. }
  5654. function SGPanelValidateInput(s: SeqGrabComponent; var ok: boolean): ComponentResult; external name '_SGPanelValidateInput';
  5655. {
  5656. * SGPanelSetEventFilter()
  5657. *
  5658. * Availability:
  5659. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5660. * CarbonLib: in CarbonLib 1.0 and later
  5661. * Mac OS X: in version 10.0 and later
  5662. * Windows: in qtmlClient.lib 3.0 and later
  5663. }
  5664. function SGPanelSetEventFilter(s: SeqGrabComponent; proc: SGModalFilterUPP; refCon: SInt32): ComponentResult; external name '_SGPanelSetEventFilter';
  5665. {
  5666. SGPanelGetDITLForSize is used to retrieve user interface elements that fit within a specified size
  5667. panel. The component should return badComponentSelector for sizes it does not support. The component
  5668. is required to support kSGSmallestDITLSize, and it is recommended to support kSGLargestDITLSize.
  5669. If SGPanelGetDITLForSize is unimplemented entirely, the panel is assumed to not have resizable UI elements.
  5670. }
  5671. const
  5672. kSGSmallestDITLSize = -1; { requestedSize h and v set to this to retrieve small size }
  5673. kSGLargestDITLSize = -2; { requestedSize h and v set to this to retrieve large size }
  5674. {
  5675. * SGPanelGetDITLForSize()
  5676. *
  5677. * Availability:
  5678. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  5679. * CarbonLib: in CarbonLib 1.6 and later
  5680. * Mac OS X: in version 10.2 and later
  5681. * Windows: in qtmlClient.lib 6.0 and later
  5682. }
  5683. function SGPanelGetDITLForSize(s: SeqGrabComponent; var ditl: Handle; var requestedSize: Point): ComponentResult; external name '_SGPanelGetDITLForSize';
  5684. {** Sequence Grab VIDEO CHANNEL Component Stuff **}
  5685. {
  5686. Video stuff
  5687. }
  5688. type
  5689. SGCompressInfoPtr = ^SGCompressInfo;
  5690. SGCompressInfo = record
  5691. buffer: Ptr;
  5692. bufferSize: UInt32;
  5693. similarity: SInt8;
  5694. reserved: SInt8;
  5695. end;
  5696. {$ifc TYPED_FUNCTION_POINTERS}
  5697. SGGrabBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; refCon: SInt32): ComponentResult;
  5698. {$elsec}
  5699. SGGrabBottleProcPtr = ProcPtr;
  5700. {$endc}
  5701. {$ifc TYPED_FUNCTION_POINTERS}
  5702. SGGrabCompleteBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; var done: boolean; refCon: SInt32): ComponentResult;
  5703. {$elsec}
  5704. SGGrabCompleteBottleProcPtr = ProcPtr;
  5705. {$endc}
  5706. {$ifc TYPED_FUNCTION_POINTERS}
  5707. SGDisplayBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32): ComponentResult;
  5708. {$elsec}
  5709. SGDisplayBottleProcPtr = ProcPtr;
  5710. {$endc}
  5711. {$ifc TYPED_FUNCTION_POINTERS}
  5712. SGCompressBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; refCon: SInt32): ComponentResult;
  5713. {$elsec}
  5714. SGCompressBottleProcPtr = ProcPtr;
  5715. {$endc}
  5716. {$ifc TYPED_FUNCTION_POINTERS}
  5717. SGCompressCompleteBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; var done: boolean; var ci: SGCompressInfo; refCon: SInt32): ComponentResult;
  5718. {$elsec}
  5719. SGCompressCompleteBottleProcPtr = ProcPtr;
  5720. {$endc}
  5721. {$ifc TYPED_FUNCTION_POINTERS}
  5722. SGAddFrameBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo; refCon: SInt32): ComponentResult;
  5723. {$elsec}
  5724. SGAddFrameBottleProcPtr = ProcPtr;
  5725. {$endc}
  5726. {$ifc TYPED_FUNCTION_POINTERS}
  5727. SGTransferFrameBottleProcPtr = function(c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32): ComponentResult;
  5728. {$elsec}
  5729. SGTransferFrameBottleProcPtr = ProcPtr;
  5730. {$endc}
  5731. { Note that UInt8 *queuedFrameCount replaces Boolean *done. 0(==false) still means no frames, and 1(==true) one,
  5732. but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
  5733. 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. }
  5734. {$ifc TYPED_FUNCTION_POINTERS}
  5735. SGGrabCompressCompleteBottleProcPtr = function(c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var t: TimeRecord; refCon: SInt32): ComponentResult;
  5736. {$elsec}
  5737. SGGrabCompressCompleteBottleProcPtr = ProcPtr;
  5738. {$endc}
  5739. {$ifc TYPED_FUNCTION_POINTERS}
  5740. SGDisplayCompressBottleProcPtr = function(c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32): ComponentResult;
  5741. {$elsec}
  5742. SGDisplayCompressBottleProcPtr = ProcPtr;
  5743. {$endc}
  5744. {$ifc OPAQUE_UPP_TYPES}
  5745. SGGrabBottleUPP = ^SInt32; { an opaque UPP }
  5746. {$elsec}
  5747. SGGrabBottleUPP = UniversalProcPtr;
  5748. {$endc}
  5749. {$ifc OPAQUE_UPP_TYPES}
  5750. SGGrabCompleteBottleUPP = ^SInt32; { an opaque UPP }
  5751. {$elsec}
  5752. SGGrabCompleteBottleUPP = UniversalProcPtr;
  5753. {$endc}
  5754. {$ifc OPAQUE_UPP_TYPES}
  5755. SGDisplayBottleUPP = ^SInt32; { an opaque UPP }
  5756. {$elsec}
  5757. SGDisplayBottleUPP = UniversalProcPtr;
  5758. {$endc}
  5759. {$ifc OPAQUE_UPP_TYPES}
  5760. SGCompressBottleUPP = ^SInt32; { an opaque UPP }
  5761. {$elsec}
  5762. SGCompressBottleUPP = UniversalProcPtr;
  5763. {$endc}
  5764. {$ifc OPAQUE_UPP_TYPES}
  5765. SGCompressCompleteBottleUPP = ^SInt32; { an opaque UPP }
  5766. {$elsec}
  5767. SGCompressCompleteBottleUPP = UniversalProcPtr;
  5768. {$endc}
  5769. {$ifc OPAQUE_UPP_TYPES}
  5770. SGAddFrameBottleUPP = ^SInt32; { an opaque UPP }
  5771. {$elsec}
  5772. SGAddFrameBottleUPP = UniversalProcPtr;
  5773. {$endc}
  5774. {$ifc OPAQUE_UPP_TYPES}
  5775. SGTransferFrameBottleUPP = ^SInt32; { an opaque UPP }
  5776. {$elsec}
  5777. SGTransferFrameBottleUPP = UniversalProcPtr;
  5778. {$endc}
  5779. {$ifc OPAQUE_UPP_TYPES}
  5780. SGGrabCompressCompleteBottleUPP = ^SInt32; { an opaque UPP }
  5781. {$elsec}
  5782. SGGrabCompressCompleteBottleUPP = UniversalProcPtr;
  5783. {$endc}
  5784. {$ifc OPAQUE_UPP_TYPES}
  5785. SGDisplayCompressBottleUPP = ^SInt32; { an opaque UPP }
  5786. {$elsec}
  5787. SGDisplayCompressBottleUPP = UniversalProcPtr;
  5788. {$endc}
  5789. VideoBottlesPtr = ^VideoBottles;
  5790. VideoBottles = record
  5791. procCount: SInt16;
  5792. grabProc: SGGrabBottleUPP;
  5793. grabCompleteProc: SGGrabCompleteBottleUPP;
  5794. displayProc: SGDisplayBottleUPP;
  5795. compressProc: SGCompressBottleUPP;
  5796. compressCompleteProc: SGCompressCompleteBottleUPP;
  5797. addFrameProc: SGAddFrameBottleUPP;
  5798. transferFrameProc: SGTransferFrameBottleUPP;
  5799. grabCompressCompleteProc: SGGrabCompressCompleteBottleUPP;
  5800. displayCompressProc: SGDisplayCompressBottleUPP;
  5801. end;
  5802. {
  5803. * SGGetSrcVideoBounds()
  5804. *
  5805. * Availability:
  5806. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5807. * CarbonLib: in CarbonLib 1.0 and later
  5808. * Mac OS X: in version 10.0 and later
  5809. * Windows: in qtmlClient.lib 3.0 and later
  5810. }
  5811. function SGGetSrcVideoBounds(c: SGChannel; var r: Rect): ComponentResult; external name '_SGGetSrcVideoBounds';
  5812. {
  5813. * SGSetVideoRect()
  5814. *
  5815. * Availability:
  5816. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5817. * CarbonLib: in CarbonLib 1.0 and later
  5818. * Mac OS X: in version 10.0 and later
  5819. * Windows: in qtmlClient.lib 3.0 and later
  5820. }
  5821. function SGSetVideoRect(c: SGChannel; const (*var*) r: Rect): ComponentResult; external name '_SGSetVideoRect';
  5822. {
  5823. * SGGetVideoRect()
  5824. *
  5825. * Availability:
  5826. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5827. * CarbonLib: in CarbonLib 1.0 and later
  5828. * Mac OS X: in version 10.0 and later
  5829. * Windows: in qtmlClient.lib 3.0 and later
  5830. }
  5831. function SGGetVideoRect(c: SGChannel; var r: Rect): ComponentResult; external name '_SGGetVideoRect';
  5832. {
  5833. * SGGetVideoCompressorType()
  5834. *
  5835. * Availability:
  5836. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5837. * CarbonLib: in CarbonLib 1.0 and later
  5838. * Mac OS X: in version 10.0 and later
  5839. * Windows: in qtmlClient.lib 3.0 and later
  5840. }
  5841. function SGGetVideoCompressorType(c: SGChannel; var compressorType: OSType): ComponentResult; external name '_SGGetVideoCompressorType';
  5842. {
  5843. * SGSetVideoCompressorType()
  5844. *
  5845. * Availability:
  5846. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5847. * CarbonLib: in CarbonLib 1.0 and later
  5848. * Mac OS X: in version 10.0 and later
  5849. * Windows: in qtmlClient.lib 3.0 and later
  5850. }
  5851. function SGSetVideoCompressorType(c: SGChannel; compressorType: OSType): ComponentResult; external name '_SGSetVideoCompressorType';
  5852. {
  5853. * SGSetVideoCompressor()
  5854. *
  5855. * Availability:
  5856. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5857. * CarbonLib: in CarbonLib 1.0 and later
  5858. * Mac OS X: in version 10.0 and later
  5859. * Windows: in qtmlClient.lib 3.0 and later
  5860. }
  5861. function SGSetVideoCompressor(c: SGChannel; depth: SInt16; compressor: CompressorComponent; spatialQuality: CodecQ; temporalQuality: CodecQ; keyFrameRate: SInt32): ComponentResult; external name '_SGSetVideoCompressor';
  5862. {
  5863. * SGGetVideoCompressor()
  5864. *
  5865. * Availability:
  5866. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5867. * CarbonLib: in CarbonLib 1.0 and later
  5868. * Mac OS X: in version 10.0 and later
  5869. * Windows: in qtmlClient.lib 3.0 and later
  5870. }
  5871. function SGGetVideoCompressor(c: SGChannel; var depth: SInt16; var compressor: CompressorComponent; var spatialQuality: CodecQ; var temporalQuality: CodecQ; var keyFrameRate: SInt32): ComponentResult; external name '_SGGetVideoCompressor';
  5872. {
  5873. * SGGetVideoDigitizerComponent()
  5874. *
  5875. * Availability:
  5876. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5877. * CarbonLib: in CarbonLib 1.0 and later
  5878. * Mac OS X: in version 10.0 and later
  5879. * Windows: in qtmlClient.lib 3.0 and later
  5880. }
  5881. function SGGetVideoDigitizerComponent(c: SGChannel): ComponentInstance; external name '_SGGetVideoDigitizerComponent';
  5882. {
  5883. * SGSetVideoDigitizerComponent()
  5884. *
  5885. * Availability:
  5886. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5887. * CarbonLib: in CarbonLib 1.0 and later
  5888. * Mac OS X: in version 10.0 and later
  5889. * Windows: in qtmlClient.lib 3.0 and later
  5890. }
  5891. function SGSetVideoDigitizerComponent(c: SGChannel; vdig: ComponentInstance): ComponentResult; external name '_SGSetVideoDigitizerComponent';
  5892. {
  5893. * SGVideoDigitizerChanged()
  5894. *
  5895. * Availability:
  5896. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5897. * CarbonLib: in CarbonLib 1.0 and later
  5898. * Mac OS X: in version 10.0 and later
  5899. * Windows: in qtmlClient.lib 3.0 and later
  5900. }
  5901. function SGVideoDigitizerChanged(c: SGChannel): ComponentResult; external name '_SGVideoDigitizerChanged';
  5902. {
  5903. * SGSetVideoBottlenecks()
  5904. *
  5905. * Availability:
  5906. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5907. * CarbonLib: in CarbonLib 1.0 and later
  5908. * Mac OS X: in version 10.0 and later
  5909. * Windows: in qtmlClient.lib 3.0 and later
  5910. }
  5911. function SGSetVideoBottlenecks(c: SGChannel; var vb: VideoBottles): ComponentResult; external name '_SGSetVideoBottlenecks';
  5912. {
  5913. * SGGetVideoBottlenecks()
  5914. *
  5915. * Availability:
  5916. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5917. * CarbonLib: in CarbonLib 1.0 and later
  5918. * Mac OS X: in version 10.0 and later
  5919. * Windows: in qtmlClient.lib 3.0 and later
  5920. }
  5921. function SGGetVideoBottlenecks(c: SGChannel; var vb: VideoBottles): ComponentResult; external name '_SGGetVideoBottlenecks';
  5922. {
  5923. * SGGrabFrame()
  5924. *
  5925. * Availability:
  5926. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5927. * CarbonLib: in CarbonLib 1.0 and later
  5928. * Mac OS X: in version 10.0 and later
  5929. * Windows: in qtmlClient.lib 3.0 and later
  5930. }
  5931. function SGGrabFrame(c: SGChannel; bufferNum: SInt16): ComponentResult; external name '_SGGrabFrame';
  5932. {
  5933. * SGGrabFrameComplete()
  5934. *
  5935. * Availability:
  5936. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5937. * CarbonLib: in CarbonLib 1.0 and later
  5938. * Mac OS X: in version 10.0 and later
  5939. * Windows: in qtmlClient.lib 3.0 and later
  5940. }
  5941. function SGGrabFrameComplete(c: SGChannel; bufferNum: SInt16; var done: boolean): ComponentResult; external name '_SGGrabFrameComplete';
  5942. {
  5943. * SGDisplayFrame()
  5944. *
  5945. * Availability:
  5946. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5947. * CarbonLib: in CarbonLib 1.0 and later
  5948. * Mac OS X: in version 10.0 and later
  5949. * Windows: in qtmlClient.lib 3.0 and later
  5950. }
  5951. function SGDisplayFrame(c: SGChannel; bufferNum: SInt16; const (*var*) mp: MatrixRecord; clipRgn: RgnHandle): ComponentResult; external name '_SGDisplayFrame';
  5952. {
  5953. * SGCompressFrame()
  5954. *
  5955. * Availability:
  5956. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5957. * CarbonLib: in CarbonLib 1.0 and later
  5958. * Mac OS X: in version 10.0 and later
  5959. * Windows: in qtmlClient.lib 3.0 and later
  5960. }
  5961. function SGCompressFrame(c: SGChannel; bufferNum: SInt16): ComponentResult; external name '_SGCompressFrame';
  5962. {
  5963. * SGCompressFrameComplete()
  5964. *
  5965. * Availability:
  5966. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5967. * CarbonLib: in CarbonLib 1.0 and later
  5968. * Mac OS X: in version 10.0 and later
  5969. * Windows: in qtmlClient.lib 3.0 and later
  5970. }
  5971. function SGCompressFrameComplete(c: SGChannel; bufferNum: SInt16; var done: boolean; var ci: SGCompressInfo): ComponentResult; external name '_SGCompressFrameComplete';
  5972. {
  5973. * SGAddFrame()
  5974. *
  5975. * Availability:
  5976. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5977. * CarbonLib: in CarbonLib 1.0 and later
  5978. * Mac OS X: in version 10.0 and later
  5979. * Windows: in qtmlClient.lib 3.0 and later
  5980. }
  5981. function SGAddFrame(c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo): ComponentResult; external name '_SGAddFrame';
  5982. {
  5983. * SGTransferFrameForCompress()
  5984. *
  5985. * Availability:
  5986. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5987. * CarbonLib: in CarbonLib 1.0 and later
  5988. * Mac OS X: in version 10.0 and later
  5989. * Windows: in qtmlClient.lib 3.0 and later
  5990. }
  5991. function SGTransferFrameForCompress(c: SGChannel; bufferNum: SInt16; const (*var*) mp: MatrixRecord; clipRgn: RgnHandle): ComponentResult; external name '_SGTransferFrameForCompress';
  5992. {
  5993. * SGSetCompressBuffer()
  5994. *
  5995. * Availability:
  5996. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  5997. * CarbonLib: in CarbonLib 1.0 and later
  5998. * Mac OS X: in version 10.0 and later
  5999. * Windows: in qtmlClient.lib 3.0 and later
  6000. }
  6001. function SGSetCompressBuffer(c: SGChannel; depth: SInt16; const (*var*) compressSize: Rect): ComponentResult; external name '_SGSetCompressBuffer';
  6002. {
  6003. * SGGetCompressBuffer()
  6004. *
  6005. * Availability:
  6006. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6007. * CarbonLib: in CarbonLib 1.0 and later
  6008. * Mac OS X: in version 10.0 and later
  6009. * Windows: in qtmlClient.lib 3.0 and later
  6010. }
  6011. function SGGetCompressBuffer(c: SGChannel; var depth: SInt16; var compressSize: Rect): ComponentResult; external name '_SGGetCompressBuffer';
  6012. {
  6013. * SGGetBufferInfo()
  6014. *
  6015. * Availability:
  6016. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6017. * CarbonLib: in CarbonLib 1.0 and later
  6018. * Mac OS X: in version 10.0 and later
  6019. * Windows: in qtmlClient.lib 3.0 and later
  6020. }
  6021. function SGGetBufferInfo(c: SGChannel; bufferNum: SInt16; var bufferPM: PixMapHandle; var bufferRect: Rect; var compressBuffer: GWorldPtr; var compressBufferRect: Rect): ComponentResult; external name '_SGGetBufferInfo';
  6022. {
  6023. * SGSetUseScreenBuffer()
  6024. *
  6025. * Availability:
  6026. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6027. * CarbonLib: in CarbonLib 1.0 and later
  6028. * Mac OS X: in version 10.0 and later
  6029. * Windows: in qtmlClient.lib 3.0 and later
  6030. }
  6031. function SGSetUseScreenBuffer(c: SGChannel; useScreenBuffer: boolean): ComponentResult; external name '_SGSetUseScreenBuffer';
  6032. {
  6033. * SGGetUseScreenBuffer()
  6034. *
  6035. * Availability:
  6036. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6037. * CarbonLib: in CarbonLib 1.0 and later
  6038. * Mac OS X: in version 10.0 and later
  6039. * Windows: in qtmlClient.lib 3.0 and later
  6040. }
  6041. function SGGetUseScreenBuffer(c: SGChannel; var useScreenBuffer: boolean): ComponentResult; external name '_SGGetUseScreenBuffer';
  6042. { Note that UInt8 *queuedFrameCount replaces Boolean *done. 0(==false) still means no frames, and 1(==true) one,
  6043. but if more than one are available the number should be returned here. The value 2 previously meant more than one frame,
  6044. 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. }
  6045. {
  6046. * SGGrabCompressComplete()
  6047. *
  6048. * Availability:
  6049. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6050. * CarbonLib: in CarbonLib 1.0 and later
  6051. * Mac OS X: in version 10.0 and later
  6052. * Windows: in qtmlClient.lib 3.0 and later
  6053. }
  6054. function SGGrabCompressComplete(c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var tr: TimeRecord): ComponentResult; external name '_SGGrabCompressComplete';
  6055. {
  6056. * SGDisplayCompress()
  6057. *
  6058. * Availability:
  6059. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6060. * CarbonLib: in CarbonLib 1.0 and later
  6061. * Mac OS X: in version 10.0 and later
  6062. * Windows: in qtmlClient.lib 3.0 and later
  6063. }
  6064. function SGDisplayCompress(c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle): ComponentResult; external name '_SGDisplayCompress';
  6065. {
  6066. * SGSetFrameRate()
  6067. *
  6068. * Availability:
  6069. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6070. * CarbonLib: in CarbonLib 1.0 and later
  6071. * Mac OS X: in version 10.0 and later
  6072. * Windows: in qtmlClient.lib 3.0 and later
  6073. }
  6074. function SGSetFrameRate(c: SGChannel; frameRate: Fixed): ComponentResult; external name '_SGSetFrameRate';
  6075. {
  6076. * SGGetFrameRate()
  6077. *
  6078. * Availability:
  6079. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6080. * CarbonLib: in CarbonLib 1.0 and later
  6081. * Mac OS X: in version 10.0 and later
  6082. * Windows: in qtmlClient.lib 3.0 and later
  6083. }
  6084. function SGGetFrameRate(c: SGChannel; var frameRate: Fixed): ComponentResult; external name '_SGGetFrameRate';
  6085. {
  6086. * SGSetPreferredPacketSize()
  6087. *
  6088. * Availability:
  6089. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6090. * CarbonLib: in CarbonLib 1.0 and later
  6091. * Mac OS X: in version 10.0 and later
  6092. * Windows: in qtmlClient.lib 3.0 and later
  6093. }
  6094. function SGSetPreferredPacketSize(c: SGChannel; preferredPacketSizeInBytes: SInt32): ComponentResult; external name '_SGSetPreferredPacketSize';
  6095. {
  6096. * SGGetPreferredPacketSize()
  6097. *
  6098. * Availability:
  6099. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6100. * CarbonLib: in CarbonLib 1.0 and later
  6101. * Mac OS X: in version 10.0 and later
  6102. * Windows: in qtmlClient.lib 3.0 and later
  6103. }
  6104. function SGGetPreferredPacketSize(c: SGChannel; var preferredPacketSizeInBytes: SInt32): ComponentResult; external name '_SGGetPreferredPacketSize';
  6105. {
  6106. * SGSetUserVideoCompressorList()
  6107. *
  6108. * Availability:
  6109. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6110. * CarbonLib: in CarbonLib 1.0 and later
  6111. * Mac OS X: in version 10.0 and later
  6112. * Windows: in qtmlClient.lib 3.0 and later
  6113. }
  6114. function SGSetUserVideoCompressorList(c: SGChannel; compressorTypes: Handle): ComponentResult; external name '_SGSetUserVideoCompressorList';
  6115. {
  6116. * SGGetUserVideoCompressorList()
  6117. *
  6118. * Availability:
  6119. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6120. * CarbonLib: in CarbonLib 1.0 and later
  6121. * Mac OS X: in version 10.0 and later
  6122. * Windows: in qtmlClient.lib 3.0 and later
  6123. }
  6124. function SGGetUserVideoCompressorList(c: SGChannel; var compressorTypes: Handle): ComponentResult; external name '_SGGetUserVideoCompressorList';
  6125. {** Sequence Grab SOUND CHANNEL Component Stuff **}
  6126. {
  6127. Sound stuff
  6128. }
  6129. {
  6130. * SGSetSoundInputDriver()
  6131. *
  6132. * Availability:
  6133. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6134. * CarbonLib: in CarbonLib 1.0 and later
  6135. * Mac OS X: in version 10.0 and later
  6136. * Windows: in qtmlClient.lib 3.0 and later
  6137. }
  6138. function SGSetSoundInputDriver(c: SGChannel; const (*var*) driverName: Str255): ComponentResult; external name '_SGSetSoundInputDriver';
  6139. {
  6140. * SGGetSoundInputDriver()
  6141. *
  6142. * Availability:
  6143. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6144. * CarbonLib: in CarbonLib 1.0 and later
  6145. * Mac OS X: in version 10.0 and later
  6146. * Windows: in qtmlClient.lib 3.0 and later
  6147. }
  6148. function SGGetSoundInputDriver(c: SGChannel): SInt32; external name '_SGGetSoundInputDriver';
  6149. {
  6150. * SGSoundInputDriverChanged()
  6151. *
  6152. * Availability:
  6153. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6154. * CarbonLib: in CarbonLib 1.0 and later
  6155. * Mac OS X: in version 10.0 and later
  6156. * Windows: in qtmlClient.lib 3.0 and later
  6157. }
  6158. function SGSoundInputDriverChanged(c: SGChannel): ComponentResult; external name '_SGSoundInputDriverChanged';
  6159. {
  6160. * SGSetSoundRecordChunkSize()
  6161. *
  6162. * Availability:
  6163. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6164. * CarbonLib: in CarbonLib 1.0 and later
  6165. * Mac OS X: in version 10.0 and later
  6166. * Windows: in qtmlClient.lib 3.0 and later
  6167. }
  6168. function SGSetSoundRecordChunkSize(c: SGChannel; seconds: SInt32): ComponentResult; external name '_SGSetSoundRecordChunkSize';
  6169. {
  6170. * SGGetSoundRecordChunkSize()
  6171. *
  6172. * Availability:
  6173. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6174. * CarbonLib: in CarbonLib 1.0 and later
  6175. * Mac OS X: in version 10.0 and later
  6176. * Windows: in qtmlClient.lib 3.0 and later
  6177. }
  6178. function SGGetSoundRecordChunkSize(c: SGChannel): SInt32; external name '_SGGetSoundRecordChunkSize';
  6179. {
  6180. * SGSetSoundInputRate()
  6181. *
  6182. * Availability:
  6183. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6184. * CarbonLib: in CarbonLib 1.0 and later
  6185. * Mac OS X: in version 10.0 and later
  6186. * Windows: in qtmlClient.lib 3.0 and later
  6187. }
  6188. function SGSetSoundInputRate(c: SGChannel; rate: Fixed): ComponentResult; external name '_SGSetSoundInputRate';
  6189. {
  6190. * SGGetSoundInputRate()
  6191. *
  6192. * Availability:
  6193. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6194. * CarbonLib: in CarbonLib 1.0 and later
  6195. * Mac OS X: in version 10.0 and later
  6196. * Windows: in qtmlClient.lib 3.0 and later
  6197. }
  6198. function SGGetSoundInputRate(c: SGChannel): Fixed; external name '_SGGetSoundInputRate';
  6199. {
  6200. * SGSetSoundInputParameters()
  6201. *
  6202. * Availability:
  6203. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6204. * CarbonLib: in CarbonLib 1.0 and later
  6205. * Mac OS X: in version 10.0 and later
  6206. * Windows: in qtmlClient.lib 3.0 and later
  6207. }
  6208. function SGSetSoundInputParameters(c: SGChannel; sampleSize: SInt16; numChannels: SInt16; compressionType: OSType): ComponentResult; external name '_SGSetSoundInputParameters';
  6209. {
  6210. * SGGetSoundInputParameters()
  6211. *
  6212. * Availability:
  6213. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6214. * CarbonLib: in CarbonLib 1.0 and later
  6215. * Mac OS X: in version 10.0 and later
  6216. * Windows: in qtmlClient.lib 3.0 and later
  6217. }
  6218. function SGGetSoundInputParameters(c: SGChannel; var sampleSize: SInt16; var numChannels: SInt16; var compressionType: OSType): ComponentResult; external name '_SGGetSoundInputParameters';
  6219. {
  6220. * SGSetAdditionalSoundRates()
  6221. *
  6222. * Availability:
  6223. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6224. * CarbonLib: in CarbonLib 1.0 and later
  6225. * Mac OS X: in version 10.0 and later
  6226. * Windows: in qtmlClient.lib 3.0 and later
  6227. }
  6228. function SGSetAdditionalSoundRates(c: SGChannel; rates: Handle): ComponentResult; external name '_SGSetAdditionalSoundRates';
  6229. {
  6230. * SGGetAdditionalSoundRates()
  6231. *
  6232. * Availability:
  6233. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6234. * CarbonLib: in CarbonLib 1.0 and later
  6235. * Mac OS X: in version 10.0 and later
  6236. * Windows: in qtmlClient.lib 3.0 and later
  6237. }
  6238. function SGGetAdditionalSoundRates(c: SGChannel; var rates: Handle): ComponentResult; external name '_SGGetAdditionalSoundRates';
  6239. {
  6240. Text stuff
  6241. }
  6242. {
  6243. * SGSetFontName()
  6244. *
  6245. * Availability:
  6246. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6247. * CarbonLib: in CarbonLib 1.0 and later
  6248. * Mac OS X: in version 10.0 and later
  6249. * Windows: in qtmlClient.lib 3.0 and later
  6250. }
  6251. function SGSetFontName(c: SGChannel; pstr: StringPtr): ComponentResult; external name '_SGSetFontName';
  6252. {
  6253. * SGSetFontSize()
  6254. *
  6255. * Availability:
  6256. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6257. * CarbonLib: in CarbonLib 1.0 and later
  6258. * Mac OS X: in version 10.0 and later
  6259. * Windows: in qtmlClient.lib 3.0 and later
  6260. }
  6261. function SGSetFontSize(c: SGChannel; fontSize: SInt16): ComponentResult; external name '_SGSetFontSize';
  6262. {
  6263. * SGSetTextForeColor()
  6264. *
  6265. * Availability:
  6266. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6267. * CarbonLib: in CarbonLib 1.0 and later
  6268. * Mac OS X: in version 10.0 and later
  6269. * Windows: in qtmlClient.lib 3.0 and later
  6270. }
  6271. function SGSetTextForeColor(c: SGChannel; var theColor: RGBColor): ComponentResult; external name '_SGSetTextForeColor';
  6272. {
  6273. * SGSetTextBackColor()
  6274. *
  6275. * Availability:
  6276. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6277. * CarbonLib: in CarbonLib 1.0 and later
  6278. * Mac OS X: in version 10.0 and later
  6279. * Windows: in qtmlClient.lib 3.0 and later
  6280. }
  6281. function SGSetTextBackColor(c: SGChannel; var theColor: RGBColor): ComponentResult; external name '_SGSetTextBackColor';
  6282. {
  6283. * SGSetJustification()
  6284. *
  6285. * Availability:
  6286. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6287. * CarbonLib: in CarbonLib 1.0 and later
  6288. * Mac OS X: in version 10.0 and later
  6289. * Windows: in qtmlClient.lib 3.0 and later
  6290. }
  6291. function SGSetJustification(c: SGChannel; just: SInt16): ComponentResult; external name '_SGSetJustification';
  6292. {
  6293. * SGGetTextReturnToSpaceValue()
  6294. *
  6295. * Availability:
  6296. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6297. * CarbonLib: in CarbonLib 1.0 and later
  6298. * Mac OS X: in version 10.0 and later
  6299. * Windows: in qtmlClient.lib 3.0 and later
  6300. }
  6301. function SGGetTextReturnToSpaceValue(c: SGChannel; var rettospace: SInt16): ComponentResult; external name '_SGGetTextReturnToSpaceValue';
  6302. {
  6303. * SGSetTextReturnToSpaceValue()
  6304. *
  6305. * Availability:
  6306. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6307. * CarbonLib: in CarbonLib 1.0 and later
  6308. * Mac OS X: in version 10.0 and later
  6309. * Windows: in qtmlClient.lib 3.0 and later
  6310. }
  6311. function SGSetTextReturnToSpaceValue(c: SGChannel; rettospace: SInt16): ComponentResult; external name '_SGSetTextReturnToSpaceValue';
  6312. {
  6313. Music stuff
  6314. }
  6315. {
  6316. * SGGetInstrument()
  6317. *
  6318. * Availability:
  6319. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6320. * CarbonLib: in CarbonLib 1.0 and later
  6321. * Mac OS X: in version 10.0 and later
  6322. * Windows: in qtmlClient.lib 3.0 and later
  6323. }
  6324. function SGGetInstrument(c: SGChannel; var td: ToneDescription): ComponentResult; external name '_SGGetInstrument';
  6325. {
  6326. * SGSetInstrument()
  6327. *
  6328. * Availability:
  6329. * Non-Carbon CFM: in QuickTimeLib 2.5 and later
  6330. * CarbonLib: in CarbonLib 1.0 and later
  6331. * Mac OS X: in version 10.0 and later
  6332. * Windows: in qtmlClient.lib 3.0 and later
  6333. }
  6334. function SGSetInstrument(c: SGChannel; var td: ToneDescription): ComponentResult; external name '_SGSetInstrument';
  6335. const
  6336. sgChannelAtom = $6368616E (* 'chan' *);
  6337. sgChannelSettingsAtom = $63746F6D (* 'ctom' *);
  6338. sgChannelDescription = $63647363 (* 'cdsc' *);
  6339. sgChannelSettings = $63736574 (* 'cset' *);
  6340. sgDeviceNameType = $6E616D65 (* 'name' *);
  6341. sgDeviceDisplayNameType = $646E616D (* 'dnam' *);
  6342. sgDeviceUIDType = $64756964 (* 'duid' *);
  6343. sgInputUIDType = $69756964 (* 'iuid' *);
  6344. sgUsageType = $75736520 (* 'use ' *);
  6345. sgPlayFlagsType = $706C7966 (* 'plyf' *);
  6346. sgClipType = $636C6970 (* 'clip' *);
  6347. sgMatrixType = $6D747278 (* 'mtrx' *);
  6348. sgVolumeType = $766F6C75 (* 'volu' *);
  6349. sgPanelSettingsAtom = $70746F6D (* 'ptom' *);
  6350. sgPanelDescription = $70647363 (* 'pdsc' *);
  6351. sgPanelSettings = $70736574 (* 'pset' *);
  6352. sgcSoundCompressionType = $73636D70 (* 'scmp' *);
  6353. sgcSoundCodecSettingsType = $63646563 (* 'cdec' *);
  6354. sgcSoundSampleRateType = $73726174 (* 'srat' *);
  6355. sgcSoundChannelCountType = $7363686E (* 'schn' *);
  6356. sgcSoundSampleSizeType = $7373697A (* 'ssiz' *);
  6357. sgcSoundInputType = $73696E70 (* 'sinp' *);
  6358. sgcSoundGainType = $6761696E (* 'gain' *);
  6359. sgcVideoHueType = $68756520 (* 'hue ' *);
  6360. sgcVideoSaturationType = $73617472 (* 'satr' *);
  6361. sgcVideoContrastType = $74727374 (* 'trst' *);
  6362. sgcVideoSharpnessType = $73687270 (* 'shrp' *);
  6363. sgcVideoBrigtnessType = $62726974 (* 'brit' *);
  6364. sgcVideoBlackLevelType = $626C6B6C (* 'blkl' *);
  6365. sgcVideoWhiteLevelType = $7768746C (* 'whtl' *);
  6366. sgcVideoInputType = $76696E70 (* 'vinp' *);
  6367. sgcVideoFormatType = $76737464 (* 'vstd' *);
  6368. sgcVideoFilterType = $76666C74 (* 'vflt' *);
  6369. sgcVideoRectType = $76726374 (* 'vrct' *);
  6370. sgcVideoDigitizerType = $76646967 (* 'vdig' *);
  6371. type
  6372. QTVideoOutputComponent = ComponentInstance;
  6373. { Component type and subtype enumerations }
  6374. const
  6375. QTVideoOutputComponentType = $766F7574 (* 'vout' *);
  6376. QTVideoOutputComponentBaseSubType = $62617365 (* 'base' *);
  6377. { QTVideoOutput Component flags }
  6378. kQTVideoOutputDontDisplayToUser = $00000001;
  6379. { Display mode atom types }
  6380. kQTVODisplayModeItem = $71646D69 (* 'qdmi' *);
  6381. kQTVODimensions = $64696D6E (* 'dimn' *); { atom contains two longs - pixel count - width, height }
  6382. kQTVOResolution = $7265736C (* 'resl' *); { atom contains two Fixed - hRes, vRes in dpi }
  6383. kQTVORefreshRate = $72656672 (* 'refr' *); { atom contains one Fixed - refresh rate in Hz }
  6384. kQTVOPixelType = $7069786C (* 'pixl' *); { atom contains one OSType - pixel format of mode }
  6385. kQTVOName = $6E616D65 (* 'name' *); { atom contains string (no length byte) - name of mode for display to user }
  6386. kQTVODecompressors = $6465636F (* 'deco' *); { atom contains other atoms indicating supported decompressors }
  6387. { kQTVODecompressors sub-atoms }
  6388. kQTVODecompressorType = $64657479 (* 'dety' *); { atom contains one OSType - decompressor type code }
  6389. kQTVODecompressorContinuous = $636F6E74 (* 'cont' *); { atom contains one Boolean - true if this type is displayed continuously }
  6390. kQTVODecompressorComponent = $636D7074 (* 'cmpt' *); { atom contains one Component - component id of decompressor }
  6391. { * These are QTVideoOutput procedures * }
  6392. {
  6393. * QTVideoOutputGetDisplayModeList()
  6394. *
  6395. * Availability:
  6396. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6397. * CarbonLib: in CarbonLib 1.0 and later
  6398. * Mac OS X: in version 10.0 and later
  6399. * Windows: in qtmlClient.lib 3.0 and later
  6400. }
  6401. function QTVideoOutputGetDisplayModeList(vo: QTVideoOutputComponent; var outputs: QTAtomContainer): ComponentResult; external name '_QTVideoOutputGetDisplayModeList';
  6402. {
  6403. * QTVideoOutputGetCurrentClientName()
  6404. *
  6405. * Availability:
  6406. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6407. * CarbonLib: in CarbonLib 1.0 and later
  6408. * Mac OS X: in version 10.0 and later
  6409. * Windows: in qtmlClient.lib 3.0 and later
  6410. }
  6411. function QTVideoOutputGetCurrentClientName(vo: QTVideoOutputComponent; var str: Str255): ComponentResult; external name '_QTVideoOutputGetCurrentClientName';
  6412. {
  6413. * QTVideoOutputSetClientName()
  6414. *
  6415. * Availability:
  6416. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6417. * CarbonLib: in CarbonLib 1.0 and later
  6418. * Mac OS X: in version 10.0 and later
  6419. * Windows: in qtmlClient.lib 3.0 and later
  6420. }
  6421. function QTVideoOutputSetClientName(vo: QTVideoOutputComponent; const (*var*) str: Str255): ComponentResult; external name '_QTVideoOutputSetClientName';
  6422. {
  6423. * QTVideoOutputGetClientName()
  6424. *
  6425. * Availability:
  6426. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6427. * CarbonLib: in CarbonLib 1.0 and later
  6428. * Mac OS X: in version 10.0 and later
  6429. * Windows: in qtmlClient.lib 3.0 and later
  6430. }
  6431. function QTVideoOutputGetClientName(vo: QTVideoOutputComponent; var str: Str255): ComponentResult; external name '_QTVideoOutputGetClientName';
  6432. {
  6433. * QTVideoOutputBegin()
  6434. *
  6435. * Availability:
  6436. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6437. * CarbonLib: in CarbonLib 1.0 and later
  6438. * Mac OS X: in version 10.0 and later
  6439. * Windows: in qtmlClient.lib 3.0 and later
  6440. }
  6441. function QTVideoOutputBegin(vo: QTVideoOutputComponent): ComponentResult; external name '_QTVideoOutputBegin';
  6442. {
  6443. * QTVideoOutputEnd()
  6444. *
  6445. * Availability:
  6446. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6447. * CarbonLib: in CarbonLib 1.0 and later
  6448. * Mac OS X: in version 10.0 and later
  6449. * Windows: in qtmlClient.lib 3.0 and later
  6450. }
  6451. function QTVideoOutputEnd(vo: QTVideoOutputComponent): ComponentResult; external name '_QTVideoOutputEnd';
  6452. {
  6453. * QTVideoOutputSetDisplayMode()
  6454. *
  6455. * Availability:
  6456. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6457. * CarbonLib: in CarbonLib 1.0 and later
  6458. * Mac OS X: in version 10.0 and later
  6459. * Windows: in qtmlClient.lib 3.0 and later
  6460. }
  6461. function QTVideoOutputSetDisplayMode(vo: QTVideoOutputComponent; displayModeID: SInt32): ComponentResult; external name '_QTVideoOutputSetDisplayMode';
  6462. {
  6463. * QTVideoOutputGetDisplayMode()
  6464. *
  6465. * Availability:
  6466. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6467. * CarbonLib: in CarbonLib 1.0 and later
  6468. * Mac OS X: in version 10.0 and later
  6469. * Windows: in qtmlClient.lib 3.0 and later
  6470. }
  6471. function QTVideoOutputGetDisplayMode(vo: QTVideoOutputComponent; var displayModeID: SInt32): ComponentResult; external name '_QTVideoOutputGetDisplayMode';
  6472. {
  6473. * QTVideoOutputCustomConfigureDisplay()
  6474. *
  6475. * Availability:
  6476. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6477. * CarbonLib: in CarbonLib 1.0 and later
  6478. * Mac OS X: in version 10.0 and later
  6479. * Windows: in qtmlClient.lib 3.0 and later
  6480. }
  6481. function QTVideoOutputCustomConfigureDisplay(vo: QTVideoOutputComponent; filter: ModalFilterUPP): ComponentResult; external name '_QTVideoOutputCustomConfigureDisplay';
  6482. {
  6483. * QTVideoOutputSaveState()
  6484. *
  6485. * Availability:
  6486. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6487. * CarbonLib: in CarbonLib 1.0 and later
  6488. * Mac OS X: in version 10.0 and later
  6489. * Windows: in qtmlClient.lib 3.0 and later
  6490. }
  6491. function QTVideoOutputSaveState(vo: QTVideoOutputComponent; var state: QTAtomContainer): ComponentResult; external name '_QTVideoOutputSaveState';
  6492. {
  6493. * QTVideoOutputRestoreState()
  6494. *
  6495. * Availability:
  6496. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6497. * CarbonLib: in CarbonLib 1.0 and later
  6498. * Mac OS X: in version 10.0 and later
  6499. * Windows: in qtmlClient.lib 3.0 and later
  6500. }
  6501. function QTVideoOutputRestoreState(vo: QTVideoOutputComponent; state: QTAtomContainer): ComponentResult; external name '_QTVideoOutputRestoreState';
  6502. {
  6503. * QTVideoOutputGetGWorld()
  6504. *
  6505. * Availability:
  6506. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6507. * CarbonLib: in CarbonLib 1.0 and later
  6508. * Mac OS X: in version 10.0 and later
  6509. * Windows: in qtmlClient.lib 3.0 and later
  6510. }
  6511. function QTVideoOutputGetGWorld(vo: QTVideoOutputComponent; var gw: GWorldPtr): ComponentResult; external name '_QTVideoOutputGetGWorld';
  6512. {
  6513. * QTVideoOutputGetGWorldParameters()
  6514. *
  6515. * Availability:
  6516. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6517. * CarbonLib: in CarbonLib 1.0 and later
  6518. * Mac OS X: in version 10.0 and later
  6519. * Windows: in qtmlClient.lib 3.0 and later
  6520. }
  6521. function QTVideoOutputGetGWorldParameters(vo: QTVideoOutputComponent; var baseAddr: Ptr; var rowBytes: SInt32; var colorTable: CTabHandle): ComponentResult; external name '_QTVideoOutputGetGWorldParameters';
  6522. {
  6523. * QTVideoOutputGetIndSoundOutput()
  6524. *
  6525. * Availability:
  6526. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6527. * CarbonLib: in CarbonLib 1.0 and later
  6528. * Mac OS X: in version 10.0 and later
  6529. * Windows: in qtmlClient.lib 3.0 and later
  6530. }
  6531. function QTVideoOutputGetIndSoundOutput(vo: QTVideoOutputComponent; index: SInt32; var outputComponent: Component): ComponentResult; external name '_QTVideoOutputGetIndSoundOutput';
  6532. {
  6533. * QTVideoOutputGetClock()
  6534. *
  6535. * Availability:
  6536. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6537. * CarbonLib: in CarbonLib 1.0 and later
  6538. * Mac OS X: in version 10.0 and later
  6539. * Windows: in qtmlClient.lib 3.0 and later
  6540. }
  6541. function QTVideoOutputGetClock(vo: QTVideoOutputComponent; var clock: ComponentInstance): ComponentResult; external name '_QTVideoOutputGetClock';
  6542. {
  6543. * QTVideoOutputSetEchoPort()
  6544. *
  6545. * Availability:
  6546. * Non-Carbon CFM: in QuickTimeLib 3.0 and later
  6547. * CarbonLib: in CarbonLib 1.0 and later
  6548. * Mac OS X: in version 10.0 and later
  6549. * Windows: in qtmlClient.lib 3.0 and later
  6550. }
  6551. function QTVideoOutputSetEchoPort(vo: QTVideoOutputComponent; echoPort: CGrafPtr): ComponentResult; external name '_QTVideoOutputSetEchoPort';
  6552. {
  6553. * QTVideoOutputGetIndImageDecompressor()
  6554. *
  6555. * Availability:
  6556. * Non-Carbon CFM: in QuickTimeLib 5.0 and later
  6557. * CarbonLib: in CarbonLib 1.3 and later
  6558. * Mac OS X: in version 10.0 and later
  6559. * Windows: in qtmlClient.lib 5.0 and later
  6560. }
  6561. function QTVideoOutputGetIndImageDecompressor(vo: QTVideoOutputComponent; index: SInt32; var codec: Component): ComponentResult; external name '_QTVideoOutputGetIndImageDecompressor';
  6562. {
  6563. * QTVideoOutputBaseSetEchoPort()
  6564. *
  6565. * Availability:
  6566. * Non-Carbon CFM: in QuickTimeLib 6.0 and later
  6567. * CarbonLib: in CarbonLib 1.6 and later
  6568. * Mac OS X: in version 10.2 and later
  6569. * Windows: in qtmlClient.lib 6.0 and later
  6570. }
  6571. function QTVideoOutputBaseSetEchoPort(vo: QTVideoOutputComponent; echoPort: CGrafPtr): ComponentResult; external name '_QTVideoOutputBaseSetEchoPort';
  6572. { UPP call backs }
  6573. const
  6574. uppDataHCompletionProcInfo = $00000BC0;
  6575. uppVdigIntProcInfo = $000003C0;
  6576. uppStartDocumentHandlerProcInfo = $000000F0;
  6577. uppEndDocumentHandlerProcInfo = $000000F0;
  6578. uppStartElementHandlerProcInfo = $00000FF0;
  6579. uppEndElementHandlerProcInfo = $000003F0;
  6580. uppCharDataHandlerProcInfo = $000003F0;
  6581. uppPreprocessInstructionHandlerProcInfo = $00000FF0;
  6582. uppCommentHandlerProcInfo = $000003F0;
  6583. uppCDataHandlerProcInfo = $000003F0;
  6584. uppSGDataProcInfo = $003BFFE0;
  6585. uppSGModalFilterProcInfo = $00003FD0;
  6586. uppSGGrabBottleProcInfo = $00000EF0;
  6587. uppSGGrabCompleteBottleProcInfo = $00003EF0;
  6588. uppSGDisplayBottleProcInfo = $0000FEF0;
  6589. uppSGCompressBottleProcInfo = $00000EF0;
  6590. uppSGCompressCompleteBottleProcInfo = $0000FEF0;
  6591. uppSGAddFrameBottleProcInfo = $0003FEF0;
  6592. uppSGTransferFrameBottleProcInfo = $0000FEF0;
  6593. uppSGGrabCompressCompleteBottleProcInfo = $0000FFF0;
  6594. uppSGDisplayCompressBottleProcInfo = $0003FFF0;
  6595. {
  6596. * NewDataHCompletionUPP()
  6597. *
  6598. * Availability:
  6599. * Non-Carbon CFM: available as macro/inline
  6600. * CarbonLib: in CarbonLib 1.0 and later
  6601. * Mac OS X: in version 10.0 and later
  6602. }
  6603. function NewDataHCompletionUPP(userRoutine: DataHCompletionProcPtr): DataHCompletionUPP; external name '_NewDataHCompletionUPP'; { old name was NewDataHCompletionProc }
  6604. {
  6605. * NewVdigIntUPP()
  6606. *
  6607. * Availability:
  6608. * Non-Carbon CFM: available as macro/inline
  6609. * CarbonLib: in CarbonLib 1.0 and later
  6610. * Mac OS X: in version 10.0 and later
  6611. }
  6612. function NewVdigIntUPP(userRoutine: VdigIntProcPtr): VdigIntUPP; external name '_NewVdigIntUPP'; { old name was NewVdigIntProc }
  6613. {
  6614. * NewStartDocumentHandlerUPP()
  6615. *
  6616. * Availability:
  6617. * Non-Carbon CFM: available as macro/inline
  6618. * CarbonLib: in CarbonLib 1.3 and later
  6619. * Mac OS X: in version 10.0 and later
  6620. }
  6621. function NewStartDocumentHandlerUPP(userRoutine: StartDocumentHandler): StartDocumentHandlerUPP; external name '_NewStartDocumentHandlerUPP'; { old name was NewStartDocumentHandlerProc }
  6622. {
  6623. * NewEndDocumentHandlerUPP()
  6624. *
  6625. * Availability:
  6626. * Non-Carbon CFM: available as macro/inline
  6627. * CarbonLib: in CarbonLib 1.3 and later
  6628. * Mac OS X: in version 10.0 and later
  6629. }
  6630. function NewEndDocumentHandlerUPP(userRoutine: EndDocumentHandler): EndDocumentHandlerUPP; external name '_NewEndDocumentHandlerUPP'; { old name was NewEndDocumentHandlerProc }
  6631. {
  6632. * NewStartElementHandlerUPP()
  6633. *
  6634. * Availability:
  6635. * Non-Carbon CFM: available as macro/inline
  6636. * CarbonLib: in CarbonLib 1.3 and later
  6637. * Mac OS X: in version 10.0 and later
  6638. }
  6639. function NewStartElementHandlerUPP(userRoutine: StartElementHandler): StartElementHandlerUPP; external name '_NewStartElementHandlerUPP'; { old name was NewStartElementHandlerProc }
  6640. {
  6641. * NewEndElementHandlerUPP()
  6642. *
  6643. * Availability:
  6644. * Non-Carbon CFM: available as macro/inline
  6645. * CarbonLib: in CarbonLib 1.3 and later
  6646. * Mac OS X: in version 10.0 and later
  6647. }
  6648. function NewEndElementHandlerUPP(userRoutine: EndElementHandler): EndElementHandlerUPP; external name '_NewEndElementHandlerUPP'; { old name was NewEndElementHandlerProc }
  6649. {
  6650. * NewCharDataHandlerUPP()
  6651. *
  6652. * Availability:
  6653. * Non-Carbon CFM: available as macro/inline
  6654. * CarbonLib: in CarbonLib 1.3 and later
  6655. * Mac OS X: in version 10.0 and later
  6656. }
  6657. function NewCharDataHandlerUPP(userRoutine: CharDataHandler): CharDataHandlerUPP; external name '_NewCharDataHandlerUPP'; { old name was NewCharDataHandlerProc }
  6658. {
  6659. * NewPreprocessInstructionHandlerUPP()
  6660. *
  6661. * Availability:
  6662. * Non-Carbon CFM: available as macro/inline
  6663. * CarbonLib: in CarbonLib 1.3 and later
  6664. * Mac OS X: in version 10.0 and later
  6665. }
  6666. function NewPreprocessInstructionHandlerUPP(userRoutine: PreprocessInstructionHandler): PreprocessInstructionHandlerUPP; external name '_NewPreprocessInstructionHandlerUPP'; { old name was NewPreprocessInstructionHandlerProc }
  6667. {
  6668. * NewCommentHandlerUPP()
  6669. *
  6670. * Availability:
  6671. * Non-Carbon CFM: available as macro/inline
  6672. * CarbonLib: in CarbonLib 1.3 and later
  6673. * Mac OS X: in version 10.0 and later
  6674. }
  6675. function NewCommentHandlerUPP(userRoutine: CommentHandler): CommentHandlerUPP; external name '_NewCommentHandlerUPP'; { old name was NewCommentHandlerProc }
  6676. {
  6677. * NewCDataHandlerUPP()
  6678. *
  6679. * Availability:
  6680. * Non-Carbon CFM: available as macro/inline
  6681. * CarbonLib: in CarbonLib 1.6 and later
  6682. * Mac OS X: in version 10.2 and later
  6683. }
  6684. function NewCDataHandlerUPP(userRoutine: CDataHandler): CDataHandlerUPP; external name '_NewCDataHandlerUPP'; { old name was NewCDataHandlerProc }
  6685. {
  6686. * NewSGDataUPP()
  6687. *
  6688. * Availability:
  6689. * Non-Carbon CFM: available as macro/inline
  6690. * CarbonLib: in CarbonLib 1.0 and later
  6691. * Mac OS X: in version 10.0 and later
  6692. }
  6693. function NewSGDataUPP(userRoutine: SGDataProcPtr): SGDataUPP; external name '_NewSGDataUPP'; { old name was NewSGDataProc }
  6694. {
  6695. * NewSGModalFilterUPP()
  6696. *
  6697. * Availability:
  6698. * Non-Carbon CFM: available as macro/inline
  6699. * CarbonLib: in CarbonLib 1.0 and later
  6700. * Mac OS X: in version 10.0 and later
  6701. }
  6702. function NewSGModalFilterUPP(userRoutine: SGModalFilterProcPtr): SGModalFilterUPP; external name '_NewSGModalFilterUPP'; { old name was NewSGModalFilterProc }
  6703. {
  6704. * NewSGGrabBottleUPP()
  6705. *
  6706. * Availability:
  6707. * Non-Carbon CFM: available as macro/inline
  6708. * CarbonLib: in CarbonLib 1.0 and later
  6709. * Mac OS X: in version 10.0 and later
  6710. }
  6711. function NewSGGrabBottleUPP(userRoutine: SGGrabBottleProcPtr): SGGrabBottleUPP; external name '_NewSGGrabBottleUPP'; { old name was NewSGGrabBottleProc }
  6712. {
  6713. * NewSGGrabCompleteBottleUPP()
  6714. *
  6715. * Availability:
  6716. * Non-Carbon CFM: available as macro/inline
  6717. * CarbonLib: in CarbonLib 1.0 and later
  6718. * Mac OS X: in version 10.0 and later
  6719. }
  6720. function NewSGGrabCompleteBottleUPP(userRoutine: SGGrabCompleteBottleProcPtr): SGGrabCompleteBottleUPP; external name '_NewSGGrabCompleteBottleUPP'; { old name was NewSGGrabCompleteBottleProc }
  6721. {
  6722. * NewSGDisplayBottleUPP()
  6723. *
  6724. * Availability:
  6725. * Non-Carbon CFM: available as macro/inline
  6726. * CarbonLib: in CarbonLib 1.0 and later
  6727. * Mac OS X: in version 10.0 and later
  6728. }
  6729. function NewSGDisplayBottleUPP(userRoutine: SGDisplayBottleProcPtr): SGDisplayBottleUPP; external name '_NewSGDisplayBottleUPP'; { old name was NewSGDisplayBottleProc }
  6730. {
  6731. * NewSGCompressBottleUPP()
  6732. *
  6733. * Availability:
  6734. * Non-Carbon CFM: available as macro/inline
  6735. * CarbonLib: in CarbonLib 1.0 and later
  6736. * Mac OS X: in version 10.0 and later
  6737. }
  6738. function NewSGCompressBottleUPP(userRoutine: SGCompressBottleProcPtr): SGCompressBottleUPP; external name '_NewSGCompressBottleUPP'; { old name was NewSGCompressBottleProc }
  6739. {
  6740. * NewSGCompressCompleteBottleUPP()
  6741. *
  6742. * Availability:
  6743. * Non-Carbon CFM: available as macro/inline
  6744. * CarbonLib: in CarbonLib 1.0 and later
  6745. * Mac OS X: in version 10.0 and later
  6746. }
  6747. function NewSGCompressCompleteBottleUPP(userRoutine: SGCompressCompleteBottleProcPtr): SGCompressCompleteBottleUPP; external name '_NewSGCompressCompleteBottleUPP'; { old name was NewSGCompressCompleteBottleProc }
  6748. {
  6749. * NewSGAddFrameBottleUPP()
  6750. *
  6751. * Availability:
  6752. * Non-Carbon CFM: available as macro/inline
  6753. * CarbonLib: in CarbonLib 1.0 and later
  6754. * Mac OS X: in version 10.0 and later
  6755. }
  6756. function NewSGAddFrameBottleUPP(userRoutine: SGAddFrameBottleProcPtr): SGAddFrameBottleUPP; external name '_NewSGAddFrameBottleUPP'; { old name was NewSGAddFrameBottleProc }
  6757. {
  6758. * NewSGTransferFrameBottleUPP()
  6759. *
  6760. * Availability:
  6761. * Non-Carbon CFM: available as macro/inline
  6762. * CarbonLib: in CarbonLib 1.0 and later
  6763. * Mac OS X: in version 10.0 and later
  6764. }
  6765. function NewSGTransferFrameBottleUPP(userRoutine: SGTransferFrameBottleProcPtr): SGTransferFrameBottleUPP; external name '_NewSGTransferFrameBottleUPP'; { old name was NewSGTransferFrameBottleProc }
  6766. {
  6767. * NewSGGrabCompressCompleteBottleUPP()
  6768. *
  6769. * Availability:
  6770. * Non-Carbon CFM: available as macro/inline
  6771. * CarbonLib: in CarbonLib 1.0 and later
  6772. * Mac OS X: in version 10.0 and later
  6773. }
  6774. function NewSGGrabCompressCompleteBottleUPP(userRoutine: SGGrabCompressCompleteBottleProcPtr): SGGrabCompressCompleteBottleUPP; external name '_NewSGGrabCompressCompleteBottleUPP'; { old name was NewSGGrabCompressCompleteBottleProc }
  6775. {
  6776. * NewSGDisplayCompressBottleUPP()
  6777. *
  6778. * Availability:
  6779. * Non-Carbon CFM: available as macro/inline
  6780. * CarbonLib: in CarbonLib 1.0 and later
  6781. * Mac OS X: in version 10.0 and later
  6782. }
  6783. function NewSGDisplayCompressBottleUPP(userRoutine: SGDisplayCompressBottleProcPtr): SGDisplayCompressBottleUPP; external name '_NewSGDisplayCompressBottleUPP'; { old name was NewSGDisplayCompressBottleProc }
  6784. {
  6785. * DisposeDataHCompletionUPP()
  6786. *
  6787. * Availability:
  6788. * Non-Carbon CFM: available as macro/inline
  6789. * CarbonLib: in CarbonLib 1.0 and later
  6790. * Mac OS X: in version 10.0 and later
  6791. }
  6792. procedure DisposeDataHCompletionUPP(userUPP: DataHCompletionUPP); external name '_DisposeDataHCompletionUPP';
  6793. {
  6794. * DisposeVdigIntUPP()
  6795. *
  6796. * Availability:
  6797. * Non-Carbon CFM: available as macro/inline
  6798. * CarbonLib: in CarbonLib 1.0 and later
  6799. * Mac OS X: in version 10.0 and later
  6800. }
  6801. procedure DisposeVdigIntUPP(userUPP: VdigIntUPP); external name '_DisposeVdigIntUPP';
  6802. {
  6803. * DisposeStartDocumentHandlerUPP()
  6804. *
  6805. * Availability:
  6806. * Non-Carbon CFM: available as macro/inline
  6807. * CarbonLib: in CarbonLib 1.3 and later
  6808. * Mac OS X: in version 10.0 and later
  6809. }
  6810. procedure DisposeStartDocumentHandlerUPP(userUPP: StartDocumentHandlerUPP); external name '_DisposeStartDocumentHandlerUPP';
  6811. {
  6812. * DisposeEndDocumentHandlerUPP()
  6813. *
  6814. * Availability:
  6815. * Non-Carbon CFM: available as macro/inline
  6816. * CarbonLib: in CarbonLib 1.3 and later
  6817. * Mac OS X: in version 10.0 and later
  6818. }
  6819. procedure DisposeEndDocumentHandlerUPP(userUPP: EndDocumentHandlerUPP); external name '_DisposeEndDocumentHandlerUPP';
  6820. {
  6821. * DisposeStartElementHandlerUPP()
  6822. *
  6823. * Availability:
  6824. * Non-Carbon CFM: available as macro/inline
  6825. * CarbonLib: in CarbonLib 1.3 and later
  6826. * Mac OS X: in version 10.0 and later
  6827. }
  6828. procedure DisposeStartElementHandlerUPP(userUPP: StartElementHandlerUPP); external name '_DisposeStartElementHandlerUPP';
  6829. {
  6830. * DisposeEndElementHandlerUPP()
  6831. *
  6832. * Availability:
  6833. * Non-Carbon CFM: available as macro/inline
  6834. * CarbonLib: in CarbonLib 1.3 and later
  6835. * Mac OS X: in version 10.0 and later
  6836. }
  6837. procedure DisposeEndElementHandlerUPP(userUPP: EndElementHandlerUPP); external name '_DisposeEndElementHandlerUPP';
  6838. {
  6839. * DisposeCharDataHandlerUPP()
  6840. *
  6841. * Availability:
  6842. * Non-Carbon CFM: available as macro/inline
  6843. * CarbonLib: in CarbonLib 1.3 and later
  6844. * Mac OS X: in version 10.0 and later
  6845. }
  6846. procedure DisposeCharDataHandlerUPP(userUPP: CharDataHandlerUPP); external name '_DisposeCharDataHandlerUPP';
  6847. {
  6848. * DisposePreprocessInstructionHandlerUPP()
  6849. *
  6850. * Availability:
  6851. * Non-Carbon CFM: available as macro/inline
  6852. * CarbonLib: in CarbonLib 1.3 and later
  6853. * Mac OS X: in version 10.0 and later
  6854. }
  6855. procedure DisposePreprocessInstructionHandlerUPP(userUPP: PreprocessInstructionHandlerUPP); external name '_DisposePreprocessInstructionHandlerUPP';
  6856. {
  6857. * DisposeCommentHandlerUPP()
  6858. *
  6859. * Availability:
  6860. * Non-Carbon CFM: available as macro/inline
  6861. * CarbonLib: in CarbonLib 1.3 and later
  6862. * Mac OS X: in version 10.0 and later
  6863. }
  6864. procedure DisposeCommentHandlerUPP(userUPP: CommentHandlerUPP); external name '_DisposeCommentHandlerUPP';
  6865. {
  6866. * DisposeCDataHandlerUPP()
  6867. *
  6868. * Availability:
  6869. * Non-Carbon CFM: available as macro/inline
  6870. * CarbonLib: in CarbonLib 1.6 and later
  6871. * Mac OS X: in version 10.2 and later
  6872. }
  6873. procedure DisposeCDataHandlerUPP(userUPP: CDataHandlerUPP); external name '_DisposeCDataHandlerUPP';
  6874. {
  6875. * DisposeSGDataUPP()
  6876. *
  6877. * Availability:
  6878. * Non-Carbon CFM: available as macro/inline
  6879. * CarbonLib: in CarbonLib 1.0 and later
  6880. * Mac OS X: in version 10.0 and later
  6881. }
  6882. procedure DisposeSGDataUPP(userUPP: SGDataUPP); external name '_DisposeSGDataUPP';
  6883. {
  6884. * DisposeSGModalFilterUPP()
  6885. *
  6886. * Availability:
  6887. * Non-Carbon CFM: available as macro/inline
  6888. * CarbonLib: in CarbonLib 1.0 and later
  6889. * Mac OS X: in version 10.0 and later
  6890. }
  6891. procedure DisposeSGModalFilterUPP(userUPP: SGModalFilterUPP); external name '_DisposeSGModalFilterUPP';
  6892. {
  6893. * DisposeSGGrabBottleUPP()
  6894. *
  6895. * Availability:
  6896. * Non-Carbon CFM: available as macro/inline
  6897. * CarbonLib: in CarbonLib 1.0 and later
  6898. * Mac OS X: in version 10.0 and later
  6899. }
  6900. procedure DisposeSGGrabBottleUPP(userUPP: SGGrabBottleUPP); external name '_DisposeSGGrabBottleUPP';
  6901. {
  6902. * DisposeSGGrabCompleteBottleUPP()
  6903. *
  6904. * Availability:
  6905. * Non-Carbon CFM: available as macro/inline
  6906. * CarbonLib: in CarbonLib 1.0 and later
  6907. * Mac OS X: in version 10.0 and later
  6908. }
  6909. procedure DisposeSGGrabCompleteBottleUPP(userUPP: SGGrabCompleteBottleUPP); external name '_DisposeSGGrabCompleteBottleUPP';
  6910. {
  6911. * DisposeSGDisplayBottleUPP()
  6912. *
  6913. * Availability:
  6914. * Non-Carbon CFM: available as macro/inline
  6915. * CarbonLib: in CarbonLib 1.0 and later
  6916. * Mac OS X: in version 10.0 and later
  6917. }
  6918. procedure DisposeSGDisplayBottleUPP(userUPP: SGDisplayBottleUPP); external name '_DisposeSGDisplayBottleUPP';
  6919. {
  6920. * DisposeSGCompressBottleUPP()
  6921. *
  6922. * Availability:
  6923. * Non-Carbon CFM: available as macro/inline
  6924. * CarbonLib: in CarbonLib 1.0 and later
  6925. * Mac OS X: in version 10.0 and later
  6926. }
  6927. procedure DisposeSGCompressBottleUPP(userUPP: SGCompressBottleUPP); external name '_DisposeSGCompressBottleUPP';
  6928. {
  6929. * DisposeSGCompressCompleteBottleUPP()
  6930. *
  6931. * Availability:
  6932. * Non-Carbon CFM: available as macro/inline
  6933. * CarbonLib: in CarbonLib 1.0 and later
  6934. * Mac OS X: in version 10.0 and later
  6935. }
  6936. procedure DisposeSGCompressCompleteBottleUPP(userUPP: SGCompressCompleteBottleUPP); external name '_DisposeSGCompressCompleteBottleUPP';
  6937. {
  6938. * DisposeSGAddFrameBottleUPP()
  6939. *
  6940. * Availability:
  6941. * Non-Carbon CFM: available as macro/inline
  6942. * CarbonLib: in CarbonLib 1.0 and later
  6943. * Mac OS X: in version 10.0 and later
  6944. }
  6945. procedure DisposeSGAddFrameBottleUPP(userUPP: SGAddFrameBottleUPP); external name '_DisposeSGAddFrameBottleUPP';
  6946. {
  6947. * DisposeSGTransferFrameBottleUPP()
  6948. *
  6949. * Availability:
  6950. * Non-Carbon CFM: available as macro/inline
  6951. * CarbonLib: in CarbonLib 1.0 and later
  6952. * Mac OS X: in version 10.0 and later
  6953. }
  6954. procedure DisposeSGTransferFrameBottleUPP(userUPP: SGTransferFrameBottleUPP); external name '_DisposeSGTransferFrameBottleUPP';
  6955. {
  6956. * DisposeSGGrabCompressCompleteBottleUPP()
  6957. *
  6958. * Availability:
  6959. * Non-Carbon CFM: available as macro/inline
  6960. * CarbonLib: in CarbonLib 1.0 and later
  6961. * Mac OS X: in version 10.0 and later
  6962. }
  6963. procedure DisposeSGGrabCompressCompleteBottleUPP(userUPP: SGGrabCompressCompleteBottleUPP); external name '_DisposeSGGrabCompressCompleteBottleUPP';
  6964. {
  6965. * DisposeSGDisplayCompressBottleUPP()
  6966. *
  6967. * Availability:
  6968. * Non-Carbon CFM: available as macro/inline
  6969. * CarbonLib: in CarbonLib 1.0 and later
  6970. * Mac OS X: in version 10.0 and later
  6971. }
  6972. procedure DisposeSGDisplayCompressBottleUPP(userUPP: SGDisplayCompressBottleUPP); external name '_DisposeSGDisplayCompressBottleUPP';
  6973. {
  6974. * InvokeDataHCompletionUPP()
  6975. *
  6976. * Availability:
  6977. * Non-Carbon CFM: available as macro/inline
  6978. * CarbonLib: in CarbonLib 1.0 and later
  6979. * Mac OS X: in version 10.0 and later
  6980. }
  6981. procedure InvokeDataHCompletionUPP(request: Ptr; refcon: SInt32; err: OSErr; userRoutine: DataHCompletionUPP); external name '_InvokeDataHCompletionUPP'; { old name was CallDataHCompletionProc }
  6982. {
  6983. * InvokeVdigIntUPP()
  6984. *
  6985. * Availability:
  6986. * Non-Carbon CFM: available as macro/inline
  6987. * CarbonLib: in CarbonLib 1.0 and later
  6988. * Mac OS X: in version 10.0 and later
  6989. }
  6990. procedure InvokeVdigIntUPP(flags: SInt32; refcon: SInt32; userRoutine: VdigIntUPP); external name '_InvokeVdigIntUPP'; { old name was CallVdigIntProc }
  6991. {
  6992. * InvokeStartDocumentHandlerUPP()
  6993. *
  6994. * Availability:
  6995. * Non-Carbon CFM: available as macro/inline
  6996. * CarbonLib: in CarbonLib 1.3 and later
  6997. * Mac OS X: in version 10.0 and later
  6998. }
  6999. function InvokeStartDocumentHandlerUPP(refcon: SInt32; userRoutine: StartDocumentHandlerUPP): ComponentResult; external name '_InvokeStartDocumentHandlerUPP'; { old name was CallStartDocumentHandlerProc }
  7000. {
  7001. * InvokeEndDocumentHandlerUPP()
  7002. *
  7003. * Availability:
  7004. * Non-Carbon CFM: available as macro/inline
  7005. * CarbonLib: in CarbonLib 1.3 and later
  7006. * Mac OS X: in version 10.0 and later
  7007. }
  7008. function InvokeEndDocumentHandlerUPP(refcon: SInt32; userRoutine: EndDocumentHandlerUPP): ComponentResult; external name '_InvokeEndDocumentHandlerUPP'; { old name was CallEndDocumentHandlerProc }
  7009. {
  7010. * InvokeStartElementHandlerUPP()
  7011. *
  7012. * Availability:
  7013. * Non-Carbon CFM: available as macro/inline
  7014. * CarbonLib: in CarbonLib 1.3 and later
  7015. * Mac OS X: in version 10.0 and later
  7016. }
  7017. function InvokeStartElementHandlerUPP(name: ConstCStringPtr; var atts: ConstCStringPtr; refcon: SInt32; userRoutine: StartElementHandlerUPP): ComponentResult; external name '_InvokeStartElementHandlerUPP'; { old name was CallStartElementHandlerProc }
  7018. {
  7019. * InvokeEndElementHandlerUPP()
  7020. *
  7021. * Availability:
  7022. * Non-Carbon CFM: available as macro/inline
  7023. * CarbonLib: in CarbonLib 1.3 and later
  7024. * Mac OS X: in version 10.0 and later
  7025. }
  7026. function InvokeEndElementHandlerUPP(name: ConstCStringPtr; refcon: SInt32; userRoutine: EndElementHandlerUPP): ComponentResult; external name '_InvokeEndElementHandlerUPP'; { old name was CallEndElementHandlerProc }
  7027. {
  7028. * InvokeCharDataHandlerUPP()
  7029. *
  7030. * Availability:
  7031. * Non-Carbon CFM: available as macro/inline
  7032. * CarbonLib: in CarbonLib 1.3 and later
  7033. * Mac OS X: in version 10.0 and later
  7034. }
  7035. function InvokeCharDataHandlerUPP(charData: ConstCStringPtr; refcon: SInt32; userRoutine: CharDataHandlerUPP): ComponentResult; external name '_InvokeCharDataHandlerUPP'; { old name was CallCharDataHandlerProc }
  7036. {
  7037. * InvokePreprocessInstructionHandlerUPP()
  7038. *
  7039. * Availability:
  7040. * Non-Carbon CFM: available as macro/inline
  7041. * CarbonLib: in CarbonLib 1.3 and later
  7042. * Mac OS X: in version 10.0 and later
  7043. }
  7044. function InvokePreprocessInstructionHandlerUPP(name: ConstCStringPtr; atts: ConstCStringPtrPtr; refcon: SInt32; userRoutine: PreprocessInstructionHandlerUPP): ComponentResult; external name '_InvokePreprocessInstructionHandlerUPP'; { old name was CallPreprocessInstructionHandlerProc }
  7045. {
  7046. * InvokeCommentHandlerUPP()
  7047. *
  7048. * Availability:
  7049. * Non-Carbon CFM: available as macro/inline
  7050. * CarbonLib: in CarbonLib 1.3 and later
  7051. * Mac OS X: in version 10.0 and later
  7052. }
  7053. function InvokeCommentHandlerUPP(comment: ConstCStringPtr; refcon: SInt32; userRoutine: CommentHandlerUPP): ComponentResult; external name '_InvokeCommentHandlerUPP'; { old name was CallCommentHandlerProc }
  7054. {
  7055. * InvokeCDataHandlerUPP()
  7056. *
  7057. * Availability:
  7058. * Non-Carbon CFM: available as macro/inline
  7059. * CarbonLib: in CarbonLib 1.6 and later
  7060. * Mac OS X: in version 10.2 and later
  7061. }
  7062. function InvokeCDataHandlerUPP(cdata: ConstCStringPtr; refcon: SInt32; userRoutine: CDataHandlerUPP): ComponentResult; external name '_InvokeCDataHandlerUPP'; { old name was CallCDataHandlerProc }
  7063. {
  7064. * InvokeSGDataUPP()
  7065. *
  7066. * Availability:
  7067. * Non-Carbon CFM: available as macro/inline
  7068. * CarbonLib: in CarbonLib 1.0 and later
  7069. * Mac OS X: in version 10.0 and later
  7070. }
  7071. function InvokeSGDataUPP(c: SGChannel; p: Ptr; len: SInt32; var offset: SInt32; chRefCon: SInt32; time: TimeValue; writeType: SInt16; refCon: SInt32; userRoutine: SGDataUPP): OSErr; external name '_InvokeSGDataUPP'; { old name was CallSGDataProc }
  7072. {
  7073. * InvokeSGModalFilterUPP()
  7074. *
  7075. * Availability:
  7076. * Non-Carbon CFM: available as macro/inline
  7077. * CarbonLib: in CarbonLib 1.0 and later
  7078. * Mac OS X: in version 10.0 and later
  7079. }
  7080. function InvokeSGModalFilterUPP(theDialog: DialogRef; const (*var*) theEvent: EventRecord; var itemHit: SInt16; refCon: SInt32; userRoutine: SGModalFilterUPP): boolean; external name '_InvokeSGModalFilterUPP'; { old name was CallSGModalFilterProc }
  7081. {
  7082. * InvokeSGGrabBottleUPP()
  7083. *
  7084. * Availability:
  7085. * Non-Carbon CFM: available as macro/inline
  7086. * CarbonLib: in CarbonLib 1.0 and later
  7087. * Mac OS X: in version 10.0 and later
  7088. }
  7089. function InvokeSGGrabBottleUPP(c: SGChannel; bufferNum: SInt16; refCon: SInt32; userRoutine: SGGrabBottleUPP): ComponentResult; external name '_InvokeSGGrabBottleUPP'; { old name was CallSGGrabBottleProc }
  7090. {
  7091. * InvokeSGGrabCompleteBottleUPP()
  7092. *
  7093. * Availability:
  7094. * Non-Carbon CFM: available as macro/inline
  7095. * CarbonLib: in CarbonLib 1.0 and later
  7096. * Mac OS X: in version 10.0 and later
  7097. }
  7098. function InvokeSGGrabCompleteBottleUPP(c: SGChannel; bufferNum: SInt16; var done: boolean; refCon: SInt32; userRoutine: SGGrabCompleteBottleUPP): ComponentResult; external name '_InvokeSGGrabCompleteBottleUPP'; { old name was CallSGGrabCompleteBottleProc }
  7099. {
  7100. * InvokeSGDisplayBottleUPP()
  7101. *
  7102. * Availability:
  7103. * Non-Carbon CFM: available as macro/inline
  7104. * CarbonLib: in CarbonLib 1.0 and later
  7105. * Mac OS X: in version 10.0 and later
  7106. }
  7107. function InvokeSGDisplayBottleUPP(c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32; userRoutine: SGDisplayBottleUPP): ComponentResult; external name '_InvokeSGDisplayBottleUPP'; { old name was CallSGDisplayBottleProc }
  7108. {
  7109. * InvokeSGCompressBottleUPP()
  7110. *
  7111. * Availability:
  7112. * Non-Carbon CFM: available as macro/inline
  7113. * CarbonLib: in CarbonLib 1.0 and later
  7114. * Mac OS X: in version 10.0 and later
  7115. }
  7116. function InvokeSGCompressBottleUPP(c: SGChannel; bufferNum: SInt16; refCon: SInt32; userRoutine: SGCompressBottleUPP): ComponentResult; external name '_InvokeSGCompressBottleUPP'; { old name was CallSGCompressBottleProc }
  7117. {
  7118. * InvokeSGCompressCompleteBottleUPP()
  7119. *
  7120. * Availability:
  7121. * Non-Carbon CFM: available as macro/inline
  7122. * CarbonLib: in CarbonLib 1.0 and later
  7123. * Mac OS X: in version 10.0 and later
  7124. }
  7125. function InvokeSGCompressCompleteBottleUPP(c: SGChannel; bufferNum: SInt16; var done: boolean; var ci: SGCompressInfo; refCon: SInt32; userRoutine: SGCompressCompleteBottleUPP): ComponentResult; external name '_InvokeSGCompressCompleteBottleUPP'; { old name was CallSGCompressCompleteBottleProc }
  7126. {
  7127. * InvokeSGAddFrameBottleUPP()
  7128. *
  7129. * Availability:
  7130. * Non-Carbon CFM: available as macro/inline
  7131. * CarbonLib: in CarbonLib 1.0 and later
  7132. * Mac OS X: in version 10.0 and later
  7133. }
  7134. function InvokeSGAddFrameBottleUPP(c: SGChannel; bufferNum: SInt16; atTime: TimeValue; scale: TimeScale; const (*var*) ci: SGCompressInfo; refCon: SInt32; userRoutine: SGAddFrameBottleUPP): ComponentResult; external name '_InvokeSGAddFrameBottleUPP'; { old name was CallSGAddFrameBottleProc }
  7135. {
  7136. * InvokeSGTransferFrameBottleUPP()
  7137. *
  7138. * Availability:
  7139. * Non-Carbon CFM: available as macro/inline
  7140. * CarbonLib: in CarbonLib 1.0 and later
  7141. * Mac OS X: in version 10.0 and later
  7142. }
  7143. function InvokeSGTransferFrameBottleUPP(c: SGChannel; bufferNum: SInt16; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32; userRoutine: SGTransferFrameBottleUPP): ComponentResult; external name '_InvokeSGTransferFrameBottleUPP'; { old name was CallSGTransferFrameBottleProc }
  7144. {
  7145. * InvokeSGGrabCompressCompleteBottleUPP()
  7146. *
  7147. * Availability:
  7148. * Non-Carbon CFM: available as macro/inline
  7149. * CarbonLib: in CarbonLib 1.0 and later
  7150. * Mac OS X: in version 10.0 and later
  7151. }
  7152. function InvokeSGGrabCompressCompleteBottleUPP(c: SGChannel; var queuedFrameCount: UInt8; var ci: SGCompressInfo; var t: TimeRecord; refCon: SInt32; userRoutine: SGGrabCompressCompleteBottleUPP): ComponentResult; external name '_InvokeSGGrabCompressCompleteBottleUPP'; { old name was CallSGGrabCompressCompleteBottleProc }
  7153. {
  7154. * InvokeSGDisplayCompressBottleUPP()
  7155. *
  7156. * Availability:
  7157. * Non-Carbon CFM: available as macro/inline
  7158. * CarbonLib: in CarbonLib 1.0 and later
  7159. * Mac OS X: in version 10.0 and later
  7160. }
  7161. function InvokeSGDisplayCompressBottleUPP(c: SGChannel; dataPtr: Ptr; desc: ImageDescriptionHandle; var mp: MatrixRecord; clipRgn: RgnHandle; refCon: SInt32; userRoutine: SGDisplayCompressBottleUPP): ComponentResult; external name '_InvokeSGDisplayCompressBottleUPP'; { old name was CallSGDisplayCompressBottleProc }
  7162. {$ALIGN MAC68K}
  7163. end.