Working With Sequences
This section describes the functions that enable your application to compress and decompress sequences of images. Each image in the sequence is referred to as a frame. Note that the sequence carries no time information. The Movie Toolbox manages all temporal aspects of displaying the sequence. Consequently, your application can focus on the order of images in the sequence.To process a sequence of frames, your program first begins the sequence (by issuing either the
CompressSequenceBeginorDecompressSequenceBeginfunctions). You then process each frame in the sequence (useCompressSequenceFrameto compress a frame; useDecompressSequenceFrameto decompress a frame). When you are done, close the sequence by issuing theCDSequenceEndfunction. You can check on the status of the current operation by calling theCDSequenceBusyfunction.Note that the Image Compression Manager provides a rich set of functions that allow your application to control many of the parameters that govern sequence processing. You set default values for most of these parameters when you start the sequence. These additional functions allow you to modify those parameters while you are processing a sequence. See "Changing Sequence-Compression Parameters," which begins on page 3-113, for information on functions that affect sequence compression. See "Changing Sequence-Decompression Parameters" beginning on page 3-123 for information on functions that affect sequence decompression.
Subtopics
- CompressSequenceBegin
- CompressSequenceFrame
- DecompressSequenceBegin
- DecompressSequenceFrame
- CDSequenceBusy
- CDSequenceEnd
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help