summaryrefslogtreecommitdiff
path: root/libavutil/display.c
Commit message (Collapse)AuthorAge
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-11
|\ | | | | | | | | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Added a selftest to libavutil/display.cPetru Rares Sincraian2016-03-22
| | | | | | | | | | | | | | | | - Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'e4fe535d12f4f30df2dd672e30304af112a5a827'Michael Niedermayer2015-03-24
|\| | | | | | | | | | | | | | | | | | | | | * commit 'e4fe535d12f4f30df2dd672e30304af112a5a827': mov: Write the display matrix in order Conflicts: libavformat/mov.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | Merge commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4'Michael Niedermayer2014-07-09
|\| | | | | | | | | | | | | | | | | | | * commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4': display: add matrix flip api Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * display: add matrix flip apiVittorio Giovara2014-07-09
| |
* | avutil/display: use hypot().Clément Bœsch2014-05-23
| |
* | Merge commit '82fc9f4b38244236a6ca7f946662ca653044a04c'Michael Niedermayer2014-05-19
|\| | | | | | | | | | | | | * commit '82fc9f4b38244236a6ca7f946662ca653044a04c': display: Include mathematics.h for fallback definition of NAN Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Merge commit 'bddd8cbf68551f6405b2bf77cc3e212af9fbe834'Michael Niedermayer2014-05-19
|/ | | | | | | | | | | | * commit 'bddd8cbf68551f6405b2bf77cc3e212af9fbe834': Add transformation matrix API. Conflicts: libavcodec/avcodec.h libavcodec/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* 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>