av_display_rotation_get

Extract the rotation component of the transformation matrix.

@param matrix the transformation matrix @return the angle (in degrees) by which the transformation rotates the frame counterclockwise. The angle will be in range [-180.0, 180.0], or NaN if the matrix is singular.

@note floating point numbers are inherently inexact, so callers are recommended to round the return value to nearest integer before use.

extern (C) @nogc nothrow
double
av_display_rotation_get
(
ref const(int)[9] matrix
)

Meta