Searched refs:done_cb (Results 1 - 25 of 43) sorted by relevance

12

/external/chromium_org/media/filters/
H A Dclockless_video_frame_scheduler.cc25 const DoneCB& done_cb) {
28 FROM_HERE, base::Bind(done_cb, frame, DISPLAYED));
22 ScheduleVideoFrame( const scoped_refptr<VideoFrame>& frame, base::TimeTicks , const DoneCB& done_cb) argument
H A Dtest_video_frame_scheduler.cc14 const DoneCB& done_cb)
15 : frame(frame), wall_ticks(wall_ticks), done_cb(done_cb) {
30 const DoneCB& done_cb) {
31 scheduled_frames_.push_back(ScheduledFrame(frame, wall_ticks, done_cb));
62 done_frames[i].done_cb.Run(done_frames[i].frame, reason);
11 ScheduledFrame( const scoped_refptr<VideoFrame> frame, base::TimeTicks wall_ticks, const DoneCB& done_cb) argument
27 ScheduleVideoFrame( const scoped_refptr<VideoFrame>& frame, base::TimeTicks wall_ticks, const DoneCB& done_cb) argument
H A Dvideo_frame_scheduler_impl.cc29 const DoneCB& done_cb) {
32 pending_frames_.push(PendingFrame(frame, wall_ticks, done_cb));
72 expired_frames.front().done_cb.Run(expired_frames.front().frame, DROPPED);
79 expired_frames.front().done_cb.Run(expired_frames.front().frame, DISPLAYED);
89 const DoneCB& done_cb)
90 : frame(frame), wall_ticks(wall_ticks), done_cb(done_cb) {
26 ScheduleVideoFrame( const scoped_refptr<VideoFrame>& frame, base::TimeTicks wall_ticks, const DoneCB& done_cb) argument
86 PendingFrame( const scoped_refptr<VideoFrame>& frame, base::TimeTicks wall_ticks, const DoneCB& done_cb) argument
H A Dtest_video_frame_scheduler.h20 const DoneCB& done_cb);
25 DoneCB done_cb; member in struct:media::TestVideoFrameScheduler::ScheduledFrame
34 const DoneCB& done_cb) OVERRIDE;
H A Dvideo_frame_scheduler_proxy.cc30 const DoneCB& done_cb) {
38 BindToCurrentLoop(done_cb)));
27 ScheduleVideoFrame( const scoped_refptr<VideoFrame>& frame, base::TimeTicks wall_ticks, const DoneCB& done_cb) argument
H A Dclockless_video_frame_scheduler.h23 const DoneCB& done_cb) OVERRIDE;
H A Dvideo_frame_scheduler.h30 // Schedule |frame| to be displayed at |wall_ticks|, firing |done_cb| when
33 // To avoid reentrancy issues, |done_cb| is run on a separate calling stack.
36 const DoneCB& done_cb) = 0;
40 // There is no guarantee that |done_cb|'s for previously scheduled frames
H A Dvideo_frame_scheduler_impl.h39 const DoneCB& done_cb) OVERRIDE;
56 const DoneCB& done_cb);
64 DoneCB done_cb; member in struct:media::VideoFrameSchedulerImpl::PendingFrame
H A Dvideo_frame_scheduler_proxy.h35 const DoneCB& done_cb) OVERRIDE;
H A Drenderer_impl.cc189 PipelineStatusCB done_cb = local
194 task_runner_->PostTask(FROM_HERE, base::Bind(done_cb, PIPELINE_OK));
200 done_cb,
229 PipelineStatusCB done_cb = local
234 task_runner_->PostTask(FROM_HERE, base::Bind(done_cb, PIPELINE_OK));
242 done_cb,
H A Dgpu_video_decoder.h90 const DecodeCB& done_cb);
94 DecodeCB done_cb; member in struct:media::GpuVideoDecoder::PendingDecoderBuffer
H A Dpipeline_integration_test_base.h144 const AddTextTrackDoneCB& done_cb));
/external/chromium_org/media/base/
H A Dtext_track.h33 const AddTextTrackDoneCB& done_cb)> AddTextTrackCB;
H A Dserial_runner.cc70 const PipelineStatusCB& done_cb)
73 done_cb_(done_cb),
75 // Respect both cancellation and calling stack guarantees for |done_cb|
91 const Queue& bound_fns, const PipelineStatusCB& done_cb) {
93 new SerialRunner(bound_fns, done_cb));
69 SerialRunner(const Queue& bound_fns, const PipelineStatusCB& done_cb) argument
90 Run( const Queue& bound_fns, const PipelineStatusCB& done_cb) argument
H A Dserial_runner.h50 // Executes the bound functions in series, executing |done_cb| when finished.
53 // including |done_cb|.
59 // In all cases, |done_cb| is guaranteed to execute on a separate calling
63 // functions, including |done_cb|.
65 const Queue& bound_fns, const PipelineStatusCB& done_cb);
70 SerialRunner(const Queue& bound_fns, const PipelineStatusCB& done_cb);
H A Dpipeline.h258 const AddTextTrackDoneCB& done_cb);
260 // Kicks off initialization for each media object, executing |done_cb| with
262 void InitializeDemuxer(const PipelineStatusCB& done_cb);
263 void InitializeRenderer(const base::Closure& done_cb);
269 // executing |done_cb| with the final status when completed.
270 void DoSeek(base::TimeDelta seek_timestamp, const PipelineStatusCB& done_cb);
273 // |done_cb| when completed.
274 void DoStop(const PipelineStatusCB& done_cb);
H A Dpipeline.cc329 PipelineStatusCB done_cb = local
336 return InitializeDemuxer(done_cb);
339 return InitializeRenderer(base::Bind(done_cb, PIPELINE_OK));
376 const PipelineStatusCB& done_cb) {
402 pending_callbacks_ = SerialRunner::Run(bound_fns, done_cb);
405 void Pipeline::DoStop(const PipelineStatusCB& done_cb) { argument
425 task_runner_->PostTask(FROM_HERE, base::Bind(done_cb, PIPELINE_OK));
669 const AddTextTrackDoneCB& done_cb) {
671 add_text_track_cb_.Run(config, done_cb);
674 void Pipeline::InitializeDemuxer(const PipelineStatusCB& done_cb) { argument
375 DoSeek(TimeDelta seek_timestamp, const PipelineStatusCB& done_cb) argument
668 OnAddTextTrack(const TextTrackConfig& config, const AddTextTrackDoneCB& done_cb) argument
679 InitializeRenderer(const base::Closure& done_cb) argument
[all...]
H A Dserial_runner_unittest.cc79 const base::Closure& done_cb) {
86 done_cb.Run();
78 RunBoundClosure(size_t index, const base::Closure& done_cb) argument
/external/chromium_org/chromecast/media/cma/base/
H A Dmock_frame_consumer.h33 // Starts consuming frames. Invoke |done_cb| when all the expected frames
35 void Start(const base::Closure& done_cb);
H A Dmock_frame_consumer.cc39 void MockFrameConsumer::Start(const base::Closure& done_cb) { argument
40 done_cb_ = done_cb;
/external/chromium_org/chrome/browser/extensions/
H A Dcomponent_loader.h102 // Calls |done_cb|, if not a null callback, on success.
103 // NOTE: |done_cb| is not called if the component loader is shut down
105 void AddChromeVoxExtension(const base::Closure& done_cb);
159 // |done_cb| after adding the extension.
162 const base::Closure& done_cb,
/external/chromium_org/chrome/browser/chromeos/accessibility/
H A Daccessibility_manager.cc165 const base::Closure& done_cb);
170 base::Closure done_cb) {
175 done_cb = base::Bind(
180 done_cb);
182 extension_service->component_loader()->AddChromeVoxExtension(done_cb);
189 const base::Closure& done_cb) {
190 // Make sure to always run |done_cb|. ChromeVox was loaded even if we end up
192 base::ScopedClosureRunner done_runner(done_cb);
563 base::Closure done_cb = base::Bind(&AccessibilityManager::PostLoadChromeVox, local
571 LoadChromeVoxToLockScreen(done_cb);
167 LoadChromeVoxExtension( Profile* profile, RenderViewHost* render_view_host, base::Closure done_cb) argument
185 InjectChromeVoxContentScript( ExtensionService* extension_service, int render_process_id, int render_view_id, const base::Closure& done_cb) argument
577 LoadChromeVoxToUserScreen( const base::Closure& done_cb) argument
606 LoadChromeVoxToLockScreen( const base::Closure& done_cb) argument
[all...]
H A Daccessibility_manager.h204 void LoadChromeVoxToUserScreen(const base::Closure& done_cb);
205 void LoadChromeVoxToLockScreen(const base::Closure& done_cb);
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dav_streamer_proxy.cc57 void AvStreamerProxy::StopAndFlush(const base::Closure& done_cb) { argument
66 frame_provider_->Flush(done_cb);
/external/chromium_org/media/base/android/
H A Dmedia_decoder_job.cc82 base::Closure done_cb = base::ResetAndReturn(&data_received_cb_); local
86 if (done_cb.is_null())
95 done_cb.Run();
294 void MediaDecoderJob::RequestData(const base::Closure& done_cb) { argument
303 data_received_cb_ = done_cb;

Completed in 229 milliseconds

12