QuickTimeComponents.pas 296 KB

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