[libav-devel] FATE : test for xsub

2011-12-23 Thread Oana Stratulat
link to sample file : http://google-melange.appspot.com/gci/work/download/google/gci2011/7130477?id=2001 0001-FATE-test-for-xsub.patch Description: Binary data ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo

Re: [libav-devel] FATE : test for lagarith

2011-12-23 Thread Janne Grunau
On 2011-12-24 02:12:03 +0200, Oana Stratulat wrote: > > From a1ef7f51b9493cf8ceff501243aca56654ccf336 Mon Sep 17 00:00:00 2001 > From: Oana Stratulat > Date: Sat, 24 Dec 2011 01:50:13 +0200 > Subject: [PATCH] FATE: test for lagarith please add a verb and it are two tests > --- > tests/fate2.

[libav-devel] FATE : test for xsub

2011-12-23 Thread Oana Stratulat
0001-FATE-test-for-xsub.patch Description: Binary data ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 2/4] linux: use number of CPUs as automatic thread count

2011-12-23 Thread Ronald S. Bultje
Hi, On Fri, Dec 23, 2011 at 4:11 PM, Janne Grunau wrote: > On 2011-12-23 01:59:11 -0500, Alexander Strange wrote: > > On Thu, Dec 22, 2011 at 3:22 PM, Janne Grunau > wrote: > > > Use sched_getaffinity to determine the number of logical CPUs. > > > > Try sysconf(_SC_NPROCESSORS_ONLN), which exist

Re: [libav-devel] [PATCH] pthread: include sys/types.h before sys/sysctl.h

2011-12-23 Thread Janne Grunau
On 2011-12-23 19:05:50 +0400, Michael Kostylev wrote: > > On Fri Dec 23 10:17:13 2011 > Janne Grunau wrote: > > > #elif HAVE_SYSCTL > >-#include > > #include > >+#include > > #endif > > On OpenBSD sys/sysctl.h depends on sys/param.h. sigh Do you see a good way to test for that? I guess I c

[libav-devel] FATE : test for lagarith

2011-12-23 Thread Oana Stratulat
0001-FATE-test-for-lagarith.patch Description: Binary data ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 2/4] linux: use number of CPUs as automatic thread count

2011-12-23 Thread Janne Grunau
On 2011-12-23 01:59:11 -0500, Alexander Strange wrote: > On Thu, Dec 22, 2011 at 3:22 PM, Janne Grunau wrote: > > Use sched_getaffinity to determine the number of logical CPUs. > > Try sysconf(_SC_NPROCESSORS_ONLN), which exists on BSD too. I started with sysconf, Mans suggested to to use sched_

Re: [libav-devel] Patch error_resilience:cosmetics

2011-12-23 Thread Diego Biurrun
On Thu, Dec 22, 2011 at 09:20:56PM +0200, доналд овчаров wrote: > Ok it's done. Please do not top-post. > --- a/libavcodec/error_resilience.c > +++ b/libavcodec/error_resilience.c > @@ -40,26 +40,38 @@ > > -if(ref >= h->ref_count[0]) //FIXME it is posible albeit uncommon > that slice

Re: [libav-devel] [PATCH 1/3] avconv: K&R cosmetics

2011-12-23 Thread Diego Biurrun
On Fri, Dec 23, 2011 at 07:48:41PM +0530, Aneesh Dogra wrote: > --- > avconv.c | 467 > +++--- > 1 files changed, 235 insertions(+), 232 deletions(-) > > --- a/avconv.c > +++ b/avconv.c > @@ -498,7 +498,7 @@ sigterm_handler(int sig) > >

[libav-devel] [PATCH] avplay: K&R cosmetics

2011-12-23 Thread Aneesh Dogra
--- avplay.c | 389 +++-- 1 files changed, 198 insertions(+), 191 deletions(-) diff --git a/avplay.c b/avplay.c index 5fcfaa6..8e7e846 100644 --- a/avplay.c +++ b/avplay.c @@ -224,16 +224,16 @@ static const char *input_filename; static con

