Re: [libav-devel] [PATCH 1/2] matroska: add the Opus mapping

2014-04-28 Thread Anton Khirnov
On Mon, 28 Apr 2014 10:05:42 +0200, Hendrik Leppkes h.lepp...@gmail.com wrote: On Mon, Apr 28, 2014 at 7:34 AM, Anton Khirnov an...@khirnov.net wrote: On Sun, 27 Apr 2014 23:06:07 +0200, Hendrik Leppkes h.lepp...@gmail.com wrote: On Sun, Apr 27, 2014 at 6:47 PM, Anton Khirnov

Re: [libav-devel] dca xll: x96 style upsampling

2014-04-28 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: I now have the below code, which doesn't work. Fixed now (and the bugs actually weren't in the code quoted here). And pushed to my repo. Peak sample error from the reference flac file is now 7521 (in 24-bit output). I think the upmix is working now,

[libav-devel] dca xll: Working audio

2014-04-28 Thread Niels Möller
After implementing proper channel reorder, I think the audio is pretty close to correct. Peak sample error for Master Audio 5.0 96khz.dts is now down to 115 (for 24-bit integer output). To be compared to 7183 if the core channels are upmixed but the xll residual data is ignored. Code in my public

Re: [libav-devel] dca xll: Working audio

2014-04-28 Thread Kostya Shishkov
On Mon, Apr 28, 2014 at 02:35:36PM +0200, Niels Möller wrote: After implementing proper channel reorder, I think the audio is pretty close to correct. Peak sample error for Master Audio 5.0 96khz.dts is now down to 115 (for 24-bit integer output). To be compared to 7183 if the core channels

Re: [libav-devel] dca xll: Working audio

2014-04-28 Thread Hendrik Leppkes
On Mon, Apr 28, 2014 at 2:44 PM, Kostya Shishkov kostya.shish...@gmail.com wrote: On Mon, Apr 28, 2014 at 02:35:36PM +0200, Niels Möller wrote: After implementing proper channel reorder, I think the audio is pretty close to correct. Peak sample error for Master Audio 5.0 96khz.dts is now down

Re: [libav-devel] dca xll: Working audio

2014-04-28 Thread Niels Möller
Kostya Shishkov kostya.shish...@gmail.com writes: Maybe someone can give you a sample with lossless-only tracks? IIRC it's quite common to have 7.1 lossless audio with 5.1 core channels with residue plus two fully lossless channels. And you'll have fun with remixing channel sets then. I think

[libav-devel] [RFC] opus: simplify fft15 by repeating the first 4 expat values at the end

2014-04-28 Thread Janne Grunau
--- patch against my tree still based on v1 of the patch. so fuzz is expected. Unsure if I should replace the (N + 4) in the malloc with FFMAX(N, 19), reasoning for the '+ 4' was that it allows over reads but contrary to my initial thinking it's not required for the NEON version.

[libav-devel] [PATCH] mjpegdec: only set SAR if resolution unit is 0

2014-04-28 Thread Justin Ruggles
--- libavcodec/mjpegdec.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index b1192c5..1e5dd68 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1212,14 +1212,18 @@ static int

Re: [libav-devel] [PATCH] mjpegdec: only set SAR if resolution unit is 0

2014-04-28 Thread Luca Barbato
On 28/04/14 17:41, Justin Ruggles wrote: --- libavcodec/mjpegdec.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index b1192c5..1e5dd68 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@

[libav-devel] [PATCH 1/1] opus: simplify fft15 by repeating the first 4 expat values at the end

2014-04-28 Thread Janne Grunau
--- typo fixed, rebased onto the v2 patch and using FFMAX(N, 19) libavcodec/opus_imdct.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavcodec/opus_imdct.c b/libavcodec/opus_imdct.c index 671f8d5..d4ffd95 100644 --- a/libavcodec/opus_imdct.c +++

Re: [libav-devel] [PATCH] mjpegdec: only set SAR if resolution unit is 0

2014-04-28 Thread Anton Khirnov
On Mon, 28 Apr 2014 11:41:27 -0400, Justin Ruggles justin.rugg...@gmail.com wrote: --- libavcodec/mjpegdec.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) Why? Wikipedia suggests it still defines a SAR for res_units=1/2. -- Anton Khirnov

Re: [libav-devel] [PATCH] vc1: Print debug message if a b frame without reference is skipped

2014-04-28 Thread Anton Khirnov
On Sun, 27 Apr 2014 15:47:25 +0200, Alessandro Ghedini alessan...@ghedini.me wrote: On dom, apr 27, 2014 at 02:36:41 +0200, Luca Barbato wrote: On 27/04/14 14:13, Alessandro Ghedini wrote: From: Michael Niedermayer michae...@gmx.at --- libavcodec/vc1dec.c | 1 + 1 file

Re: [libav-devel] [PATCH v3] lavfi: add Bauer stereo-to-binaural audio filter

2014-04-28 Thread Anton Khirnov
Hi, Nice patch. I've been considering stealing it from mplayer for some time, thanks for beating me to it. My comments are mostly details, feel free to ignore the ones prefixed with nit: On Sun, 27 Apr 2014 15:37:03 +0200, Alessandro Ghedini alessan...@ghedini.me wrote: diff --git

Re: [libav-devel] [PATCH 0/4] DXVA2 patches

2014-04-28 Thread Anton Khirnov
On Tue, 22 Apr 2014 15:22:49 +0200, Hendrik Leppkes h.lepp...@gmail.com wrote: Hey, I decided to combine all floating DXVA2 patches into a new set, rebased and updated. I also included a new backport patch from FFmpeg, which fixes an issue introduced recently. 12 have been on the ML

[libav-devel] [PATCH] configure: rework dxva in avconv handling

2014-04-28 Thread Anton Khirnov
Move the dxva check after the dependencies have been detected, make sure the ole32 library exists. Fixes build on non-Windows. --- Makefile |2 +- avconv_opt.c |2 +- configure| 10 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile

Re: [libav-devel] [PATCH] configure: rework dxva in avconv handling

2014-04-28 Thread Janne Grunau
On 2014-04-28 23:03:16 +0200, Anton Khirnov wrote: Move the dxva check after the dependencies have been detected, make sure the ole32 library exists. Fixes build on non-Windows. --- Makefile |2 +- avconv_opt.c |2 +- configure| 10 +++--- 3 files changed, 9

[libav-devel] [PATCH] avconv_dxva2: define all used GUIDs directly instead of relying on the dxva2api.h header

2014-04-28 Thread Hendrik Leppkes
This avoids issues with inconsistent headers with different versions of mingw-w64 and older MSVC variants. Fixes FATE builds of MSVC 2010. --- avconv_dxva2.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/avconv_dxva2.c b/avconv_dxva2.c index

[libav-devel] [PATCH] Add av_image_check_sar() and use it to validate SAR

2014-04-28 Thread Justin Ruggles
--- doc/APIchanges | 3 +++ libavcodec/dirac.c | 2 ++ libavcodec/dpx.c | 2 ++ libavcodec/dvdec.c | 4 +++- libavcodec/exr.c | 4 ++-- libavcodec/ffv1dec.c | 8 libavcodec/h263dec.c | 2 ++ libavcodec/h264_slice.c | 3 +--