Home
last modified time | relevance | path

Searched refs:videoAspectRatio (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DRendererCommon.java183 boolean mirror, float videoAspectRatio, float displayAspectRatio) { in getLayoutMatrix() argument
187 if (displayAspectRatio > videoAspectRatio) { in getLayoutMatrix()
188 scaleY = videoAspectRatio / displayAspectRatio; in getLayoutMatrix()
190 scaleX = displayAspectRatio / videoAspectRatio; in getLayoutMatrix()
206 public static Point getDisplaySize(ScalingType scalingType, float videoAspectRatio, in getDisplaySize() argument
208 return getDisplaySize(convertScalingTypeToVisibleFraction(scalingType), videoAspectRatio, in getDisplaySize()
247 private static Point getDisplaySize(float minVisibleFraction, float videoAspectRatio, in getDisplaySize() argument
250 if (minVisibleFraction == 0 || videoAspectRatio == 0) { in getDisplaySize()
255 Math.round(maxDisplayHeight / minVisibleFraction * videoAspectRatio)); in getDisplaySize()
257 Math.round(maxDisplayWidth / minVisibleFraction / videoAspectRatio)); in getDisplaySize()
DVideoRendererGui.java214 final float videoAspectRatio = (rotationDegree % 180 == 0) in updateLayoutMatrix() local
219 videoAspectRatio, displayLayout.width(), displayLayout.height()); in updateLayoutMatrix()
225 mirror, videoAspectRatio, (float) displayLayout.width() / displayLayout.height()); in updateLayoutMatrix()
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceViewRendererOnMeasureTest.java178 final float videoAspectRatio = (float) rotatedWidth / rotatedHeight; in testFrame1280x720() local
185 RendererCommon.getDisplaySize(scalingType, videoAspectRatio, 720, 1280); in testFrame1280x720()
197 RendererCommon.getDisplaySize(scalingType, videoAspectRatio, 720, 1280); in testFrame1280x720()