[][src]Function stainless_ffmpeg_sys::av_display_rotation_get

pub unsafe extern "C" fn av_display_rotation_get(matrix: *const i32) -> f64

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.