Re: [FFmpeg-devel] [PATCH] display: Add AVDisplayOrientation API

2018-04-05 Thread Michael Niedermayer
On Thu, Apr 05, 2018 at 01:51:10PM +0200, Vittorio Giovara wrote: > --- > > On Wed, Apr 04, 2018 at 05:30:24PM +0200, Vittorio Giovara wrote: > > > libavutil/display.c | 92 > > > + > > > libavutil/display.h | 53 ++

Re: [FFmpeg-devel] [PATCH] display: Add AVDisplayOrientation API

2018-04-05 Thread Vittorio Giovara
--- > On Wed, Apr 04, 2018 at 05:30:24PM +0200, Vittorio Giovara wrote: > > libavutil/display.c | 92 > > + > > libavutil/display.h | 53 ++ > > 2 files changed, 145 insertions(+) > It might be more usefull to

Re: [FFmpeg-devel] [PATCH] display: Add AVDisplayOrientation API

2018-04-04 Thread Sasi Inguva
On Wed, Apr 4, 2018 at 8:30 AM, Vittorio Giovara wrote: > The transformation operations that can be described by a display matrix > are not limited to pure rotation, but include horizontal and vertical > flip, as well as transpose and antitranspose. Unfortunately the

Re: [FFmpeg-devel] [PATCH] display: Add AVDisplayOrientation API

2018-04-04 Thread Michael Niedermayer
On Wed, Apr 04, 2018 at 05:30:24PM +0200, Vittorio Giovara wrote: > The transformation operations that can be described by a display matrix > are not limited to pure rotation, but include horizontal and vertical > flip, as well as transpose and antitranspose. Unfortunately the current > API can

[FFmpeg-devel] [PATCH] display: Add AVDisplayOrientation API

2018-04-04 Thread Vittorio Giovara
The transformation operations that can be described by a display matrix are not limited to pure rotation, but include horizontal and vertical flip, as well as transpose and antitranspose. Unfortunately the current API can only return a rotation angle in degrees, and is not designed to detect flip