[libav-devel] [PATCH] lavfi: add avfilter_unref_bufferp()

2012-07-20 Thread Anton Khirnov
From: Robert Nagy Signed-off-by: Anton Khirnov --- Seems I failed to include this in my error checking patchset for lavfi. That set depends on it. --- doc/APIchanges |3 +++ libavfilter/avfilter.h | 12 libavfilter/buffer.c |6 ++ 3 files changed, 21 inserti

Re: [libav-devel] [PATCH] alac: check for truncated packets

2012-07-20 Thread Anton Khirnov
On Thu, 19 Jul 2012 20:08:41 -0400, Justin Ruggles wrote: > This will give a clearer error message when the error is caused by a > truncated packet. > --- > libavcodec/alac.c | 15 +++ > 1 files changed, 11 insertions(+), 4 deletions(-) > Looks good. -- Anton Khirnov _

Re: [libav-devel] [PATCH] libopenjpeg: introduce lowres and lowqual private options

2012-07-20 Thread Anton Khirnov
On Thu, 19 Jul 2012 20:59:45 +0200, Luca Barbato wrote: > OpenJPEG can decode in lower resolution or decode only a number > of enhancement layers. > --- > libavcodec/libopenjpegdec.c | 28 > 1 files changed, 28 insertions(+), 0 deletions(-) > > diff --git a/libavc

Re: [libav-devel] [PATCH 2/3] libopenjpeg: cosmetics

2012-07-20 Thread Anton Khirnov
On Thu, 19 Jul 2012 22:22:09 +0200, Luca Barbato wrote: > Reorder headers and usual K&R style update. > --- > libavcodec/libopenjpegdec.c | 85 > +-- > 1 files changed, 49 insertions(+), 36 deletions(-) > Looks ok. -- Anton Khirnov _

[libav-devel] [PATCH] rtmp: Gracefully ignore FCPublish and _checkbw errors

2012-07-20 Thread Samuel Pitoiset
Those messages are adobe specific historical artefacs that some rtmp servers do not support. It is safer to ignore their failure. This fixes publishing streams to crtmpserver and it fixes bugzilla bug #309. --- libavformat/rtmpproto.c | 33 +++-- 1 file changed, 31 inse

[libav-devel] [PATCH] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Diego Biurrun
From: Luca Barbato --- libavcodec/libopenjpegdec.c | 134 +++--- libavcodec/libopenjpegenc.c | 47 +++ 2 files changed, 96 insertions(+), 85 deletions(-) diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index 53215a1..da5e

Re: [libav-devel] [PATCH] rtmp: Gracefully ignore FCPublish and _checkbw errors

2012-07-20 Thread Luca Barbato
On 7/20/12 12:05 PM, Samuel Pitoiset wrote: Those messages are adobe specific historical artefacs that some rtmp servers do not support. It is safer to ignore their failure. This fixes publishing streams to crtmpserver and it fixes bugzilla bug #309. --- libavformat/rtmpproto.c | 33 +++

Re: [libav-devel] [PATCH] lavfi: add avfilter_unref_bufferp()

2012-07-20 Thread Luca Barbato
On 7/20/12 10:20 AM, Anton Khirnov wrote: From: Robert Nagy Signed-off-by: Anton Khirnov --- Seems I failed to include this in my error checking patchset for lavfi. That set depends on it. --- doc/APIchanges |3 +++ libavfilter/avfilter.h | 12 libavfilter/buffer

Re: [libav-devel] [PATCH] libopenjpeg: introduce lowres and lowqual private options

2012-07-20 Thread Luca Barbato
On 7/20/12 10:26 AM, Anton Khirnov wrote: On Thu, 19 Jul 2012 20:59:45 +0200, Luca Barbato wrote: OpenJPEG can decode in lower resolution or decode only a number of enhancement layers. --- libavcodec/libopenjpegdec.c | 28 1 files changed, 28 insertions(+), 0

