Re: [libav-devel] [PATCH] aacenc: reduce the loop index

2011-04-01 Thread Nathan Caldwell
On Fri, Apr 1, 2011 at 6:18 AM, Young Han Lee wrote: > --- >  libavcodec/aaccoder.c |   16 >  1 files changed, 8 insertions(+), 8 deletions(-) > > > loop index "k" can be removed. Ok. -- -Nathan Caldwell ___ libav-devel mailing list

Re: [libav-devel] [rfc] w32threads or winphtreads

2011-04-01 Thread Alexander Strange
On Mar 30, 2011, at 1:53 AM, Luca Barbato wrote: > mingw64 seems to have some activity on getting pthreads on window: > > http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/experimental/winpthreads/ > > Might be worthy testing it and then require pthread everywhere. > > I'll need win32/win6

[libav-devel] [PATCH] Use consistent condition for whether to run slice-threading execute function.

2011-04-01 Thread Alexander Strange
From: Reimar Döffinger --- libavcodec/mpeg12.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 5db24e8..7034a91 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2344,7 +2344,7 @@ static int decode_chunks(AVCo

Re: [libav-devel] [PATCH] lavf: inspect more frames for fps when container time base is coarse

2011-04-01 Thread Måns Rullgård
Alexander Strange writes: > 2011/3/28 Måns Rullgård : >> Anton Khirnov writes: >> >>> From: Anssi Hannula >>> >>> As per issue2629, most 23.976fps matroska H.264 files are incorrectly >>> detected as 24fps, as the matroska timestamps usually have only >>> millisecond precision. >>> >>> Fix that

Re: [libav-devel] [PATCH] lavf: inspect more frames for fps when container time base is coarse

2011-04-01 Thread Alexander Strange
2011/3/28 Måns Rullgård : > Anton Khirnov writes: > >> From: Anssi Hannula >> >> As per issue2629, most 23.976fps matroska H.264 files are incorrectly >> detected as 24fps, as the matroska timestamps usually have only >> millisecond precision. >> >> Fix that by doubling the amount of timestamps i

Re: [libav-devel] [PATCH] Remove unnecessary parameter from ff_thread_init() and fix behavior

2011-04-01 Thread Alexander Strange
On Tue, Mar 29, 2011 at 9:43 PM, Ronald S. Bultje wrote: > Hi, > > On Tue, Mar 29, 2011 at 2:23 PM, Alexander Strange > wrote: >> thread_count passed to ff_thread_init() is only used to set AVCodecContext. >> thread_count, and can be removed. Instead move it to the legacy >> implementation >> of

Re: [libav-devel] [PATCH 2/2] ac3: armv6 optimised bit_alloc_calc_bap

2011-04-01 Thread Luca Barbato
On 03/29/2011 07:57 PM, Mans Rullgard wrote: > --- > libavcodec/arm/Makefile |2 + > libavcodec/arm/ac3dsp_armv6.S| 83 > ++ > libavcodec/arm/ac3dsp_init_arm.c |9 > 3 files changed, 94 insertions(+), 0 deletions(-) > create mode 10

[libav-devel] [PATCH] ac3enc: use generic fixed-point mdct

2011-04-01 Thread Mans Rullgard
This depends on the updated wide-output mdct patch. --- libavcodec/ac3enc.c| 24 +++-- libavcodec/ac3enc_fixed.c | 298 +--- libavcodec/ac3enc_fixed.h | 58 - libavcodec/ac3enc_float.c | 11 -- libavcodec/ac3enc_float.h | 44

Re: [libav-devel] [PATCH] ac3enc: ARM optimised ac3_compute_matissa_size

2011-04-01 Thread Luca Barbato
On 03/30/2011 11:57 PM, Mans Rullgard wrote: > --- > libavcodec/arm/Makefile |4 ++- > libavcodec/arm/ac3dsp_arm.S | 52 > ++ > libavcodec/arm/ac3dsp_init_arm.c |4 +++ > 3 files changed, 59 insertions(+), 1 deletions(-) > create mode 1

Re: [libav-devel] [RFC/RFBench] AVX FFT

2011-04-01 Thread Reinhard Tartler
On Fri, Apr 01, 2011 at 19:12:47 (CEST), Vitor Sessak wrote: > Hi, > > The following patches add an AVX (an intel x86 extension) FFT > implementation. Since I do not have a Sandybridge myself, I have no idea > of its performance. Benchmarks (for ex., using fft-test -s) are thus > very welcome. Als

Re: [libav-devel] [PATCH] Fixed-point MDCT with 32-bit unscaled output

2011-04-01 Thread Luca Barbato
On 04/01/2011 10:00 PM, Mans Rullgard wrote: > --- > libavcodec/fft-internal.h | 14 +++--- > libavcodec/fft.c |3 +++ > libavcodec/fft.h |5 + > libavcodec/mdct_fixed.c | 43 +++ > 4 files changed, 62 insertions(+

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Luca Barbato
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/01/2011 09:34 PM, Anton Khirnov wrote: > On Fri, Apr 01, 2011 at 09:15:37PM +0200, Luca Barbato wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 04/01/2011 08:23 PM, Anton Khirnov wrote: >>> Pushed. >> >> Do we have a way to pr

[libav-devel] [PATCH] Fixed-point MDCT with 32-bit unscaled output

2011-04-01 Thread Mans Rullgard
--- libavcodec/fft-internal.h | 14 +++--- libavcodec/fft.c |3 +++ libavcodec/fft.h |5 + libavcodec/mdct_fixed.c | 43 +++ 4 files changed, 62 insertions(+), 3 deletions(-) diff --git a/libavcodec/fft-internal.h

Re: [libav-devel] [PATCH] fate: simplify fft test rules

2011-04-01 Thread Luca Barbato
On 04/01/2011 05:51 PM, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > tests/fate/fft.mak | 46 ++ > 1 files changed, 14 insertions(+), 32 deletions(-) Looks fine. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 09:15:37PM +0200, Luca Barbato wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/01/2011 08:23 PM, Anton Khirnov wrote: > > Pushed. > > Do we have a way to produce such files (so we could feed fate with)? > Sure, you can produce chapters in any order and

Re: [libav-devel] [RFC/RFBench] AVX FFT

2011-04-01 Thread Luca Barbato
On 04/01/2011 07:12 PM, Vitor Sessak wrote: > Hi, > > The following patches add an AVX (an intel x86 extension) FFT > implementation. Since I do not have a Sandybridge myself, I have no idea > of its performance. Benchmarks (for ex., using fft-test -s) are thus > very welcome. Also welcome are sug

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Luca Barbato
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/01/2011 08:23 PM, Anton Khirnov wrote: > Pushed. Do we have a way to produce such files (so we could feed fate with)? lu - -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU

Re: [libav-devel] [PATCH] use av_log in PRINT_LIB_INFO

2011-04-01 Thread Luca Barbato
On 03/29/2011 10:42 PM, Reinhard Tartler wrote: > instead of directly printing to stderr, use the av_log framework. Also, > lower the warning about library configuration mismatch to not be shown > by default. It changes a stdout to a stderr, but I think it shouldn't make a difference. I'd wait 2-3

Re: [libav-devel] [PATCH] use av_log in PRINT_LIB_INFO

2011-04-01 Thread Luca Barbato
On 04/01/2011 08:59 PM, Måns Rullgård wrote: > Reinhard Tartler writes: > >> instead of directly printing to stderr, use the av_log framework. Also, >> lower the warning about library configuration mismatch to not be shown >> by default. >> --- >> cmdutils.c | 32 +-

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Luca Barbato
On 04/01/2011 08:37 PM, Måns Rullgård wrote: > Luca Barbato writes: > >> On 04/01/2011 07:18 PM, Måns Rullgård wrote: >>> Luca Barbato writes: >>> It is currently broken due bogus packet duplication within the queue. --- ffmpeg.c | 183 +

Re: [libav-devel] [PATCH] use av_log in PRINT_LIB_INFO

2011-04-01 Thread Måns Rullgård
Reinhard Tartler writes: > instead of directly printing to stderr, use the av_log framework. Also, > lower the warning about library configuration mismatch to not be shown > by default. > --- > cmdutils.c | 32 +--- > 1 files changed, 17 insertions(+), 15 deletions(

[libav-devel] [PATCH] use av_log in PRINT_LIB_INFO

2011-04-01 Thread Reinhard Tartler
instead of directly printing to stderr, use the av_log framework. Also, lower the warning about library configuration mismatch to not be shown by default. --- cmdutils.c | 32 +--- 1 files changed, 17 insertions(+), 15 deletions(-) diff --git a/cmdutils.c b/cmdutils.

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Måns Rullgård
Luca Barbato writes: > On 04/01/2011 07:18 PM, Måns Rullgård wrote: >> Luca Barbato writes: >> >>> It is currently broken due bogus packet duplication within the queue. >>> --- >>> ffmpeg.c | 183 >>> +++--- >>> 1 files changed, 176 ins

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 09:56:27AM +0200, Kostya wrote: > On Fri, Apr 01, 2011 at 03:17:46AM +0200, Anton Khirnov wrote: > > In particular, now it assumes that > > a) chapters are chronologically ordered > > b) chapters have the same timebases > > c) duration of the stream is known > > and asserts

