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

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

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_video_decoder.cc ('k') | media/filters/omx_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) 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_OMX_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_OMX_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_OMX_VIDEO_DECODER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "media/base/filters.h" 10 #include "media/base/filters.h"
(...skipping 15 matching lines...) Expand all
26 explicit OmxVideoDecoder(VideoDecodeContext* decode_context); 26 explicit OmxVideoDecoder(VideoDecodeContext* decode_context);
27 virtual ~OmxVideoDecoder(); 27 virtual ~OmxVideoDecoder();
28 28
29 // Filter implementations. 29 // Filter implementations.
30 virtual void Initialize(DemuxerStream* stream, FilterCallback* callback); 30 virtual void Initialize(DemuxerStream* stream, FilterCallback* callback);
31 virtual void Stop(FilterCallback* callback); 31 virtual void Stop(FilterCallback* callback);
32 virtual void Flush(FilterCallback* callback); 32 virtual void Flush(FilterCallback* callback);
33 virtual void Seek(base::TimeDelta time, FilterCallback* callback); 33 virtual void Seek(base::TimeDelta time, FilterCallback* callback);
34 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> frame); 34 virtual void ProduceVideoFrame(scoped_refptr<VideoFrame> frame);
35 virtual bool ProvidesBuffer(); 35 virtual bool ProvidesBuffer();
36 virtual const MediaFormat& media_format() { return media_format_; } 36 virtual const MediaFormat& media_format();
37 37
38 private: 38 private:
39 // VideoDecodeEngine::EventHandler interface. 39 // VideoDecodeEngine::EventHandler interface.
40 virtual void OnInitializeComplete(const VideoCodecInfo& info); 40 virtual void OnInitializeComplete(const VideoCodecInfo& info);
41 virtual void OnUninitializeComplete(); 41 virtual void OnUninitializeComplete();
42 virtual void OnFlushComplete(); 42 virtual void OnFlushComplete();
43 virtual void OnSeekComplete(); 43 virtual void OnSeekComplete();
44 virtual void OnError(); 44 virtual void OnError();
45 virtual void OnFormatChange(VideoStreamInfo stream_info); 45 virtual void OnFormatChange(VideoStreamInfo stream_info);
46 virtual void ProduceVideoSample(scoped_refptr<Buffer> buffer); 46 virtual void ProduceVideoSample(scoped_refptr<Buffer> buffer);
(...skipping 17 matching lines...) Expand all
64 scoped_ptr<FilterCallback> seek_callback_; 64 scoped_ptr<FilterCallback> seek_callback_;
65 65
66 VideoCodecInfo info_; 66 VideoCodecInfo info_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecoder); 68 DISALLOW_COPY_AND_ASSIGN(OmxVideoDecoder);
69 }; 69 };
70 70
71 } // namespace media 71 } // namespace media
72 72
73 #endif // MEDIA_FILTERS_OMX_VIDEO_DECODER_H_ 73 #endif // MEDIA_FILTERS_OMX_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | media/filters/omx_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698