/external/chromium_org/media/base/ |
D | fake_text_track_stream.cc | 20 DCHECK(read_cb_.is_null()); in ~FakeTextTrackStream() 25 DCHECK(read_cb_.is_null()); in Read() 27 read_cb_ = read_cb; in Read() 45 DCHECK(!read_cb_.is_null()); in SatisfyPendingRead() 64 base::ResetAndReturn(&read_cb_).Run(kOk, buffer); in SatisfyPendingRead() 68 DCHECK(!read_cb_.is_null()); in AbortPendingRead() 69 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in AbortPendingRead() 73 DCHECK(!read_cb_.is_null()); in SendEosNotification() 74 base::ResetAndReturn(&read_cb_).Run(kOk, DecoderBuffer::CreateEOSBuffer()); in SendEosNotification() 79 if (!read_cb_.is_null()) in Stop()
|
D | audio_pull_fifo.cc | 15 : read_cb_(read_cb), in AudioPullFifo() 37 read_cb_.Run(write_pos, fifo_.get()); in Consume()
|
D | multi_channel_resampler.cc | 18 : read_cb_(read_cb), in MultiChannelResampler() 89 read_cb_.Run(output_frames_ready_, wrapped_resampler_audio_bus_.get()); in ProvideInput()
|
D | sinc_resampler.cc | 143 read_cb_(read_cb), in SincResampler() 265 read_cb_.Run(request_frames_, r0_); in Resample() 332 read_cb_.Run(request_frames_, r0_); in Resample()
|
D | audio_pull_fifo.h | 49 const ReadCB read_cb_; variable
|
D | multi_channel_resampler.h | 56 ReadCB read_cb_; variable
|
D | fake_text_track_stream.h | 41 ReadCB read_cb_; variable
|
D | sinc_resampler.h | 110 const ReadCB read_cb_; variable
|
/external/chromium_org/media/filters/ |
D | decrypting_audio_decoder.cc | 91 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported."; in Read() 93 read_cb_ = BindToCurrentLoop(read_cb); in Read() 97 base::ResetAndReturn(&read_cb_).Run(kOk, AudioBuffer::CreateEOSBuffer()); in Read() 102 base::ResetAndReturn(&read_cb_).Run(kOk, queued_audio_frames_.front()); in Read() 134 DCHECK(!read_cb_.is_null()); in Reset() 139 DCHECK(!read_cb_.is_null()); in Reset() 141 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Reset() 144 DCHECK(read_cb_.is_null()); in Reset() 211 DCHECK(read_cb_.is_null()); // No Read() before initialization finished. in FinishInitialization() 234 DCHECK(!read_cb_.is_null()); in FinishConfigChange() [all …]
|
D | decrypting_demuxer_stream.cc | 69 CHECK(read_cb_.is_null()) << "Overlapping reads are not supported."; in Read() 71 read_cb_ = BindToCurrentLoop(read_cb); in Read() 103 DCHECK(!read_cb_.is_null()); in Reset() 108 DCHECK(!read_cb_.is_null()); in Reset() 110 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Reset() 113 DCHECK(read_cb_.is_null()); in Reset() 139 if (!read_cb_.is_null()) in Stop() 140 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Stop() 205 DCHECK(!read_cb_.is_null()); in DecryptBuffer() 219 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); in DecryptBuffer() [all …]
|
D | fake_demuxer_stream.cc | 56 DCHECK(read_cb_.is_null()); in Read() 58 read_cb_ = BindToCurrentLoop(read_cb); in Read() 103 DCHECK(!read_cb_.is_null()); in SatisfyRead() 112 if (!read_cb_.is_null()) in Reset() 113 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in Reset() 127 DCHECK(!read_cb_.is_null()); in DoRead() 134 base::ResetAndReturn(&read_cb_).Run(kOk, in DoRead() 142 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL); in DoRead() 166 base::ResetAndReturn(&read_cb_).Run(kOk, buffer); in DoRead()
|
D | video_frame_stream.cc | 66 DCHECK(read_cb_.is_null()); in Read() 77 read_cb_ = read_cb; in Read() 141 if (!read_cb_.is_null()) in Stop() 143 base::ResetAndReturn(&read_cb_), ABORTED, scoped_refptr<VideoFrame>())); in Stop() 178 DCHECK(read_cb_.is_null()); in OnDecoderSelected() 208 DCHECK(!read_cb_.is_null()); in SatisfyRead() 209 base::ResetAndReturn(&read_cb_).Run(status, frame); in SatisfyRead() 225 DCHECK(!read_cb_.is_null()); in Decode() 246 DCHECK(!read_cb_.is_null()); in OnFrameReady() 300 DCHECK(!read_cb_.is_null()); in ReadFromDemuxerStream() [all …]
|
D | opus_audio_decoder.cc | 300 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported."; in Read() 301 read_cb_ = BindToCurrentLoop(read_cb); in Read() 337 DCHECK(!read_cb_.is_null()); in ReadFromDemuxerStream() 345 DCHECK(!read_cb_.is_null()); in BufferReady() 350 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in BufferReady() 359 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() 374 base::ResetAndReturn(&read_cb_).Run(kOk, AudioBuffer::CreateEOSBuffer()); in BufferReady() 383 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() 394 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() 411 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() [all …]
|
D | ffmpeg_audio_decoder.cc | 117 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported."; in Read() 119 read_cb_ = BindToCurrentLoop(read_cb); in Read() 128 base::ResetAndReturn(&read_cb_).Run( in Read() 230 DCHECK(!read_cb_.is_null()); in ReadFromDemuxerStream() 239 DCHECK(!read_cb_.is_null()); in BufferReady() 245 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in BufferReady() 259 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() 270 base::ResetAndReturn(&read_cb_).Run( in BufferReady() 284 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL); in BufferReady() 320 base::ResetAndReturn(&read_cb_).Run( in BufferReady()
|
D | audio_renderer_impl_unittest.cc | 151 EXPECT_TRUE(read_cb_.is_null()); in InitializeWithStatus() 180 EXPECT_TRUE(read_cb_.is_null()); in Preroll() 211 return !read_cb_.is_null(); in IsReadPending() 216 if (!read_cb_.is_null()) in WaitForPendingRead() 225 DCHECK(!read_cb_.is_null()); in WaitForPendingRead() 232 CHECK(!read_cb_.is_null()); in SatisfyPendingRead() 394 CHECK(read_cb_.is_null()) << "Overlapping reads are not permitted"; in ReadDecoder() 395 read_cb_ = read_cb; in ReadDecoder() 403 CHECK(read_cb_.is_null()) in ResetDecoder() 411 CHECK(!read_cb_.is_null()); in DeliverBuffer() [all …]
|
D | video_renderer_impl_unittest.cc | 260 if (!read_cb_.is_null()) in WaitForPendingRead() 269 DCHECK(!read_cb_.is_null()); in WaitForPendingRead() 274 CHECK(!read_cb_.is_null()); in SatisfyPendingRead() 278 read_cb_, decode_results_.front().first, in SatisfyPendingRead() 281 read_cb_.Reset(); in SatisfyPendingRead() 319 CHECK(read_cb_.is_null()); in FrameRequested() 320 read_cb_ = read_cb; in FrameRequested() 335 if (!read_cb_.is_null()) { in FlushRequested() 346 if (!read_cb_.is_null()) { in StopRequested() 362 VideoDecoder::DecodeCB read_cb_; member in media::VideoRendererImplTest
|
D | ffmpeg_demuxer.cc | 211 DCHECK(read_cb_.is_null()) << "There should be no pending read"; in FlushBuffers() 220 if (!read_cb_.is_null()) { in Stop() 221 base::ResetAndReturn(&read_cb_).Run( in Stop() 240 CHECK(read_cb_.is_null()) << "Overlapping reads are not supported"; in Read() 241 read_cb_ = BindToCurrentLoop(read_cb); in Read() 248 base::ResetAndReturn(&read_cb_).Run( in Read() 276 DCHECK(read_cb_.is_null()); in ~FFmpegDemuxerStream() 290 if (!read_cb_.is_null()) { in SatisfyPendingRead() 292 base::ResetAndReturn(&read_cb_).Run( in SatisfyPendingRead() 295 base::ResetAndReturn(&read_cb_).Run( in SatisfyPendingRead() [all …]
|
D | chunk_demuxer.cc | 256 ReadCB read_cb_; member in media::ChunkDemuxerStream 678 DCHECK(read_cb_.is_null()); in StartReturningData() 686 if (!read_cb_.is_null()) in AbortReads() 687 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL); in AbortReads() 692 if (read_cb_.is_null()) in CompletePendingReadIfPossible() 705 if (!read_cb_.is_null()) { in Shutdown() 706 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, in Shutdown() 719 DCHECK(read_cb_.is_null()); in Seek() 737 if (!read_cb_.is_null()) in Append() 829 DCHECK(read_cb_.is_null()); in Read() [all …]
|
D | fake_demuxer_stream.h | 76 ReadCB read_cb_; variable
|
D | opus_audio_decoder.h | 75 ReadCB read_cb_; variable
|
D | ffmpeg_audio_decoder.h | 94 ReadCB read_cb_; variable
|
/external/chromium_org/media/audio/ |
D | fake_audio_consumer.cc | 52 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/ |
D | rtc_video_decoder_factory_tv.cc | 55 ReadCB read_cb_; member in content::RTCDemuxerStream 104 DCHECK(read_cb_.is_null()); in Read() 110 read_cb_ = media::BindToLoop(base::MessageLoopProxy::current(), read_cb); in Read() 118 if (!read_cb_.is_null()) in Destroy() 119 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kAborted, NULL); in Destroy() 125 if (read_cb_.is_null() || buffer_queue_.empty()) in RunReadCallback_Locked() 142 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kConfigChanged, NULL); in RunReadCallback_Locked() 146 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, front.decoder_buffer); in RunReadCallback_Locked()
|
D | buffered_resource_loader.cc | 211 read_cb_.Reset(); in Stop() 223 DCHECK(read_cb_.is_null()); in Read() 229 read_cb_ = read_cb; in Read() 501 DCHECK(read_cb_.is_null()) in didFinishLoading() 536 DCHECK(read_cb_.is_null()) in didFail() 621 DCHECK(read_cb_.is_null() || last_offset_ > buffer_.forward_bytes()) in ShouldDefer() 623 return read_cb_.is_null(); in ShouldDefer() 764 base::ResetAndReturn(&read_cb_).Run(status, bytes_read); in DoneRead()
|
D | buffered_resource_loader.h | 247 bool HasPendingRead() { return !read_cb_.is_null(); } in NON_EXPORTED_BASE() 299 ReadCB read_cb_; in NON_EXPORTED_BASE() local
|