Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: media/filters/gpu_video_decoder.h

Issue 9718013: Merge FilterStatusCB into PipelineStatusCB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual ~Factories(); 53 virtual ~Factories();
54 }; 54 };
55 55
56 GpuVideoDecoder(MessageLoop* message_loop, 56 GpuVideoDecoder(MessageLoop* message_loop,
57 MessageLoop* vda_loop, 57 MessageLoop* vda_loop,
58 const scoped_refptr<Factories>& factories); 58 const scoped_refptr<Factories>& factories);
59 virtual ~GpuVideoDecoder(); 59 virtual ~GpuVideoDecoder();
60 60
61 // Filter implementation. 61 // Filter implementation.
62 virtual void Stop(const base::Closure& callback) OVERRIDE; 62 virtual void Stop(const base::Closure& callback) OVERRIDE;
63 virtual void Seek(base::TimeDelta time, const FilterStatusCB& cb) OVERRIDE; 63 virtual void Seek(base::TimeDelta time, const PipelineStatusCB& cb) OVERRIDE;
64 virtual void Pause(const base::Closure& callback) OVERRIDE; 64 virtual void Pause(const base::Closure& callback) OVERRIDE;
65 virtual void Flush(const base::Closure& callback) OVERRIDE; 65 virtual void Flush(const base::Closure& callback) OVERRIDE;
66 66
67 // VideoDecoder implementation. 67 // VideoDecoder implementation.
68 virtual void Initialize(DemuxerStream* demuxer_stream, 68 virtual void Initialize(DemuxerStream* demuxer_stream,
69 const PipelineStatusCB& status_cb, 69 const PipelineStatusCB& status_cb,
70 const StatisticsCB& statistics_cb) OVERRIDE; 70 const StatisticsCB& statistics_cb) OVERRIDE;
71 virtual void Read(const ReadCB& read_cb) OVERRIDE; 71 virtual void Read(const ReadCB& read_cb) OVERRIDE;
72 virtual const gfx::Size& natural_size() OVERRIDE; 72 virtual const gfx::Size& natural_size() OVERRIDE;
73 virtual bool HasAlpha() const OVERRIDE; 73 virtual bool HasAlpha() const OVERRIDE;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // Indicates PrepareForShutdownHack()'s been called. Makes further calls to 207 // Indicates PrepareForShutdownHack()'s been called. Makes further calls to
208 // this class not require the render thread's loop to be processing. 208 // this class not require the render thread's loop to be processing.
209 bool shutting_down_; 209 bool shutting_down_;
210 210
211 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); 211 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
212 }; 212 };
213 213
214 } // namespace media 214 } // namespace media
215 215
216 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 216 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698