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

Side by Side Diff: media/tools/player_wtl/wtl_renderer.h

Issue 431046: Re-organizing all tools under /src/media to be consistent with the rest of the repository. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « media/tools/player_wtl/view.h ('k') | media/tools/player_wtl/wtl_renderer.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 // Video renderer for media player. 5 // Video renderer for media player.
6 6
7 #ifndef MEDIA_PLAYER_WTL_RENDERER_H_ 7 #ifndef MEDIA_TOOLS_PLAYER_WTL_WTL_RENDERER_H_
8 #define MEDIA_PLAYER_WTL_RENDERER_H_ 8 #define MEDIA_TOOLS_PLAYER_WTL_WTL_RENDERER_H_
9 9
10 #include "media/filters/video_renderer_base.h" 10 #include "media/filters/video_renderer_base.h"
11 11
12 class WtlVideoWindow; 12 class WtlVideoWindow;
13 13
14 class WtlVideoRenderer : public media::VideoRendererBase { 14 class WtlVideoRenderer : public media::VideoRendererBase {
15 public: 15 public:
16 explicit WtlVideoRenderer(WtlVideoWindow* window); 16 explicit WtlVideoRenderer(WtlVideoWindow* window);
17 17
18 static bool IsMediaFormatSupported(const media::MediaFormat& media_format); 18 static bool IsMediaFormatSupported(const media::MediaFormat& media_format);
19 19
20 protected: 20 protected:
21 // VideoRendererBase implementation. 21 // VideoRendererBase implementation.
22 virtual bool OnInitialize(media::VideoDecoder* decoder); 22 virtual bool OnInitialize(media::VideoDecoder* decoder);
23 virtual void OnStop(); 23 virtual void OnStop();
24 virtual void OnFrameAvailable(); 24 virtual void OnFrameAvailable();
25 25
26 private: 26 private:
27 // Only allow to be deleted by reference counting. 27 // Only allow to be deleted by reference counting.
28 friend class scoped_refptr<WtlVideoRenderer>; 28 friend class scoped_refptr<WtlVideoRenderer>;
29 virtual ~WtlVideoRenderer(); 29 virtual ~WtlVideoRenderer();
30 30
31 WtlVideoWindow* window_; 31 WtlVideoWindow* window_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(WtlVideoRenderer); 33 DISALLOW_COPY_AND_ASSIGN(WtlVideoRenderer);
34 }; 34 };
35 35
36 #endif // MEDIA_PLAYER_WTL_RENDERER_H_ 36 #endif // MEDIA_TOOLS_PLAYER_WTL_WTL_RENDERER_H_
OLDNEW
« no previous file with comments | « media/tools/player_wtl/view.h ('k') | media/tools/player_wtl/wtl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698