Home
last modified time | relevance | path

Searched refs:timescale (Results 1 – 17 of 17) 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/skia/tools/
Dbench_record.cpp29 DEFINE_string(timescale, "us", "Print times in ms, us, or ns");
36 static double timescale() { in timescale() function
83 const double scale = timescale(); in bench_record()
136 const double scale = timescale(); in tool_main()
Dbench_playback.cpp29 DEFINE_string(timescale, "ms", "Print times in ms, us, or ns");
34 static double timescale() { in timescale() function
80 const double scale = timescale(); in bench()
/external/chromium_org/media/base/mac/
Dcoremedia_glue.h26 CMTimeScale timescale; member
66 static CMTime CMTimeMake(int64_t value, int32_t timescale);
Dcoremedia_glue.mm222 int32_t timescale) {
223 return g_coremedia_handle.Get().cm_time_make()(value, timescale);
/external/chromium_org/media/formats/mp4/
Dtrack_run_iterator.cc28 int64 timescale; member
49 timescale(-1), in TrackRunInfo()
250 tri.timescale = trak->media.header.timescale; in Init()
486 return DecodeTimestampFromRational(sample_dts_, run_itr_->timescale); in dts()
492 run_itr_->timescale); in cts()
497 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()
550 timescale(0), in MediaHeader()
561 reader->Read4(&timescale) && in Parse()
566 reader->Read4(&timescale) && in Parse()
Dbox_definitions.h108 uint32 timescale; member
259 uint32 timescale; member
Dtrack_run_iterator_unittest.cc59 moov_.header.timescale = 1000; in CreateMovie()
63 moov_.tracks[0].media.header.timescale = kAudioScale; in CreateMovie()
76 moov_.tracks[1].media.header.timescale = kVideoScale; in CreateMovie()
Dmp4_stream_parser.cc310 moov_->extends.header.fragment_duration, moov_->header.timescale); in ParseMoov()
314 TimeDeltaFromRational(moov_->header.duration, moov_->header.timescale); in ParseMoov()
/external/chromium_org/ui/file_manager/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()
/external/chromium_org/content/common/gpu/media/
Dvt_stubs_header.fragment27 CMTimeScale timescale;