Re: [libav-devel] [PATCH] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Luca Barbato
On 7/20/12 12:35 PM, Diego Biurrun wrote: From: Luca Barbato --- libavcodec/libopenjpegdec.c | 134 +++--- libavcodec/libopenjpegenc.c | 47 +++ 2 files changed, 96 insertions(+), 85 deletions(-) diff --git a/libavcodec/libopenjpegdec.c b/

Re: [libav-devel] [PATCH] rtmp: Gracefully ignore FCPublish and _checkbw errors

2012-07-20 Thread Diego Biurrun
On Fri, Jul 20, 2012 at 12:05:48PM +0200, Samuel Pitoiset wrote: > Those messages are adobe specific historical artefacs that some rtmp These messages are Adobe-specific historical artifacts that some RTMP > servers do not support. It is safer to ignore their failure. This fixes > publishing strea

Re: [libav-devel] [PATCH] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Diego Biurrun
On Fri, Jul 20, 2012 at 12:41:55PM +0200, Luca Barbato wrote: > On 7/20/12 12:35 PM, Diego Biurrun wrote: > >From: Luca Barbato > > [... more than 350 lines snipped ...] > > Patch obviously ok =) Thank you for cutting down on quotes :) Diego ___ libav

Re: [libav-devel] [PATCH] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Luca Barbato
On 07/20/2012 12:35 PM, Diego Biurrun wrote: > From: Luca Barbato > Just it breaks the following patch because you didn't reorder the headers and touched code being then replaced... lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero __

[libav-devel] [PATCH] libopenjpeg: introduce lowres and lowqual private options

2012-07-20 Thread Luca Barbato
OpenJPEG can decode in lower resolution or decode only a number of enhancement layers. --- libavcodec/libopenjpegdec.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index 799ccd7..4b3e8

Re: [libav-devel] [PATCH] libopenjpeg: introduce lowres and lowqual private options

2012-07-20 Thread Luca Barbato
On 07/20/2012 01:23 PM, Luca Barbato wrote: > OpenJPEG can decode in lower resolution or decode only a number > of enhancement layers. > --- > libavcodec/libopenjpegdec.c | 28 > 1 files changed, 28 insertions(+), 0 deletions(-) > This version pushed with the chang

Re: [libav-devel] [PATCH] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Luca Barbato
On 07/20/2012 12:57 PM, Diego Biurrun wrote: > On Fri, Jul 20, 2012 at 12:41:55PM +0200, Luca Barbato wrote: >> On 7/20/12 12:35 PM, Diego Biurrun wrote: >>> From: Luca Barbato >>> [... more than 350 lines snipped ...] >> >> Patch obviously ok =) > > Thank you for cutting down on quotes :) Prope

[libav-devel] [PATCH 1/2] libopenjpeg: K&R formatting cosmetics

2012-07-20 Thread Luca Barbato
--- libavcodec/libopenjpegdec.c | 134 +++--- libavcodec/libopenjpegenc.c | 47 +++ 2 files changed, 96 insertions(+), 85 deletions(-) diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index 4b3e8d6..7ca5202 100644 --- a/liba

[libav-devel] [PATCH 2/2] libopenjpeg: support YUV and deep RGB pixel formats

2012-07-20 Thread Luca Barbato
From: Michael Bradshaw Based on FFmpeg version from commit 3275981207e30e140cffaea334ac390f1a04266a --- libavcodec/libopenjpegdec.c | 297 +++ 1 files changed, 246 insertions(+), 51 deletions(-) diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libop

Re: [libav-devel] [PATCH] rtmp: Gracefully ignore FCPublish and _checkbw errors

2012-07-20 Thread Samuel Pitoiset
On Fri, Jul 20, 2012 at 12:37 PM, Luca Barbato wrote: > On 7/20/12 12:05 PM, Samuel Pitoiset wrote: >> >> Those messages are adobe specific historical artefacs that some rtmp >> servers do not support. It is safer to ignore their failure. This fixes >> publishing streams to crtmpserver and it fixe

