Home
last modified time | relevance | path

Searched refs:timescale (Results 1 – 14 of 14) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMediaHeaderBox.java35 private long timescale; field in MediaHeaderBox
52 return timescale; in getTimescale()
84 public void setTimescale(long timescale) { in setTimescale() argument
85 this.timescale = timescale; in setTimescale()
102 timescale = IsoTypeReader.readUInt32(content); in _parseDetails()
107 timescale = IsoTypeReader.readUInt32(content); in _parseDetails()
136 IsoTypeWriter.writeUInt32(byteBuffer, timescale); in getContent()
141 IsoTypeWriter.writeUInt32(byteBuffer, timescale); in getContent()
DMovieHeaderBox.java38 private long timescale; field in MovieHeaderBox
68 return timescale; in getTimescale()
108 timescale = IsoTypeReader.readUInt32(content); in _parseDetails()
113 timescale = IsoTypeReader.readUInt32(content); in _parseDetails()
168 IsoTypeWriter.writeUInt32(byteBuffer, timescale); in getContent()
173 IsoTypeWriter.writeUInt32(byteBuffer, timescale); in getContent()
207 public void setTimescale(long timescale) { in setTimescale() argument
208 this.timescale = timescale; in setTimescale()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DTrackMetaData.java25 private long timescale; field in TrackMetaData
52 return timescale; in getTimescale()
55 public void setTimescale(long timescale) { in setTimescale() argument
56 this.timescale = timescale; in setTimescale()
DMovie.java77 long timescale = this.getTracks().iterator().next().getTrackMetaData().getTimescale();
79 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale);
81 return timescale;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java48 private int timescale; field in H264TrackImpl
58 public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException { in H264TrackImpl() argument
60 if (timescale > 1000) { in H264TrackImpl()
61 timescale = timescale; //e.g. 23976 in H264TrackImpl()
125 trackMetaData.setTimescale(timescale); in parse()
406timescale = seqParameterSet.vuiParams.time_scale >> 1; // Not sure why, but I found this in severa… in configureFramerate()
408 if (timescale == 0 || frametick == 0) { in configureFramerate()
409 …err.println("Warning: vuiParams contain invalid values: time_scale: " + timescale + " and frame_ti… in configureFramerate()
410 timescale = 90000; in configureFramerate()
415 timescale = 90000; in configureFramerate()
/external/chromium_org/media/video/capture/mac/
Dcoremedia_glue.h27 CMTimeScale timescale; member
36 static CMTime CMTimeMake(int64_t value, int32_t timescale);
Dcoremedia_glue.mm62 int32_t timescale) {
63 return g_coremedia_handle.Get().cm_time_make()(value, timescale);
/external/chromium_org/media/mp4/
Dtrack_run_iterator.cc30 int64 timescale; member
49 timescale(-1), in TrackRunInfo()
213 tri.timescale = trak->media.header.timescale; in Init()
410 return TimeDeltaFromRational(sample_dts_, run_itr_->timescale); in dts()
416 run_itr_->timescale); in cts()
421 return TimeDeltaFromRational(sample_itr_->duration, run_itr_->timescale); in duration()
Dbox_definitions.cc153 timescale(0), in MovieHeader()
167 reader->Read4(&timescale) && in Parse()
172 reader->Read4(&timescale) && in Parse()
483 timescale(0), in MediaHeader()
494 reader->Read4(&timescale) && in Parse()
499 reader->Read4(&timescale) && in Parse()
Dbox_definitions.h104 uint32 timescale; member
233 uint32 timescale; member
Dtrack_run_iterator_unittest.cc55 moov_.header.timescale = 1000; in CreateMovie()
59 moov_.tracks[0].media.header.timescale = kAudioScale; in CreateMovie()
71 moov_.tracks[1].media.header.timescale = kVideoScale; in CreateMovie()
Dmp4_stream_parser.cc300 moov_->header.timescale); in ParseMoov()
304 moov_->header.timescale); in ParseMoov()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
Dmpeg_parser.js79 var timescale = br.readScalar(4, false, atom.end);
81 metadata.duration = duration / timescale;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DDefaultMp4Builder.java541 long timescale = movie.getTracks().iterator().next().getTrackMetaData().getTimescale(); in getTimescale() local
543 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale); in getTimescale()
545 return timescale; in getTimescale()