Methods Summary |
---|
static java.util.List | adjustCtts(java.util.List source, int timeScaleFactor)
if (source != null) {
List<CompositionTimeToSample.Entry> entries2 = new ArrayList<CompositionTimeToSample.Entry>(source.size());
for (CompositionTimeToSample.Entry entry : source) {
entries2.add(new CompositionTimeToSample.Entry(entry.getCount(), timeScaleFactor * entry.getOffset()));
}
return entries2;
} else {
return null;
}
|
static java.util.List | adjustTts(java.util.List source, int timeScaleFactor)
LinkedList<TimeToSampleBox.Entry> entries2 = new LinkedList<TimeToSampleBox.Entry>();
for (TimeToSampleBox.Entry e : source) {
entries2.add(new TimeToSampleBox.Entry(e.getCount(), timeScaleFactor * e.getDelta()));
}
return entries2;
|
public java.util.List | getCompositionTimeEntries()
return adjustCtts(source.getCompositionTimeEntries(), timeScaleFactor);
|
public java.util.List | getDecodingTimeEntries()
return adjustTts(source.getDecodingTimeEntries(), timeScaleFactor);
|
public java.lang.String | getHandler()
return source.getHandler();
|
public Box | getMediaHeaderBox()
return source.getMediaHeaderBox();
|
public java.util.List | getSampleDependencies()
return source.getSampleDependencies();
|
public SampleDescriptionBox | getSampleDescriptionBox()
return source.getSampleDescriptionBox();
|
public java.util.List | getSamples()
return source.getSamples();
|
public SubSampleInformationBox | getSubsampleInformationBox()
return source.getSubsampleInformationBox();
|
public long[] | getSyncSamples()
return source.getSyncSamples();
|
public com.googlecode.mp4parser.authoring.TrackMetaData | getTrackMetaData()
TrackMetaData trackMetaData = (TrackMetaData) source.getTrackMetaData().clone();
trackMetaData.setTimescale(source.getTrackMetaData().getTimescale() * this.timeScaleFactor);
return trackMetaData;
|
public boolean | isEnabled()
return source.isEnabled();
|
public boolean | isInMovie()
return source.isInMovie();
|
public boolean | isInPoster()
return source.isInPoster();
|
public boolean | isInPreview()
return source.isInPreview();
|
public java.lang.String | toString()
return "MultiplyTimeScaleTrack{" +
"source=" + source +
'}";
|