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

Unified Diff: content/renderer/media/webrtc_external_renderer.h

Issue 7193001: Move rtc_video_decoder* from media/filter/ to content/renderer/media/. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc_external_renderer.h
===================================================================
--- content/renderer/media/webrtc_external_renderer.h (revision 0)
+++ content/renderer/media/webrtc_external_renderer.h (revision 0)
@@ -0,0 +1,22 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_
+#define CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_
+
+// TODO(ronghuawu) ExternalRenderer should be replaced by
+// cricket::VideoRenderer from libjingle
+class ExternalRenderer {
scherkus (not reviewing) 2011/06/29 00:39:28 filename should match class name, so either: 1)
Ronghua 2011/06/29 20:36:39 Done.
+ public:
+ virtual int FrameSizeChange(unsigned int width,
+ unsigned int height,
+ unsigned int number_of_streams) = 0;
+ virtual int DeliverFrame(unsigned char* buffer, int buffer_size) = 0;
+
+ protected:
+ virtual ~ExternalRenderer() {}
+};
+
+#endif // CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_
+
scherkus (not reviewing) 2011/06/29 00:39:28 nit: blank line
Ronghua 2011/06/29 20:36:39 Done.
Property changes on: content/renderer/media/webrtc_external_renderer.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698