HomeSort by relevance Sort by last modified time
    Searched refs:read_cb_ (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/media/base/
fake_text_track_stream.cc 20 DCHECK(read_cb_.is_null());
25 DCHECK(read_cb_.is_null());
27 read_cb_ = read_cb;
45 DCHECK(!read_cb_.is_null());
64 base::ResetAndReturn(&read_cb_).Run(kOk, buffer);
68 DCHECK(!read_cb_.is_null());
69 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
73 DCHECK(!read_cb_.is_null());
74 base::ResetAndReturn(&read_cb_).Run(kOk, DecoderBuffer::CreateEOSBuffer());
79 if (!read_cb_.is_null()
    [all...]
audio_pull_fifo.h 49 const ReadCB read_cb_; member in class:media::AudioPullFifo
fake_text_track_stream.h 41 ReadCB read_cb_; member in class:media::FakeTextTrackStream
multi_channel_resampler.h 38 // Resamples |frames| of data from |read_cb_| into AudioBus.
56 ReadCB read_cb_; member in class:media::MultiChannelResampler
audio_pull_fifo.cc 15 : read_cb_(read_cb),
37 read_cb_.Run(write_pos, fifo_.get());
multi_channel_resampler.cc 18 : read_cb_(read_cb),
89 read_cb_.Run(output_frames_ready_, wrapped_resampler_audio_bus_.get());
95 // Copy the channel data from what we received from |read_cb_|.
sinc_resampler.h 58 // Resample |frames| of data from |read_cb_| into |destination|.
62 // single call to |read_cb_| for more data.
110 const ReadCB read_cb_; member in class:media::SincResampler
112 // The size (in samples) to request from each |read_cb_| execution.
  /external/chromium_org/media/audio/
fake_audio_consumer.cc 42 // Task that regularly calls |read_cb_| according to the playback rate as
51 base::Lock read_cb_lock_; // Held while mutating or running |read_cb_|.
52 ReadCB read_cb_; member in class:media::FakeAudioConsumer::Worker
98 DCHECK(read_cb_.is_null());
103 return read_cb_.is_null();
111 DCHECK(read_cb_.is_null());
112 read_cb_ = read_cb;
128 if (read_cb_.is_null())
130 read_cb_.Reset();
145 if (!read_cb_.is_null()
    [all...]
  /external/chromium_org/media/filters/
fake_demuxer_stream.cc 56 DCHECK(read_cb_.is_null());
58 read_cb_ = BindToCurrentLoop(read_cb);
103 DCHECK(!read_cb_.is_null());
112 if (!read_cb_.is_null())
113 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
127 DCHECK(!read_cb_.is_null());
134 base::ResetAndReturn(&read_cb_).Run(kOk,
142 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL);
166 base::ResetAndReturn(&read_cb_).Run(kOk, buffer);
decrypting_audio_decoder.cc 91 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported.";
93 read_cb_ = BindToCurrentLoop(read_cb);
97 base::ResetAndReturn(&read_cb_).Run(kOk, AudioBuffer::CreateEOSBuffer());
102 base::ResetAndReturn(&read_cb_).Run(kOk, queued_audio_frames_.front());
134 DCHECK(!read_cb_.is_null());
139 DCHECK(!read_cb_.is_null());
141 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
144 DCHECK(read_cb_.is_null());
211 DCHECK(read_cb_.is_null()); // No Read() before initialization finished.
234 DCHECK(!read_cb_.is_null())
    [all...]
decrypting_demuxer_stream.cc 69 CHECK(read_cb_.is_null()) << "Overlapping reads are not supported.";
71 read_cb_ = BindToCurrentLoop(read_cb);
103 DCHECK(!read_cb_.is_null());
108 DCHECK(!read_cb_.is_null());
110 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
113 DCHECK(read_cb_.is_null());
139 if (!read_cb_.is_null())
140 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
205 DCHECK(!read_cb_.is_null());
219 base::ResetAndReturn(&read_cb_).Run(kConfigChanged, NULL)
    [all...]
video_frame_stream.cc 66 DCHECK(read_cb_.is_null());
77 read_cb_ = read_cb;
141 if (!read_cb_.is_null())
143 base::ResetAndReturn(&read_cb_), ABORTED, scoped_refptr<VideoFrame>()));
178 DCHECK(read_cb_.is_null());
208 DCHECK(!read_cb_.is_null());
209 base::ResetAndReturn(&read_cb_).Run(status, frame);
213 // Abort read during pending reset. It is safe to fire the |read_cb_| directly
225 DCHECK(!read_cb_.is_null());
246 DCHECK(!read_cb_.is_null())
    [all...]
fake_demuxer_stream.h 76 ReadCB read_cb_; member in class:media::FakeDemuxerStream
opus_audio_decoder.cc 300 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported.";
301 read_cb_ = BindToCurrentLoop(read_cb);
337 DCHECK(!read_cb_.is_null());
345 DCHECK(!read_cb_.is_null());
350 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
359 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
374 base::ResetAndReturn(&read_cb_).Run(kOk, AudioBuffer::CreateEOSBuffer());
383 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
394 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
411 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL)
    [all...]
