Re: [libav-devel] [PATCHES] scalarproduct_and_madd_int16 and wma lossless

2014-02-10 Thread Kostya Shishkov
On Mon, Feb 10, 2014 at 08:39:59AM +0100, Christophe Gisquet wrote: Hi, 2014-02-10 6:42 GMT+01:00 Kostya Shishkov kostya.shish...@gmail.com: On Sun, Feb 09, 2014 at 11:21:33PM +0100, Christophe Gisquet wrote: +if(s-cdlms[c][i].order 8) { +static int warned;

Re: [libav-devel] [PATCH 2/5] lavf: always unref the packet passed to av_interleaved_write_frame() on error

2014-02-10 Thread Martin Storsjö
On Tue, 4 Feb 2014, Anton Khirnov wrote: --- libavformat/avformat.h |3 ++- libavformat/mux.c | 25 ++--- 2 files changed, 20 insertions(+), 8 deletions(-) The change in general looks nice, but won't this lead to double frees for all those callers that have made

Re: [libav-devel] [PATCH 1/1] build: fix make examples when EXESUF is not empty

2014-02-10 Thread Diego Biurrun
build: fix examples compilation when EXESUF is not empty On Mon, Feb 10, 2014 at 12:47:17AM +0100, Janne Grunau wrote: From: Christophe Gisquet christophe.gisq...@gmail.com Due to a wrong substitution doc/examples is not added as prerequisite as a for the objects of the example programs.

Re: [libav-devel] [PATCH 5/5] wip: fate: FFv1 testcases

2014-02-10 Thread Diego Biurrun
On Sun, Feb 09, 2014 at 07:28:17PM +0100, Luca Barbato wrote: From: Peter B p...@das-werkstatt.com Signed-off-by: Luca Barbato lu_z...@gentoo.org --- I'm assuming this is not meant to be pushed right now? --- /dev/null +++ b/tests/fate/ffv1.mak @@ -0,0 +1,314 @@ +# This Makefile checks

Re: [libav-devel] [PATCH 2/5] lavf: always unref the packet passed to av_interleaved_write_frame() on error

2014-02-10 Thread Anton Khirnov
On Mon, 10 Feb 2014 13:05:42 +0200 (EET), Martin Storsjö mar...@martin.st wrote: On Tue, 4 Feb 2014, Anton Khirnov wrote: --- libavformat/avformat.h |3 ++- libavformat/mux.c | 25 ++--- 2 files changed, 20 insertions(+), 8 deletions(-) The change in

Re: [libav-devel] [PATCH 5/5] wip: fate: FFv1 testcases

2014-02-10 Thread Luca Barbato
On 10/02/14 12:17, Diego Biurrun wrote: On Sun, Feb 09, 2014 at 07:28:17PM +0100, Luca Barbato wrote: From: Peter B p...@das-werkstatt.com Signed-off-by: Luca Barbato lu_z...@gentoo.org --- I'm assuming this is not meant to be pushed right now? right, it is a wip since I want a second

Re: [libav-devel] [PATCH 2/5] lavf: always unref the packet passed to av_interleaved_write_frame() on error

2014-02-10 Thread Martin Storsjö
On Mon, 10 Feb 2014, Anton Khirnov wrote: On Mon, 10 Feb 2014 13:05:42 +0200 (EET), Martin Storsjö mar...@martin.st wrote: On Tue, 4 Feb 2014, Anton Khirnov wrote: --- libavformat/avformat.h |3 ++- libavformat/mux.c | 25 ++--- 2 files changed, 20

Re: [libav-devel] [PATCH] dcadsp: move test out of loop and dspize

2014-02-10 Thread Diego Biurrun
On Sun, Feb 09, 2014 at 02:33:42PM +0100, Christophe Gisquet wrote: --- a/libavcodec/arm/dcadsp_init_arm.c +++ b/libavcodec/arm/dcadsp_init_arm.c @@ -53,6 +53,45 @@ void ff_synth_filter_float_neon(FFTContext *imdct, +#if HAVE_NEON_INLINE HAVE_ASM_MOD_Y + +static inline void

Re: [libav-devel] [PATCH 4/5] ffv1: frame threading

2014-02-10 Thread Diego Biurrun
On Sun, Feb 09, 2014 at 07:28:16PM +0100, Luca Barbato wrote: --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -353,6 +354,43 @@ static int decode_slice(AVCodecContext *c, void *arg) +memcpy(pdst, psrc, sizeof(*pdst)); +pdst-state = NULL; +

Re: [libav-devel] [PATCH 2/5] g2meet: factor out seeking to the chunk end

2014-02-10 Thread Luca Barbato
On 08/02/14 14:36, Kostya Shishkov wrote: From: Maxim Poliakovski max_p...@gmx.de Signed-off-by: Kostya Shishkov kostya.shish...@gmail.com --- libavcodec/g2meet.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) Seems ok.

Re: [libav-devel] [PATCH 3/5] g2meet: make JPEG tile decoder operate on 8x8 block mask

2014-02-10 Thread Luca Barbato
On 08/02/14 14:36, Kostya Shishkov wrote: This is needed for upcoming Go2Meeting (G2M2/G2M3) decoder. --- libavcodec/g2meet.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) mask is surely large enough? Beside that possibly ok. lu

