Quartz and QuickTime Movies... ?
Quartz and QuickTime Movies... ?
- Subject: Quartz and QuickTime Movies... ?
- From: in a great fig-tree growing <email@hidden>
- Date: Sun, 20 Jun 2004 22:57:40 -0700
Question
I'd like to try some of that new fangled Quartz drawing in QuickTime movies
but I not finding a good example on the apple site... I'm looking for the
Cocoa/Quartz equivalent to:
CreateMovieFile(&fss
NewMovieTrack(theMovie
NewTrackMedia(theTrack
BeginMediaEdits(theMedia
NewGWorld(&theGWorld
LockPixels(GetGWorldPixMap
cType = 'rle ';
quality = codecMaxQuality;
GetMaxCompressionSize(GetGWorldPixMap
compressedData = NewHandle(maxCompressedSize
MoveHHi(compressedData
HLock(compressedData
compressedDataPtr = *compressedData
imageDesc = (ImageDescriptionHandle
SetGWorld(theGWorld,nil
-> do some QD stuff here
UnlockPixels(GetGWorldPixMap
CompressImage(GetGWorldPixMap
AddMediaSample(theMedia
DisposeHandle((Handle)imageDesc
DisposeHandle(compressedData
EndMediaEdits(theMedia
InsertMediaIntoTrack(theTrack
AddMovieResource(theMovie
CloseMovieFile(refNum
DisposeMovie(theMovie
DisposeGWorld(theGWorld
is anyone using Quartz with QuickTime Movies?
got a pointer to an example?
Akira
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.