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

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

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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 #include "webrtc/sdk/android/src/jni/native_handle_impl.h" 11 #include "webrtc/sdk/android/src/jni/native_handle_impl.h"
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "webrtc/base/bind.h"
16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/keep_ref_until_done.h"
18 #include "webrtc/base/logging.h"
19 #include "webrtc/base/scoped_ref_ptr.h"
20 #include "webrtc/base/timeutils.h"
21 #include "webrtc/common_video/include/video_frame_buffer.h" 15 #include "webrtc/common_video/include/video_frame_buffer.h"
16 #include "webrtc/rtc_base/bind.h"
17 #include "webrtc/rtc_base/checks.h"
18 #include "webrtc/rtc_base/keep_ref_until_done.h"
19 #include "webrtc/rtc_base/logging.h"
20 #include "webrtc/rtc_base/scoped_ref_ptr.h"
21 #include "webrtc/rtc_base/timeutils.h"
22 #include "webrtc/sdk/android/src/jni/classreferenceholder.h" 22 #include "webrtc/sdk/android/src/jni/classreferenceholder.h"
23 #include "webrtc/sdk/android/src/jni/jni_helpers.h" 23 #include "webrtc/sdk/android/src/jni/jni_helpers.h"
24 #include "webrtc/system_wrappers/include/aligned_malloc.h" 24 #include "webrtc/system_wrappers/include/aligned_malloc.h"
25 25
26 namespace webrtc_jni { 26 namespace webrtc_jni {
27 27
28 Matrix::Matrix(JNIEnv* jni, jfloatArray a) { 28 Matrix::Matrix(JNIEnv* jni, jfloatArray a) {
29 RTC_CHECK_EQ(16, jni->GetArrayLength(a)); 29 RTC_CHECK_EQ(16, jni->GetArrayLength(a));
30 jfloat* ptr = jni->GetFloatArrayElements(a, nullptr); 30 jfloat* ptr = jni->GetFloatArrayElements(a, nullptr);
31 for (int i = 0; i < 16; ++i) { 31 for (int i = 0; i < 16; ++i) {
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 int height, 340 int height,
341 const Matrix& matrix, 341 const Matrix& matrix,
342 jobject j_video_frame_buffer) const { 342 jobject j_video_frame_buffer) const {
343 JNIEnv* jni = AttachCurrentThreadIfNeeded(); 343 JNIEnv* jni = AttachCurrentThreadIfNeeded();
344 return new rtc::RefCountedObject<AndroidVideoBuffer>( 344 return new rtc::RefCountedObject<AndroidVideoBuffer>(
345 jni, j_retain_id_, j_release_id_, width, height, matrix, 345 jni, j_retain_id_, j_release_id_, width, height, matrix,
346 j_video_frame_buffer); 346 j_video_frame_buffer);
347 } 347 }
348 348
349 } // namespace webrtc_jni 349 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « webrtc/sdk/android/src/jni/native_handle_impl.h ('k') | webrtc/sdk/android/src/jni/ownedfactoryandthreads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698