Re: [libav-devel] [PATCH 3/5] g2meet: make JPEG tile decoder operate on 8x8 block mask

2014-02-10 Thread Kostya Shishkov
On Mon, Feb 10, 2014 at 12:57:45PM +0100, Luca Barbato wrote: On 08/02/14 14:36, Kostya Shishkov wrote: This is needed for upcoming Go2Meeting (G2M2/G2M3) decoder. --- libavcodec/g2meet.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) mask is

Re: [libav-devel] [PATCH] lavfi: add compand audio filter

2014-02-10 Thread Diego Biurrun
On Sat, Feb 08, 2014 at 08:59:33PM -0500, Andrew Kelley wrote: --- a/doc/filters.texi +++ b/doc/filters.texi @@ -467,6 +467,80 @@ To fix a 5.1 WAV improperly encoded in AAC's native channel order + +@item attacks +@item decays +Set list of times in seconds for each channel over which the

Re: [libav-devel] [PATCH 1/2] pcmdec: replace a reachable assert with an error check

2014-02-10 Thread Tim Walker
On 10 Feb 2014, at 07:48, Anton Khirnov an...@khirnov.net wrote: Libavformat should not make any assumptions about values returned from other libraries. This assert is easily reachable by using a non-raw codec id. --- libavformat/pcmdec.c |6 +- 1 file changed, 5 insertions(+), 1

Re: [libav-devel] [PATCH 5/5] wip: fate: FFv1 testcases

2014-02-10 Thread Janne Grunau
On 2014-02-10 12:17:30 +0100, Diego Biurrun wrote: On Sun, Feb 09, 2014 at 07:28:17PM +0100, Luca Barbato wrote: From: Peter B p...@das-werkstatt.com Signed-off-by: Luca Barbato lu_z...@gentoo.org --- +### +# Decoding:

Re: [libav-devel] [PATCH 3/5] ffv1: Make sure to clean up on error

2014-02-10 Thread Janne Grunau
On 2014-02-09 19:28:15 +0100, Luca Barbato wrote: Plug some leaks and free on non-allocated pointers. --- libavcodec/ffv1.c| 29 + libavcodec/ffv1dec.c | 14 +- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/libavcodec/ffv1.c

Re: [libav-devel] [PATCH 3/5] ffv1: Make sure to clean up on error

2014-02-10 Thread Luca Barbato
On 10/02/14 14:03, Janne Grunau wrote: On 2014-02-09 19:28:15 +0100, Luca Barbato wrote: Plug some leaks and free on non-allocated pointers. --- libavcodec/ffv1.c| 29 + libavcodec/ffv1dec.c | 14 +- 2 files changed, 34 insertions(+), 9

Re: [libav-devel] [PATCH 3/5] ffv1: Make sure to clean up on error

2014-02-10 Thread Janne Grunau
On 2014-02-10 14:09:14 +0100, Luca Barbato wrote: On 10/02/14 14:03, Janne Grunau wrote: On 2014-02-09 19:28:15 +0100, Luca Barbato wrote: Plug some leaks and free on non-allocated pointers. --- @@ -216,10 +220,21 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)

Re: [libav-devel] [PATCH] aacdec: set AVFrame sample_rate

2014-02-10 Thread Janne Grunau
On 2014-02-08 21:24:00 -0500, Justin Ruggles wrote: On 02/08/2014 09:19 PM, John Stebbins wrote: AVFrame.sample_rate is set in ff_get_buffer, but aacdec calls ff_get_buffer before the samplerate is known. So it needs to be set again before returning the frame. --- libavcodec/aacdec.c |

[libav-devel] [PATCH] lavc: set AVFrame pkt_pts and reordered_opaque in reget_buffer

2014-02-10 Thread John Stebbins
--- libavcodec/utils.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 46f339f..b2b11ef 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -762,8 +762,11 @@ int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame)

