Re: [libav-devel] [PATCH] huffyuv: add padding to classic (v1) huffman tables.

2012-03-13 Thread Reinhard Tartler
On Thu, Mar 8, 2012 at 3:39 PM, Ronald S. Bultje rsbul...@gmail.com wrote: Hi, On Wed, Mar 7, 2012 at 10:54 PM, Reinhard Tartler siret...@gmail.com wrote: On Thu, Mar 8, 2012 at 1:29 AM, Ronald S. Bultje rsbul...@gmail.com wrote: From: Ronald S. Bultje rsbul...@gmail.com Found-by: Mateusz

Re: [libav-devel] [PATCH 5/7] FATE: add capability for audio encode/decode tests with fuzzy psnr comparison

2012-03-13 Thread Måns Rullgård
Justin Ruggles justin.rugg...@gmail.com writes: This allows for testing floating-point audio encoders across different platforms where exact comparisons are unreliable due to float rounding differences. --- tests/fate-run.sh | 10 ++ 1 files changed, 10 insertions(+), 0

Re: [libav-devel] [PATCH 3/7] FATE: use absolute difference from a target value in do_tiny_psnr()

2012-03-13 Thread Måns Rullgård
Justin Ruggles justin.rugg...@gmail.com writes: On 03/12/2012 10:18 AM, Måns Rullgård wrote: Justin Ruggles justin.rugg...@gmail.com writes: This will allow comparison to original pre-encoded content instead of comparing to expected decoded output. --- tests/Makefile|2 +-

Re: [libav-devel] [PATCH 4/7] FATE: allow a tolerance in the size comparison in do_tiny_psnr()

2012-03-13 Thread Måns Rullgård
Justin Ruggles justin.rugg...@gmail.com writes: This will allow for comparing decoded output to the original source when the decoded size is not exactly the same as the original size. --- tests/Makefile|2 +- tests/fate-run.sh |4 +++- 2 files changed, 4 insertions(+), 2

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.

2012-03-13 Thread Måns Rullgård
Ronald S. Bultje rsbul...@gmail.com writes: From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com --- libavcodec/h264_direct.c | 10 +- 1 file changed, 9

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.

2012-03-13 Thread Kostya Shishkov
On Tue, Mar 13, 2012 at 10:52:38AM +, Måns Rullgård wrote: Ronald S. Bultje rsbul...@gmail.com writes: From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com

[libav-devel] [PATCH] Make the 'documentation' link on the main page point to general docs instead of ffmpeg

2012-03-13 Thread Anton Khirnov
--- src/index |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/index b/src/index index 8a0f610..f8e804d 100644 --- a/src/index +++ b/src/index @@ -4,7 +4,7 @@ p bLibav/b is a complete, cross-platform solution to record, convert and stream audio and video. It

Re: [libav-devel] [PATCH] Make the 'documentation' link on the main page point to general docs instead of ffmpeg

2012-03-13 Thread Diego Biurrun
On Tue, Mar 13, 2012 at 12:36:45PM +0100, Anton Khirnov wrote: --- src/index |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH 1/2] doc/general: add missing @tab to codecs table.

2012-03-13 Thread Anton Khirnov
--- doc/general.texi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 9f31081..14db802 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -529,7 +529,7 @@ following image formats are supported: @item MPEG-1/2 video (VDPAU

[libav-devel] [PATCH 2/2] doc/general: update supported devices table.

2012-03-13 Thread Anton Khirnov
Add libcdio and fbdev, remove v4l1. --- doc/general.texi |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 14db802..d3b3177 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -819,11 +819,12 @@ performance on systems without

Re: [libav-devel] [PATCH 1/2] doc/general: add missing @tab to codecs table.

2012-03-13 Thread Kostya Shishkov
On Tue, Mar 13, 2012 at 12:45:53PM +0100, Anton Khirnov wrote: --- doc/general.texi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 9f31081..14db802 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -529,7 +529,7

[libav-devel] [PATCH] Change 'Fate' - 'FATE'

2012-03-13 Thread Anton Khirnov
It's an acronym. --- src/template_head2 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/template_head2 b/src/template_head2 index 0bf1564..513a049 100644 --- a/src/template_head2 +++ b/src/template_head2 @@ -18,7 +18,7 @@ a href=download.htmlDownload/a a

Re: [libav-devel] [PATCH 3/3] swscale: convert hscale() to use named arguments.

2012-03-13 Thread Kieran Kunhya
Looks ok if tested. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH 2/3] aacps: align some arrays

2012-03-13 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/aacps.c | 19 +++ libavcodec/aacps.h | 20 ++-- libavcodec/aacps_tablegen.c | 20 ++-- libavcodec/aacps_tablegen.h | 15 --- libavcodec/aacpsdsp.c

[libav-devel] [PATCH 3/3] aacps: NEON optimisations

