HomeSort by relevance Sort by last modified time
    Searched refs:rotationDegree (Results 1 - 7 of 7) sorted by null

  /external/webrtc/talk/app/webrtc/java/src/org/webrtc/
VideoRenderer.java 52 // |rotationDegree| into account.
58 // rotationDegree is the degree that the frame must be rotated clockwisely
60 public int rotationDegree;
65 I420Frame(int width, int height, int rotationDegree, int[] yuvStrides, ByteBuffer[] yuvPlanes,
72 this.rotationDegree = rotationDegree;
74 if (rotationDegree % 90 != 0) {
75 throw new IllegalArgumentException("Rotation degree not multiple of 90: " + rotationDegree);
91 I420Frame(int width, int height, int rotationDegree, int textureId, float[] samplingMatrix,
100 this.rotationDegree = rotationDegree
    [all...]
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
SurfaceViewRendererOnMeasureTest.java 57 static VideoRenderer.I420Frame createFrame(int width, int height, int rotationDegree) {
64 return new VideoRenderer.I420Frame(width, height, rotationDegree, yuvStrides, yuvPlanes, 0);
138 for (int rotationDegree : new int[] {0, 90, 180, 270}) {
141 final int unrotatedWidth = (rotationDegree % 180 == 0 ? rotatedWidth : rotatedHeight);
142 final int unrotatedHeight = (rotationDegree % 180 == 0 ? rotatedHeight : rotatedWidth);
144 createFrame(unrotatedWidth, unrotatedHeight, rotationDegree);
148 unrotatedWidth + "x" + unrotatedHeight + " with rotation " + rotationDegree;
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
RendererCommon.java 159 * Returns texture matrix that will have the effect of rotating the frame |rotationDegree|
162 public static float[] rotateTextureMatrix(float[] textureMatrix, float rotationDegree) {
164 Matrix.setRotateM(rotationMatrix, 0, rotationDegree, 0, 0, 1);
VideoRendererGui.java 142 // |screenHeight|, |videoWidth|, |videoHeight|, |rotationDegree|, |scalingType|, and |mirror|.
155 private int rotationDegree;
169 rotationDegree = 0;
213 + " x " + videoHeight + ". Rotation: " + rotationDegree + ". Mirror: " + mirror);
214 final float videoAspectRatio = (rotationDegree % 180 == 0)
247 pendingFrame.samplingMatrix, pendingFrame.rotationDegree);
347 && rotation == rotationDegree) {
362 rotationDegree = rotation;
405 setSize(frame.width, frame.height, frame.rotationDegree);
SurfaceViewRenderer.java 490 RendererCommon.rotateTextureMatrix(frame.samplingMatrix, frame.rotationDegree);
549 || frameRotation != frame.rotationDegree) {
551 + frame.width + "x" + frame.height + " with rotation " + frame.rotationDegree);
553 rendererEvents.onFrameResolutionChanged(frame.width, frame.height, frame.rotationDegree);
557 frameRotation = frame.rotationDegree;
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceScript.java 422 int rotationDegree = Integer.parseInt(args[0]);
424 if ((rotationDegree == Surface.ROTATION_0) ||
425 (rotationDegree == Surface.ROTATION_90) ||
426 (rotationDegree == Surface.ROTATION_180) ||
427 (rotationDegree == Surface.ROTATION_270)) {
428 mQ.addLast(new MonkeyRotationEvent(rotationDegree,
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/state/
StateReadyForCapture.java 360 int rotationDegree = mResourceCaptureTools.get().getResourceConstructed().get()
370 rotationMatrix.setRotate(rotationDegree, 0.5f, 0.5f);

Completed in 623 milliseconds