Le 2014-05-19 03:34, Anton Khirnov a écrit :
+/**
+ * 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
+ */
+double av_display_rotation_get(const int32_t matrix[9]);


Would be nice to document the return values range, [0..360[, [-180..180[ or ]-180..180] ?

Also I think either the return value should be an integer, or it should not be rounded...

--
Rémi Denis-Courmont
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to