2012-03-13 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/aacpsdsp.c |3 + libavcodec/aacpsdsp.h |1 + libavcodec/arm/Makefile|6 +- libavcodec/arm/aacpsdsp_init_arm.c | 53 +++ libavcodec/arm/aacpsdsp_neon.S | 272

[libav-devel] [PATCH 1/3] aacps: move some loops to function pointers

2012-03-13 Thread Mans Rullgard
Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/Makefile |2 +- libavcodec/aacps.c| 225 ++--- libavcodec/aacps.h|2 + libavcodec/aacpsdsp.c | 210 + libavcodec/aacpsdsp.h | 52

Re: [libav-devel] [PATCH 2/2] doc/general: update supported devices table.

2012-03-13 Thread Paul B Mahol
On 3/13/12, Anton Khirnov an...@khirnov.net wrote: Add libcdio and fbdev, remove v4l1. --- doc/general.texi |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) LGTM ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.

2012-03-13 Thread Ronald S. Bultje
Hi, 2012/3/13 Måns Rullgård m...@mansr.com: Ronald S. Bultje rsbul...@gmail.com writes: From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com ---  

[libav-devel] [PATCH] bytestream: add more unchecked variants for bytestream2 API

2012-03-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- libavcodec/bytestream.h | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h index 4d686e5..6814620 100644 --- a/libavcodec/bytestream.h +++

Re: [libav-devel] [PATCH] Change 'Fate' - 'FATE'

2012-03-13 Thread Diego Biurrun
On Tue, Mar 13, 2012 at 12:58:59PM +0100, Anton Khirnov wrote: It's an acronym. --- src/template_head2 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 3/3] aacps: NEON optimisations

