02.04.2013 Views

QuickTime Kit Reference Update - filibeto.org

QuickTime Kit Reference Update - filibeto.org

QuickTime Kit Reference Update - filibeto.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.5 Symbol Changes<br />

duration<br />

formatDescription<br />

getAudioStreamPacketDescriptions:inRange:<br />

incrementSampleUseCount<br />

lengthForAllSamples<br />

numberOfSamples<br />

presentationTime<br />

sampleBufferAttributes<br />

sampleUseCount<br />

QTTrack<br />

Complete reference information is available in the QTTrack reference.<br />

Instance Methods<br />

apertureModeDimensionsForMode:<br />

generateApertureModeDimensions<br />

Returns the duration of the buffer.<br />

Returns the format description of the buffer.<br />

Gets an array of CoreAudio<br />

AudioStreamPacketDescriptions describing<br />

the lengths of samples in variable bit rate audio<br />

buffers.<br />

Returns the number of media samples<br />

contained in the buffer.<br />

Returns the presentation time of the buffer.<br />

Returns a dictionary of the sample buffer's<br />

current attirbutes.<br />

Returns an NSSize value that indicates the dimensions<br />

of the target track for the specified movie aperture<br />

mode. For instance, passing a mode of<br />

QTMovieApertureModeClean would cause<br />

apertureModeDimensionsForMode: to return the track<br />

dimensions to use in clean aperture mode.<br />

Adds information to a QTTrack needed to support<br />

aperture modes for tracks created with applications<br />

and/or versions of <strong>QuickTime</strong> that did not support<br />

aperture mode dimensions. If the image descriptions<br />

in the track lack tags describing clean aperture and pixel<br />

aspect ratio information, the media data is scanned to<br />

see if the correct values can be divined and attached.<br />

Then the aperture mode dimensions are calculated and<br />

set. Afterwards, the QTTrackHasApertureMode-<br />

DimensionsAttribute property will be set to YES for this<br />

track. Tracks that do not support aperture modes are<br />

not changed.<br />

Classes 21<br />

2007-07-18 | © 2007 Apple Inc. All Rights Reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!