[libav-devel] [PATCH V2 2/3] lavu/hwcontext_qsv: Add support for pix_fmt RGB32.

2018-03-22 Thread Zhong Li
RGB32 format may be used as overlay with alpha blending. So add RGB32 format support. Signed-off-by: ChaoX A Liu Signed-off-by: Zhong Li --- libavutil/hwcontext_qsv.c | 43 +-- 1 file changed, 33 insertions(+),

[libav-devel] [PATCH V3 3/3] lavc/qsvdec: expose frame pic_type

2018-03-22 Thread Zhong Li
Currently pict_type are unset. Add an extra param to fetch the picture type from qsv decoder v2: fix the compile error since AV_PICTURE_TYPE_NONE is not existed in libav. v3: remove the key_frame setting because the judgement “key frame is equal to IDR frame” only suitable for H264. For HEVC, all

[libav-devel] [PATCH V2 1/3] lavc/qsvdec: set complete_frame flags for progressive picture

2018-03-22 Thread Zhong Li
Set the flag MFX_BITSTREAM_COMPLETE_FRAME when it is a progressive picture. This can fix vc1 decoding segment fault issues because can't set the start code correctly. See: ./avconv -hwaccel qsv -c:v vc1_qsv -i /fate-suite/vc1/SA00040.vc1 -vf "hwdownload, format=nv12" -f rawvideo /dev/null v2: fix

Re: [libav-devel] [PATCH 1/7] configure: Document available options for the --toolchain parameter

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 4 > 1 file changed, 4 insertions(+) > > diff --git a/configure b/configure > index 78a2065208..d8c3b555cc 100755 > --- a/configure > +++ b/configure > @@ -260,6 +260,10 @@ Toolchain options: >--target-path=DIRpath

Re: [libav-devel] [PATCH 7/7] configure: Drop unused helper function test_cflags_cpp()

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 13 - > 1 file changed, 13 deletions(-) > > diff --git a/configure b/configure > index 830f754412..6689858d57 100755 > --- a/configure > +++ b/configure > @@ -1042,19 +1042,6 @@ check_cpp_condition(){ >

Re: [libav-devel] [PATCH 6/7] configure: Simplify vfp_args check

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/configure b/configure > index 9257b94631..830f754412 100755 > --- a/configure > +++ b/configure > @@ -4303,10 +4303,7 @@ elif enabled arm; then > elif !

Re: [libav-devel] [PATCH 5/7] configure: Simplify vararg check

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/configure b/configure > index e3c5dcae1e..9257b94631 100755 > --- a/configure > +++ b/configure > @@ -4240,12 +4240,11 @@ od -t x1 $TMPO | grep -q '42 *49

Re: [libav-devel] [PATCH 3/7] configure: Use a more sensible suffix for x86 assembly tempfiles

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/configure b/configure > index ce0d791c1b..dbc5759df4 100755 > --- a/configure > +++ b/configure > @@ -810,10 +810,10 @@ test_as(){ > > test_x86asm(){ >

Re: [libav-devel] [PATCH 2/7] configure: Add check_x86asm() helper function to simplify some expressions

2018-03-22 Thread James Almer
On 3/20/2018 6:49 AM, Diego Biurrun wrote: > --- > configure | 32 > 1 file changed, 20 insertions(+), 12 deletions(-) > > diff --git a/configure b/configure > index d8c3b555cc..ce0d791c1b 100755 > --- a/configure > +++ b/configure > @@ -808,6 +808,14 @@

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread wm4
On Thu, 22 Mar 2018 14:42:40 +0100 "Sven Dueking" wrote: > > -Ursprüngliche Nachricht- > > Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von > > wm4 > > Gesendet: Donnerstag, 22. März 2018 14:38 > > An: libav-devel@libav.org > > Betreff: Re:

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 02:03:03PM +0100, wm4 wrote: > On Thu, 22 Mar 2018 13:17:16 +0100 > Diego Biurrun wrote: > > > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > > > On Wed, Mar

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 02:24:08PM +0100, Sven Dueking wrote: > > > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > > > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > > > > > > On

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Sven Dueking
> -Ursprüngliche Nachricht- > Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von > wm4 > Gesendet: Donnerstag, 22. März 2018 14:38 > An: libav-devel@libav.org > Betreff: Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol > > On Thu, 22 Mar 2018 14:24:08 +0100

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread wm4
On Thu, 22 Mar 2018 14:24:08 +0100 "Sven Dueking" wrote: > > -Ursprüngliche Nachricht- > > Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von > > wm4 > > Gesendet: Donnerstag, 22. März 2018 14:03 > > An: libav-devel@libav.org > > Betreff: Re:

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Sven Dueking
> -Ursprüngliche Nachricht- > Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von > wm4 > Gesendet: Donnerstag, 22. März 2018 14:03 > An: libav-devel@libav.org > Betreff: Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol > > On Thu, 22 Mar 2018 13:17:16 +0100

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 02:03:03PM +0100, wm4 wrote: > On Thu, 22 Mar 2018 13:17:16 +0100 Diego Biurrun wrote: > > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > > > On Wed, Mar 21,

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread wm4
On Thu, 22 Mar 2018 13:17:16 +0100 Diego Biurrun wrote: > On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > > > > On

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Thu, Mar 22, 2018 at 12:34:29PM +0100, Sven Dueking wrote: > > On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > > > On 21/03/2018 11:46, Diego Biurrun wrote: > > > > > > What is it? libsrt or opensrt? > > >

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Sven Dueking
> -Ursprüngliche Nachricht- > Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von > Diego Biurrun > Gesendet: Donnerstag, 22. März 2018 12:24 > An: libav development > Betreff: Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol > > On Wed, Mar 21, 2018 at

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Diego Biurrun
On Wed, Mar 21, 2018 at 04:03:18PM +0100, Sven Dueking wrote: > > On Wed, Mar 21, 2018 at 03:00:37PM +0100, Luca Barbato wrote: > > > On 21/03/2018 11:46, Diego Biurrun wrote: > > > > What is it? libsrt or opensrt? > > > > > > You have an opensource implementation of the protocol SRT. > > > > > >

Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol

2018-03-22 Thread Luca Barbato
On 21/03/2018 16:03, Sven Dueking wrote: -Ursprüngliche Nachricht- Von: libav-devel [mailto:libav-devel-boun...@libav.org] Im Auftrag von Diego Biurrun Gesendet: Mittwoch, 21. März 2018 15:54 An: libav development Betreff: Re: [libav-devel] [PATCH] Add Haivision Open SRT protocol On