Java Code Examples for com.googlecode.mp4parser.util.Matrix#ROTATE_270

The following examples show how to use com.googlecode.mp4parser.util.Matrix#ROTATE_270 . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Mp4Movie.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 2
Source File: Mp4Movie.java    From VideoCompressor with Apache License 2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 3
Source File: Mp4Movie.java    From TelePlus-Android with GNU General Public License v2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 4
Source File: Mp4Movie.java    From react-native-video-helper with MIT License 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 5
Source File: Mp4Movie.java    From VideoCompressor with Apache License 2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 6
Source File: Mp4Movie.java    From talk-android with MIT License 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 7
Source File: Mp4Movie.java    From SiliCompressor with Apache License 2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 8
Source File: Mp4Movie.java    From deltachat-android with GNU General Public License v3.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 9
Source File: MediaHelper.java    From AndroidVideoSamples with Apache License 2.0 5 votes vote down vote up
private static Matrix GetMatrixFromRotation( int rotation ) {
   switch ( rotation ) {
   case 90:
      return Matrix.ROTATE_90;
   case 180:
      return Matrix.ROTATE_180;
   case 270:
      return Matrix.ROTATE_270;
   default:
   case 0:
      return Matrix.ROTATE_0;
   }
}
 
Example 10
Source File: Mp4Movie.java    From Telegram-FOSS with GNU General Public License v2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}
 
Example 11
Source File: Mp4Movie.java    From Telegram with GNU General Public License v2.0 5 votes vote down vote up
public void setRotation(int angle) {
    if (angle == 0) {
        matrix = Matrix.ROTATE_0;
    } else if (angle == 90) {
        matrix = Matrix.ROTATE_90;
    } else if (angle == 180) {
        matrix = Matrix.ROTATE_180;
    } else if (angle == 270) {
        matrix = Matrix.ROTATE_270;
    }
}