webrtc/sdk/android/api/org/webrtc
Magnus Jedvert 7b87530fcc Android: Allow YuvConverter to be reused
Similar to how GlDrawer and GlTextureFrameBuffer already works, this
CL updates YuvConverter so that it can be reused after release() has
been called. This makes it more convenient to use, it can be stored
in a final variable, and the resources are lazily allocated on first
usage.

Bug: b/112386285
Change-Id: I437c4c3fd414bc8974df75728f33954b28418e3e
Reviewed-on: https://webrtc-review.googlesource.com/93290
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24248}
2018-08-09 12:36:37 +00:00
..
audio Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
AudioProcessingFactory.java Add Java support for AudioProcessing and PostProcessing injection 2017-10-20 08:37:23 +00:00
AudioSource.java Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
AudioTrack.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
CallSessionFileRotatingLogSink.java Android: Throw exception in CallSessionFileRotatingLogSink if dir is null 2018-06-07 13:16:40 +00:00
Camera1Capturer.java Android: Remove video recording functionality from the camera classes 2018-04-27 07:38:05 +00:00
Camera1Enumerator.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
Camera2Capturer.java Android: Remove video recording functionality from the camera classes 2018-04-27 07:38:05 +00:00
Camera2Enumerator.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
CameraEnumerationAndroid.java Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
CameraEnumerator.java Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
CameraVideoCapturer.java Android: Remove video recording functionality from the camera classes 2018-04-27 07:38:05 +00:00
CapturerObserver.java Move VideoCapturer to video_api and cleanup. 2018-07-24 10:38:57 +00:00
DataChannel.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
DefaultVideoDecoderFactory.java Android: Pass VideoCodecInfo instead of String to createDecoder() 2018-07-13 11:03:45 +00:00
DefaultVideoEncoderFactory.java Android: Add software fallback wrapper in Default video codec factories 2018-07-13 09:02:21 +00:00
DtmfSender.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
EglBase.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
EglRenderer.java Android: Remove deprecated VideoRenderer and I420Frame 2018-07-05 10:37:59 +00:00
EncodedImage.java Android: Clean up JNI generated code 2017-11-24 10:08:58 +00:00
FecControllerFactoryFactoryInterface.java Revert "Revert "Enables PeerConnectionFactory using external fec controller"" 2018-02-20 12:41:55 +00:00
FileVideoCapturer.java Update JavaI420Buffer.allocate to use native allocations. 2018-02-21 08:40:26 +00:00
GlRectDrawer.java Android: Add helper class for generating OpenGL shaders 2018-06-15 09:06:45 +00:00
GlShader.java Android: Log OpenGL shader source code in case of compile error 2018-04-17 13:05:03 +00:00
GlTextureFrameBuffer.java Android: Allow construction of GlTextureFrameBuffer from non-OpenGL thread 2018-04-12 07:19:46 +00:00
GlUtil.java Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
HardwareVideoDecoderFactory.java Add unit tests for hardware video codecs. 2018-08-08 09:57:03 +00:00
HardwareVideoEncoderFactory.java Add unit tests for hardware video codecs. 2018-08-08 09:57:03 +00:00
IceCandidate.java Reland "Android: Generate JNI code for stats" 2017-11-30 11:40:51 +00:00
JavaI420Buffer.java Allow releaseCallback to be null in JavaI420Buffer#wrap. 2018-08-06 11:39:52 +00:00
MediaCodecVideoDecoder.java Android: Transform legacy codec factories into VideoCodecFactories 2018-07-13 14:39:05 +00:00
MediaCodecVideoEncoder.java Android: Transform legacy codec factories into VideoCodecFactories 2018-07-13 14:39:05 +00:00
MediaConstraints.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
MediaSource.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
MediaStream.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
MediaStreamTrack.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
Metrics.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
NativeLibraryLoader.java Allow passing in a custom native library loader. 2017-09-29 11:46:38 +00:00
NativePeerConnectionFactory.java Move ownership of PeerConnectionObserver from Java to C++. 2018-01-15 09:52:38 +00:00
NetworkMonitor.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
NetworkMonitorAutoDetect.java Fix a null pointer bug in NetworkMonitorAutoDetect.getNetworkState. 2018-05-02 17:42:17 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PeerConnection.java Add a flag to actively reset the SRTP parameters 2018-06-12 20:32:00 +00:00
PeerConnectionDependencies.java Adds SSLCertificateVerifier to the Java API. 2018-07-20 23:11:52 +00:00
PeerConnectionFactory.java Move VideoCapturer to video_api and cleanup. 2018-07-24 10:38:57 +00:00
RefCounted.java Make VideoFrame.Buffer implementations lock-free. 2018-04-09 16:29:59 +00:00
RendererCommon.java Android: Remove custom matrix helper functions in RendererCommon 2018-08-03 10:57:07 +00:00
RTCStats.java Android: Generate JNI code for RTCStats 2017-11-24 18:38:40 +00:00
RTCStatsCollectorCallback.java Android: Generate JNI code for RTCStats 2017-11-24 18:38:40 +00:00
RTCStatsReport.java Android: Generate JNI code for RTCStats 2017-11-24 18:38:40 +00:00
RtpParameters.java Add HeaderExtensions to RtpParameters 2018-06-12 17:01:40 +00:00
RtpReceiver.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
RtpSender.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
RtpTransceiver.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
ScreenCapturerAndroid.java Update capturer/test code to use the new interface VideoCapturer. 2018-07-06 10:42:11 +00:00
SdpObserver.java Android: Generate JNI code for remaining classes in sdk/android 2017-12-12 12:36:17 +00:00
SessionDescription.java Android: Generate JNI code for remaining classes in sdk/android 2017-12-12 12:36:17 +00:00
SoftwareVideoDecoderFactory.java Allow calling SoftwareVideoDecoderFactory#createDecoder(String). 2018-07-18 14:50:39 +00:00
SoftwareVideoEncoderFactory.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
SSLCertificateVerifier.java Adds SSLCertificateVerifier to the Java API. 2018-07-20 23:11:52 +00:00
StatsObserver.java Reland "Android: Generate JNI code for stats" 2017-11-30 11:40:51 +00:00
StatsReport.java Reland "Android: Generate JNI code for stats" 2017-11-30 11:40:51 +00:00
SurfaceEglRenderer.java Android: Stop using VideoRenderer class 2018-04-23 16:04:11 +00:00
SurfaceTextureHelper.java Android: Output VideoFrames from SurfaceTextureHelper 2018-07-06 10:34:41 +00:00
SurfaceViewRenderer.java Android: Stop using VideoRenderer class 2018-04-23 16:04:11 +00:00
TextureBufferImpl.java Android camera: Replace custom matrix operations with android.opengl.Matrix 2018-07-05 12:02:24 +00:00
TurnCustomizer.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
VideoCapturer.java Move VideoCapturer to video_api and cleanup. 2018-07-24 10:38:57 +00:00
VideoCodecInfo.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
VideoCodecStatus.java Android: Generate all C++ -> Java JNI code for VideoEncoder 2017-11-07 15:32:15 +00:00
VideoDecoder.java Support injecting custom native codecs from Java. 2018-07-09 12:07:11 +00:00
VideoDecoderFactory.java Android: Pass VideoCodecInfo instead of String to createDecoder() 2018-07-13 11:03:45 +00:00
VideoDecoderFallback.java Support injecting custom native codecs from Java. 2018-07-09 12:07:11 +00:00
VideoEncoder.java Support injecting custom native codecs from Java. 2018-07-09 12:07:11 +00:00
VideoEncoderFactory.java Annotate libjingle_peerconnection_java with @Nullable. 2018-03-22 13:13:44 +00:00
VideoEncoderFallback.java Support injecting custom native codecs from Java. 2018-07-09 12:07:11 +00:00
VideoFileRenderer.java Write to file on a dedicated thread in VideoFileRenderer. 2018-06-01 08:43:02 +00:00
VideoFrame.java Move cropAndScaleI420 to JavaI420Buffer. 2018-07-25 08:37:47 +00:00
VideoFrameDrawer.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00
VideoSink.java Reland "Android: Generate JNI code for VideoSink and VideoEncoder" 2017-11-02 10:27:47 +00:00
VideoSource.java Move VideoCapturer to video_api and cleanup. 2018-07-24 10:38:57 +00:00
VideoTrack.java Android: Remove deprecated VideoRenderer and I420Frame 2018-07-05 10:37:59 +00:00
YuvConverter.java Android: Allow YuvConverter to be reused 2018-08-09 12:36:37 +00:00
YuvHelper.java Android JNI generation: Set JNI namespace in build files 2018-05-18 10:44:38 +00:00