Re: [libav-devel] [PATCH] lavc: set AVFrame pkt_pts and reordered_opaque in reget_buffer

2014-02-10 Thread Anton Khirnov
On Mon, 10 Feb 2014 08:53:20 -0700, John Stebbins stebb...@jetheaddev.com wrote: --- libavcodec/utils.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 46f339f..b2b11ef 100644 --- a/libavcodec/utils.c +++

[libav-devel] [PATCH] lavfi: add compand audio filter

2014-02-10 Thread Andrew Kelley
This patch adds the `compand` audio filter from ffmpeg master branch (currently at 7f0f47b3df) adapted to work with libav. The filter makes use of `av_strtok` to parse the input parameters, and it appears that libav has removed that function, so I inlined it into the filter. Same goes for

Re: [libav-devel] [PATCH] lavfi: add compand audio filter

2014-02-10 Thread Andrew Kelley
On Mon, Feb 10, 2014 at 7:13 AM, Diego Biurrun di...@biurrun.de wrote: On Sat, Feb 08, 2014 at 08:59:33PM -0500, Andrew Kelley wrote: --- a/doc/filters.texi +++ b/doc/filters.texi @@ -467,6 +467,80 @@ To fix a 5.1 WAV improperly encoded in AAC's native channel order + +@item attacks

Re: [libav-devel] [PATCH] lavfi: add compand audio filter

2014-02-10 Thread Andrew Kelley
On Sat, Feb 8, 2014 at 11:22 PM, Luca Barbato lu_z...@gentoo.org wrote: In short, do not use av_assert* in new code you are committing to the mainline. What should I do about the assert in av_clipd_c? /** * Clip a double value into the amin-amax range. * @param a value to clip *

[libav-devel] [PATCH] libavfilter: example audio filtering program

2014-02-10 Thread Anton Khirnov
Based on a patch by Andrew Kelley superjo...@gmail.com --- configure |2 + doc/Makefile|3 +- doc/examples/filter_audio.c | 362 +++ 3 files changed, 366 insertions(+), 1 deletion(-) create mode 100644

Re: [libav-devel] [PATCH] libavformat/mpegts: expose raw packet size

2014-02-10 Thread Leandro Dorileo
ping? Leandro Dorileo wrote: We cannot easily determine if an mpeg TS's packet size is DVHS, FEC or so on, for that we need to expose the internal raw_packet_size field. Change-Id: I3eb179703b62748ae8bec6bd85a50760c0bc6d84 --- libavformat/mpegts.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [libav-devel] [PATCH] libavformat/mpegts: expose raw packet size

2014-02-10 Thread Luca Barbato
On 10/02/14 21:39, Leandro Dorileo wrote: ping? Leandro Dorileo wrote: We cannot easily determine if an mpeg TS's packet size is DVHS, FEC or so on, for that we need to expose the internal raw_packet_size field. Using an avoption this way is a first. Thanks for the patch Leandro. Anton

Re: [libav-devel] [PATCH 2/2] FATE: force FLAC in the lavf ogg test

2014-02-10 Thread Andrew Kelley
Apologies for missing this. On Mon, Feb 10, 2014 at 1:48 AM, Anton Khirnov an...@khirnov.net wrote: Since b0c2c09, vorbis would be used if libvorbis is compiled in. --- tests/lavf-regression.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lavf-regression.sh

[libav-devel] [PATCH 1/2] buffersink: document special error codes returned from av_buffersink_get_frame

2014-02-10 Thread Anton Khirnov
--- libavfilter/buffersink.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h index 75cea35..0b183f7 100644 --- a/libavfilter/buffersink.h +++ b/libavfilter/buffersink.h @@ -70,8 +70,12 @@ int

[libav-devel] [PATCH 2/2] lavfi doxy: add buffer{src, sink}.h to the main lavfi doxy group

2014-02-10 Thread Anton Khirnov
--- libavfilter/buffersink.h | 11 +++ libavfilter/buffersrc.h | 11 +++ 2 files changed, 22 insertions(+) diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h index 0b183f7..b2466f5 100644 --- a/libavfilter/buffersink.h +++ b/libavfilter/buffersink.h @@ -21,11

[libav-devel] dca xll aka DTS-HD Master Audio

2014-02-10 Thread Niels Möller
Hi, I intend to add support for the xll extension to the dca decoder, aka DTS-HD Master Audio, as requested on https://wiki.videolan.org/Bounties#List_of_bounties. I work at Southpole Consulting, together with Benjamin Larsson, and I'll hopefully be able to spend a couple of weeks of working time