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

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

Issue 5527003: Rename MediaFilter and MediaFilterCollection to Filter and FilterCollection, respectively. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Missed a few more Created 10 years 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_demuxer.h ('k') | media/filters/file_data_source.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_FFMPEG_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_FFMPEG_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_FFMPEG_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_FFMPEG_VIDEO_DECODER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 10 matching lines...) Expand all
21 namespace media { 21 namespace media {
22 22
23 class VideoDecodeEngine; 23 class VideoDecodeEngine;
24 24
25 class FFmpegVideoDecoder : public VideoDecoder, 25 class FFmpegVideoDecoder : public VideoDecoder,
26 public VideoDecodeEngine::EventHandler { 26 public VideoDecodeEngine::EventHandler {
27 public: 27 public:
28 explicit FFmpegVideoDecoder(VideoDecodeContext* decode_context); 28 explicit FFmpegVideoDecoder(VideoDecodeContext* decode_context);
29 virtual ~FFmpegVideoDecoder(); 29 virtual ~FFmpegVideoDecoder();
30 30
31 // MediaFilter implementation. 31 // Filter implementation.
32 virtual void Stop(FilterCallback* callback); 32 virtual void Stop(FilterCallback* callback);
33 virtual void Seek(base::TimeDelta time, FilterCallback* callback); 33 virtual void Seek(base::TimeDelta time, FilterCallback* callback);
34 virtual void Pause(FilterCallback* callback); 34 virtual void Pause(FilterCallback* callback);
35 virtual void Flush(FilterCallback* callback); 35 virtual void Flush(FilterCallback* callback);
36 36
37 // Decoder implementation. 37 // Decoder implementation.
38 virtual void Initialize(DemuxerStream* demuxer_stream, 38 virtual void Initialize(DemuxerStream* demuxer_stream,
39 FilterCallback* callback); 39 FilterCallback* callback);
40 virtual const MediaFormat& media_format() { return media_format_; } 40 virtual const MediaFormat& media_format() { return media_format_; }
41 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> video_frame); 41 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> video_frame);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // Pointer to the demuxer stream that will feed us compressed buffers. 132 // Pointer to the demuxer stream that will feed us compressed buffers.
133 scoped_refptr<DemuxerStream> demuxer_stream_; 133 scoped_refptr<DemuxerStream> demuxer_stream_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(FFmpegVideoDecoder); 135 DISALLOW_COPY_AND_ASSIGN(FFmpegVideoDecoder);
136 }; 136 };
137 137
138 } // namespace media 138 } // namespace media
139 139
140 #endif // MEDIA_FILTERS_FFMPEG_VIDEO_DECODER_H_ 140 #endif // MEDIA_FILTERS_FFMPEG_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_demuxer.h ('k') | media/filters/file_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698