Searched refs:TimeDeltaFromRational (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/media/mp4/ |
D | track_run_iterator_unittest.cc | 175 EXPECT_EQ(iter_->dts(), TimeDeltaFromRational(0, kAudioScale)); in TEST_F() 176 EXPECT_EQ(iter_->cts(), TimeDeltaFromRational(0, kAudioScale)); in TEST_F() 177 EXPECT_EQ(iter_->duration(), TimeDeltaFromRational(1024, kAudioScale)); in TEST_F() 185 EXPECT_EQ(iter_->dts(), TimeDeltaFromRational(1024 * 9, kAudioScale)); in TEST_F() 186 EXPECT_EQ(iter_->duration(), TimeDeltaFromRational(1024, kAudioScale)); in TEST_F() 201 EXPECT_EQ(iter_->dts(), TimeDeltaFromRational(base_dts, kVideoScale)); in TEST_F() 202 EXPECT_EQ(iter_->duration(), TimeDeltaFromRational(10, kVideoScale)); in TEST_F() 208 EXPECT_EQ(iter_->dts(), TimeDeltaFromRational(1024 * 10, kAudioScale)); in TEST_F() 233 EXPECT_EQ(iter_->duration(), TimeDeltaFromRational(50, kAudioScale)); in TEST_F() 234 EXPECT_EQ(iter_->dts(), TimeDeltaFromRational(50, kAudioScale)); in TEST_F() [all …]
|
D | track_run_iterator.cc | 59 TimeDelta TimeDeltaFromRational(int64 numer, int64 denom) { in TimeDeltaFromRational() function 410 return TimeDeltaFromRational(sample_dts_, run_itr_->timescale); in dts() 415 return TimeDeltaFromRational(sample_dts_ + sample_itr_->cts_offset, in cts() 421 return TimeDeltaFromRational(sample_itr_->duration, run_itr_->timescale); in duration()
|
D | track_run_iterator.h | 24 base::TimeDelta MEDIA_EXPORT TimeDeltaFromRational(int64 numer, int64 denom);
|
D | mp4_stream_parser.cc | 299 duration = TimeDeltaFromRational(moov_->extends.header.fragment_duration, in ParseMoov() 303 duration = TimeDeltaFromRational(moov_->header.duration, in ParseMoov()
|