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

Side by Side Diff: webrtc/sdk/android/src/jni/native_handle_impl.h

Issue 2517173004: Move VideoFrame and related declarations to webrtc/api/video. (Closed)
Patch Set: Make rotation check clearer. Created 3 years, 11 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
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_rotation.h"
16 #include "webrtc/common_video/include/video_frame_buffer.h" 17 #include "webrtc/common_video/include/video_frame_buffer.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.
23 class Matrix { 23 class Matrix {
24 public: 24 public:
25 Matrix(JNIEnv* jni, jfloatArray a); 25 Matrix(JNIEnv* jni, jfloatArray a);
26 26
27 jfloatArray ToJava(JNIEnv* jni); 27 jfloatArray ToJava(JNIEnv* jni);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_ 87 #endif // WEBRTC_SDK_ANDROID_SRC_JNI_NATIVE_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_sender_unittest.cc ('k') | webrtc/sdk/android/src/jni/surfacetexturehelper_jni.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698