ffmpeg_audio_decoder.cc 117 CHECK(read_cb_.is_null()) << "Overlapping decodes are not supported.";
119 read_cb_ = BindToCurrentLoop(read_cb);
128 base::ResetAndReturn(&read_cb_).Run(
230 DCHECK(!read_cb_.is_null());
239 DCHECK(!read_cb_.is_null());
245 base::ResetAndReturn(&read_cb_).Run(kAborted, NULL);
259 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
270 base::ResetAndReturn(&read_cb_).Run(
284 base::ResetAndReturn(&read_cb_).Run(kDecodeError, NULL);
320 base::ResetAndReturn(&read_cb_).Run
    [all...]
audio_renderer_impl_unittest.cc 151 EXPECT_TRUE(read_cb_.is_null());
180 EXPECT_TRUE(read_cb_.is_null());
211 return !read_cb_.is_null();
216 if (!read_cb_.is_null())
225 DCHECK(!read_cb_.is_null());
232 CHECK(!read_cb_.is_null());
394 CHECK(read_cb_.is_null()) << "Overlapping reads are not permitted";
395 read_cb_ = read_cb;
403 CHECK(read_cb_.is_null())
411 CHECK(!read_cb_.is_null())
423 AudioDecoder::ReadCB read_cb_; member in class:media::AudioRendererImplTest
    [all...]
decrypting_demuxer_stream.h 108 ReadCB read_cb_; member in class:media::DecryptingDemuxerStream
ffmpeg_audio_decoder.h 94 ReadCB read_cb_; member in class:media::FFmpegAudioDecoder
opus_audio_decoder.h 75 ReadCB read_cb_; member in class:media::OpusAudioDecoder
video_renderer_impl_unittest.cc 260 if (!read_cb_.is_null())
269 DCHECK(!read_cb_.is_null());
274 CHECK(!read_cb_.is_null());
278 read_cb_, decode_results_.front().first,
281 read_cb_.Reset();
319 CHECK(read_cb_.is_null());
320 read_cb_ = read_cb;
335 if (!read_cb_.is_null()) {
346 if (!read_cb_.is_null()) {
362 VideoDecoder::DecodeCB read_cb_; member in class:media::VideoRendererImplTest
    [all...]
decrypting_audio_decoder.h 116 ReadCB read_cb_; member in class:media::DecryptingAudioDecoder
video_frame_stream.h 101 // Satisfy pending |read_cb_| with |status| and |frame|.
104 // Abort pending |read_cb_|.
145 ReadCB read_cb_; member in class:media::VideoFrameStream
  /external/chromium_org/content/renderer/media/
rtc_video_decoder_factory_tv.cc 55 ReadCB read_cb_; member in class:content::RTCDemuxerStream
104 DCHECK(read_cb_.is_null());
110 read_cb_ = media::BindToLoop(base::MessageLoopProxy::current(), read_cb);
118 if (!read_cb_.is_null())
119 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kAborted, NULL);
125 if (read_cb_.is_null() || buffer_queue_.empty())
142 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kConfigChanged, NULL);
146 base::ResetAndReturn(&read_cb_).Run(DemuxerStream::kOk, front.decoder_buffer);
buffered_resource_loader.cc 211 read_cb_.Reset();
223 DCHECK(read_cb_.is_null());
229 read_cb_ = read_cb;
501 DCHECK(read_cb_.is_null())
536 DCHECK(read_cb_.is_null())
621 DCHECK(read_cb_.is_null() || last_offset_ > buffer_.forward_bytes())
623 return read_cb_.is_null();
764 base::ResetAndReturn(&read_cb_).Run(status, bytes_read);
buffered_resource_loader.h 233 // Method that does the actual read and calls the |read_cb_|, assuming the
247 bool HasPendingRead() { return !read_cb_.is_null(); }
299 ReadCB read_cb_; member in class:content::BufferedResourceLoader

Completed in 1087 milliseconds

1 2