| 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_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ | 11 #ifndef WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ |
| 12 #define WEBRTC_SDK_ANDROID_SRC_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/api/video/video_frame.h" | 16 #include "webrtc/api/video/video_frame.h" |
| 17 #include "webrtc/api/video/video_frame_buffer.h" | 17 #include "webrtc/api/video/video_frame_buffer.h" |
| 18 #include "webrtc/api/video/video_rotation.h" | 18 #include "webrtc/api/video/video_rotation.h" |
| 19 #include "webrtc/base/callback.h" | 19 #include "webrtc/rtc_base/callback.h" |
| 20 #include "webrtc/sdk/android/src/jni/jni_helpers.h" | 20 #include "webrtc/sdk/android/src/jni/jni_helpers.h" |
| 21 | 21 |
| 22 namespace webrtc_jni { | 22 namespace webrtc_jni { |
| 23 | 23 |
| 24 // Open gl texture matrix, in column-major order. Operations are | 24 // Open gl texture matrix, in column-major order. Operations are |
| 25 // in-place. | 25 // in-place. |
| 26 class Matrix { | 26 class Matrix { |
| 27 public: | 27 public: |
| 28 Matrix(JNIEnv* jni, jfloatArray a); | 28 Matrix(JNIEnv* jni, jfloatArray a); |
| 29 | 29 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 jmethodID j_get_timestamp_ns_id_; | 158 jmethodID j_get_timestamp_ns_id_; |
| 159 | 159 |
| 160 ScopedGlobalRef<jclass> j_video_frame_buffer_class_; | 160 ScopedGlobalRef<jclass> j_video_frame_buffer_class_; |
| 161 jmethodID j_retain_id_; | 161 jmethodID j_retain_id_; |
| 162 jmethodID j_release_id_; | 162 jmethodID j_release_id_; |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 } // namespace webrtc_jni | 165 } // namespace webrtc_jni |
| 166 | 166 |
| 167 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ | 167 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ |
| OLD | NEW |