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

Unified Diff: webrtc/api/android/java/src/org/webrtc/VideoCapturer.java

Issue 2377003002: Format all Java in WebRTC. (Closed)
Patch Set: Rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/api/android/java/src/org/webrtc/VideoCapturer.java
diff --git a/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java b/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java
index 706c43dc273c3c2977ed43dd604ac26477f9f9a7..b8cceaf69478dcd433d0d9d86ee8be777848caeb 100644
--- a/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java
+++ b/webrtc/api/android/java/src/org/webrtc/VideoCapturer.java
@@ -24,14 +24,13 @@ public interface VideoCapturer {
void onCapturerStopped();
// Delivers a captured frame. Called on a Java thread owned by VideoCapturer.
- void onByteBufferFrameCaptured(byte[] data, int width, int height, int rotation,
- long timeStamp);
+ void onByteBufferFrameCaptured(
+ byte[] data, int width, int height, int rotation, long timeStamp);
// Delivers a captured frame in a texture with id |oesTextureId|. Called on a Java thread
// owned by VideoCapturer.
- void onTextureFrameCaptured(
- int width, int height, int oesTextureId, float[] transformMatrix, int rotation,
- long timestamp);
+ void onTextureFrameCaptured(int width, int height, int oesTextureId, float[] transformMatrix,
+ int rotation, long timestamp);
}
// An implementation of CapturerObserver that forwards all calls from
@@ -55,25 +54,23 @@ public interface VideoCapturer {
}
@Override
- public void onByteBufferFrameCaptured(byte[] data, int width, int height,
- int rotation, long timeStamp) {
- nativeOnByteBufferFrameCaptured(nativeSource, data, data.length, width, height, rotation,
- timeStamp);
+ public void onByteBufferFrameCaptured(
+ byte[] data, int width, int height, int rotation, long timeStamp) {
+ nativeOnByteBufferFrameCaptured(
+ nativeSource, data, data.length, width, height, rotation, timeStamp);
}
@Override
- public void onTextureFrameCaptured(
- int width, int height, int oesTextureId, float[] transformMatrix, int rotation,
- long timestamp) {
- nativeOnTextureFrameCaptured(nativeSource, width, height, oesTextureId, transformMatrix,
- rotation, timestamp);
+ public void onTextureFrameCaptured(int width, int height, int oesTextureId,
+ float[] transformMatrix, int rotation, long timestamp) {
+ nativeOnTextureFrameCaptured(
+ nativeSource, width, height, oesTextureId, transformMatrix, rotation, timestamp);
}
- private native void nativeCapturerStarted(long nativeSource,
- boolean success);
+ private native void nativeCapturerStarted(long nativeSource, boolean success);
private native void nativeCapturerStopped(long nativeSource);
- private native void nativeOnByteBufferFrameCaptured(long nativeSource,
- byte[] data, int length, int width, int height, int rotation, long timeStamp);
+ private native void nativeOnByteBufferFrameCaptured(long nativeSource, byte[] data, int length,
+ int width, int height, int rotation, long timeStamp);
private native void nativeOnTextureFrameCaptured(long nativeSource, int width, int height,
int oesTextureId, float[] transformMatrix, int rotation, long timestamp);
}

Powered by Google App Engine
This is Rietveld 408576698