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

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

Issue 3003873002: Bindings for injectable Java video encoders. (Closed)
Patch Set: Rebase Created 3 years, 3 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 #include "webrtc/sdk/android/src/jni/classreferenceholder.h" 10 #include "webrtc/sdk/android/src/jni/classreferenceholder.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 LoadClass(jni, "org/webrtc/RTCStats"); 98 LoadClass(jni, "org/webrtc/RTCStats");
99 LoadClass(jni, "org/webrtc/RTCStatsReport"); 99 LoadClass(jni, "org/webrtc/RTCStatsReport");
100 LoadClass(jni, "org/webrtc/RtpReceiver"); 100 LoadClass(jni, "org/webrtc/RtpReceiver");
101 LoadClass(jni, "org/webrtc/RtpSender"); 101 LoadClass(jni, "org/webrtc/RtpSender");
102 LoadClass(jni, "org/webrtc/SessionDescription"); 102 LoadClass(jni, "org/webrtc/SessionDescription");
103 LoadClass(jni, "org/webrtc/SessionDescription$Type"); 103 LoadClass(jni, "org/webrtc/SessionDescription$Type");
104 LoadClass(jni, "org/webrtc/StatsReport"); 104 LoadClass(jni, "org/webrtc/StatsReport");
105 LoadClass(jni, "org/webrtc/StatsReport$Value"); 105 LoadClass(jni, "org/webrtc/StatsReport$Value");
106 LoadClass(jni, "org/webrtc/SurfaceTextureHelper"); 106 LoadClass(jni, "org/webrtc/SurfaceTextureHelper");
107 LoadClass(jni, "org/webrtc/VideoCapturer"); 107 LoadClass(jni, "org/webrtc/VideoCapturer");
108 LoadClass(jni, "org/webrtc/VideoCodecInfo");
108 LoadClass(jni, "org/webrtc/VideoCodecStatus"); 109 LoadClass(jni, "org/webrtc/VideoCodecStatus");
109 LoadClass(jni, "org/webrtc/VideoDecoder$Settings"); 110 LoadClass(jni, "org/webrtc/VideoDecoder$Settings");
110 LoadClass(jni, "org/webrtc/VideoDecoderWrapperCallback"); 111 LoadClass(jni, "org/webrtc/VideoDecoderWrapperCallback");
112 LoadClass(jni, "org/webrtc/VideoEncoder");
113 LoadClass(jni, "org/webrtc/VideoEncoder$BitrateAllocation");
114 LoadClass(jni, "org/webrtc/VideoEncoder$EncodeInfo");
115 LoadClass(jni, "org/webrtc/VideoEncoder$ScalingSettings");
116 LoadClass(jni, "org/webrtc/VideoEncoder$Settings");
117 LoadClass(jni, "org/webrtc/VideoEncoderWrapperCallback");
111 LoadClass(jni, "org/webrtc/VideoFrame"); 118 LoadClass(jni, "org/webrtc/VideoFrame");
112 LoadClass(jni, "org/webrtc/VideoFrame$Buffer"); 119 LoadClass(jni, "org/webrtc/VideoFrame$Buffer");
113 LoadClass(jni, "org/webrtc/VideoFrame$I420Buffer"); 120 LoadClass(jni, "org/webrtc/VideoFrame$I420Buffer");
114 LoadClass(jni, "org/webrtc/VideoFrame$TextureBuffer"); 121 LoadClass(jni, "org/webrtc/VideoFrame$TextureBuffer");
115 LoadClass(jni, "org/webrtc/VideoRenderer$I420Frame"); 122 LoadClass(jni, "org/webrtc/VideoRenderer$I420Frame");
116 LoadClass(jni, "org/webrtc/VideoSink"); 123 LoadClass(jni, "org/webrtc/VideoSink");
117 LoadClass(jni, "org/webrtc/VideoTrack"); 124 LoadClass(jni, "org/webrtc/VideoTrack");
118 LoadClass(jni, "org/webrtc/WrappedNativeI420Buffer"); 125 LoadClass(jni, "org/webrtc/WrappedNativeI420Buffer");
119 } 126 }
120 127
(...skipping 26 matching lines...) Expand all
147 RTC_CHECK(inserted) << "Duplicate class name: " << name; 154 RTC_CHECK(inserted) << "Duplicate class name: " << name;
148 } 155 }
149 156
150 // Returns a global reference guaranteed to be valid for the lifetime of the 157 // Returns a global reference guaranteed to be valid for the lifetime of the
151 // process. 158 // process.
152 jclass FindClass(JNIEnv* jni, const char* name) { 159 jclass FindClass(JNIEnv* jni, const char* name) {
153 return g_class_reference_holder->GetClass(name); 160 return g_class_reference_holder->GetClass(name);
154 } 161 }
155 162
156 } // namespace webrtc_jni 163 } // namespace webrtc_jni
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698