QuickTime Compression and Decompression Guide
PDF
Introduction
The Image Compression Manager
Overview of the ICM
Data That Is Suitable for Compression
Storing Images
Working With Pictures
Understanding Compressor Components
Banding and Extending Images
Fast Dithering
Extensions to the Image Compression Manager
ColorSync Support
Asynchronous Decompression
Timecode Support
Data Source Support
Working with Alpha Channels
Working With Video Fields
Packetization Information
Image Compression Characteristics
Compression Ratio
Compression Speed
Image Quality
Compressors Supplied by Apple
The Photo Compressor
The Video Compressor
The Compact Video Compressor
The Animation Compressor
The Graphics Compressor
The Raw Compressor
Types of Images Suitable for Different Compressors
Working with the Image Compression Manager
Getting Information About Compressors and Compressed Data
Getting Information About Compressor Components
Getting Information About Compressed Data
Compressing Images
Spooling Compressed Data
Application-Defined Functions
Changing Sequence-Compression Parameters
Changing Sequence-Decompression Parameters
Working With Images
Working With Sequences
Working With Pictures and PICT Files
Decompressing Images
Image Transcoding Functions
The Image Description Structure
Compression Quality Constants
The Compressor Name List Structure
How to Compress and Decompress Sequences of Images
Compressing Sequences
Decompressing Sequences
The Basic Functions to Use
Decompressing Still Images From a Sequence
Using Screen Buffers and Image Buffers
Defining Key Frame Rates
A Sample Program for Compressing and Decompressing a Sequence of Images
A Sample Function for Saving a Sequence of Images to a Disk File
A Sample Function for Creating, Compressing, and Drawing a Sequence of Images
A Sample Function for Decompressing and Playing Back a Sequence From a Disk File
ICM Functions, Data Types, and Constants
Making Thumbnail Pictures
Constraining Compressed Data
The Compressor Information Structure
The Compressor Name Structure
Controlling Hardware Scaling
Working With the StdPix Function
Aligning Windows
Alignment Functions
Working With Graphics Devices and Graphics Worlds
Data-Loading Functions
Data-Unloading Functions
Progress Functions
Completion Functions
Constants
Image Compression Manager Function Control Flags
About Image Compressor Components
Compressor Types
Utility and Callback Functions
Banding and Extending Images
Compressing or Decompressing Images Asynchronously
Spooling of Compressed Data
Data Loading
Data Unloading
Progress Functions
Using Image Compressor Components
Performing Image Compression
Choosing a Compressor
Compressing a Horizontal Band of an Image
Decompressing an Image
Choosing a Decompressor
Decompressor Operations
Decompressing a Horizontal Band of an Image
Asynchronous Decompression
Hardware Cursors
Timecode Support
Working With Video Fields
Accelerated Video Support
Packetization Information
DV Image Compressor Component
DV Image Decompressor Component
Specifying the Size of an Image Buffer
Codec Components API
Data Structures
Functions
Direct Functions
Indirect Functions
Image Compression Manager Utility Functions
About the Base Image Decompressor
Using the Base Image Decompressor
Connecting to the Base Image Decompressor
Providing Storage for Frame Decompression
Initializing Your Decompressor Component
Specifying Other Capabilities of Your Component
Implementing Functions for Queues
Decompressing Bands
Implementing ImageCodecBeginBand
Implementing ImageCodecDrawBand
Implementing ImageCodecEndBand
Providing Information About the Decompressor
Providing Progress Information
Handling and Delegating Other Calls
Closing the Component
Using Data Codec Components
Component Types
Functions
Standard Image Compression Dialog Components
Types of Dialog Boxes
Working With Standard Image Compression Dialog Components
Opening a Connection to a Standard Image Compression Dialog Component
Displaying the Dialog Box to the User
Setting Default Parameters
Designating a Test Image
Displaying the Dialog Box and Retrieving Parameters
Getting Default Settings for an Image or a Sequence
Working With Image or Sequence Settings
Extending the Basic Dialog Box
Creating a Standard Image Compression Dialog Component
Image Compression Dialog Types and Functions
Request Types
Spatial Settings Request Type
Temporal Settings Request Type
Data-Rate Settings Request Type
Color Table Settings Request Type
Progress Function Request Type
Extended Functions Request Type
Preference Flags Request Type
Settings State Request Type
Sequence ID Request Type
Window Position Request Type
Control Flags Request Type
Standard image compression Dialog Component Functions
Displaying the Standard image compression Dialog Box
Compressing Still Images
Compressing Image Sequences
Specifying a Test Image
Positioning Dialog Boxes and Rectangles
Using Image Transcoder Components
Invoking an Image Transcoding Process
Transcoding Paths
Creating Image Transcoder Components
An Example
Revision History