summaryrefslogtreecommitdiff
path: root/libavutil/display.c
Commit message (Collapse)AuthorAge
* mov: Write the display matrix in orderVittorio Giovara2015-03-23
| | | | | | | | | | This will allow to copy the matrix as is and it is just cleaner to keep the matrix in the same order specified by the mov standard (which is also explicitly described in the documentation). In order to preserve compatibility, flip the angle sign in the display API av_display_rotation_set() and av_display_rotation_get(), and improve the documentation mentioning the rotation direction.
* display: add matrix flip apiVittorio Giovara2014-07-09
|
* display: Include mathematics.h for fallback definition of NANMartin Storsjö2014-05-19
| | | | | | This fixes compilation with MSVC. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add transformation matrix API.Vittorio Giovara2014-05-19
Add AV_PKT_DATA_DISPLAYMATRIX and AV_FRAME_DATA_DISPLAYMATRIX as stream and frame side data (respectively) to describe a display transformation matrix for linear transformation operations on the decoded video. Add functions to easily extract a rotation angle from a matrix and conversely to setup a matrix for a given rotation angle. Signed-off-by: Anton Khirnov <anton@khirnov.net>