[libav-devel] [PATCH] rtmp: Gracefully ignore FCPublish and _checkbw errors

2012-07-20 Thread Samuel Pitoiset
These messages are Adobe-specific historical artifacts that some RTMP servers do not support. It is safer to ignore their failure. This fixes publishing streams to crtmpserver and it fixes Bugzilla bug #309. --- libavformat/rtmpproto.c | 30 -- 1 file changed, 28 insert

[libav-devel] [PATCH 4/4] RTMPTE protocol support

2012-07-20 Thread Samuel Pitoiset
--- Changelog| 1 + configure| 1 + doc/general.texi | 2 +- doc/protocols.texi | 8 libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rtmpcrypt.c | 33 + libavformat/rtmpproto.c

[libav-devel] [PATCH 03/10] configure: add filtering of linker flags

2012-07-20 Thread Mans Rullgard
This allows filtering of linker flags the same was as already supported for CFLAGS. The filter must be initialised to 'echo' early since it is invoked by --extra-ldflags. Signed-off-by: Mans Rullgard --- configure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/confi

[libav-devel] [PATCH 01/10] configure: remove filter_cppflags

2012-07-20 Thread Mans Rullgard
This is not used and the current design would not work properly if mixing tools needing different filters. Signed-off-by: Mans Rullgard --- configure | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 79d728e..3b1b6b9 100755 --- a/configure +++

[libav-devel] [PATCH 05/10] configure: add filtering of host cflags/ldflags

2012-07-20 Thread Mans Rullgard
This is in preparation for supporting host compilers with non-standard flags. Signed-off-by: Mans Rullgard --- configure | 11 +++ 1 file changed, 11 insertions(+) diff --git a/configure b/configure index c4f0da5..1d00c49 100755 --- a/configure +++ b/configure @@ -604,6 +604,14 @@ add_e

[libav-devel] [PATCH 04/10] configure: initialise all flag filters at the same place

2012-07-20 Thread Mans Rullgard
This is more consistent, and doing it earlier is harmless. Signed-off-by: Mans Rullgard --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 75e077b..c4f0da5 100755 --- a/configure +++ b/configure @@ -1709,6 +1709,8 @@ LIB_INSTALL_EXT

[libav-devel] [PATCH 02/10] configure: name some variables more consistently

2012-07-20 Thread Mans Rullgard
Name variables pertaining to various types of flags with 'cflags' etc as prefix instead of suffix. Signed-off-by: Mans Rullgard --- configure | 82 +++ 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/configure b/configur

[libav-devel] [PATCH 08/10] configure: add more passthrough flags in tms470 filter

2012-07-20 Thread Mans Rullgard
This is in preparation for following changes. Signed-off-by: Mans Rullgard --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 143bd2e..bc1cb11 100755 --- a/configure +++ b/configure @@ -2032,6 +2032,9 @@ tms470_flags(){ -O[0-3]|-mf=*) e

[libav-devel] [PATCH 06/10] configure: respect CC_O setting in check_cc

2012-07-20 Thread Mans Rullgard
Use compiler-specific replacements for the -o flag in check_cc. This makes tests work properly with compilers using non-standard flags. The tms470 flags are updated to work with this scheme. Signed-off-by: Mans Rullgard --- configure | 12 +++- 1 file changed, 7 insertions(+), 5 deletio

[libav-devel] [PATCH 07/10] configure: move flag filtering functions out of if/else blocks

2012-07-20 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- configure | 135 -- 1 file changed, 69 insertions(+), 66 deletions(-) diff --git a/configure b/configure index 4e3c588..143bd2e 100755 --- a/configure +++ b/configure @@ -1967,6 +1967,75 @@ EOF die

[libav-devel] [PATCH 10/10] build: use COMPILE template for HOSTOBJS

2012-07-20 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- Makefile | 2 +- common.mak | 4 ++-- doc/Makefile | 2 -- tests/Makefile | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a05d3fc..10f52f2 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ CFLAGS