2012-03-13 Thread Diego Biurrun
On Tue, Mar 13, 2012 at 01:22:07PM +, Mans Rullgard wrote: --- /dev/null +++ b/libavcodec/arm/aacpsdsp_init_arm.c @@ -0,0 +1,53 @@ + +av_cold void ff_psdsp_init_arm(PSDSPContext *s) +{ +if (HAVE_NEON) { +s-add_squares = ff_ps_add_squares_neon; +s-mul_pair_single =

Re: [libav-devel] [PATCH 2/3] aacps: align some arrays

2012-03-13 Thread Diego Biurrun
On Tue, Mar 13, 2012 at 01:22:06PM +, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/aacps.c | 19 +++ libavcodec/aacps.h | 20 ++-- libavcodec/aacps_tablegen.c | 20 ++--

Re: [libav-devel] [PATCH 2/3] aacps: align some arrays

2012-03-13 Thread Måns Rullgård
Diego Biurrun di...@biurrun.de writes: On Tue, Mar 13, 2012 at 01:22:06PM +, Mans Rullgard wrote: Signed-off-by: Mans Rullgard m...@mansr.com --- libavcodec/aacps.c | 19 +++ libavcodec/aacps.h | 20 ++-- libavcodec/aacps_tablegen.c

Re: [libav-devel] [PATCH 1/3] aacps: move some loops to function pointers

2012-03-13 Thread Diego Biurrun
On Tue, Mar 13, 2012 at 01:22:05PM +, Mans Rullgard wrote: --- /dev/null +++ b/libavcodec/aacpsdsp.c @@ -0,0 +1,210 @@ + +void ff_psdsp_init(PSDSPContext *s) av_cold? +{ +s-add_squares = ps_add_squares_c; +s-mul_pair_single = ps_mul_pair_single_c; +s-hybrid_analysis =

[libav-devel] Fw: GCC 4.4.7 Released

2012-03-13 Thread Sean McGovern
/www.gnu.org/order/ftp.html Please do not contact me directly regarding questions or comments about this release. Instead, use the resources available from http://gcc.gnu.org. As always, a vast number of people contributed to this GCC release -- far too many to thank individually!

[libav-devel] [PATCH] h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction.

2012-03-13 Thread Ronald S. Bultje
From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com --- libavcodec/h264_direct.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.

2012-03-13 Thread Ronald S. Bultje
Hi, On Mon, Mar 12, 2012 at 10:20 PM, Luca Barbato lu_z...@gentoo.org wrote: On 3/12/12 6:28 PM, Ronald S. Bultje wrote: From: Michael Niedermayermichae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S.

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction.

2012-03-13 Thread Luca Barbato
On 13/03/12 09:46, Ronald S. Bultje wrote: From: Michael Niedermayer michae...@gmx.at Still I'd rather have this code factored in an inline function... Beside that I guess it is ok. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced progressive MB combinations for direct mode prediction.

2012-03-13 Thread Luca Barbato
On 13/03/12 09:46, Ronald S. Bultje wrote: Hi, On Mon, Mar 12, 2012 at 10:20 PM, Luca Barbato lu_z...@gentoo.org wrote: On 3/12/12 6:28 PM, Ronald S. Bultje wrote: From: Michael Niedermayermichae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction.

2012-03-13 Thread Ronald S. Bultje
Hi, On Tue, Mar 13, 2012 at 9:47 AM, Luca Barbato lu_z...@gentoo.org wrote: On 13/03/12 09:46, Ronald S. Bultje wrote: From: Michael Niedermayer michae...@gmx.at Still I'd rather have this code factored in an inline function... Beside that I guess it is ok. I feel that for 4 lines, a new

Re: [libav-devel] [PATCH] h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction.

2012-03-13 Thread Luca Barbato
On 13/03/12 09:50, Ronald S. Bultje wrote: Hi, On Tue, Mar 13, 2012 at 9:47 AM, Luca Barbato lu_z...@gentoo.org wrote: On 13/03/12 09:46, Ronald S. Bultje wrote: From: Michael Niedermayer michae...@gmx.at Still I'd rather have this code factored in an inline function... Beside that I

[libav-devel] [PATCH 1/1] mpegmux: add stuffing to avoid incomplete PCM frames

2012-03-13 Thread Janne Grunau
--- libavformat/mpegenc.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 852b3f1..1e2fcb1 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -830,6 +830,12 @@ static int flush_packet(AVFormatContext

[libav-devel] [PATCH] anm: convert to bytestream2 API

2012-03-13 Thread Paul B Mahol
Protects from overreads. Signed-off-by: Paul B Mahol one...@gmail.com --- libavcodec/anm.c | 60 ++--- 1 files changed, 29 insertions(+), 31 deletions(-) diff --git a/libavcodec/anm.c b/libavcodec/anm.c index 46002f8..c2d22cb 100644 ---

[libav-devel] [PATCH 1/2] snow: reject unsupported chroma shifts.

2012-03-13 Thread Ronald S. Bultje
From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com --- libavcodec/snowdec.c |5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/snowdec.c

[libav-devel] [PATCH 2/2] snow: check reference frame indices.

2012-03-13 Thread Ronald S. Bultje
From: Michael Niedermayer michae...@gmx.at Fixes NULL ptr dereference Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com --- libavcodec/snowdec.c | 30 +- 1 file changed, 21

Re: [libav-devel] [PATCH 1/2] snow: reject unsupported chroma shifts.

2012-03-13 Thread Luca Barbato
On 13/03/12 12:16, Ronald S. Bultje wrote: From: Michael Niedermayer michae...@gmx.at Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org Signed-off-by: Ronald S. Bultje rsbul...@gmail.com --- libavcodec/snowdec.c |5 + 1 file changed, 5 insertions(+)

[libav-devel] [PATCH] xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns.

2012-03-13 Thread Ronald S. Bultje
From: Ronald S. Bultje rsbul...@gmail.com Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavcodec/adpcm.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index

[libav-devel] [PATCH] h264: stricter reference limit enforcement.

2012-03-13 Thread Ronald S. Bultje
From: Ronald S. Bultje rsbul...@gmail.com Progressive images can have only 16 references, error out if there are more, since the data is almost certainly corrupt, and the invalid value will lead to random crashes or invalid writes later on. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind

[libav-devel] [PATCH] jpeg: handle progressive in second field of interlaced.

2012-03-13 Thread Ronald S. Bultje
From: Ronald S. Bultje rsbul...@gmail.com Progressive data is allocated later in decode_sof(), not allocating that data leads to NULL dereferences. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavcodec/mjpegdec.c |5 ++--- 1 file changed, 2

[libav-devel] [PATCH] jpeg: handle invalid component index.

2012-03-13 Thread Ronald S. Bultje
From: Ronald S. Bultje rsbul...@gmail.com Fixes crashes on corrupt data. Found-by: Mateusz j00ru Jurczyk and Gynvael Coldwind CC: libav-sta...@libav.org --- libavcodec/mjpegdec.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/mjpegdec.c

Re: [libav-devel] [PATCH] jpeg: handle progressive in second field of interlaced.

2012-03-13 Thread Luca Barbato
On 13/03/12 17:18, Ronald S. Bultje wrote: /* XXX: not complete test ! */ what? beside that the patch seems sane. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH] jpeg: handle invalid component index.

2012-03-13 Thread Luca Barbato
On 13/03/12 17:51, Ronald S. Bultje wrote: return -1; seems ok, maybe you might change this while you are at it. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH] jvdec: unbreak decoding

2012-03-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- libavcodec/jvdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c index 5d4fdea..ea4b60f 100644 --- a/libavcodec/jvdec.c +++ b/libavcodec/jvdec.c @@ -150,7 +150,7 @@ static int

[libav-devel] [PATCH] jvdec: set video stream duration

2012-03-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- libavformat/jvdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index c42e302..567f462 100644 --- a/libavformat/jvdec.c +++ b/libavformat/jvdec.c @@ -79,6 +79,7 @@ static int

[libav-devel] [PATCH] fate: add pam image regression test

2012-03-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- tests/lavf-regression.sh |4 tests/ref/lavf/pam |3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 tests/ref/lavf/pam diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index