Home
last modified time | relevance | path

Searched refs:read_cb_ (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/media/base/
Dfake_text_track_stream.cc20 DCHECK(read_cb_.is_null()); in ~FakeTextTrackStream()
25 DCHECK(read_cb_.is_null()); in Read()
27 read_cb_ = read_cb; in Read()
47 DCHECK(!read_cb_.is_null()); in SatisfyPendingRead()
66 base::ResetAndReturn(&read_cb_).Run(kOk, buffer); in SatisfyPendingRead()
70 DCHECK(!read_cb_.is_null()); in AbortPendingRead()
71 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in AbortPendingRead()
75 DCHECK(!read_cb_.is_null()); in SendEosNotification()
76 base::ResetAndReturn(&read_cb_).Run(kOk, DecoderBuffer::CreateEOSBuffer()); in SendEosNotification()
81 if (!read_cb_.is_null()) in Stop()
Daudio_pull_fifo.cc15 : read_cb_(read_cb), in AudioPullFifo()
37 read_cb_.Run(write_pos, fifo_.get()); in Consume()
Dmulti_channel_resampler.cc18 : read_cb_(read_cb), in MultiChannelResampler()
89 read_cb_.Run(output_frames_ready_, wrapped_resampler_audio_bus_.get()); in ProvideInput()
Dsinc_resampler.cc118 read_cb_(read_cb), in SincResampler()
234 read_cb_.Run(request_frames_, r0_); in Resample()
295 read_cb_.Run(request_frames_, r0_); in Resample()
Daudio_pull_fifo.h49 const ReadCB read_cb_; variable
Dmulti_channel_resampler.h60 ReadCB read_cb_; variable
Dfake_text_track_stream.h42 ReadCB read_cb_; variable
Dsinc_resampler.h105 const ReadCB read_cb_; variable
/external/chromium_org/media/filters/
Ddecrypting_demuxer_stream.cc65 CHECK(read_cb_.is_null()) << "Overlapping reads are not supported."; in Read()
67 read_cb_ = BindToCurrentLoop(read_cb); in Read()
99 DCHECK(!read_cb_.is_null()); in Reset()
104 DCHECK(!read_cb_.is_null()); in Reset()
106 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Reset()
109 DCHECK(read_cb_.is_null()); in Reset()
133 if (!read_cb_.is_null()) in Stop()
134 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Stop()
204 DCHECK(!read_cb_.is_null()); in DecryptBuffer()
218 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); in DecryptBuffer()
[all …]
Dfake_demuxer_stream.cc64 DCHECK(read_cb_.is_null()); in Read()
66 read_cb_ = BindToCurrentLoop(read_cb); in Read()
115 DCHECK(!read_cb_.is_null()); in SatisfyRead()
124 DCHECK(!read_cb_.is_null()); in SatisfyReadAndHoldNext()
133 if (!read_cb_.is_null()) in Reset()
134 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Reset()
153 DCHECK(!read_cb_.is_null()); in DoRead()
160 base::ResetAndReturn(&read_cb_).Run(kOk, in DoRead()
168 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); in DoRead()
192 base::ResetAndReturn(&read_cb_).Run(kOk, buffer); in DoRead()
Ddecoder_stream.cc95 DCHECK(read_cb_.is_null()); in Read()
117 read_cb_ = read_cb; in Read()
134 if (!read_cb_.is_null()) { in Reset()
136 base::ResetAndReturn(&read_cb_), ABORTED, scoped_refptr<Output>())); in Reset()
182 if (!read_cb_.is_null()) { in Stop()
184 base::ResetAndReturn(&read_cb_), ABORTED, scoped_refptr<Output>())); in Stop()
250 DCHECK(read_cb_.is_null()); in OnDecoderSelected()
280 DCHECK(!read_cb_.is_null()); in SatisfyRead()
281 base::ResetAndReturn(&read_cb_).Run(status, output); in SatisfyRead()
326 DCHECK(read_cb_.is_null()); in OnDecodeDone()
[all …]
Dffmpeg_demuxer.cc253 DCHECK(read_cb_.is_null()) << "There should be no pending read"; in FlushBuffers()
262 if (!read_cb_.is_null()) { in Stop()
263 base::ResetAndReturn(&read_cb_).Run( in Stop()
282 CHECK(read_cb_.is_null()) << "Overlapping reads are not supported"; in Read()
283 read_cb_ = BindToCurrentLoop(read_cb); in Read()
290 base::ResetAndReturn(&read_cb_).Run( in Read()
325 DCHECK(read_cb_.is_null()); in ~FFmpegDemuxerStream()
339 if (!read_cb_.is_null()) { in SatisfyPendingRead()
341 base::ResetAndReturn(&read_cb_).Run( in SatisfyPendingRead()
344 base::ResetAndReturn(&read_cb_).Run( in SatisfyPendingRead()
[all …]
Dchunk_demuxer.cc744 DCHECK(read_cb_.is_null()); in StartReturningData()
752 if (!read_cb_.is_null()) in AbortReads()
753 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in AbortReads()
758 if (read_cb_.is_null()) in CompletePendingReadIfPossible()
771 if (!read_cb_.is_null()) { in Shutdown()
772 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, in Shutdown()
790 DCHECK(read_cb_.is_null()); in Seek()
808 if (!read_cb_.is_null()) in Append()
927 DCHECK(read_cb_.is_null()); in Read()
929 read_cb_ = BindToCurrentLoop(read_cb); in Read()
[all …]
Dfake_demuxer_stream.h95 ReadCB read_cb_; variable
Ddecrypting_demuxer_stream.h107 ReadCB read_cb_; variable
Ddecoder_stream.h177 ReadCB read_cb_; variable
Dffmpeg_demuxer.h130 ReadCB read_cb_; variable
Dchunk_demuxer.h123 ReadCB read_cb_; variable
/external/chromium_org/media/audio/
Dfake_audio_consumer.cc52 ReadCB read_cb_; member in media::FakeAudioConsumer::Worker
98 DCHECK(read_cb_.is_null()); in ~Worker()
103 return read_cb_.is_null(); in IsStopped()
111 DCHECK(read_cb_.is_null()); in Start()
112 read_cb_ = read_cb; in Start()
128 if (read_cb_.is_null()) in Stop()
130 read_cb_.Reset(); in Stop()
145 if (!read_cb_.is_null()) in DoRead()
146 read_cb_.Run(audio_bus_.get()); in DoRead()
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc212 read_cb_.Reset(); in Stop()
224 DCHECK(read_cb_.is_null()); in Read()
230 read_cb_ = read_cb; in Read()
503 DCHECK(read_cb_.is_null()) in didFinishLoading()
538 DCHECK(read_cb_.is_null()) in didFail()
623 DCHECK(read_cb_.is_null() || last_offset_ > buffer_.forward_bytes()) in ShouldDefer()
625 return read_cb_.is_null(); in ShouldDefer()
766 base::ResetAndReturn(&read_cb_).Run(status, bytes_read); in DoneRead()
Dbuffered_resource_loader.h245 bool HasPendingRead() { return !read_cb_.is_null(); } in NON_EXPORTED_BASE()
297 ReadCB read_cb_; in NON_EXPORTED_BASE() local
/external/chromium_org/third_party/webrtc/common_audio/resampler/
Dsinc_resampler.cc156 read_cb_(read_cb), in SincResampler()
278 read_cb_->Run(request_frames_, r0_); in Resample()
343 read_cb_->Run(request_frames_, r0_); in Resample()
Dsinc_resampler.h127 SincResamplerCallback* read_cb_; variable