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

Side by Side Diff: webrtc/modules/video_render/linux/video_x11_render.h

Issue 1912143002: Delete video_render module. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Move -framework flags from legacy_objc_api_tests.gyp to legacy_objc_api.gyp. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_
12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_
13
14 #include "webrtc/modules/video_render/video_render_defines.h"
15
16 #include <X11/Xlib.h>
17 #include <map>
18
19 namespace webrtc {
20 class CriticalSectionWrapper;
21
22 class VideoX11Channel;
23
24 class VideoX11Render
25 {
26
27 public:
28 VideoX11Render(Window window);
29 ~VideoX11Render();
30
31 int32_t Init();
32 int32_t ChangeWindow(Window window);
33
34 VideoX11Channel* CreateX11RenderChannel(int32_t streamId,
35 int32_t zOrder,
36 const float left,
37 const float top,
38 const float right,
39 const float bottom);
40
41 int32_t DeleteX11RenderChannel(int32_t streamId);
42
43 int32_t GetIncomingStreamProperties(int32_t streamId,
44 uint32_t& zOrder,
45 float& left, float& top,
46 float& right, float& bottom);
47
48 private:
49 Window _window;
50 CriticalSectionWrapper& _critSect;
51 std::map<int, VideoX11Channel*> _streamIdToX11ChannelMap;
52
53 };
54
55
56 } // namespace webrtc
57
58 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_LINUX_VIDEO_X11_RENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_render/linux/video_x11_channel.cc ('k') | webrtc/modules/video_render/linux/video_x11_render.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698