13.07.2015 Views

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

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.

Movie AtomsSample AtomsEntry countA 32-bit unsigned integer that specifies the number of sample numbers in the array that follows.Following the entry count is a composition-offset table, shown in Figure 2-39 (page 105).Figure 2-39The layout of a composition-offset table entrySampleCountcompositionOffsetField4 4BytessampleCountA 32-bit unsigned integer that provides the number of consecutive samples with the calculatedcomposition offset in the field.compositionOffsetA 32-bit signed integer indicating the value of the calculated compositionOffset.Composition Shift Least Greatest AtomThe optional composition shift least greatest atom summarizes the calculated minimum and maximum offsetsbetween decode and composition time, as well as the start and end times, for all samples. This allows a readerto determine the minimum required time for decode to obtain proper presentation order without needing toscan the sample table for the range of offsets. The type of the composition shift least greatest atom is ‘cslg’.Figure 2-40 (page 105) shows the layout of this atom.Figure 2-40The layout of a composition shift least greatest atomBytesComposition Shift Least Greatest atomAtom sizeType = 'cslg'VersionFlags4413compositionOffsetToDisplayOffsetShift 4leastDisplayOffset 4displayStartTime 4displayEndTime 4<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.105

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

Saved successfully!

Ooh no, something went wrong!