Searched refs:rotationDegree (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
D | VideoRenderer.java | 60 public int rotationDegree; field in VideoRenderer.I420Frame 65 I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes, in I420Frame() argument 72 this.rotationDegree = rotationDegree; in I420Frame() 74 if (rotationDegree % 90 != 0) { in I420Frame() 75 throw new IllegalArgumentException("Rotation degree not multiple of 90: " + rotationDegree); in I420Frame() 91 I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix, in I420Frame() argument 100 this.rotationDegree = rotationDegree; in I420Frame() 102 if (rotationDegree % 90 != 0) { in I420Frame() 103 throw new IllegalArgumentException("Rotation degree not multiple of 90: " + rotationDegree); in I420Frame() 108 return (rotationDegree % 180 == 0) ? width : height; in rotatedWidth() [all …]
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | SurfaceViewRendererOnMeasureTest.java | 57 static VideoRenderer.I420Frame createFrame(int width, int height, int rotationDegree) { in createFrame() argument 64 return new VideoRenderer.I420Frame(width, height, rotationDegree, yuvStrides, yuvPlanes, 0); in createFrame() 138 for (int rotationDegree : new int[] {0, 90, 180, 270}) { in testFrame1280x720() 141 final int unrotatedWidth = (rotationDegree % 180 == 0 ? rotatedWidth : rotatedHeight); in testFrame1280x720() 142 final int unrotatedHeight = (rotationDegree % 180 == 0 ? rotatedHeight : rotatedWidth); in testFrame1280x720() 144 createFrame(unrotatedWidth, unrotatedHeight, rotationDegree); in testFrame1280x720() 148 unrotatedWidth + "x" + unrotatedHeight + " with rotation " + rotationDegree; in testFrame1280x720()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | VideoRendererGui.java | 155 private int rotationDegree; field in VideoRendererGui.YuvImageRenderer 169 rotationDegree = 0; in YuvImageRenderer() 213 + " x " + videoHeight + ". Rotation: " + rotationDegree + ". Mirror: " + mirror); in updateLayoutMatrix() 214 final float videoAspectRatio = (rotationDegree % 180 == 0) in updateLayoutMatrix() 247 pendingFrame.samplingMatrix, pendingFrame.rotationDegree); in draw() 347 && rotation == rotationDegree) { in setSize() 362 rotationDegree = rotation; in setSize() 405 setSize(frame.width, frame.height, frame.rotationDegree); in renderFrame()
|
D | SurfaceViewRenderer.java | 490 RendererCommon.rotateTextureMatrix(frame.samplingMatrix, frame.rotationDegree); in renderFrameOnRenderThread() 549 || frameRotation != frame.rotationDegree) { in updateFrameDimensionsAndReportEvents() 551 + frame.width + "x" + frame.height + " with rotation " + frame.rotationDegree); in updateFrameDimensionsAndReportEvents() 553 rendererEvents.onFrameResolutionChanged(frame.width, frame.height, frame.rotationDegree); in updateFrameDimensionsAndReportEvents() 557 frameRotation = frame.rotationDegree; in updateFrameDimensionsAndReportEvents()
|
D | RendererCommon.java | 162 public static float[] rotateTextureMatrix(float[] textureMatrix, float rotationDegree) { in rotateTextureMatrix() argument 164 Matrix.setRotateM(rotationMatrix, 0, rotationDegree, 0, 0, 1); in rotateTextureMatrix()
|