Re: [libav-devel] [PATCH 02/10] vaapi: Add external control of allow-profile-mismatch

2017-03-27 Thread Luca Barbato
On 27/03/2017 22:38, Mark Thompson wrote: > The variable has been present for a while, but there was no way to set it > externally. Ok. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 01/10] lavc: Add flag to allow profile mismatch with hardware decoding

2017-03-27 Thread Luca Barbato
On 27/03/2017 22:38, Mark Thompson wrote: > --- > For naughty people only - this won't be set by default anywhere. > Sounds correct. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 04/10] vaapi: Add probe_hw support to the decode hwaccel

2017-03-27 Thread Mark Thompson
--- The rebuilding of the table is to add a default pixfmt - we don't necessarily have any of the stream available here, so it uses the "normal" pixfmt for the profile. (And even if we did have the stream using it would require a lot more effort.) Some of the error returns aren't quite right,

[libav-devel] [PATCH 07/10] lavfi: Add a way to control how many hardware frames are allocated for filtering

2017-03-27 Thread Mark Thompson
This functions identically to the same field in AVCodecContext. --- doc/APIchanges | 3 +++ libavfilter/avfilter.c | 2 ++ libavfilter/avfilter.h | 13 + 3 files changed, 18 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 677f5f7f1..8f06614fb 100644 ---

[libav-devel] [PATCH 03/10] lavc: Add a new function to probe hardware support

2017-03-27 Thread Mark Thompson
This also adds a new field to AVHWAccel to set supported hardware device types, so that we can query the right hwaccel. --- Not entirely sure that the AVCodecContext should be the first argument of probe_hw() - AVCodecParameters might be nicer, but we are likely to end up needing an

[libav-devel] [PATCH 01/10] lavc: Add flag to allow profile mismatch with hardware decoding

2017-03-27 Thread Mark Thompson
--- For naughty people only - this won't be set by default anywhere. doc/APIchanges | 3 +++ libavcodec/avcodec.h | 14 ++ 2 files changed, 17 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index a0ca3b7ac..5da821c90 100644 --- a/doc/APIchanges +++

[libav-devel] [PATCH 06/10] vaapi: Use extra_hw_frames setting when allocating frames

2017-03-27 Thread Mark Thompson
--- libavcodec/vaapi_decode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c index 82e919858..6910ecab6 100644 --- a/libavcodec/vaapi_decode.c +++ b/libavcodec/vaapi_decode.c @@ -570,7 +570,8 @@ int

[libav-devel] [PATCH 08/10] lavfi/vaapi: Use extra_hw_frames setting when allocating output frames

2017-03-27 Thread Mark Thompson
Previously 10 frames were always allocated here, which is significantly more than is actually required. The new value is bounded below at that, however, in order to preserve compatibility. --- libavfilter/vf_deinterlace_vaapi.c | 7 +++ libavfilter/vf_scale_vaapi.c | 7 +++ 2 files

[libav-devel] [PATCH 10/10] avconv: Test avcodec_probe_hw()

2017-03-27 Thread Mark Thompson
Test only, not to commit in this form. --- avtools/avconv_hw.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/avtools/avconv_hw.c b/avtools/avconv_hw.c index fd1618389..71a3c2772 100644 --- a/avtools/avconv_hw.c +++ b/avtools/avconv_hw.c @@

[libav-devel] [PATCH 02/10] vaapi: Add external control of allow-profile-mismatch

2017-03-27 Thread Mark Thompson
Uses the just-added ALLOW_PROFILE_MISMATCH flag. --- The variable has been present for a while, but there was no way to set it externally. libavcodec/vaapi_decode.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/libavcodec/vaapi_decode.c

[libav-devel] [PATCH 09/10] lavfi/qsv: Use extra_hw_frames setting when allocating output frames

2017-03-27 Thread Mark Thompson
The deinterlacer does not change, because it does not allocate any new frames (for output it uses the same pool as the input). --- libavfilter/vf_scale_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index

