Home
last modified time | relevance | path

Searched refs:getTimescale (Results 1 – 15 of 15) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DMovie.java76 public long getTimescale() {
77 long timescale = this.getTracks().iterator().next().getTrackMetaData().getTimescale();
79 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale);
DTrackMetaData.java51 public long getTimescale() { in getTimescale() method in TrackMetaData
DMp4TrackImpl.java166 trackMetaData.setTimescale(mdhd.getTimescale()); in Mp4TrackImpl()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DTwoSecondIntersectionFinder.java47 … double thisTracksLength = getDuration(thisTrack) / thisTrack.getTrackMetaData().getTimescale(); in sampleNumbers()
66 … int currentFragment = (int) (time / track.getTrackMetaData().getTimescale() / 2) + 1; in sampleNumbers()
DDefaultMp4Builder.java146 long movieTimeScale = getTimescale(movie); in createMovieBox()
150 …ong tracksDuration = getDuration(track) * movieTimeScale / track.getTrackMetaData().getTimescale(); in createMovieBox()
222 …tkhd.setDuration(getDuration(track) * getTimescale(movie) / track.getTrackMetaData().getTimescale(… in createTrackBox()
252 mdhd.setTimescale(track.getTrackMetaData().getTimescale()); in createTrackBox()
540 public long getTimescale(Movie movie) { in getTimescale() method
541 long timescale = movie.getTracks().iterator().next().getTrackMetaData().getTimescale(); in getTimescale()
543 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale); in getTimescale()
DSyncSampleIntersectFinderImpl.java74 …ck.getSyncSamples(), getTimes(track, movie), track.getTrackMetaData().getTimescale(), times.toArra… in sampleNumbers()
297 … if (track1.getTrackMetaData().getTimescale() != track.getTrackMetaData().getTimescale()) { in calculateTracktimesScalingFactor()
298 timeScale = lcm(timeScale, track1.getTrackMetaData().getTimescale()); in calculateTracktimesScalingFactor()
DFragmentedMp4Builder.java433 long movieTimeScale = movie.getTimescale(); in createMvhd()
437 …ong tracksDuration = getDuration(track) * movieTimeScale / track.getTrackMetaData().getTimescale(); in createMvhd()
659 return getDuration(track) * movie.getTimescale() / track.getTrackMetaData().getTimescale();
666 mdhd.setTimescale(track.getTrackMetaData().getTimescale());
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DSilenceTrackImpl.java25 long numFrames = getTrackMetaData().getTimescale() * ms / 1000 / 1024; in SilenceTrackImpl()
26 long standZeit = getTrackMetaData().getTimescale() * ms / numFrames / 1000; in SilenceTrackImpl()
DChangeTimeScaleTrack.java52 … double timeScaleFactor = (double) targetTimeScale / source.getTrackMetaData().getTimescale(); in ChangeTimeScaleTrack()
70 …SyncSampleIndex++] = (currentDuration * targetTimeScale) / track.getTrackMetaData().getTimescale(); in getTimes()
DDivideTimeScaleTrack.java61 … trackMetaData.setTimescale(source.getTrackMetaData().getTimescale() / this.timeScaleDivisor); in getTrackMetaData()
DMultiplyTimeScaleTrack.java67 trackMetaData.setTimescale(source.getTrackMetaData().getTimescale() * this.timeScaleFactor); in getTrackMetaData()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMediaHeaderBox.java51 public long getTimescale() { in getTimescale() method in MediaHeaderBox
122 result.append("timescale=").append(getTimescale()); in toString()
DMovieHeaderBox.java67 public long getTimescale() { in getTimescale() method in MovieHeaderBox
144 result.append("timescale=").append(getTimescale()); in toString()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatManifestWriterImpl.java81 videoTimescale = track.getTrackMetaData().getTimescale(); in getManifest()
83 assert videoTimescale == track.getTrackMetaData().getTimescale(); in getManifest()
91 audioTimescale = track.getTrackMetaData().getTimescale(); in getManifest()
93 assert audioTimescale == track.getTrackMetaData().getTimescale(); in getManifest()
DAbstractManifestWriter.java71 … bitrate /= ((double) getDuration(track)) / track.getTrackMetaData().getTimescale(); // per second in getBitrate()