Inside Macintosh: QuickTime Components
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
Image 1
INSIDE MACINTOSH QuickTime Components Addison-Wesley Publishing Company Reading, Massachusetts Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Sydney Singapore Tokyo Madrid San Juan Paris Seoul Milan Mexico City Taipei
A plain white title page with a small black Apple logo at top, the spaced-capital title INSIDE MACINTOSH above a horizontal rule, the large title QuickTime Components, and a publisher's logo with city list at the bottom.
Reading notes: City list is set in small type and separated by spaces rather than punctuation; reading order follows the printed line order.
- Languages
- English
PDF page 1
Addison-Wesley Publishing Company Reading, Massachusetts Menlo Park, California New York Don Mills, Ontario Wokingham, England Amsterdam Bonn Sydney Singapore Tokyo Madrid San Juan Paris Seoul Milan Mexico City Taipei I N S I D E M A C I N T O S H QuickTime Components
Reading notes: Transcript is intentionally empty per instructions because exact text is preserved separately; fields were filled from the supplied copy only. The headline is printed with letter spacing, so it is recorded as supplied rather than normalized to "INSIDE MACINTOSH". "QuickTime Components" is a book title, not an advertised product, so it is not listed in productNames. No prices or dates appear in the supplied copy. Layout and reading order of the office city lines are not verified against an image.
- Languages
- English
PDF page 2
LIMITED WARRANTY ON MEDIA AND REPLACEMENT
Apple Computer, Inc. © 1993, Apple Computer, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, electronic, photocopying, recording, or otherwise, without prior written permission of Apple Computer, Inc. Printed in the United States of America. No licenses, express or implied, are granted with respect to any of the technology described in this book. Apple retains all intellectual property rights associated with the technology described in this book. This book is intended to assist application developers to develop applications only for Apple Macintosh computers. Apple Computer, Inc. 20525 Mariani Avenue Cupertino, CA 95014 408-996-1010 Apple, the Apple logo, APDA, AppleLink, LaserWriter, Macintosh, MPW, and MultiFinder are trademarks of Apple Computer, Inc., registered in the United States and other countries. Balloon Help, QuickDraw, QuickTime, and System 7 are trademarks of Apple Computer, Inc. Adobe Illustrator and PostScript are trademarks of Adobe Systems Incorporated, which may be registered in certain jurisdictions. AGFA is a trademark of Agfa-Gevaert. America Online is a service mark of Quantum Computer Services, Inc. Classic is a registered trademark licensed to Apple Computer, Inc. CompuServe is a registered service mark of CompuServe, Inc. FrameMaker is a registered trademark of Frame Technology Corporation. Helvetica and Palatino are registered trademarks of Linotype Company. Internet is a trademark of Digital Equipment Corporation. ITC Zapf Dingbats is a registered trademark of International Typeface Corporation. Windows is a registered trademark of Microsoft. Simultaneously published in the United States and Canada. LIMITED WARRANTY ON MEDIA AND REPLACEMENT ALL IMPLIED WARRANTIES ON THIS MANUAL, INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE LIMITED IN DURATION TO NINETY (90) DAYS FROM THE DATE OF THE ORIGINAL RETAIL PURCHASE OF THIS PRODUCT. Even though Apple has reviewed this manual, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS MANUAL, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. AS A RESULT, THIS MANUAL IS SOLD “AS IS,” AND YOU, THE PURCHASER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY DEFECT OR INACCURACY IN THIS MANUAL, even if advised of the possibility of such damages. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL OR WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent, or employee is authorized to make any modification, extension, or addition to this warranty. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. This warranty gives you specific legal rights, and you may also have other rights which vary from state to state. ISBN 0-201-62202-5 1 2 3 4 5 6 7 8 9-MU-9796959493 First Printing, May 1993
Reading notes: Transcript is intentionally empty because the exact text is preserved separately, so fields were filled from the supplied copy only. Headline is taken from the most prominent all-caps section heading; the page has no separate display headline, so this choice is uncertain. Trademarked names such as Macintosh, LaserWriter, and System 7 appear only in a trademark notice, not as advertised products, so productNames is empty. No advertised prices appear in the supplied copy; the 'NINETY (90) DAYS' warranty term is not a price. Layout is inferred from line breaks in the supplied text rather than from a visible image.
- Printed dates
- 1993 · May 1993
- Languages
- English
PDF page 3
iii Contents Figures and Listings xiii Preface About This Book xvii Format of a Typical Chapter xviii Conventions Used in This Book xix Special Fonts xix Types of Notes xix Development Environment xx For More Information xx Chapter 1 Overview 1-1 Providing Movie Playback 1-3 Capturing Sequences of Images 1-6 Compressing and Decompressing Still Images 1-8 Converting Data for Use in QuickTime Movies 1-11 Creating Previews of QuickTime Movies 1-11 Chapter 2 Movie Controller Components 2-1 About Movie Controller Components 2-4 The Elements of a Movie Controller 2-4 Badges 2-6 Spatial Properties 2-6 Using Movie Controller Components 2-10 Playing Movies 2-10 Customizing Movie Controllers 2-13 Movie Controller Components Reference 2-14 Movie Controller Actions 2-15 Movie Controller Functions 2-28 Associating Movies With Controllers 2-28 Managing Controller Attributes 2-33 Handling Movie Events 2-44 Editing Movies 2-50 Getting and Setting Movie Controller Time 2-56 Customizing Event Processing 2-58 Application-Defined Function 2-61
Reading notes: Source appears to be a table of contents with page numbers; no advertising content present.
- Languages
- English
PDF page 4
iv Summary of Movie Controller Components 2-63 C Summary 2-63 Constants 2-63 Data Types 2-66 Movie Controller Functions 2-67 Application-Defined Function 2-69 Pascal Summary 2-69 Constants 2-69 Data Types 2-73 Movie Controller Routines 2-73 Application-Defined Routine 2-75 Result Codes 2-75 Chapter 3 Standard Image-Compression Dialog Components 3-1 About Standard Image-Compression Dialog Components 3-4 Using Standard Image-Compression Dialog Components 3-6 Opening a Connection to a Standard Image-Compression Dialog Component 3-8 Displaying the Dialog Box to the User 3-8 Setting Default Parameters 3-8 Designating a Test Image 3-9 Displaying the Dialog Box and Retrieving Parameters 3-10 Extending the Basic Dialog Box 3-11 Creating a Standard Image-Compression Dialog Component 3-14 Standard Image-Compression Dialog Components Reference 3-15 Request Types 3-15 The Spatial Settings Request Type 3-15 The Temporal Settings Request Type 3-17 The Data-Rate Settings Request Type 3-19 The Color Table Settings Request Type 3-20 The Progress Function Request Type 3-20 The Extended Functions Request Type 3-21 The Preference Flags Request Type 3-22 The Settings State Request Type 3-24 The Sequence ID Request Type 3-24 The Window Position Request Type 3-25 The Control Flags Request Type 3-25 Standard Image-Compression Dialog Component Functions 3-25 Getting Default Settings for an Image or a Sequence 3-26 Displaying the Standard Image-Compression Dialog Box 3-28 Compressing Still Images 3-29 Compressing Image Sequences 3-31 Working With Image or Sequence Settings 3-34 Specifying a Test Image 3-37
Reading notes: Source is a table of contents excerpt; no advertised products, prices, or dates are present. Primary heading is not identifiable in the supplied copy, so headline is null.
- Languages
- English
PDF page 5
v Positioning Dialog Boxes and Rectangles 3-42 Utility Function 3-44 Application-Defined Function 3-45 Summary of Standard Image-Compression Dialog Components 3-47 C Summary 3-47 Constants 3-47 Data Types 3-49 Standard Image-Compression Dialog Component Functions 3-50 Application-Defined Function 3-52 Pascal Summary 3-52 Constants 3-52 Data Types 3-54 Standard Image-Compression Dialog Component Routines 3-55 Application-Defined Routine 3-57 Result Codes 3-57 Chapter 4 Image Compressor Components 4-1 About Image Compressor Components 4-3 Banding and Extending Images 4-4 Spooling of Compressed Data 4-6 Data Loading 4-6 Data Unloading 4-7 Compressing or Decompressing Images Asynchronously 4-8 Progress Functions 4-9 Using Image Compressor Components 4-10 Performing Image Compression 4-10 Choosing a Compressor 4-10 Compressing a Horizontal Band of an Image 4-13 Decompressing an Image 4-16 Choosing a Decompressor 4-17 Decompressing a Horizontal Band of an Image 4-21 Image Compressor Components Reference 4-26 Constants 4-26 Image Compressor Component Capabilities 4-26 Format of Compressed Data and Files 4-32 Data Types 4-35 The Compressor Capability Structure 4-35 The Compression Parameters Structure 4-40 The Decompression Parameters Structure 4-46 Functions 4-53 Direct Functions 4-54 Indirect Functions 4-62 Image Compression Manager Utility Functions 4-65
Reading notes: Source appears to be a table of contents with no advertised products, prices, or dates. Headline is absent; no primary heading identified.
- Languages
- English
PDF page 6
vi Summary of Image Compressor Components 4-69 C Summary 4-69 Constants 4-69 Data Types 4-72 Functions 4-76 Image Compression Manager Utility Functions 4-77 Pascal Summary 4-77 Constants 4-77 Data Types 4-80 Routines 4-83 Image Compression Manager Utility Functions 4-84 Result Codes 4-84 Chapter 5 Sequence Grabber Components 5-1 About Sequence Grabber Components 5-3 Using Sequence Grabber Components 5-5 Previewing and Recording Captured Data 5-9 Previewing 5-9 Recording 5-10 Playing Captured Data and Saving It in a QuickTime Movie 5-11 Initializing a Sequence Grabber Component 5-11 Creating a Sound Channel and a Video Channel 5-12 Previewing Sound and Video Sequences in a Window 5-14 Capturing Sound and Video Data 5-18 Setting Up the Video Bottleneck Functions 5-19 Drawing Information Over Video Frames During Capture 5-20 Sequence Grabber Components Reference 5-22 Data Types 5-22 The Compression Information Structure 5-22 The Frame Information Structure 5-23 Sequence Grabber Component Functions 5-24 Configuring Sequence Grabber Components 5-24 Controlling Sequence Grabber Components 5-36 Working With Sequence Grabber Settings 5-47 Working With Sequence Grabber Characteristics 5-53 Working With Channel Characteristics 5-58 Working With Channel Devices 5-72 Working With Video Channels 5-77 Working With Sound Channels 5-92 Video Channel Callback Functions 5-99 Utility Functions for Video Channel Callback Functions 5-102 Application-Defined Functions 5-111 Summary of Sequence Grabber Components 5-123 C Summary 5-123 Constants 5-123
Reading notes: Source appears to be a table of contents with page numbers rather than advertising copy; no headline or advertised products identified. Leading section number 'vi' and page-number sequence may not reflect a clear reading order.
- Languages
- English
PDF page 7
vii Data Types 5-127 Sequence Grabber Component Functions 5-129 Application-Defined Functions 5-135 Pascal Summary 5-136 Constants 5-136 Data Types 5-140 Sequence Grabber Component Routines 5-141 Application-Defined Routines 5-148 Result Codes 5-149 Chapter 6 Sequence Grabber Channel Components 6-1 About Sequence Grabber Channel Components 6-3 Creating Sequence Grabber Channel Components 6-5 Component Type and Subtype Values 6-6 Required Functions 6-6 Component Manager Request Codes 6-7 A Sample Sequence Grabber Channel Component 6-10 Implementing the Required Component Functions 6-10 Initializing the Sequence Grabber Channel Component 6-15 Setting and Retrieving the Channel State 6-16 Managing Spatial Properties 6-17 Controlling Previewing and Recording Operations 6-20 Managing Channel Devices 6-24 Utility Functions for Recording Image Data 6-24 Providing Media-Specific Functions 6-28 Managing the Settings Dialog Box 6-29 Displaying Channel Information in the Settings Dialog Box 6-31 Using Sequence Grabber Channel Components 6-33 Previewing 6-33 Recording 6-34 Working With Callback Functions 6-35 Using Callback Functions for Video Channel Components 6-35 Using Utility Functions for Video Channel Component Callback Functions 6-36 Sequence Grabber Channel Components Reference 6-37 Functions 6-37 Configuring Sequence Grabber Channel Components 6-38 Controlling Sequence Grabber Channel Components 6-39 Configuration Functions for All Channel Components 6-46 Working With Channel Devices 6-58 Configuration Functions for Video Channel Components 6-61 Configuration Functions for Sound Channel Components 6-77 Utility Functions for Sequence Grabber Channel Components 6-84
Reading notes: Source is a table of contents listing chapter and section titles only; no headline or advertising copy is present.
- Languages
- English
PDF page 8
viii Summary of Sequence Grabber Channel Components 6-91 C Summary 6-91 Constants 6-91 Data Types 6-94 Functions 6-94 Pascal Summary 6-99 Constants 6-99 Data Types 6-101 Routines 6-102 Result Codes 6-107 Chapter 7 Sequence Grabber Panel Components 7-1 About Sequence Grabber Panel Components 7-4 Creating Sequence Grabber Panel Components 7-7 Implementing the Required Component Functions 7-9 Managing the Dialog Box 7-11 Managing Your Panel’s Settings 7-13 Sequence Grabber Panel Components Reference 7-14 Component Flags for Sequence Grabber Panel Components 7-15 Functions 7-15 Managing Your Panel Component 7-15 Processing Your Panel’s Events 7-21 Managing Your Panel’s Settings 7-24 Summary of Sequence Grabber Panel Components 7-27 C Summary 7-27 Constants 7-27 Functions 7-28 Pascal Summary 7-29 Constants 7-29 Routines 7-29 Result Codes 7-30 Chapter 8 Video Digitizer Components 8-1 About Video Digitizer Components 8-3 Types of Video Digitizer Components 8-5 Source Coordinate Systems 8-6 Using Video Digitizer Components 8-7 Specifying Destinations 8-7 Starting and Stopping the Digitizer 8-7 Multiple Buffering 8-8
- Languages
- English
PDF page 9
ix Obtaining an Accurate Time of Frame Capture 8-8 Creating Video Digitizer Components 8-8 Component Type and Subtype Values 8-11 Required Functions 8-11 Optional Functions 8-12 Frame Grabbers Without Playthrough 8-12 Frame Grabbers With Hardware Playthrough 8-12 Key Color and Alpha Channel Devices 8-13 Compressed Source Devices 8-13 Video Digitizer Components Reference 8-14 Constants 8-14 Capability Flags 8-14 Current Flags 8-19 Data Types 8-20 The Digitizer Information Structure 8-20 The Buffer List Structure 8-22 The Buffer Structure 8-23 Video Digitizer Component Functions 8-23 Getting Information About Video Digitizer Components 8-24 Setting Source Characteristics 8-26 Selecting an Input Source 8-30 Setting Video Destinations 8-34 Controlling Compressed Source Devices 8-42 Controlling Digitization 8-52 Controlling Color 8-60 Controlling Analog Video 8-65 Selectively Displaying Video 8-81 Clipping 8-89 Utility Functions 8-92 Application-Defined Function 8-98 Summary of Video Digitizer Components 8-99 C Summary 8-99 Constants 8-99 Data Types 8-104 Video Digitizer Component Functions 8-105 Application-Defined Function 8-111 Pascal Summary 8-111 Constants 8-111 Data Types 8-116 Video Digitizer Component Routines 8-117 Application-Defined Routine 8-123 Result Codes 8-124
- Languages
- English
PDF page 10
Chapter 9 Movie Data Exchange Components
x Chapter 9 Movie Data Exchange Components 9-1 About Movie Data Exchange Components 9-3 Using Movie Data Exchange Components 9-5 Importing and Exporting Movie Data 9-6 Configuring a Movie Data Exchange Component 9-6 Finding a Specific Movie Data Exchange Component 9-6 Creating a Movie Data Exchange Component 9-8 A Sample Movie Import Component 9-9 Implementing the Required Import Component Functions 9-10 Importing a Scrapbook File 9-12 A Sample Movie Export Component 9-15 Implementing the Required Export Component Functions 9-16 Exporting Data to a PICS File 9-18 Movie Data Exchange Components Reference 9-20 Importing Movie Data 9-20 Configuring Movie Data Import Components 9-26 Exporting Movie Data 9-34 Configuring Movie Data Export Components 9-37 Summary of Movie Data Exchange Components 9-41 C Summary 9-41 Constants 9-41 Data Type 9-42 Functions 9-42 Pascal Summary 9-44 Constants 9-44 Data Type 9-45 Routines 9-45 Result Codes 9-47 Chapter 10 Derived Media Handler Components 10-1 About Derived Media Handler Components 10-4 Media Handler Components 10-4 Derived Media Handler Components 10-6 Creating a Derived Media Handler Component 10-7 Component Flags for Derived Media Handlers 10-8 Request Processing 10-8 A Sample Derived Media Handler Component 10-9 Implementing the Required Component Functions 10-9 Initializing a Derived Media Handler Component 10-12 Drawing the Media Sample 10-13 Derived Media Handler Components Reference 10-15 Data Type 10-15
Reading notes: Source appears to be a table of contents with page numbers; no body text or dates were supplied.
- Languages
- English
PDF page 11
xi Functions 10-18 Managing Your Media Handler Component 10-18 General Data Management 10-23 Graphics Data Management 10-31 Sound Data Management 10-37 Base Media Handler Utility Function 10-38 Summary of Derived Media Handler Components 10-41 C Summary 10-41 Constants 10-41 Data Type 10-43 Functions 10-43 Pascal Summary 10-45 Constants 10-45 Data Type 10-46 Routines 10-47 Chapter 11 Clock Components 11-1 About Clock Components 11-3 Clock Components Reference 11-5 Component Capability Flags for Clocks 11-5 Component Types for Clocks 11-6 Data Type 11-6 Clock Component Functions 11-7 Getting the Current Time 11-9 Using the Callback Functions 11-9 Managing the Time 11-15 Movie Toolbox Clock Support Functions 11-18 Summary of Clock Components 11-22 C Summary 11-22 Constants 11-22 Data Type 11-24 Clock Component Functions 11-24 Movie Toolbox Clock Support Functions 11-25 Pascal Summary 11-25 Constants 11-25 Data Type 11-27 Clock Component Routines 11-27 Movie Toolbox Clock Support Routines 11-28
Reading notes: Source appears to be a table of contents fragment with page numbers rather than advertising copy No advertised products or prices present in the supplied copy
- Languages
- English