[libav-devel] [PATCH 05/10] lavc: Add a way to control how many hardware frames are allocated for decode

2017-03-27 Thread Mark Thompson
--- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 14 ++ libavcodec/options_table.h | 1 + 3 files changed, 18 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 649d35a08..677f5f7f1 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,6 +14,9 @@

Re: [libav-devel] [PATCH] configure: Escape elements being filtered out

2017-03-27 Thread Luca Barbato
On 27/03/2017 14:47, Diego Biurrun wrote: > On Mon, Mar 27, 2017 at 02:27:44PM +0200, Luca Barbato wrote: >> On 27/03/2017 12:40, Diego Biurrun wrote: >>> On Sun, Mar 26, 2017 at 02:12:39PM +0200, Luca Barbato wrote: --- a/configure +++ b/configure @@ -441,7 +441,7 @@ filter_out(){

Re: [libav-devel] [PATCH] vc1_pred: Fix undefined negative shifts

2017-03-27 Thread Luca Barbato
On 24/03/2017 22:47, Luca Barbato wrote: > why hpel is negative? As I say nothing, the patch looks fine. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] configure: Escape elements being filtered out

2017-03-27 Thread Diego Biurrun
On Mon, Mar 27, 2017 at 02:27:44PM +0200, Luca Barbato wrote: > On 27/03/2017 12:40, Diego Biurrun wrote: > > On Sun, Mar 26, 2017 at 02:12:39PM +0200, Luca Barbato wrote: > >> --- a/configure > >> +++ b/configure > >> @@ -441,7 +441,7 @@ filter_out(){ > >> pat=$1 > >> shift > >>

Re: [libav-devel] [PATCH] configure: Escape elements being filtered out

2017-03-27 Thread Luca Barbato
On 27/03/2017 12:40, Diego Biurrun wrote: > On Sun, Mar 26, 2017 at 02:12:39PM +0200, Luca Barbato wrote: >> --- a/configure >> +++ b/configure >> @@ -441,7 +441,7 @@ filter_out(){ >> pat=$1 >> shift >> for v; do >> -eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac" >> +

Re: [libav-devel] [PATCH] dirac: Make a full demuxer

2017-03-27 Thread Luca Barbato
On 27/03/2017 12:53, Kieran Kunhya wrote: > On Mon, 27 Mar 2017 at 11:36 Luca Barbato wrote: > >> On 27/03/2017 12:28, Kieran Kunhya wrote: >>> These offsets are optional so you need to search for BBCD >> >> Is there something to know that we are in a situation or the other

Re: [libav-devel] [PATCH 2/3] Add FM Screen Capture Codec decoder

2017-03-27 Thread Vittorio Giovara
On Mon, Mar 27, 2017 at 12:17 PM, Diego Biurrun wrote: > On Fri, Mar 24, 2017 at 04:47:55PM +0100, Vittorio Giovara wrote: >> On Fri, Mar 24, 2017 at 4:10 PM, Diego Biurrun wrote: >> > --- a/Changelog >> > +++ b/Changelog >> > @@ -12,6 +12,7 @@ version : >> >

Re: [libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Vittorio Giovara
On Mon, Mar 27, 2017 at 9:52 AM, Alexandra Hájková wrote: > Optimized by Martin Storsjö . > --- > libavcodec/arm/Makefile | 2 + > libavcodec/arm/hevc_idct.S| 228 > ++ >

Re: [libav-devel] [PATCH] dirac: Make a full demuxer

2017-03-27 Thread Kieran Kunhya
On Mon, 27 Mar 2017 at 11:36 Luca Barbato wrote: > On 27/03/2017 12:28, Kieran Kunhya wrote: > > These offsets are optional so you need to search for BBCD > > Is there something to know that we are in a situation or the other > beside check if the two values are as expected

Re: [libav-devel] [PATCH] configure: Escape elements being filtered out

2017-03-27 Thread Diego Biurrun
On Sun, Mar 26, 2017 at 02:12:39PM +0200, Luca Barbato wrote: > --- a/configure > +++ b/configure > @@ -441,7 +441,7 @@ filter_out(){ > pat=$1 > shift > for v; do > -eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac" > +eval "case '$v' in $pat) ;; *) printf '%s '

Re: [libav-devel] [PATCH] dirac: Make a full demuxer

2017-03-27 Thread Luca Barbato
On 27/03/2017 12:28, Kieran Kunhya wrote: > These offsets are optional so you need to search for BBCD Is there something to know that we are in a situation or the other beside check if the two values are as expected and fallback otherwise? BBCD+1byte is way too common and I'm not seeing escaping

Re: [libav-devel] [PATCH] dirac: Make a full demuxer

2017-03-27 Thread Kieran Kunhya
On Sun, 26 Mar 2017 at 18:12 Luca Barbato wrote: > The dirac raw bitstream contains enough framing information to make a > full demuxer out of it. > +parse_code = avio_r8(s->pb); > +next_off = avio_rb32(s->pb); > +prev_off = avio_rb32(s->pb); > These offsets

Re: [libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Martin Storsjö
On Mon, 27 Mar 2017, Diego Biurrun wrote: On Mon, Mar 27, 2017 at 09:52:55AM +0200, Alexandra Hájková wrote: --- /dev/null +++ b/libavcodec/arm/hevcdsp_init_arm.c @@ -0,0 +1,47 @@ + +#include "libavutil/arm/cpu.h" +#include "libavutil/attributes.h" +#include "libavutil/cpu.h" #include

Re: [libav-devel] [PATCH 2/3] Add FM Screen Capture Codec decoder

2017-03-27 Thread Diego Biurrun
On Fri, Mar 24, 2017 at 04:47:55PM +0100, Vittorio Giovara wrote: > On Fri, Mar 24, 2017 at 4:10 PM, Diego Biurrun wrote: > > --- a/Changelog > > +++ b/Changelog > > @@ -12,6 +12,7 @@ version : > > - The x86 assembler default switched from yasm to nasm, pass > >

Re: [libav-devel] [PATCH] dirac: Make a full demuxer

2017-03-27 Thread Diego Biurrun
On Sun, Mar 26, 2017 at 07:11:50PM +0200, Luca Barbato wrote: > --- a/libavformat/diracdec.c > +++ b/libavformat/diracdec.c > @@ -19,9 +19,16 @@ > > +#include "libavcodec/dirac.h" > #include "libavutil/intreadwrite.h" > + #include "libavutil/intreadwrite.h" #include "libavcodec/dirac.h" > @@

Re: [libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Diego Biurrun
On Mon, Mar 27, 2017 at 09:52:55AM +0200, Alexandra Hájková wrote: > --- /dev/null > +++ b/libavcodec/arm/hevcdsp_init_arm.c > @@ -0,0 +1,47 @@ > + > +#include "libavutil/arm/cpu.h" > +#include "libavutil/attributes.h" > +#include "libavutil/cpu.h" #include "libavutil/attributes.h" #include

Re: [libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Martin Storsjö
On Mon, 27 Mar 2017, Alexandra Hájková wrote: Optimized by Martin Storsjö . --- libavcodec/arm/Makefile | 2 + libavcodec/arm/hevc_idct.S| 228 ++ libavcodec/arm/hevcdsp_init_arm.c | 47 libavcodec/hevcdsp.c

[libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Alexandra Hájková
Optimized by Martin Storsjö . --- libavcodec/arm/Makefile | 2 + libavcodec/arm/hevc_idct.S| 228 ++ libavcodec/arm/hevcdsp_init_arm.c | 47 libavcodec/hevcdsp.c | 2 + libavcodec/hevcdsp.h