Figures, Tables, and Listings
Chapter 1 Introduction to QuickTime 1-1Figure 1-1 QuickTime playing a movie 1-5
Figure 1-2 A QuickTime movie with Apple's movie controller 1-8
Figure 1-3 A QuickTime movie with an active selection rectangle 1-9
Figure 1-4 Capturing and playing back movies 1-11
Figure 1-5 Apple's movie controller with a portion of the movie selected for editing 1-12
Figure 1-6 A monitor window 1-13
Figure 1-7 Compression settings 1-14
Table 2-1 Common movie time scales 2-4
Figure 2-1 Time scales 2-5
Figure 2-2 A time coordinate system and a time base 2-6
Figure 2-3 A movie's time coordinate system 2-7
Figure 2-4 A movie containing several tracks 2-8
Figure 2-5 A movie, its preview, and its poster 2-9
Figure 2-6 A track in a movie 2-10
Figure 2-7 A track and its media 2-11
Figure 2-8 A media and its data 2-12
Figure 2-9 Movie characteristics 2-13
Figure 2-10 Track characteristics 2-15
Figure 2-11 Media characteristics 2-17
Figure 2-12 Spatial processing of a movie and its tracks 2-19
Figure 2-13 A track rectangle 2-20
Figure 2-14 Clipping a track's image 2-21
Figure 2-15 A track transformed into a movie coordinate system 2-21
Figure 2-16 Clipping a movie's image 2-22
Figure 2-17 A movie transformed to the display coordinate system 2-23
Figure 2-18 Clipping a movie for final display 2-23
Figure 2-19 A point transformed by a 3-by-3 matrix 2-24
Figure 2-20 The identity matrix 2-24
Figure 2-21 A matrix that describes a translation operation 2-25
Figure 2-22 A matrix that describes a scaling operation 2-25
Figure 2-23 A matrix that describes a rotation operation 2-26
Figure 2-24 A matrix that describes a scaling and translation operation 2-26
Listing 2-1 Using the Gestalt Manager with the Movie Toolbox 2-32
Figure 2-25 An alert box that tells the user that QuickTime is unavailable 2-32
Listing 2-2 Getting a movie from a file 2-33
Figure 2-26 A dialog box used when searching for a movie's data 2-34
Figure 2-27 A dialog box that informs the user the movie file cannot be found 2-35
Figure 2-28 A dialog box that allows the user to specify a movie file to try 2-35
Figure 2-29 An alert for an invalid movie file 2-36
Figure 2-30 An alert when QuickTime cannot be found 2-36
Figure 2-31 A movie controller playing a movie 2-37
Listing 2-3 Playing a movie using a movie controller component 2-37
Listing 2-4 Playing a movie 2-40
Listing 2-5 Creating a movie: The main program 2-44
Listing 2-6 Creating and opening a movie file 2-45
Listing 2-7 Creating a video track 2-47
Listing 2-8 Adding video samples to a media 2-48
Listing 2-9 Creating video data 2-50
Listing 2-10 Creating a sound track 2-51
Listing 2-11 Creating a sound description 2-53
Listing 2-12 Parsing a sound resource 2-57
Figure 2-32 A sample movie Save As dialog box 2-60
Listing 2-13 Handling movie update events 2-61
Figure 2-33 SFGetFilePreview or SFPGetFilePreview dialog box without preview 2-64
Figure 2-34 SFGetFilePreview or SFPGetFilePreview dialog box with preview 2-64
Figure 2-35 Standard preview dialog box for SFGetFilePreview and SFPGetFilePreview 2-65
Figure 2-36 StandardGetFilePreview or CustomGetFilePreview dialog box without preview 2-66
Figure 2-37 StandardGetFilePreview or CustomGetFilePreview dialog box with preview 2-67
Figure 2-38 Dialog box showing automatic file-to-movie conversion option 2-67
Figure 2-39 Dialog box for saving a movie converted from a file 2-68
Figure 2-40 Standard preview dialog box for CustomGetFilePreview 2-69
Listing 2-14 Two sample movie cover functions 2-70
Listing 2-15 Creating a track matte 2-71
Figure 2-41 Dialog box showing automatic file-to-movie conversion option 2-302
Figure 2-42 Dialog box for saving a movie converted from a file 2-303
Figure 2-43 Transforming an image with the RectMatrix function 2-349
Figure 2-44 Matrix created as a result of calling the RectMatrix function 2-350
Figure 2-45 Transforming an image with the MapMatrix function 2-351
Chapter 3 Image Compression Manager 3-1
Figure 3-1 24-bit photographic image 3-13
Figure 3-2 24-bit synthetic image 3-14
Figure 3-3 8-bit graphic image 3-15
Figure 3-4 8-bit photographic image 3-16
Figure 3-5 Compressor performance for a 921 KB, 24-bit, photographic image 3-17
Figure 3-6 Compressor performance for a 502 KB, 24-bit, synthetic image 3-20
Figure 3-7 Compressor performance for a 30 KB, 8-bit, graphic image 3-23
Figure 3-8 Compressor performance for a 302 KB, 8-bit, dithered, photographic image 3-26
Table 3-1 Fields of the PICT opcode for compressed QuickTime images 3-30
Table 3-2 Fields of the PICT opcode for uncompressed QuickTime images 3-31
Listing 3-1 Compressing and decompressing an image 3-32
Listing 3-2 Compressing and decompressing a sequence of images: The main program 3-39
Listing 3-3 Compressing and decompressing a sequence of images: Saving a sequence to a disk file 3-40
Listing 3-4 Compressing and decompressing a sequence of images: Drawing one frame with QuickDraw 3-43
Listing 3-5 Compressing and decompressing a sequence of images: Decompressing and playing back a sequence from a disk file 3-46
Figure 3-9 Image bands and their measurements 3-50
Table 3-3 Compressor type descriptors 3-68
Figure 3-10 The operation of the DrawTrimmedPicture function 3-104
Chapter 4 Movie Resource Formats 4-1
Figure 4-1 Movie files and single-fork movie files 4-4
Figure 4-2 The structure of a single-fork movie file 4-5
Table 4-1 Apple-defined atom types 4-6
Figure 4-3 A sample QuickTime atom 4-7
Figure 4-4 Sample organization of a one-track video movie 4-9
Figure 4-5 The layout of a movie atom 4-11
Figure 4-6 The layout of a movie header atom 4-12
Figure 4-7 The layout of a track atom 4-14
Figure 4-8 The layout of a track header atom 4-15
Figure 4-9 The layout of a media atom 4-17
Figure 4-10 The layout of a media header atom 4-18
Figure 4-11 The layout of a handler reference atom 4-19
Figure 4-12 The layout of a user-defined data atom 4-21
Figure 4-13 The layout of a clipping atom 4-23
Figure 4-14 The layout of a track matte atom 4-24
Figure 4-15 The layout of an edit atom 4-25
Figure 4-16 The layout of an edit list table 4-26
Figure 4-17 The layout of a media information atom for video 4-27
Figure 4-18 The layout of a media information header atom for video 4-28
Figure 4-19 The layout of a media information atom for sound 4-29
Figure 4-20 The layout of a sound media information header atom 4-30
Figure 4-21 The layout of a data information atom 4-32
Figure 4-22 Samples in a media 4-34
Figure 4-23 The layout of a sample table atom 4-35
Figure 4-24 The layout of a sample description atom 4-36
Figure 4-25 The layout of a time-to-sample atom 4-37
Figure 4-26 The layout of a time-to-sample table 4-38
Figure 4-27 An example of a time-to-sample table 4-38
Figure 4-28 The layout of a sync sample atom 4-39
Figure 4-29 The layout of a sync sample table 4-40
Figure 4-30 The layout of a sample-to-chunk atom 4-40
Figure 4-31 The layout of a sample-to-chunk table 4-41
Figure 4-32 An example of a sample-to-chunk table 4-41
Figure 4-33 The layout of a sample size atom 4-42
Figure 4-34 An example of a sample size table 4-43
Figure 4-35 The layout of a chunk offset atom 4-44
Figure 4-36 An example of a chunk offset table 4-45
Figure 4-37 The layout of a shadow sync atom 4-45
Figure 4-38 The layout of a shadow sync table 4-46
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help