Searched refs:read_cb (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/chromecast/media/cma/base/
H A Dmock_frame_provider.cc38 void MockFrameProvider::Read(const ReadCB& read_cb) { argument
46 base::Unretained(this), read_cb),
52 base::Unretained(this), read_cb));
60 void MockFrameProvider::DoRead(const ReadCB& read_cb) { argument
91 read_cb.Run(buffer, audio_config, video_config);
H A Dmock_frame_provider.h27 virtual void Read(const ReadCB& read_cb) OVERRIDE;
31 void DoRead(const ReadCB& read_cb);
H A Dcoded_frame_provider.h31 // |read_cb|.
33 // these configurations are returned as part of the |read_cb| callback.
34 // Invoking the |read_cb| callback with invalid audio/video configurations
36 virtual void Read(const ReadCB& read_cb) = 0;
40 // Note: any pending read is cancelled, meaning that any pending |read_cb|
H A Dbuffering_frame_provider.cc52 void BufferingFrameProvider::Read(const ReadCB& read_cb) { argument
55 DCHECK(!read_cb.is_null());
56 read_cb_ = read_cb;
/external/chromium_org/chromecast/media/cma/filters/
H A Ddemuxer_stream_adapter.h42 virtual void Read(const ReadCB& read_cb) OVERRIDE;
48 void ReadInternal(const ReadCB& read_cb);
49 void RequestBuffer(const ReadCB& read_cb);
52 void OnNewBuffer(const ReadCB& read_cb,
H A Ddemuxer_stream_adapter.cc83 void DemuxerStreamAdapter::Read(const ReadCB& read_cb) { argument
91 ReadInternal(read_cb);
94 void DemuxerStreamAdapter::ReadInternal(const ReadCB& read_cb) { argument
97 base::Bind(&DemuxerStreamAdapter::RequestBuffer, weak_this_, read_cb),
145 void DemuxerStreamAdapter::RequestBuffer(const ReadCB& read_cb) { argument
149 base::Bind(&DemuxerStreamAdapter::OnNewBuffer, weak_this_, read_cb)));
153 const ReadCB& read_cb,
180 ReadInternal(read_cb);
196 read_cb.Run(buffer, audio_config_, video_config_);
152 OnNewBuffer( const ReadCB& read_cb, ::media::DemuxerStream::Status status, const scoped_refptr< ::media::DecoderBuffer>& input) argument
H A Ddemuxer_stream_adapter_unittest.cc47 virtual void Read(const ReadCB& read_cb) OVERRIDE;
59 void DoRead(const ReadCB& read_cb);
89 void DummyDemuxerStream::Read(const ReadCB& read_cb) { argument
94 read_cb.Run(kConfigChanged,
103 read_cb),
107 DoRead(read_cb);
142 void DummyDemuxerStream::DoRead(const ReadCB& read_cb) { argument
148 read_cb.Run(kOk, buffer);
/external/chromium_org/media/tools/player_x11/
H A Ddata_source_logger.cc11 const media::DataSource::ReadCB& read_cb, int result) {
13 read_cb.Run(result);
30 const media::DataSource::ReadCB& read_cb) {
33 &LogAndRunReadCB, position, size, read_cb));
9 LogAndRunReadCB( int64 position, int size, const media::DataSource::ReadCB& read_cb, int result) argument
28 Read( int64 position, int size, uint8* data, const media::DataSource::ReadCB& read_cb) argument
H A Ddata_source_logger.h28 const media::DataSource::ReadCB& read_cb) OVERRIDE;
/external/chromium_org/media/audio/
H A Dfake_audio_consumer.h33 // Start executing |read_cb| at a regular intervals. Stop() must be called by
36 void Start(const ReadCB& read_cb);
H A Dfake_audio_consumer.cc29 void Start(const ReadCB& read_cb);
73 void FakeAudioConsumer::Start(const ReadCB& read_cb) { argument
75 worker_->Start(read_cb);
106 void FakeAudioConsumer::Worker::Start(const ReadCB& read_cb) { argument
108 DCHECK(!read_cb.is_null());
112 read_cb_ = read_cb;
/external/chromium_org/media/filters/
H A Dfile_data_source.cc33 const DataSource::ReadCB& read_cb) {
35 read_cb.Run(kReadError);
50 read_cb.Run(clamped_size);
32 Read(int64 position, int size, uint8* data, const DataSource::ReadCB& read_cb) argument
H A Dfile_data_source.h30 const DataSource::ReadCB& read_cb) OVERRIDE;
/external/chromium_org/media/base/
H A Dfake_text_track_stream.cc23 void FakeTextTrackStream::Read(const ReadCB& read_cb) { argument
24 DCHECK(!read_cb.is_null());
27 read_cb_ = read_cb;
H A Daudio_pull_fifo.h27 // Constructs an AudioPullFifo with the specified |read_cb|, which is used to
31 AudioPullFifo(int channels, int frames, const ReadCB& read_cb);
H A Ddata_source.h25 // or failed, |read_cb| is called with the number of bytes read or
28 const DataSource::ReadCB& read_cb) = 0;
H A Ddemuxer_stream.h59 virtual void Read(const ReadCB& read_cb) = 0;
H A Dmulti_channel_resampler.h28 // Constructs a MultiChannelResampler with the specified |read_cb|, which is
31 // frames of the AudioBus to be filled by |read_cb|.
35 const ReadCB& read_cb);
H A Daudio_pull_fifo.cc14 AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) argument
15 : read_cb_(read_cb),
H A Dmulti_channel_resampler.cc17 const ReadCB& read_cb)
18 : read_cb_(read_cb),
14 MultiChannelResampler(int channels, double io_sample_rate_ratio, size_t request_size, const ReadCB& read_cb) argument
/external/chromium_org/chrome/utility/media_galleries/
H A Dipc_data_source.cc29 const DataSource::ReadCB& read_cb) {
34 position, size, data, read_cb));
71 const DataSource::ReadCB& read_cb) {
86 request.callback = read_cb;
28 Read(int64 position, int size, uint8* data, const DataSource::ReadCB& read_cb) argument
70 ReadOnUtilityThread(int64 position, int size, uint8* data, const DataSource::ReadCB& read_cb) argument
H A Dipc_data_source.h37 const ReadCB& read_cb) OVERRIDE;
55 const ReadCB& read_cb);
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dcoded_frame_provider_host.cc34 void CodedFrameProviderHost::Read(const ReadCB& read_cb) { argument
39 read_cb_ = read_cb;
H A Dcoded_frame_provider_host.h31 virtual void Read(const ReadCB& read_cb) OVERRIDE;
/external/chromium_org/third_party/libevent/test/
H A Dtest-eof.c37 read_cb(int fd, short event, void *arg) function
78 event_set(&ev, pair[1], EV_READ, read_cb, &ev);

Completed in 245 milliseconds

123