[libav-devel] [PATCH 09/10] build: do full flag handling for all compiler-type tools

2012-07-20 Thread Mans Rullgard
This adds a full identification probe of CC, AS, LD and HOSTCC, and sets up correct flags and dependency tracking for each. Signed-off-by: Mans Rullgard --- Makefile | 9 +- configure | 285 -- 2 files changed, 171 insertions(+), 123

[libav-devel] [PATCH 03/12] lavfi: add error handling to end_frame().

2012-07-20 Thread Anton Khirnov
--- libavfilter/avfilter.h |4 +++- libavfilter/fifo.c |5 - libavfilter/internal.h |4 +++- libavfilter/split.c | 12 libavfilter/vf_blackframe.c |4 ++-- libavfilter/vf_crop.c|4 ++-- libavfilter/vf_cropdetect.c |

[libav-devel] [PATCH 01/12] lavfi: add error handling to start_frame().

2012-07-20 Thread Anton Khirnov
--- libavfilter/avfilter.h |5 - libavfilter/buffersink.c | 10 +++-- libavfilter/fifo.c |9 ++-- libavfilter/internal.h |3 +++ libavfilter/split.c | 14 - libavfilter/vf_aspect.c |4 ++-- libavfilter/vf_crop.c

[libav-devel] [PATCH 04/12] lavfi: check all ff_start_frame/draw_slice/end_frame calls for errors

2012-07-20 Thread Anton Khirnov
--- libavfilter/buffersrc.c|8 +--- libavfilter/fifo.c |8 +--- libavfilter/vf_fps.c | 18 -- libavfilter/vf_frei0r.c| 18 ++ libavfilter/vf_select.c| 11 +++ libavfilter/vf_yadif.c | 14 +- l

[libav-devel] [PATCH 05/12] vf_fps: fix a memleak on malloc failure.

