OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 | 10 |
11 #include "webrtc/engine_configurations.h" | 11 #include "webrtc/engine_configurations.h" |
12 #include "webrtc/modules/video_render/windows/video_render_windows_impl.h" | 12 #include "webrtc/modules/video_render/windows/video_render_windows_impl.h" |
13 | 13 |
14 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 14 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
15 #include "webrtc/system_wrappers/interface/trace.h" | 15 #include "webrtc/system_wrappers/include/trace.h" |
16 #ifdef DIRECT3D9_RENDERING | 16 #ifdef DIRECT3D9_RENDERING |
17 #include "webrtc/modules/video_render/windows/video_render_direct3d9.h" | 17 #include "webrtc/modules/video_render/windows/video_render_direct3d9.h" |
18 #endif | 18 #endif |
19 | 19 |
20 #include <tchar.h> | 20 #include <tchar.h> |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 VideoRenderWindowsImpl::VideoRenderWindowsImpl(const int32_t id, | 24 VideoRenderWindowsImpl::VideoRenderWindowsImpl(const int32_t id, |
25 const VideoRenderType videoRenderType, void* window, const bool fullscreen) | 25 const VideoRenderType videoRenderType, void* window, const bool fullscreen) |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 } | 328 } |
329 else | 329 else |
330 { | 330 { |
331 error = _ptrRendererWin->SetBitmap(bitMap, pictureId, colorKey, left, | 331 error = _ptrRendererWin->SetBitmap(bitMap, pictureId, colorKey, left, |
332 top, right, bottom); | 332 top, right, bottom); |
333 } | 333 } |
334 return error; | 334 return error; |
335 } | 335 } |
336 | 336 |
337 } // namespace webrtc | 337 } // namespace webrtc |
OLD | NEW |