Add transformation matrix API.

Multimedia / Libav - Vittorio Giovara [gmail.com] - 19 May 2014 06:13 UTC

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.

bddd8cb Add transformation matrix API.
Changelog | 1 +
doc/APIchanges | 8 ++++++
libavcodec/avcodec.h | 9 ++++++
libavcodec/utils.c | 9 ++++++
libavutil/Makefile | 2 ++
libavutil/display.c | 64 +++++++++++++++++++++++++++++++++++++++++
libavutil/display.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++
libavutil/frame.h | 8 ++++++
libavutil/version.h | 2 +-
9 files changed, 179 insertions(+), 1 deletion(-)

Upstream: git.libav.org


  • Share