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

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

Issue 2544563002: Make SurfaceTextureHelper and I420Frame public in Java. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/java/src/org/webrtc/VideoRenderer.java
diff --git a/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java b/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java
index 3a6a16771b77159bfacd039774c34ee0cff96bf0..bfa4f67d4b454dc7f5b220261a05c1b655b35501 100644
--- a/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java
+++ b/webrtc/api/android/java/src/org/webrtc/VideoRenderer.java
@@ -45,8 +45,8 @@ public class VideoRenderer {
/**
* Construct a frame of the given dimensions with the specified planar data.
*/
- I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes,
- long nativeFramePointer) {
+ public I420Frame(int width, int height, int rotationDegree, int[] yuvStrides,
+ ByteBuffer[] yuvPlanes, long nativeFramePointer) {
this.width = width;
this.height = height;
this.yuvStrides = yuvStrides;
@@ -73,8 +73,8 @@ public class VideoRenderer {
/**
* Construct a texture frame of the given dimensions with data in SurfaceTexture
*/
- I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix,
- long nativeFramePointer) {
+ public I420Frame(int width, int height, int rotationDegree, int textureId,
+ float[] samplingMatrix, long nativeFramePointer) {
this.width = width;
this.height = height;
this.yuvStrides = null;
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/SurfaceTextureHelper.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698