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 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_SUR
FACE_VIEW_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_SUR
FACE_VIEW_H_ |
12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_SUR
FACE_VIEW_H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_SUR
FACE_VIEW_H_ |
13 | 13 |
14 #include <jni.h> | 14 #include <jni.h> |
15 | 15 |
16 #include "webrtc/modules/video_render/android/video_render_android_impl.h" | 16 #include "webrtc/modules/video_render/android/video_render_android_impl.h" |
17 #include "webrtc/modules/video_render/include/video_render_defines.h" | 17 #include "webrtc/modules/video_render/video_render_defines.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 class CriticalSectionWrapper; | 21 class CriticalSectionWrapper; |
22 | 22 |
23 class AndroidSurfaceViewChannel : public AndroidStream { | 23 class AndroidSurfaceViewChannel : public AndroidStream { |
24 public: | 24 public: |
25 AndroidSurfaceViewChannel(uint32_t streamId, | 25 AndroidSurfaceViewChannel(uint32_t streamId, |
26 JavaVM* jvm, | 26 JavaVM* jvm, |
27 VideoRenderAndroid& renderer, | 27 VideoRenderAndroid& renderer, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const float bottom, | 74 const float bottom, |
75 VideoRenderAndroid& renderer); | 75 VideoRenderAndroid& renderer); |
76 private: | 76 private: |
77 jobject _javaRenderObj; | 77 jobject _javaRenderObj; |
78 jclass _javaRenderClass; | 78 jclass _javaRenderClass; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace webrtc | 81 } // namespace webrtc |
82 | 82 |
83 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_
SURFACE_VIEW_H_ | 83 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_ANDROID_VIDEO_RENDER_ANDROID_
SURFACE_VIEW_H_ |
OLD | NEW |