Re: [libav-devel] [PATCH 3/4] mpegvideo_enc: K&R cosmetics

2011-12-23 Thread Diego Biurrun
On Fri, Dec 23, 2011 at 09:58:33PM +0530, Aneesh Dogra wrote: > > --- a/libavcodec/mpegvideo_enc.c > +++ b/libavcodec/mpegvideo_enc.c > @@ -59,16 +59,16 @@ static int dct_quantize_trellis_c(MpegEncContext *s, > DCTELEM *block, int n, int > > void ff_convert_matrix(DSPContext *dsp, int (*qmat)[

Re: [libav-devel] Patch error_resilience:cosmetics

2011-12-23 Thread Diego Biurrun
On Tue, Dec 20, 2011 at 02:32:55PM +0200, доналд овчаров wrote: > Here's the new patch.Sorry but I don't know what top-posting is :( Google, first hit. Diego ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/li

Re: [libav-devel] [PATCH 1/2] lxf: add support for version 1 files

2011-12-23 Thread Phillip Blucas
On Wed, Dec 21, 2011 at 4:33 AM, Tomas Härdin wrote: > On Tue, 2011-12-20 at 20:42 -0600, Phillip Blucas wrote: >> This newer format is used by Harris NEXIO playout servers. >> --- >>  Changelog            |    1 + >>  libavformat/lxfdec.c |   55 >> ++-

Re: [libav-devel] [PATCH 3/3] avplay: K&R cosmetics

2011-12-23 Thread Diego Biurrun
On Fri, Dec 23, 2011 at 07:50:36PM +0530, Aneesh Dogra wrote: > > --- a/avplay.c > +++ b/avplay.c > @@ -228,12 +228,12 @@ static int screen_width = 0; > static int screen_height = 0; > static int audio_disable; > static int video_disable; > -static int wanted_stream[AVMEDIA_TYPE_NB]={ > -[A

Re: [libav-devel] Patch error_resilience:cosmetics

2011-12-23 Thread Luca Barbato
On 20/12/11 13:32, доналд овчаров wrote: Here's the new patch.Sorry but I don't know what top-posting is :( http://libav.org/contact.html Please follow the netiquette when posting on Libav mailing lists, especially avoid top-posting and thread hijacking (that is, replying to a thread and c

Re: [libav-devel] Mpegvideo - K&R Formatting cosmetics

2011-12-23 Thread Ronald S. Bultje
Hi, On Fri, Dec 23, 2011 at 7:58 AM, Konstantin Todorov wrote: > @@ -1129,28 +1135,45 @@ int ff_find_unused_picture(MpegEncContext *s, int shared) > } > } > > -return AVERROR_INVALIDDATA; > +av_log(s->avctx, AV_LOG_FATAL, > + "Internal error, picture buffer overflow

Re: [libav-devel] Mpegvideo - K&R Formatting cosmetics

2011-12-23 Thread Luca Barbato
On 23/12/11 16:58, Konstantin Todorov wrote: I guess had been told you already few times at least how to format the subject of the patch... lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list libav-devel@

Re: [libav-devel] [PATCH 2/4] linux: use number of CPUs as automatic thread count

2011-12-23 Thread Ronald S. Bultje
Hi, On Thu, Dec 22, 2011 at 10:59 PM, Alexander Strange wrote: > On Thu, Dec 22, 2011 at 3:22 PM, Janne Grunau > wrote: > > Use sched_getaffinity to determine the number of logical CPUs. > > Try sysconf(_SC_NPROCESSORS_ONLN), which exists on BSD too. We could use that as a fallback - someone s

Re: [libav-devel] [PATCH] h264: Fix a possible overread in decode_nal_units()

2011-12-23 Thread Ronald S. Bultje
Hi, On Thu, Dec 22, 2011 at 11:08 PM, Alexander Strange wrote: > On Mon, Dec 12, 2011 at 7:39 PM, Ronald S. Bultje > wrote: > > On Mon, Dec 12, 2011 at 3:13 PM, Alexander Strange < > astra...@ithinksw.com> > > wrote: > >> > >> --- > >> libavcodec/h264.c |2 +- > >> 1 files changed, 1 insert

Re: [libav-devel] [PATCH] pthread: include sys/types.h before sys/sysctl.h

2011-12-23 Thread Michael Kostylev
On Fri Dec 23 10:17:13 2011 Janne Grunau wrote: > #elif HAVE_SYSCTL >-#include > #include >+#include > #endif On OpenBSD sys/sysctl.h depends on sys/param.h. Michael ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailma

[libav-devel] [PATCH 3/3] avplay: K&R cosmetics

2011-12-23 Thread Aneesh Dogra
--- avplay.c | 327 +++--- 1 files changed, 164 insertions(+), 163 deletions(-) diff --git a/avplay.c b/avplay.c index 5fcfaa6..dca0695 100644 --- a/avplay.c +++ b/avplay.c @@ -228,12 +228,12 @@ static int screen_width = 0; static int scre

[libav-devel] [PATCH 1/3] avconv: K&R cosmetics

2011-12-23 Thread Aneesh Dogra
--- avconv.c | 467 +++--- 1 files changed, 235 insertions(+), 232 deletions(-) diff --git a/avconv.c b/avconv.c index ecbf523..46f2d10 100644 --- a/avconv.c +++ b/avconv.c @@ -109,10 +109,10 @@ static int do_hex_dump = 0; static int do_pk

[libav-devel] [PATCH] mxfdec: parse MXF partitions

2011-12-23 Thread Janne Grunau
From: Tomas Härdin --- changed enum values back to original names Janne libavformat/mxfdec.c | 108 +- 1 files changed, 107 insertions(+), 1 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index c4c3f59..446932d 100644 ---

Re: [libav-devel] [PATCH] pthread: include sys/types.h before sys/sysctl.h

2011-12-23 Thread Luca Barbato
On 23/12/11 10:17, Janne Grunau wrote: Fixes compilation on FreeBSD with clang 3. --- libavcodec/pthread.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 0b57156..8914150 100644 --- a/libavcodec/pthread.c +++ b/libavc

Re: [libav-devel] [PATCH] threads: check defines before using them in automatic thread detection

2011-12-23 Thread Luca Barbato
On 23/12/11 11:14, Janne Grunau wrote: --- libavcodec/pthread.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list libav-devel@libav.org ht

Re: [libav-devel] MXF changes from FFmpeg

2011-12-23 Thread Tomas Härdin
On Thu, 2011-12-22 at 17:18 +0100, Luca Barbato wrote: > On 22/12/11 13:45, Tomas Härdin wrote: > > It's also hard to define "crazy" when it comes to MXF. After all, we're > > talking about a format that allows indexing individual scanlines in raw > > footage.. > > So we should accept 64bit/sizeof

Re: [libav-devel] [PATCH] fate: add more tests for VC-1 decoder

2011-12-23 Thread Mashiat Sarker Shakkhar
> From: Janne Grunau > To: libav-devel@libav.org > Cc: > Sent: Friday, December 23, 2011 3:59 PM > Subject: [libav-devel] [PATCH] fate: add more tests for VC-1 decoder > > From: Aneesh Dogra > > refreshed patch after changes to fate2.mak, fixed spelling of VC-1 and > removed a redundant fate f

Re: [libav-devel] [PATCH 2/4] linux: use number of CPUs as automatic thread count

2011-12-23 Thread Michael Kostylev
On Fri Dec 23 01:59:11 2011 Alexander Strange wrote: >> Use sched_getaffinity to determine the number of logical CPUs. > >Try sysconf(_SC_NPROCESSORS_ONLN), which exists on BSD , SunOS and some unsupported systems (AIX, True64 etc); IRIX supports sysconf(_SC_NPROC_ONLN). Michael ___

[libav-devel] [PATCH] threads: check defines before using them in automatic thread detection

2011-12-23 Thread Janne Grunau
--- libavcodec/pthread.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 8914150..f842edf 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -152,7 +152,7 @@ typedef struct FrameThreadContext { static int g

[libav-devel] [PATCH] fate: add more tests for VC-1 decoder

2011-12-23 Thread Janne Grunau
From: Aneesh Dogra refreshed patch after changes to fate2.mak, fixed spelling of VC-1 and removed a redundant fate from the commit message. A short description what the samples are supposed to test would be nice. Patch probably needs another refresh after Diego pushed his fate split commits. Ja

Re: [libav-devel] [PATCH] fate: Add fate tests for vc-1 decoder covering all variants

2011-12-23 Thread Janne Grunau
On 2011-12-13 03:28:00 +0530, Aneesh Dogra wrote: > --- > tests/fate2.mak| 45 + > tests/ref/fate/vc-1_advanced_cbr-1_pass| 25 + > tests/ref/fate/vc-1_advanced_cbr-2_pass| 114 > > tests/ref/fate/vc-1_advan

Re: [libav-devel] [PATCH] libaf: Add SMJPEG demuxer.

2011-12-23 Thread Kostya Shishkov
On Thu, Dec 22, 2011 at 06:10:27PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Changelog|1 + > doc/general.texi |1 + > libavformat/Makefile |1 + > libavformat/allformats.c |1 + > libavformat/smjpeg.c | 183 > ++

[libav-devel] [PATCH] pthread: include sys/types.h before sys/sysctl.h

2011-12-23 Thread Janne Grunau
Fixes compilation on FreeBSD with clang 3. --- libavcodec/pthread.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 0b57156..8914150 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -37,8 +37,8 @@ #elif HAV

Re: [libav-devel] Mpegvideo - K&R Formatting cosmetics

2011-12-23 Thread Diego Biurrun
On Fri, Dec 23, 2011 at 05:06:10AM +0200, KJT TOD wrote: > > --- a/libavcodec/mpegvideo.c > +++ b/libavcodec/mpegvideo.c > @@ -1002,14 +1008,14 @@ void MPV_common_end(MpegEncContext *s) > > -void init_rl(RLTable *rl, > +void init_rl(RLTable *rl, > uint8_t static_store[2][2 * MAX_R

[libav-devel] [PATCH] avconv: implement get_buffer()/release_buffer().

2011-12-23 Thread Anton Khirnov
This will allow memcpy-free passing frames to lavfi. --- avconv.c | 137 ++ 1 files changed, 137 insertions(+), 0 deletions(-) diff --git a/avconv.c b/avconv.c index dfef98f..6762866 100644 --- a/avconv.c +++ b/avconv.c @@ -44,6 +44,7 @

Re: [libav-devel] [PATCH] mov: Don't stick the QuickTime field ordering atom in extradata.

2011-12-23 Thread Alexander Strange
On Tue, Dec 13, 2011 at 9:49 PM, Alex Converse wrote: > The 'fiel' atoms can be found in H.264 tracks clobbering the extradata. > MJPEG supports non field based extradata, and this data should be > preserved when copying. > --- >  avconv.c              |    1 + >  libavcodec/avcodec.h  |   21

Re: [libav-devel] [PATCH 7/8] avconv: implement get_buffer()/release_buffer().

2011-12-23 Thread Anton Khirnov
On Thu, 22 Dec 2011 10:45:40 -0800, "Ronald S. Bultje" wrote: > Hi, > > On Thu, Dec 22, 2011 at 2:01 AM, Anton Khirnov wrote: > [..] > > +    memset(buf->base[0], 128, ret);     /* XXX this shouldn't be needed, > > but > > +                                           some codecs rely on it now