| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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_API_JAVA_JNI_NATIVE_HANDLE_IMPL_H_ | 11 #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ |
| 12 #define WEBRTC_API_JAVA_JNI_NATIVE_HANDLE_IMPL_H_ | 12 #define WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ |
| 13 | 13 |
| 14 #include <jni.h> | 14 #include <jni.h> |
| 15 | 15 |
| 16 #include "webrtc/common_video/include/video_frame_buffer.h" | 16 #include "webrtc/common_video/include/video_frame_buffer.h" |
| 17 #include "webrtc/common_video/rotation.h" | 17 #include "webrtc/common_video/rotation.h" |
| 18 | 18 |
| 19 namespace webrtc_jni { | 19 namespace webrtc_jni { |
| 20 | 20 |
| 21 // Open gl texture matrix, in column-major order. Operations are | 21 // Open gl texture matrix, in column-major order. Operations are |
| 22 // in-place. | 22 // in-place. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // AndroidVideoCapturerJni or the C++ SurfaceTextureHelper, to keep | 77 // AndroidVideoCapturerJni or the C++ SurfaceTextureHelper, to keep |
| 78 // a global reference. TODO(nisse): Make this a reference to the C++ | 78 // a global reference. TODO(nisse): Make this a reference to the C++ |
| 79 // SurfaceTextureHelper instead, but that requires some refactoring | 79 // SurfaceTextureHelper instead, but that requires some refactoring |
| 80 // of AndroidVideoCapturerJni. | 80 // of AndroidVideoCapturerJni. |
| 81 jobject surface_texture_helper_; | 81 jobject surface_texture_helper_; |
| 82 rtc::Callback0<void> no_longer_used_cb_; | 82 rtc::Callback0<void> no_longer_used_cb_; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace webrtc_jni | 85 } // namespace webrtc_jni |
| 86 | 86 |
| 87 #endif // WEBRTC_API_JAVA_JNI_NATIVE_HANDLE_IMPL_H_ | 87 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ |
| OLD | NEW |