[libav-devel] [PATCH] libaom: remove references to RGB pixfmts

2018-04-04 Thread James Almer
Support for it was apparently never in the codebase, and the enum values were recently removed from the public headers [1] Fixes build with latest libaom build. [1] https://aomedia.googlesource.com/aom/+/3f29cc20e3a4c348cb41a797c68de856ddb84e12 Signed-off-by: James Almer

Re: [libav-devel] [PATCH v2] qsv: adding Multi Frame Encode support

2018-04-04 Thread Luca Barbato
On 02/04/2018 15:17, Maxym Dmytrychenko wrote: > +if (QSV_RUNTIME_VERSION_ATLEAST(ver, 1, 25)) { Maybe use QSV_HAVE_MF ? The rest looks fine to me. lu ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-04-04 Thread Zhong Li
Currently pict_type and key_frame are unset. Add an extra param to fetch the picture type from qsv decoder The judgement “key frame is equal to IDR frame” only suitable for H264. For HEVC, all IRAP frames are key frames, and other codecs have no IDR frame. Signed-off-by: ChaoX A Liu

[libav-devel] [PATCH] lavf/qsvvpp: bypass vpp if not needed.

2018-04-04 Thread Zhong Li
Currently vpp pipeline is always created, even for the unnecessary cases such as setting the option "vpp_qsv=w=1280:h=720" for an input with native resolution 1280x720. Thus introduces unnecessary performance dropping, so bypass vpp if not needed. Signed-off-by: Zhong Li ---

[libav-devel] [PATCH] lavc/qsvenc: fix the hard code of height aligment checking

2018-04-04 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index f6b1a0d..fc9ace4 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1048,7 +1048,7 @@ static int

Re: [libav-devel] [PATCH] libaom: remove references to RGB pixfmts

2018-04-04 Thread Luca Barbato
On 05/04/2018 01:13, James Almer wrote: > Support for it was apparently never in the codebase, and the enum > values were recently removed from the public headers [1] > > Fixes build with latest libaom build. > Ok. ___ libav-devel mailing list

Re: [libav-devel] [PATCH 2/6] avprobe: Print a user-friendly version of the display matrix

2018-04-04 Thread Luca Barbato
On 04/04/2018 17:29, Vittorio Giovara wrote: > Shift fixed point numbers to be actual decimal numbers. > --- > avtools/avprobe.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/avtools/avprobe.c b/avtools/avprobe.c > index d6809042f7..0ea9ff46fd 100644 > ---

Re: [libav-devel] [PATCH 1/6] avprobe: Support printing strings with empty keys

2018-04-04 Thread Luca Barbato
On 04/04/2018 17:29, Vittorio Giovara wrote: > --- > avtools/avprobe.c | 38 ++ > 1 file changed, 26 insertions(+), 12 deletions(-) > > diff --git a/avtools/avprobe.c b/avtools/avprobe.c > index a9ca1934ca..d6809042f7 100644 > --- a/avtools/avprobe.c > +++

[libav-devel] [PATCH 6/6] avconv: Support automatic horizontal and vertical flip

2018-04-04 Thread Vittorio Giovara
--- avtools/avconv_filter.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/avtools/avconv_filter.c b/avtools/avconv_filter.c index 858dc0409b..5a535a7ac1 100644 --- a/avtools/avconv_filter.c +++ b/avtools/avconv_filter.c @@ -551,6 +551,17 @@ static int

[libav-devel] [PATCH 2/6] avprobe: Print a user-friendly version of the display matrix

2018-04-04 Thread Vittorio Giovara
Shift fixed point numbers to be actual decimal numbers. --- avtools/avprobe.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index d6809042f7..0ea9ff46fd 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -131,6 +131,7 @@ typedef

[libav-devel] [PATCH 1/6] avprobe: Support printing strings with empty keys

2018-04-04 Thread Vittorio Giovara
--- avtools/avprobe.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index a9ca1934ca..d6809042f7 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -235,10 +235,14 @@ static void

[libav-devel] [PATCH 5/6] avconv: Port automatic rotation to the new orientation API

2018-04-04 Thread Vittorio Giovara
Needed to avoid conflicts with the upcoming automatic flip. --- avtools/avconv_filter.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/avtools/avconv_filter.c b/avtools/avconv_filter.c index 884478da27..858dc0409b 100644 --- a/avtools/avconv_filter.c +++

[libav-devel] [PATCH 3/6] 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

[libav-devel] [PATCH 4/6] avprobe: Report the display orientation operations

2018-04-04 Thread Vittorio Giovara
--- avtools/avprobe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index 0ea9ff46fd..8ac8960014 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -809,6 +809,8 @@ static void show_stream(InputFile *ifile, InputStream *ist)

Re: [libav-devel] [PATCH v2] qsv: adding Multi Frame Encode support

2018-04-04 Thread Li, Zhong
LGTM > -Original Message- > From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of > Maxym Dmytrychenko > Sent: Monday, April 2, 2018 9:17 PM > To: libav-devel@libav.org > Subject: [libav-devel] [PATCH v2] qsv: adding Multi Frame Encode support > > Starting from API 1.25