Home
last modified time | relevance | path

Searched refs:timestamp_helper_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/media/base/
Daudio_buffer_converter.cc35 timestamp_helper_(output_params_.sample_rate()), in AudioBufferConverter()
58 if (timestamp_helper_.base_timestamp() == kNoTimestamp()) in AddInput()
59 timestamp_helper_.SetBaseTimestamp(buffer->timestamp()); in AddInput()
80 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in Reset()
89 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in ResetTimestampState()
229 output_buffer->set_timestamp(timestamp_helper_.GetTimestamp()); in ConvertIfPossible()
230 timestamp_helper_.AddFrames(request_frames); in ConvertIfPossible()
Daudio_discard_helper.cc29 timestamp_helper_(sample_rate_), in AudioDiscardHelper()
47 timestamp_helper_.SetBaseTimestamp(kNoTimestamp()); in Reset()
68 timestamp_helper_.SetBaseTimestamp( in ProcessBuffers()
194 decoded_buffer->set_timestamp(timestamp_helper_.GetTimestamp()); in ProcessBuffers()
195 timestamp_helper_.AddFrames(decoded_buffer->frame_count()); in ProcessBuffers()
Daudio_discard_helper.h62 return timestamp_helper_.base_timestamp() != kNoTimestamp(); in initialized()
68 AudioTimestampHelper timestamp_helper_; variable
Daudio_buffer_converter.h96 AudioTimestampHelper timestamp_helper_; variable
/external/chromium_org/media/filters/
Daudio_clock_unittest.cc16 timestamp_helper_(sample_rate_), in AudioClockTest()
18 timestamp_helper_.SetBaseTimestamp(base::TimeDelta()); in AudioClockTest()
24 timestamp_helper_.AddFrames(static_cast<int>(frames * playback_rate)); in WroteAudio()
26 frames, delay_frames, playback_rate, timestamp_helper_.GetTimestamp()); in WroteAudio()
42 AudioTimestampHelper timestamp_helper_; member in media::AudioClockTest
Ddecrypting_audio_decoder.cc104 if (timestamp_helper_->base_timestamp() == kNoTimestamp() && in Decode()
106 timestamp_helper_->SetBaseTimestamp(buffer->timestamp()); in Decode()
220 timestamp_helper_.reset( in FinishInitialization()
336 timestamp_helper_->SetBaseTimestamp(kNoTimestamp()); in DoReset()
351 base::TimeDelta current_time = timestamp_helper_->GetTimestamp(); in ProcessDecodedFrames()
360 timestamp_helper_->AddFrames(frame->frame_count()); in ProcessDecodedFrames()
Ddecrypting_audio_decoder.h124 scoped_ptr<AudioTimestampHelper> timestamp_helper_; variable
/external/chromium_org/media/formats/mpeg/
Dmpeg_audio_stream_parser_base.cc81 timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); in Flush()
216 if (timestamp_helper_) in ParseFrame()
217 base_timestamp = timestamp_helper_->GetTimestamp(); in ParseFrame()
219 timestamp_helper_.reset(new AudioTimestampHelper(sample_rate)); in ParseFrame()
220 timestamp_helper_->SetBaseTimestamp(base_timestamp); in ParseFrame()
244 buffer->set_timestamp(timestamp_helper_->GetTimestamp()); in ParseFrame()
245 buffer->set_duration(timestamp_helper_->GetFrameDuration(sample_count)); in ParseFrame()
248 timestamp_helper_->AddFrames(sample_count); in ParseFrame()
417 timestamp_helper_->SetBaseTimestamp(base::TimeDelta()); in SendBuffers()
Dmpeg_audio_stream_parser_base.h145 scoped_ptr<AudioTimestampHelper> timestamp_helper_; variable