| Index: talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java
|
| diff --git a/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java b/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java
|
| index 4b51e63c5d8ca9c506a796400a532c27df4482d7..2e307fc54b88e9c9211f19de4d13bff08d87923a 100644
|
| --- a/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java
|
| +++ b/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java
|
| @@ -36,8 +36,10 @@ import java.nio.ByteBuffer;
|
| * on various platforms.
|
| */
|
| public class VideoRenderer {
|
| -
|
| - /** Java version of cricket::VideoFrame. Frames are only constructed from native code. */
|
| + /**
|
| + * Java version of cricket::VideoFrame. Frames are only constructed from native code and test
|
| + * code.
|
| + */
|
| public static class I420Frame {
|
| public final int width;
|
| public final int height;
|
| @@ -60,9 +62,8 @@ public class VideoRenderer {
|
| /**
|
| * Construct a frame of the given dimensions with the specified planar data.
|
| */
|
| - private I420Frame(
|
| - int width, int height, int rotationDegree,
|
| - int[] yuvStrides, ByteBuffer[] yuvPlanes, long nativeFramePointer) {
|
| + I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes,
|
| + long nativeFramePointer) {
|
| this.width = width;
|
| this.height = height;
|
| this.yuvStrides = yuvStrides;
|
| @@ -87,9 +88,8 @@ public class VideoRenderer {
|
| /**
|
| * Construct a texture frame of the given dimensions with data in SurfaceTexture
|
| */
|
| - private I420Frame(
|
| - int width, int height, int rotationDegree,
|
| - int textureId, float[] samplingMatrix, long nativeFramePointer) {
|
| + I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix,
|
| + long nativeFramePointer) {
|
| this.width = width;
|
| this.height = height;
|
| this.yuvStrides = null;
|
|
|