Avutil.Display_matrixThe display matrix: the 3x3 transformation a container or a decoder attaches to a video for it to be shown upright, as libavutil/display.h defines it.
val of_array : int32 array -> tof_array a is a copy of a as a matrix.
val of_payload : string -> t optionof_payload s is the matrix a side-data payload holds: nine 32-bit integers in native byte order. None when s is shorter than that. Frame and packet side data share this layout.
val to_payload : t -> stringThe payload of_payload reads back.
val make : ?hflip:bool -> ?vflip:bool -> float -> tmake a is the matrix of a pure rotation by a degrees counter-clockwise, then flipped horizontally and vertically as asked. rotation (make a) is Some a for a in (-180, 180].
val rotation : t -> float optionThe angle, in degrees, by which the matrix rotates the picture counter-clockwise, in [-180, 180]. None when the matrix is singular.