Class Matrix


  • public class Matrix
    extends Object
    Transformation Matrix as used in Track- and MovieHeaderBox.
    • Field Detail

      • ROTATE_0

        public static final Matrix ROTATE_0
      • ROTATE_90

        public static final Matrix ROTATE_90
      • ROTATE_180

        public static final Matrix ROTATE_180
      • ROTATE_270

        public static final Matrix ROTATE_270
    • Constructor Detail

      • Matrix

        public Matrix​(double a,
                      double b,
                      double c,
                      double d,
                      double u,
                      double v,
                      double w,
                      double tx,
                      double ty)
    • Method Detail

      • fromFileOrder

        public static Matrix fromFileOrder​(double a,
                                           double b,
                                           double u,
                                           double c,
                                           double d,
                                           double v,
                                           double tx,
                                           double ty,
                                           double w)
      • fromByteBuffer

        public static Matrix fromByteBuffer​(ByteBuffer byteBuffer)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getContent

        public void getContent​(ByteBuffer byteBuffer)