2012-07-20 Thread Anton Khirnov
--- libavfilter/vf_fps.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 557b817..24d883f 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -161,8 +161,10 @@ static int write_to_fifo(AVFifoBuffer *fifo, AVFi

[libav-devel] [PATCH 08/12] buffersrc: avoid creating unnecessary buffer reference

2012-07-20 Thread Anton Khirnov
--- libavfilter/buffersrc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index ad665be..63a3742 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -323,21 +323,19 @@ static int request_frame(AV

[libav-devel] [PATCH 06/12] vf_fps: add more error checks.

2012-07-20 Thread Anton Khirnov
--- libavfilter/vf_fps.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 24d883f..ee0f102 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -184,7 +184,10 @@ static int end_frame(AVFilterLink

[libav-devel] [PATCH 07/12] lavfi: use avfilter_unref_bufferp() where appropriate.

2012-07-20 Thread Anton Khirnov
--- avplay.c | 12 +++- libavfilter/af_join.c|4 ++-- libavfilter/fifo.c |4 ++-- libavfilter/vf_overlay.c |3 +-- libavfilter/vf_yadif.c |9 - libavfilter/vsrc_movie.c |3 +-- 6 files changed, 13 insertions(+), 22 deletions(-) dif

[libav-devel] [PATCH 09/12] vf_select: avoid an unnecessary avfilter_ref_buffer().

2012-07-20 Thread Anton Khirnov
--- libavfilter/vf_select.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/vf_select.c b/libavfilter/vf_select.c index 198fae7..89566b7 100644 --- a/libavfilter/vf_select.c +++ b/libavfilter/vf_select.c @@ -282,11 +282,10 @@ static int request_frame(AVFilterLi

[libav-devel] [PATCH 11/12] lavfi: check all ff_get_video_buffer() calls for errors.

2012-07-20 Thread Anton Khirnov
--- libavfilter/buffersrc.c|3 +++ libavfilter/vf_frei0r.c|3 +++ libavfilter/vf_pad.c |3 +++ libavfilter/vf_vflip.c |3 +++ libavfilter/vf_yadif.c |5 + libavfilter/vsrc_color.c |3 +++ libavfilter/vsrc_testsrc.c |3 +++ 7 files changed, 23

[libav-devel] [PATCH 12/12] buffersrc: check ff_get_audio_buffer() for errors.

2012-07-20 Thread Anton Khirnov
--- libavfilter/buffersrc.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index a84eb58..942d787 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -103,6 +103,9 @@ int av_buffersrc_write_frame(AVFilterContext *buffe

[libav-devel] [PATCH 10/12] lavfi: check all avfilter_ref_buffer() calls for errors.

2012-07-20 Thread Anton Khirnov
--- libavfilter/fifo.c |3 +++ libavfilter/split.c | 17 + libavfilter/vf_delogo.c |9 +++-- libavfilter/vf_frei0r.c |9 - libavfilter/vf_gradfun.c |9 +++-- libavfilter/vf_overlay.c |3 +++ libavfilter/vf_p

[libav-devel] [PATCH 02/12] lavfi: add error handling to draw_slice().

2012-07-20 Thread Anton Khirnov
--- libavfilter/avfilter.h |4 +++- libavfilter/fifo.c |5 - libavfilter/internal.h |4 +++- libavfilter/split.c | 12 libavfilter/vf_blackframe.c |4 ++-- libavfilter/vf_boxblur.c |4 ++-- libavfilter/vf_crop.c|

Re: [libav-devel] [PATCH 01/10] configure: remove filter_cppflags

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This is not used and the current design would not work properly > if mixing tools needing different filters. > > Signed-off-by: Mans Rullgard > --- > configure | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Ok. -- Luca Barbato Ge

Re: [libav-devel] [PATCH 02/10] configure: name some variables more consistently

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > Name variables pertaining to various types of flags with 'cflags' etc > as prefix instead of suffix. > > Signed-off-by: Mans Rullgard > --- > configure | 82 > +++ > 1 file changed, 41 ins

Re: [libav-devel] [PATCH 03/10] configure: add filtering of linker flags

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This allows filtering of linker flags the same was as already > supported for CFLAGS. The filter must be initialised to 'echo' > early since it is invoked by --extra-ldflags. > > Signed-off-by: Mans Rullgard > --- > configure | 8 ++-- > 1 file

Re: [libav-devel] [PATCH 04/10] configure: initialise all flag filters at the same place

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This is more consistent, and doing it earlier is harmless. > > Signed-off-by: Mans Rullgard > --- > configure | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero

Re: [libav-devel] [PATCH 05/10] configure: add filtering of host cflags/ldflags

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This is in preparation for supporting host compilers with > non-standard flags. > > Signed-off-by: Mans Rullgard > --- > configure | 11 +++ > 1 file changed, 11 insertions(+) Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_ze

Re: [libav-devel] [PATCH 06/10] configure: respect CC_O setting in check_cc

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > Use compiler-specific replacements for the -o flag in check_cc. > This makes tests work properly with compilers using non-standard > flags. > > The tms470 flags are updated to work with this scheme. > > Signed-off-by: Mans Rullgard > --- > configur

Re: [libav-devel] [PATCH 07/10] configure: move flag filtering functions out of if/else blocks

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > configure | 135 > -- > 1 file changed, 69 insertions(+), 66 deletions(-) Ok, maybe we could try to modularize the whole script later. lu -- Luca B

Re: [libav-devel] [PATCH 08/10] configure: add more passthrough flags in tms470 filter

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This is in preparation for following changes. > > Signed-off-by: Mans Rullgard > --- > configure | 3 +++ > 1 file changed, 3 insertions(+) Fine. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _

Re: [libav-devel] [PATCH 09/10] build: do full flag handling for all compiler-type tools

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > This adds a full identification probe of CC, AS, LD and HOSTCC, > and sets up correct flags and dependency tracking for each. > > Signed-off-by: Mans Rullgard > --- > Makefile | 9 +- > configure | 285 > -

Re: [libav-devel] [PATCH 10/10] build: use COMPILE template for HOSTOBJS

2012-07-20 Thread Luca Barbato
On 07/20/2012 04:56 PM, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > Makefile | 2 +- > common.mak | 4 ++-- > doc/Makefile | 2 -- > tests/Makefile | 3 --- > 4 files changed, 3 insertions(+), 8 deletions(-) > Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.or

Re: [libav-devel] [PATCH 01/12] lavfi: add error handling to start_frame().

2012-07-20 Thread Luca Barbato
On 07/20/2012 09:59 PM, Anton Khirnov wrote: > --- > libavfilter/avfilter.h |5 - > libavfilter/buffersink.c | 10 +++-- > libavfilter/fifo.c |9 ++-- > libavfilter/internal.h |3 +++ > libavfilter/split.c | 14 - > libavfi

Re: [libav-devel] [PATCH 05/12] vf_fps: fix a memleak on malloc failure.

2012-07-20 Thread Luca Barbato
On 07/20/2012 10:00 PM, Anton Khirnov wrote: > --- > libavfilter/vf_fps.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list libav-devel@liba

[libav-devel] [PATCH 1/3] dsputil: x86: convert PMINSD, PMAXSD, and CLIPD macros to use cpuflags

2012-07-20 Thread Justin Ruggles
--- libavcodec/x86/dsputil_mmx.c|6 ++-- libavcodec/x86/dsputil_yasm.asm | 46 ++ libavutil/x86/x86util.asm | 26 - 3 files changed, 40 insertions(+), 38 deletions(-) diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x

[libav-devel] [PATCH 2/3] dsputil: x86: convert some of the SPLATD macros to use cpuflags

2012-07-20 Thread Justin Ruggles
Provides a SPLATD_LOW macro that can either splat in-place or load/splat from a 32-bit value in memory. --- libavcodec/x86/dsputil_yasm.asm | 13 - libavcodec/x86/fmtconvert.asm | 28 +--- libavutil/x86/x86util.asm | 25 + 3

[libav-devel] [PATCH 3/3] dsputil: x86: add SHUFFLE_MASK_W macro

2012-07-20 Thread Justin Ruggles
From: Jason Garrett-Glaser Simplifies pshufb masks that operate on words. --- Ported from x264. LGPL relicense ok'd by Jason on IRC. libavcodec/x86/dsputil_yasm.asm |2 +- libavutil/x86/x86util.asm | 12 2 files changed, 13 insertions(+), 1 deletions(-) diff --git a/li

Re: [libav-devel] [PATCH 07/12] lavfi: use avfilter_unref_bufferp() where appropriate.

2012-07-20 Thread Luca Barbato
On 07/20/2012 10:00 PM, Anton Khirnov wrote: > --- > avplay.c | 12 +++- > libavfilter/af_join.c|4 ++-- > libavfilter/fifo.c |4 ++-- > libavfilter/vf_overlay.c |3 +-- > libavfilter/vf_yadif.c |9 - > libavfilter/vsrc_movie.c |3 +

Re: [libav-devel] [PATCH 02/12] lavfi: add error handling to draw_slice().

2012-07-20 Thread Luca Barbato
On 07/20/2012 10:00 PM, Anton Khirnov wrote: > --- > libavfilter/avfilter.h |4 +++- > libavfilter/fifo.c |5 - > libavfilter/internal.h |4 +++- > libavfilter/split.c | 12 > libavfilter/vf_blackframe.c |4 ++-- > libavfilter/vf_b

Re: [libav-devel] [PATCH 03/12] lavfi: add error handling to end_frame().

2012-07-20 Thread Luca Barbato
On 07/20/2012 10:00 PM, Anton Khirnov wrote: > --- > libavfilter/avfilter.h |4 +++- > libavfilter/fifo.c |5 - > libavfilter/internal.h |4 +++- > libavfilter/split.c | 12 > libavfilter/vf_blackframe.c |4 ++-- > libavfilter/vf_c