Re: [libav-devel] [PATCH] sierravmd: fix Indeo3 videos

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 04:26:39PM +0200, Kostya wrote: > On Fri, Apr 01, 2011 at 09:10:54AM +0200, Kostya wrote: > > On Thu, Mar 31, 2011 at 11:27:06AM -0400, Matthew Hoops wrote: > > > The Indeo3 FourCC was being checked from the incorrect location of the > > > VMD header. In addition, the Indeo3

Re: [libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 10:58:03AM -0700, Ronald S. Bultje wrote: > Hi, > > On Fri, Apr 1, 2011 at 10:53 AM, Anton Khirnov wrote: > > --- > >  libavformat/avio.h |   16 > >  1 files changed, 16 insertions(+), 0 deletions(-) > > > > diff --git a/libavformat/avio.h b/libavformat/av

[libav-devel] [PATCH] avio: introduce an AVIOContext.seekable field

2011-04-01 Thread Anton Khirnov
Use it instead of url_is_streamed and AVIOContext.is_streamed. --- ffserver.c |8 libavformat/aiffdec.c |2 +- libavformat/aiffenc.c |2 +- libavformat/ape.c |2 +- libavformat/asfenc.c |4 ++-- libavformat/au.c |2

Re: [libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Ronald S. Bultje
Hi, On Fri, Apr 1, 2011 at 10:53 AM, Anton Khirnov wrote: > --- >  libavformat/avio.h |   16 >  1 files changed, 16 insertions(+), 0 deletions(-) > > diff --git a/libavformat/avio.h b/libavformat/avio.h > index 12fa2d5..7c2726f 100644 > --- a/libavformat/avio.h > +++ b/libavforma

[libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
--- libavformat/avio.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..7c2726f 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -458,6 +458,22 @@ attribute_deprecated void init_checksum(AVIOC

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Luca Barbato
On 04/01/2011 07:18 PM, Måns Rullgård wrote: > Luca Barbato writes: > >> It is currently broken due bogus packet duplication within the queue. >> --- >> ffmpeg.c | 183 >> +++--- >> 1 files changed, 176 insertions(+), 7 deletions(-) > >

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Luca Barbato
On 04/01/2011 07:09 PM, Reinhard Tartler wrote: >> +typedef struct AVPacketQueue { >> +AVPacketList *first_pkt, *last_pkt; >> +int nb_packets; >> +int size; >> +int abort_request; >> +pthread_mutex_t mutex; >> +pthread_cond_t cond; >> +} AVPacketQueue; > > err, does really

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Måns Rullgård
Luca Barbato writes: > It is currently broken due bogus packet duplication within the queue. > --- > ffmpeg.c | 183 > +++--- > 1 files changed, 176 insertions(+), 7 deletions(-) This appears to add a hard dependency on pthreads, which i

[libav-devel] [RFC/RFBench] AVX FFT

2011-04-01 Thread Vitor Sessak
Hi, The following patches add an AVX (an intel x86 extension) FFT implementation. Since I do not have a Sandybridge myself, I have no idea of its performance. Benchmarks (for ex., using fft-test -s) are thus very welcome. Also welcome are suggestions for optimizing it further, in particular t

Re: [libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Reinhard Tartler
On Fri, Apr 01, 2011 at 17:30:47 (CEST), Luca Barbato wrote: > It is currently broken due bogus packet duplication within the queue. > --- > ffmpeg.c | 183 > +++--- > 1 files changed, 176 insertions(+), 7 deletions(-) > > diff --git a/ffm

Re: [libav-devel] [PATCH 1/2] Introduce an opaque field in AVFormatContext

2011-04-01 Thread Reinhard Tartler
On Fri, Apr 01, 2011 at 17:30:46 (CEST), Luca Barbato wrote: > --- > libavformat/avformat.h |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index 61babdc..fefdeac 100644 > --- a/libavformat/avformat.h > +++ b/liba

Re: [libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Ronald S. Bultje
Hi, On Fri, Apr 1, 2011 at 9:21 AM, Anton Khirnov wrote: > + * @param buffer Memory block for input/output operations via AVIOContext _buffered_ i/o, not just regular i/o. Then as param for buffer_size, you should mention why the size is important. For optimal performance on things like UDP or

[libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
--- Sorry for the noise, forgot to commit before sending :) --- libavformat/avio.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..ca73769 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -458,6

[libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Anton Khirnov
--- libavformat/avio.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 12fa2d5..24c36f7 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -458,6 +458,17 @@ attribute_deprecated void init_checksum(AVIOContex

[libav-devel] [PATCH] fate: simplify fft test rules

2011-04-01 Thread Mans Rullgard
Signed-off-by: Mans Rullgard --- tests/fate/fft.mak | 46 ++ 1 files changed, 14 insertions(+), 32 deletions(-) diff --git a/tests/fate/fft.mak b/tests/fate/fft.mak index b1499e2..b5a55ef 100644 --- a/tests/fate/fft.mak +++ b/tests/fate/fft.mak @@ -1

[libav-devel] [PATCH 2/2] Mux in a separate thread

2011-04-01 Thread Luca Barbato
It is currently broken due bogus packet duplication within the queue. --- ffmpeg.c | 183 +++--- 1 files changed, 176 insertions(+), 7 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 5e50db3..b7a84eb 100644 --- a/ffmpeg.c +++ b/ffmpeg.c

[libav-devel] [PATCH 1/2] Introduce an opaque field in AVFormatContext

2011-04-01 Thread Luca Barbato
--- libavformat/avformat.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 61babdc..fefdeac 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -873,6 +873,11 @@ typedef struct AVFormatContext {

[libav-devel] [RFC] Muxing thread in ffmpeg.c

2011-04-01 Thread Luca Barbato
I noticed ffmpeg can desync on network glitches (tcp, and rtmp outputs), This patchset aims at solving the issue by queuing up on write_frame and call the actual av_interleave_frame in a separate thread. It isn't currently working due the av_dup_packet not working as expected. ___

Re: [libav-devel] [PATCH 2/3] applehttp: Restructure the demuxer to use a custom AVIOContext

2011-04-01 Thread Diego Biurrun
On Thu, Mar 31, 2011 at 11:19:35PM +0300, Martin Storsjö wrote: > This avoids issues where EOF at the end of the segment is given > the variant demuxer. Now the demuxers only see one single data > stream (as when using the applehttp protocol handler). .. some nits .. > --- a/libavformat/applehttp

Re: [libav-devel] [PATCH] sierravmd: fix Indeo3 videos

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 09:10:54AM +0200, Kostya wrote: > On Thu, Mar 31, 2011 at 11:27:06AM -0400, Matthew Hoops wrote: > > The Indeo3 FourCC was being checked from the incorrect location of the > > VMD header. In addition, the Indeo3 packet read has been limited to > > video frames only to ensure

[libav-devel] [PATCH] aacenc: reduce the loop index

2011-04-01 Thread Young Han Lee
--- libavcodec/aaccoder.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) loop index "k" can be removed. Regards, Young Han From fbdf38e03b00509b82027c66f67453de4a1c33c8 Mon Sep 17 00:00:00 2001 From: Young Han Lee Date: Thu, 31 Mar 2011 22:41:53 +0900 Subject: [PATCH

Re: [libav-devel] [PATCH] avio: document avio_alloc_context.

2011-04-01 Thread Diego Biurrun
On Thu, Mar 31, 2011 at 01:58:03PM +0200, Anton Khirnov wrote: > --- > libavformat/avio.h | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > --- a/libavformat/avio.h > +++ b/libavformat/avio.h > @@ -458,6 +458,17 @@ attribute_deprecated void init_checksum(AVIOContext *s,

Re: [libav-devel] [PATCH 09/15] avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together

2011-04-01 Thread Diego Biurrun
On Thu, Mar 31, 2011 at 06:14:15PM +0200, Anton Khirnov wrote: > --- > libavformat/avio.h | 30 +++--- > 1 files changed, 15 insertions(+), 15 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org https://li

Re: [libav-devel] [PATCH 1/2] Fixed-point support in fft-test

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 12:31:12PM +0100, Måns Rullgård wrote: > Kostya writes: > > > On Fri, Apr 01, 2011 at 12:10:32PM +0100, Måns Rullgård wrote: > >> Kostya writes: > >> > >> >> @@ -328,15 +351,15 @@ int main(int argc, char **argv) > >> >> switch (transform) { > >> >> case TRANSFO

Re: [libav-devel] [PATCH 1/2] Fixed-point support in fft-test

2011-04-01 Thread Måns Rullgård
Kostya writes: > On Fri, Apr 01, 2011 at 12:10:32PM +0100, Måns Rullgård wrote: >> Kostya writes: >> >> >> @@ -328,15 +351,15 @@ int main(int argc, char **argv) >> >> switch (transform) { >> >> case TRANSFORM_MDCT: >> >> if (do_inverse) { >> >> -imdct_ref((float *

Re: [libav-devel] [PATCH 1/2] Fixed-point support in fft-test

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 12:10:32PM +0100, Måns Rullgård wrote: > Kostya writes: > > >> @@ -328,15 +351,15 @@ int main(int argc, char **argv) > >> switch (transform) { > >> case TRANSFORM_MDCT: > >> if (do_inverse) { > >> -imdct_ref((float *)tab_ref, (float *)tab1, f

Re: [libav-devel] [PATCH 1/2] Fixed-point support in fft-test

2011-04-01 Thread Måns Rullgård
Kostya writes: >> @@ -328,15 +351,15 @@ int main(int argc, char **argv) >> switch (transform) { >> case TRANSFORM_MDCT: >> if (do_inverse) { >> -imdct_ref((float *)tab_ref, (float *)tab1, fft_nbits); >> -m->imdct_calc(m, tab2, (float *)tab1); >> -

Re: [libav-devel] [PATCH] Fixed-point MDCT with 32-bit unscaled output

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 11:57:39AM +0100, Måns Rullgård wrote: > Kostya writes: > > > On Thu, Mar 31, 2011 at 06:11:09PM +0100, Mans Rullgard wrote: > >> --- > >> libavcodec/fft-internal.h | 14 +++--- > >> libavcodec/fft.c |3 +++ > >> libavcodec/fft.h |7 +++

Re: [libav-devel] [PATCH] Fixed-point MDCT with 32-bit unscaled output

2011-04-01 Thread Måns Rullgård
Kostya writes: > On Thu, Mar 31, 2011 at 06:11:09PM +0100, Mans Rullgard wrote: >> --- >> libavcodec/fft-internal.h | 14 +++--- >> libavcodec/fft.c |3 +++ >> libavcodec/fft.h |7 +++ >> libavcodec/mdct_fixed.c | 43 +++

Re: [libav-devel] [PATCH 5/9] avio: deprecate url_fileno

2011-04-01 Thread Jindřich Makovička
On Thu, Mar 31, 2011 at 19:08, Anton Khirnov wrote: > Wouldn't you be better off using a custom AVIOContext then? Fine, switching to a custom AVIOContext did the job. Thanks for advice. Regards, -- Jindrich Makovicka ___ libav-devel mailing list libav

Re: [libav-devel] [PATCH 1/2] Fixed-point support in fft-test

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 04:27:34PM +0100, Mans Rullgard wrote: > --- > libavcodec/Makefile |2 +- > libavcodec/fft-fixed-test.c | 20 > libavcodec/fft-test.c | 73 > ++- > 3 files changed, 72 insertions(+), 23 deletions(-)

Re: [libav-devel] [PATCH 2/2] fate: add fixed-point fft/mdct tests

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 04:27:35PM +0100, Mans Rullgard wrote: > Signed-off-by: Mans Rullgard > --- > tests/fate/fft.mak | 14 ++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/tests/fate/fft.mak b/tests/fate/fft.mak > index 97da53f..b1499e2 100644 > --- a/tes

Re: [libav-devel] [PATCH 2/2] ARM: NEON fixed-point forward MDCT

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 06:10:44PM +0100, Mans Rullgard wrote: > --- > libavcodec/arm/Makefile |1 + > libavcodec/arm/fft_fixed_init_arm.c | 10 ++ > libavcodec/arm/mdct_fixed_neon.S| 195 > +++ > 3 files changed, 206 insertions(+), 0 deletio

Re: [libav-devel] [PATCH 1/2] ARM: NEON fixed-point FFT

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 06:10:43PM +0100, Mans Rullgard wrote: > --- > libavcodec/arm/Makefile |2 + > libavcodec/arm/fft_fixed_init_arm.c | 32 + > libavcodec/arm/fft_fixed_neon.S | 261 > +++ > libavcodec/fft.c|2

Re: [libav-devel] [PATCH] Fixed-point MDCT with 32-bit unscaled output

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 06:11:09PM +0100, Mans Rullgard wrote: > --- > libavcodec/fft-internal.h | 14 +++--- > libavcodec/fft.c |3 +++ > libavcodec/fft.h |7 +++ > libavcodec/mdct_fixed.c | 43 +++ > 4 files chan

Re: [libav-devel] [PATCH] FFT: simplify fft8()

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 09:51:11PM +0100, Mans Rullgard wrote: > Part of the fft8() function corresponds to the BUTTERFLIES macro, > so use it. > > Signed-off-by: Mans Rullgard > --- > libavcodec/fft.c | 13 - > 1 files changed, 4 insertions(+), 9 deletions(-) > > diff --git a/lib

Re: [libav-devel] [PATCH] lavf: make compute_chapters_end less picky.

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 03:17:46AM +0200, Anton Khirnov wrote: > In particular, now it assumes that > a) chapters are chronologically ordered > b) chapters have the same timebases > c) duration of the stream is known > and asserts if any of these is not met. > > Make it properly deal with harsher

Re: [libav-devel] [PATCH] ape: check that number of seektable entries is equal to number of frames

2011-04-01 Thread Anton Khirnov
On Fri, Apr 01, 2011 at 09:42:14AM +0200, Kostya wrote: > On Fri, Apr 01, 2011 at 09:30:17AM +0200, Anton Khirnov wrote: > > From: Kostya Shishkov > > > > fixes issue2480 > > > > Signed-off-by: Anton Khirnov > > --- > > libavformat/ape.c |5 + > > 1 files changed, 5 insertions(+), 0 de

Re: [libav-devel] [PATCH] ape: check that number of seektable entries is equal to number of frames

2011-04-01 Thread Kostya
On Fri, Apr 01, 2011 at 09:30:17AM +0200, Anton Khirnov wrote: > From: Kostya Shishkov > > fixes issue2480 > > Signed-off-by: Anton Khirnov > --- > libavformat/ape.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/libavformat/ape.c b/libavformat/ape.c > index

[libav-devel] [PATCH] ape: check that number of seektable entries is equal to number of frames

2011-04-01 Thread Anton Khirnov
From: Kostya Shishkov fixes issue2480 Signed-off-by: Anton Khirnov --- libavformat/ape.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavformat/ape.c b/libavformat/ape.c index 6c8880d..5aac00c 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -250,6 +2

Re: [libav-devel] [PATCH] sierravmd: fix Indeo3 videos

2011-04-01 Thread Kostya
On Thu, Mar 31, 2011 at 11:27:06AM -0400, Matthew Hoops wrote: > The Indeo3 FourCC was being checked from the incorrect location of the > VMD header. In addition, the Indeo3 packet read has been limited to > video frames only to ensure audio still gets decoded properly. > > -Matt Looks ok but can