Re: [libav-devel] [PATCH 4/4] vaapi: rename struct vaapi_context to AVVAAPIContext

2016-01-15 Thread Anton Khirnov
Quoting wm4 (2016-01-13 16:46:31) > On Wed, 13 Jan 2016 11:06:06 +0100 > Anton Khirnov wrote: > > > I don't think it's particularly painful, as far as API changes go -- you > > only need like 2 different lines for each version (the struct name + > > av_mallocz() vs the new

[libav-devel] [PATCH] libkvazaar: Set frame rate as a rational number

2016-01-15 Thread Arttu Ylä-Outinen
Updates libkvazaar to pass the exact frame rate to Kvazaar by setting the numerator and denominator separately instead of a single floating point number. The exact frame rate is needed for writing timing info to the bitstream. Requires Kvazaar version 0.8.1. Signed-off-by: Arttu Ylä-Outinen

[libav-devel] [PATCH] avcodec/v210: add avx2 version of the line encoder

2016-01-15 Thread Kieran Kunhya
-- Forwarded message - From: James Darnley Date: Wed, 13 Jan 2016 at 15:55 Subject: [FFmpeg-devel] [PATCH] avcodec/v210: add avx2 version of the line encoder To: FFmpeg development discussions and patches Around 35% faster than

[libav-devel] [PATCH] configure: Use pkg-config to check for openssl

2016-01-15 Thread Luca Barbato
--- Possibly we could drop the 3 lines above. configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8518e69..b4dad59 100755 --- a/configure +++ b/configure @@ -4535,7 +4535,7 @@ enabled mmal && { check_lib interface/mmal/mmal.h

Re: [libav-devel] [PATCH] configure: Use pkg-config to check for openssl

2016-01-15 Thread Derek Buitenhuis
On 1/15/2016 5:10 PM, Luca Barbato wrote: > --- > > Possibly we could drop the 3 lines above. > > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Normally I'm all for pkg-config. However for OpenSSL, it is a system library on some platforms and does not have a .pc file,

Re: [libav-devel] [PATCH] configure: Use pkg-config to check for openssl

2016-01-15 Thread Luca Barbato
On 15/01/16 18:24, Derek Buitenhuis wrote: > On 1/15/2016 5:10 PM, Luca Barbato wrote: >> --- >> >> Possibly we could drop the 3 lines above. >> >> configure | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Normally I'm all for pkg-config. However for OpenSSL, it > is a system

Re: [libav-devel] [PATCH] configure: Use pkg-config to check for openssl

2016-01-15 Thread James Almer
On 1/15/2016 2:35 PM, Luca Barbato wrote: > On 15/01/16 18:24, Derek Buitenhuis wrote: >> On 1/15/2016 5:10 PM, Luca Barbato wrote: >>> --- >>> >>> Possibly we could drop the 3 lines above. >>> >>> configure | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> Normally I'm all for

[libav-devel] [PATCH 3/4] avcodec/v210: add avx2 version of the 10-bit line encoder

2016-01-15 Thread James Darnley
Around 25% faster than the ssse3 version. --- libavcodec/v210enc.c | 11 +-- libavcodec/x86/constants.c| 3 ++- libavcodec/x86/constants.h| 2 +- libavcodec/x86/v210enc.asm| 20 +++- libavcodec/x86/v210enc_init.c | 4 5 files changed, 31

Re: [libav-devel] [PATCH] configure: Use pkg-config to check for openssl

2016-01-15 Thread Luca Barbato
On 15/01/16 19:15, James Almer wrote: > On 1/15/2016 2:35 PM, Luca Barbato wrote: >> On 15/01/16 18:24, Derek Buitenhuis wrote: >>> On 1/15/2016 5:10 PM, Luca Barbato wrote: --- Possibly we could drop the 3 lines above. configure | 2 +- 1 file changed, 1

[libav-devel] [PATCH 1/4] fate: add 10-bit v210 encoder tests

2016-01-15 Thread James Darnley
--- tests/fate/vcodec.mak| 3 ++- tests/ref/vsynth/vsynth1-v210-10 | 4 tests/ref/vsynth/vsynth2-v210-10 | 4 tests/ref/vsynth/vsynth3-v210-10 | 4 tests/ref/vsynth/vsynth_lena-v210-10 | 4 5 files changed, 18 insertions(+), 1 deletion(-) create

[libav-devel] [PATCH 4/4] avcodec/v210: document the requirement for sample_factor

2016-01-15 Thread James Darnley
The sample factor must be the same for both 8- and 10-bit functions chosen otherwise the output will be incorrect. --- libavcodec/v210enc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h index 85f84f1..899a7d9 100644 ---

[libav-devel] [PATCH 2/4] avcodec/v210: add avx2 version of the 8-bit line encoder

2016-01-15 Thread James Darnley
Around 35% faster than the avx version. Signed-off-by: Henrik Gramner --- libavcodec/v210enc.c | 5 +++-- libavcodec/v210enc.h | 1 + libavcodec/x86/constants.c| 3 ++- libavcodec/x86/constants.h| 2 +- libavcodec/x86/v210enc.asm| 48

Re: [libav-devel] Fwd: [FFmpeg-devel] [PATCH] avcodec: add a native BBC Dirac VC-2 HQ encoder

2016-01-15 Thread Luca Barbato
On 14/01/16 20:06, Kieran Kunhya wrote: > +s->dirac_subband_dwt[DIRAC_TRANSFORM_13_7] = dirac_subband_noop; > +s->dirac_subband_dwt[DIRAC_TRANSFORM_HAAR] = dirac_subband_noop; > +s->dirac_subband_dwt[DIRAC_TRANSFORM_HAAR_S] = dirac_subband_noop; > +