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

Side by Side Diff: webrtc/test/video_renderer.h

Issue 1506773002: Merge webrtc/video_engine/ into webrtc/video/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « webrtc/test/video_capturer.h ('k') | webrtc/test/win/d3d_renderer.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 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #ifndef WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ 10 #ifndef WEBRTC_TEST_VIDEO_RENDERER_H_
11 #define WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ 11 #define WEBRTC_TEST_VIDEO_RENDERER_H_
12 12
13 #include <stddef.h> 13 #include <stddef.h>
14 14
15 #include "webrtc/video_renderer.h" 15 #include "webrtc/video_renderer.h"
16 16
17 namespace webrtc { 17 namespace webrtc {
18 namespace test { 18 namespace test {
19 class VideoRenderer : public webrtc::VideoRenderer { 19 class VideoRenderer : public webrtc::VideoRenderer {
20 public: 20 public:
21 // Creates a platform-specific renderer if possible, or a null implementation 21 // Creates a platform-specific renderer if possible, or a null implementation
22 // if failing. 22 // if failing.
23 static VideoRenderer* Create(const char* window_title, size_t width, 23 static VideoRenderer* Create(const char* window_title, size_t width,
24 size_t height); 24 size_t height);
25 // Returns a renderer rendering to a platform specific window if possible, 25 // Returns a renderer rendering to a platform specific window if possible,
26 // NULL if none can be created. 26 // NULL if none can be created.
27 // Creates a platform-specific renderer if possible, returns NULL if a 27 // Creates a platform-specific renderer if possible, returns NULL if a
28 // platform renderer could not be created. This occurs, for instance, when 28 // platform renderer could not be created. This occurs, for instance, when
29 // running without an X environment on Linux. 29 // running without an X environment on Linux.
30 static VideoRenderer* CreatePlatformRenderer(const char* window_title, 30 static VideoRenderer* CreatePlatformRenderer(const char* window_title,
31 size_t width, size_t height); 31 size_t width, size_t height);
32 virtual ~VideoRenderer() {} 32 virtual ~VideoRenderer() {}
33 protected: 33 protected:
34 VideoRenderer() {} 34 VideoRenderer() {}
35 }; 35 };
36 } // namespace test 36 } // namespace test
37 } // namespace webrtc 37 } // namespace webrtc
38 38
39 #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_VIDEO_RENDERER_H_ 39 #endif // WEBRTC_TEST_VIDEO_RENDERER_H_
OLDNEW
« no previous file with comments | « webrtc/test/video_capturer.h ('k') | webrtc/test/win/d3d_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698