[libav-devel] [PATCH] read AVI palette from the end of extradata

2011-04-23 Thread Kostya Shishkov
Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such co

Re: [libav-devel] [PATCH 1/2] Add float_interleave() to FmtConvertContext with x86-optimized versions.

2011-04-23 Thread Loren Merritt
Eliminate a few instructions and simplify. No effect on speed though. mmx should be memory-bound. --Loren Merrittdiff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm index 73b3763..f5115b3 100644 --- a/libavcodec/x86/fmtconvert.asm +++ b/libavcodec/x86/fmtconvert.asm @@ -20

Re: [libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Martin Storsjö
On Sat, 23 Apr 2011, Luca Barbato wrote: > On 4/20/11 3:26 PM, Martin Storsjö wrote: > > From: Kirill Gavrilov > > > > All file names should be in UTF-8 within libavformat. > > > > This is handled by mapping the open() function to an internal one > > in os_support.h for windows. > > > > fopen()

Re: [libav-devel] [PATCH 2/3] aacenc: Finish 3GPP psymodel analysis for non mid/side cases.

2011-04-23 Thread Martin Storsjö
On Fri, 22 Apr 2011, Alex Converse wrote: > On Fri, Apr 22, 2011 at 8:29 PM, Nathan Caldwell wrote: > > On Sun, Apr 10, 2011 at 11:47 PM, Alex Converse > > wrote: > >> 2011/4/6 Aℓex Converse : > >>> On Tue, Apr 5, 2011 at 4:41 PM, Nathan Caldwell > >>> wrote: > > Update attached. >

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-23 Thread Martin Storsjö
On Fri, 22 Apr 2011, Måns Rullgård wrote: > Martin Storsjö writes: > > > On Fri, 22 Apr 2011, Måns Rullgård wrote: > > > >> __BSD_VISIBLE should not be set directly, IIRC. _BSD_SOURCE is the > >> correct symbol to define. This can be done with add_cppflags -D_BSD_SOURCE > >> in the relevant OS

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Diego Biurrun
On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: > > Based on patches by clsid2 in ffdshow-tryout. > > --- a/configure > +++ b/configure > @@ -95,6 +95,7 @@ Configuration options: >--disable-mpegaudio-hp faster (but less accurate) MPEG audio decoding > [no] > + --enable-aud

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-23 Thread Diego Biurrun
On Sat, Apr 23, 2011 at 01:04:49PM +0300, Martin Storsjö wrote: > > As far as I can see, there's nothing else you can define to make it work, > except undefining _POSIX_C_SOURCE. Here's the relevant parts of > sys/cdefs.h > (http://gitweb.dragonflybsd.org/dragonfly.git/blob?f=sys/sys/cdefs.h):

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Benjamin Larsson
On 04/23/2011 12:18 PM, Diego Biurrun wrote: > On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: >> >> Based on patches by clsid2 in ffdshow-tryout. >> >> --- a/configure >> +++ b/configure >> @@ -95,6 +95,7 @@ Configuration options: >>--disable-mpegaudio-hp faster (but less acc

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Benjamin Larsson
On 04/23/2011 04:19 AM, Justin Ruggles wrote: > > Based on patches by clsid2 in ffdshow-tryout. > --- > configure |2 ++ > libavcodec/aacdec.c | 31 +++ > libavcodec/ac3dec.c | 35 ++- > libavcodec/dca.c

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Diego Biurrun
On Sat, Apr 23, 2011 at 01:16:45PM +0200, Benjamin Larsson wrote: > On 04/23/2011 12:18 PM, Diego Biurrun wrote: > > On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: > >> > >> Based on patches by clsid2 in ffdshow-tryout. > >> > >> --- a/libavcodec/aacdec.c > >> +++ b/libavcodec/aacd

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-23 Thread rukhsana afroz
On Fri, Apr 22, 2011 at 5:28 PM, rukhsana afroz wrote: > > > On Fri, Apr 22, 2011 at 5:20 PM, Ronald S. Bultje wrote: > >> >> You need to re-run configure. >> >> Hi Ronald, > > Thank you for your information. Yes, I did it and now working on the bug. > > > > Hi Ronald, I will get back to you soon

[libav-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil

2011-04-23 Thread Stefano Sabatini
Hi all, due to the recent addition of pict_type in libavfilter/AVFilterBufferRefVideoProps, it makes sense to propose this change. This breaks ABI as it redefines the previous values (since the first symbol will have a value of 0 rather than 1, consistent with enum definitions and allows the AV_*

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Benjamin Larsson
On 04/23/2011 01:24 PM, Diego Biurrun wrote: > On Sat, Apr 23, 2011 at 01:16:45PM +0200, Benjamin Larsson wrote: >> On 04/23/2011 12:18 PM, Diego Biurrun wrote: >>> On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: Based on patches by clsid2 in ffdshow-tryout. ---

Re: [libav-devel] [PATCH 3/3] aacenc: Fix whitespace after last commit.

2011-04-23 Thread Martin Storsjö
On Tue, 5 Apr 2011, Kostya wrote: > On Tue, Apr 05, 2011 at 01:05:24AM -0600, Nathan Caldwell wrote: > > --- > > libavcodec/aacpsy.c | 23 +-- > > 1 files changed, 13 insertions(+), 10 deletions(-) > > > > diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c > > index 413

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 7:24 AM, Diego Biurrun wrote: > Something like this at the top of the file (note that the names could > likely be improved): > > #if CONFIG_AUDIO_FLOAT > #define AV_SAMPLE_FMT_NATIVE AV_SAMPLE_FMT_FLT > #else > #define AV_SAMPLE_FMT_NATIVE AV_SAMPLE_FMT_S16 > #endif >

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Diego Biurrun
On Sat, Apr 23, 2011 at 08:03:17AM -0400, Ronald S. Bultje wrote: > > On Sat, Apr 23, 2011 at 7:24 AM, Diego Biurrun wrote: > > Something like this at the top of the file (note that the names could > > likely be improved): > > > > #if CONFIG_AUDIO_FLOAT > > #define AV_SAMPLE_FMT_NATIVE AV_SAMPLE_

[libav-devel] [PATCH] Remove stray libavcore and _g binary references.

2011-04-23 Thread Diego Biurrun
--- .gitignore |2 -- Changelog |1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index eac1758..3d5e38b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ *.ho *-example *-test -*_g config.* doc/*.1 doc/*.html @@ -17,7 +16,6 @@ ffpla

Re: [libav-devel] [PATCH] Remove stray libavcore and _g binary references.

2011-04-23 Thread Luca Barbato
On 4/23/11 2:16 PM, Diego Biurrun wrote: --- .gitignore |2 -- Changelog |1 - 2 files changed, 0 insertions(+), 3 deletions(-) Ok ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-23 Thread Luca Barbato
On 4/23/11 12:26 PM, Diego Biurrun wrote: On Sat, Apr 23, 2011 at 01:04:49PM +0300, Martin Storsjö wrote: As far as I can see, there's nothing else you can define to make it work, except undefining _POSIX_C_SOURCE. Here's the relevant parts of sys/cdefs.h (http://gitweb.dragonflybsd.org/dragonf

Re: [libav-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil

2011-04-23 Thread Luca Barbato
On 4/23/11 1:51 PM, Stefano Sabatini wrote: The new enums and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec. I'd call it avpicture_get_type_char() beside that I think it could be ok lu __

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 8:10 AM, Diego Biurrun wrote: > On Sat, Apr 23, 2011 at 08:03:17AM -0400, Ronald S. Bultje wrote: >> >> On Sat, Apr 23, 2011 at 7:24 AM, Diego Biurrun wrote: >> > Something like this at the top of the file (note that the names could >> > likely be improved): >> > >> >

[libav-devel] [PATCH] vp8: frame-multithreading.

2011-04-23 Thread Ronald S. Bultje
From: Ronald S. Bultje Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6: time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an - 1: 0m14.630s (89.9 fps) 2: 0m8.056s (163.2 fps) 3: 0m5.882s (223.6 fps) 4: 0m4.952s

Re: [libav-devel] [PATCH] vp8: frame-multithreading.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 10:32 AM, Ronald S. Bultje wrote: [..] Just to come back to the prefetch issue, these are times for the 1/2 threads with, without prefetch and with a prefetch with thread_wait: 1 thread, prefetch on real0m10.197s user0m10.071s real0m10.075s user0m9.9

Re: [libav-devel] [PATCH] vp8: frame-multithreading.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 10:34 AM, Ronald S. Bultje wrote: > 2 threads, prefetch on > real    0m6.289s > real    0m6.299s > real    0m6.406s > > 2 threads, prefetch on with thread_wait > real    0m6.361s > real    0m6.353s > real    0m6.392s > > So a little slowdown on 2 threads, oddly, but I'

[libav-devel] [PATCH 1/3] Replace more FFmpeg instances by Libav or ffmpeg.

2011-04-23 Thread Diego Biurrun
--- doc/general.texi |2 +- doc/issue_tracker.txt |2 +- ffserver.c|2 +- libavcodec/avcodec.h |6 +++--- libavcodec/dca.c |2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 303159e..e68e83e 100

[libav-devel] [PATCH 2/3] Refer to ff* tools by their lowercase names.

2011-04-23 Thread Diego Biurrun
--- doc/faq.texi |4 ++-- doc/ffmpeg.texi | 26 -- doc/ffprobe.texi |6 +++--- doc/ffserver.texi | 10 +- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/doc/faq.texi b/doc/faq.texi index a29af1e..3d7a275 100644 --- a/doc/faq.tex

[libav-devel] [PATCH 3/3] Lowercase all ff* program names.

2011-04-23 Thread Diego Biurrun
--- doc/ffmpeg.texi |6 +++--- doc/ffplay.texi |4 ++-- doc/ffprobe.texi |6 +++--- doc/ffserver.texi |6 +++--- ffmpeg.c |4 ++-- ffplay.c |4 ++-- ffprobe.c |4 ++-- ffserver.c|2 +- 8 files changed, 18 insertions(+), 18 dele

Re: [libav-devel] [PATCH 1/3] Replace more FFmpeg instances by Libav or ffmpeg.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 10:56 AM, Diego Biurrun wrote: > --- >  doc/general.texi      |    2 +- >  doc/issue_tracker.txt |    2 +- >  ffserver.c            |    2 +- >  libavcodec/avcodec.h  |    6 +++--- >  libavcodec/dca.c      |    2 +- >  5 files changed, 7 insertions(+), 7 deletions(-)

Re: [libav-devel] [PATCH 2/3] Refer to ff* tools by their lowercase names.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 10:56 AM, Diego Biurrun wrote: > --- >  doc/faq.texi      |    4 ++-- >  doc/ffmpeg.texi   |   26 -- >  doc/ffprobe.texi  |    6 +++--- >  doc/ffserver.texi |   10 +- >  4 files changed, 22 insertions(+), 24 deletions(-) All OK. > -wit

Re: [libav-devel] [PATCH 3/3] Lowercase all ff* program names.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 10:56 AM, Diego Biurrun wrote: > --- >  doc/ffmpeg.texi   |    6 +++--- >  doc/ffplay.texi   |    4 ++-- >  doc/ffprobe.texi  |    6 +++--- >  doc/ffserver.texi |    6 +++--- >  ffmpeg.c          |    4 ++-- >  ffplay.c          |    4 ++-- >  ffprobe.c         |    4

[libav-devel] [PATCH] Decouple av_log_missing_feature() and av_log_ask_for_sample().

2011-04-23 Thread Diego Biurrun
Do not call av_log_ask_for_sample() from av_log_missing_feature() depending on the value of a flag parameter. Instead, call av_log_ask_for_sample() directly where this is desired. This simplifies av_log_missing_feature() and makes for a nicer API. --- libavcodec/aac_adtstoasc_bsf.c |5 +++-- l

Re: [libav-devel] [FFmpeg-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil

2011-04-23 Thread Stefano Sabatini
On date Saturday 2011-04-23 13:54:52 +0200, Nicolas George encoded: > Le quartidi 4 floréal, an CCXIX, Stefano Sabatini a écrit : > > This breaks ABI as it redefines the previous values (since the first > > symbol will have a value of 0 rather than 1, consistent with enum > > definitions and allows

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-23 Thread Måns Rullgård
Diego Biurrun writes: > On Sat, Apr 23, 2011 at 01:04:49PM +0300, Martin Storsjö wrote: >> >> As far as I can see, there's nothing else you can define to make it work, >> except undefining _POSIX_C_SOURCE. Here's the relevant parts of >> sys/cdefs.h >> (http://gitweb.dragonflybsd.org/dragonfl

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Måns Rullgård
Diego Biurrun writes: > On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: >> >> Based on patches by clsid2 in ffdshow-tryout. >> >> --- a/configure >> +++ b/configure >> @@ -95,6 +95,7 @@ Configuration options: >>--disable-mpegaudio-hp faster (but less accurate) MPEG audio d

Re: [libav-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil

2011-04-23 Thread Stefano Sabatini
On date Saturday 2011-04-23 14:37:44 +0200, Luca Barbato wrote: > On 4/23/11 1:51 PM, Stefano Sabatini wrote: > >The new enums and av_get_picture_type_char() are defined in libavutil. > >This allows the use in libavfilter without the need to link against > >libavcodec. > > > > I'd call it avpictur

Re: [libav-devel] [PATCH] allow overiding grep used by patchcheck

2011-04-23 Thread Diego Biurrun
On Fri, Apr 15, 2011 at 01:31:15PM -0400, Brad wrote: > On Fri, 15 Apr 2011, 04:56:14 EDT, Luca Barbato wrote: > > > On 04/15/2011 01:05 AM, Brad wrote: > > > There were no further comments after this.. > > > > I'm not sure if moving to posix grep would make the patch unnecessary or > > not. The

Re: [libav-devel] [libav-commits] patcheck: Allow overiding grep program(s) through environment variables.

2011-04-23 Thread Måns Rullgård
"Brad " writes: > Module: libav > Branch: master > Commit: ff3be572efde575c2b5ee621a84920ac9a5b9b8f > > Author:Brad A full name would have been nice. -- Måns Rullgård m...@mansr.com ___ libav-devel mailing list libav-devel@libav.org https://list

Re: [libav-devel] [libav-commits] patcheck: Allow overiding grep program(s) through environment variables.

2011-04-23 Thread Diego Biurrun
On Sat, Apr 23, 2011 at 04:39:31PM +0100, Måns Rullgård wrote: > "Brad " writes: > > > Module: libav > > Branch: master > > Commit: ff3be572efde575c2b5ee621a84920ac9a5b9b8f > > > > Author:Brad > > A full name would have been nice. Do we have a full name for Brad? Diego ___

Re: [libav-devel] [PATCH] Mention that DragonFly BSD requires __BSD_VISIBLE set

2011-04-23 Thread Diego Biurrun
On Sat, Apr 23, 2011 at 04:29:36PM +0100, Måns Rullgård wrote: > Diego Biurrun writes: > > > > The FreeBSD FATE box passes '-D__BSD_VISIBLE -D__XSI_VISIBLE=600' as > > extra CFLAGS to configure: > > > > http://fate.libav.org/x86_32-freebsd-gcc-4.4/20110423101824 > > > > I think the DragonFlay box

Re: [libav-devel] [libav-commits] patcheck: Allow overiding grep program(s) through environment variables.

2011-04-23 Thread Johan Andersson
On Sat, Apr 23, 2011 at 05:47:45PM +0200, Diego Biurrun wrote: > On Sat, Apr 23, 2011 at 04:39:31PM +0100, Måns Rullgård wrote: > > "Brad " writes: > > > > > Module: libav > > > Branch: master > > > Commit: ff3be572efde575c2b5ee621a84920ac9a5b9b8f > > > > > > Author:Brad > > > > A full name

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
On 04/23/2011 11:30 AM, Måns Rullgård wrote: > Diego Biurrun writes: > >> On Fri, Apr 22, 2011 at 10:19:44PM -0400, Justin Ruggles wrote: >>> >>> Based on patches by clsid2 in ffdshow-tryout. >>> >>> --- a/configure >>> +++ b/configure >>> @@ -95,6 +95,7 @@ Configuration options: >>>--disabl

Re: [libav-devel] [PATCH] AVX FFT

2011-04-23 Thread Vitor Sessak
On 04/21/2011 08:19 PM, Loren Merritt wrote: avx version of `fft-test -n 4` errors out, and -n 3 crashes. Likewise for mdct up to -n 6. All comments taken into account. I also had to do a iMDCT version, since my trick of just calling mdct_sse for AVX does not work anymore since now the permut

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
On 04/22/2011 10:19 PM, Justin Ruggles wrote: > @@ -574,7 +578,11 @@ static av_cold int aac_decode_init(AVCodecContext *avctx) > // 60- Required to scale values to the correct range [-32768,32767] > // for float to int16 conversion. (1 << (60 / 4)) == 32768 > ac->sf_scal

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
On 04/23/2011 01:37 PM, Justin Ruggles wrote: > On 04/22/2011 10:19 PM, Justin Ruggles wrote: > >> @@ -574,7 +578,11 @@ static av_cold int aac_decode_init(AVCodecContext >> *avctx) >> // 60- Required to scale values to the correct range [-32768,32767] >> // for float to int

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Alex Converse
On Sat, Apr 23, 2011 at 10:37 AM, Justin Ruggles wrote: [] > > It works if I just leave the code as-is and scale at the end before > returning, but that's not ideal since we can save some time by applying > the appropriate scale during decoding. > > Also, where can I find or create samples w

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
On 04/23/2011 01:59 PM, Alex Converse wrote: > On Sat, Apr 23, 2011 at 10:37 AM, Justin Ruggles > wrote: > > [] > >> >> It works if I just leave the code as-is and scale at the end before >> returning, but that's not ideal since we can save some time by applying >> the appropriate scale dur

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Ronald S. Bultje
Hi, On Apr 23, 2011, at 1:59 PM, Alex Converse wrote: > On Sat, Apr 23, 2011 at 10:37 AM, Justin Ruggles > wrote: > > [] > >> >> It works if I just leave the code as-is and scale at the end before >> returning, but that's not ideal since we can save some time by applying >> the appropria

Re: [libav-devel] [PATCH 2/2] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Alex Converse
On Sat, Apr 23, 2011 at 11:37 AM, Ronald S. Bultje wrote: > Hi, > > On Apr 23, 2011, at 1:59 PM, Alex Converse wrote: > >> On Sat, Apr 23, 2011 at 10:37 AM, Justin Ruggles >> wrote: >> >> [] >> >>> >>> It works if I just leave the code as-is and scale at the end before >>> returning, but tha

Re: [libav-devel] [PATCH] Remove stray libavcore and _g binary references.

2011-04-23 Thread Alex Converse
On Sat, Apr 23, 2011 at 5:16 AM, Diego Biurrun wrote: > --- >  .gitignore |    2 -- >  Changelog  |    1 - >  2 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/.gitignore b/.gitignore > index eac1758..3d5e38b 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -6,7 +6,6 @@ >  *.ho >

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-23 Thread rukhsana afroz
On Sat, Apr 23, 2011 at 4:38 AM, rukhsana afroz wrote: > > Hi Ronald, > > I will get back to you soon over the chat soon. Please give me some more > hours. > > Thanks > > >> >> >> > Hi Ronald, Here, I have attached a patch, code block style of which I have tested. Page number in the spec is 115

Re: [libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Luca Barbato
On 4/23/11 11:10 AM, Martin Storsjö wrote: Where would you want this moved, then? A cmdutils_win.c, or a header? For A private header might do and seem the simple solution. stray asm, it's easy to include the right header within #if ARCH_foo. If you're ok with keeping all this code in a heade

[libav-devel] [PATCH] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
Based on patches by clsid2 in ffdshow-tryout. --- configure |2 ++ libavcodec/aac.h|2 +- libavcodec/aacdec.c | 37 ++--- libavcodec/aacsbr.c |7 +-- libavcodec/ac3dec.c | 33 - l

Re: [libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Ronald S. Bultje
Hi, On Fri, Apr 22, 2011 at 5:39 PM, Martin Storsjö wrote: > On Wed, 20 Apr 2011, Martin Storsjö wrote: > >> From: Kirill Gavrilov >> >> All file names should be in UTF-8 within libavformat. >> >> This is handled by mapping the open() function to an internal one >> in os_support.h for windows. >

Re: [libav-devel] [PATCH] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Justin Ruggles
On 04/23/2011 03:55 PM, Justin Ruggles wrote: > > Based on patches by clsid2 in ffdshow-tryout. > --- > configure |2 ++ > libavcodec/aac.h|2 +- > libavcodec/aacdec.c | 37 ++--- > libavcodec/aacsbr.c |7 +-- > liba

Re: [libav-devel] [PATCH] ac3enc: add channel coupling support

2011-04-23 Thread Ronald S. Bultje
Hi, On Sun, Apr 17, 2011 at 11:39 AM, Justin Ruggles wrote: [..] > +/* calculate energy in each band in coupling channel and each fbw > channel */ > +bnd = 0; > +i = s->start_freq[CPL_CH]; > +while (i < s->cpl_end_freq) { > +int band_size = s->cpl_band_sizes[bnd]; > +

Re: [libav-devel] [PATCH] Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbis decoders.

2011-04-23 Thread Ronald S. Bultje
Hi, On Sat, Apr 23, 2011 at 4:00 PM, Justin Ruggles wrote: > On 04/23/2011 03:55 PM, Justin Ruggles wrote: > >> >> Based on patches by clsid2 in ffdshow-tryout. >> --- >>  configure               |    2 ++ >>  libavcodec/aac.h        |    2 +- >>  libavcodec/aacdec.c     |   37 ++

[libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Martin Storsjö
From: Kirill Gavrilov All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff pre

[libav-devel] [PATCH] dir-local variables for emacs

2011-04-23 Thread Andrea Crotti
Hi everyone, I met some of you at the Fosdem, so well since I like to customize emacs a lot to make my life easier I tried to set some dir-local-variables for emacs. Here is a patch, with these settings it will enabel flyspell-prog-mode, which checks for english errors in comments and string for

Re: [libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Martin Storsjö
On Sat, 23 Apr 2011, Ronald S. Bultje wrote: > Hi, > > On Fri, Apr 22, 2011 at 5:39 PM, Martin Storsjö wrote: > > On Wed, 20 Apr 2011, Martin Storsjö wrote: > > > >> From: Kirill Gavrilov > >> > >> All file names should be in UTF-8 within libavformat. > >> > >> This is handled by mapping the op

Re: [libav-devel] [PATCH 2/2] Handle unicode file names on windows

2011-04-23 Thread Martin Storsjö
On Sat, 23 Apr 2011, Luca Barbato wrote: > On 4/23/11 11:10 AM, Martin Storsjö wrote: > > Where would you want this moved, then? A cmdutils_win.c, or a header? For > > A private header might do and seem the simple solution. Adding a separate header for one single function only defined for one s

Re: [libav-devel] [PATCH] dir-local variables for emacs

2011-04-23 Thread Luca Barbato
On 4/23/11 11:07 PM, Andrea Crotti wrote: Hi everyone, I met some of you at the Fosdem, so well since I like to customize emacs a lot to make my life easier I tried to set some dir-local-variables for emacs. Here is a patch, with these settings it will enabel flyspell-prog-mode, which checks fo

Re: [libav-devel] [PATCH] dir-local variables for emacs

2011-04-23 Thread Andrea Crotti
Luca Barbato writes: > > You might try to have the commit message split from the composed > message (check git send-email for ideas). > > would be great if you add whitespace stripping to it (not sure how to > do that since I'm not using emacs) > > lu Ah yes I moved around the "---" in the wr

Re: [libav-devel] [PATCH] ac3enc: add channel coupling support

2011-04-23 Thread Justin Ruggles
On 04/23/2011 04:33 PM, Ronald S. Bultje wrote: > Hi, > > On Sun, Apr 17, 2011 at 11:39 AM, Justin Ruggles > wrote: > [..] >> +/* calculate energy in each band in coupling channel and each fbw >> channel */ >> +bnd = 0; >> +i = s->start_freq[CPL_CH]; >> +while (i < s->cpl_end_fr

Re: [libav-devel] [PATCH] AVX FFT

2011-04-23 Thread Loren Merritt
sse emulation of vex ops currently uses movdqa, thus making it sse2. --Loren Merritt--- a/libavcodec/x86/fft_mmx.asm +++ b/libavcodec/x86/fft_mmx.asm @@ -388,7 +388,7 @@ fft32_interleave_avx: ret INIT_XMM -%define movamovaps +%define movdqa movaps align 16 fft4_avx: @@ -546,7 +54

Re: [libav-devel] [PATCH] dir-local variables for emacs

2011-04-23 Thread Luca Barbato
On 4/23/11 11:30 PM, Andrea Crotti wrote: Ah yes I moved around the "---" in the wrong position. From what I gathered the best emacs-git way is for example - git format-patch -1 - git send-mail --to libav-devel@libav.org --compose which will popup my emacs again and let me compose the message, b

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-23 Thread Ronald S. Bultje
Hi Rukhsana, On Sat, Apr 23, 2011 at 2:59 PM, rukhsana afroz wrote: > Here, I have attached a patch, code block style of which I have tested. Page > number in the spec is 115 (D.5) for this code block style. This codeblock > style checks whether the bitplane is decoded correctly in every cleanup

Re: [libav-devel] [PATCH 2/3] Extend and shuffle content

2011-04-23 Thread Luca Barbato
On 4/16/11 4:16 PM, Justin Ruggles wrote: On 04/16/2011 07:32 AM, Luca Barbato wrote: We should focus on what we provide first, then how we are organized and then on which is our origin. --- src/about | 146 +--- 1 files changed, 100 i

[libav-devel] [PATCH] Fix asfdec assert failure

2011-04-23 Thread Uoti Urpala
Attached patch fixes an assertion failure that's fairly easy to trigger with corrupt files. The asf seek regression triggered by the preroll changes (caused by binary seek fallback) is still there, anyone going to fix that? Disabling the utils.c fallback for asf should be enough. I'm not posting a

[libav-devel] [PATCH] Use GCC builtins in bswap.h

2011-04-23 Thread Uoti Urpala
The current generic C implementation, which is always used when the public header is included from other programs (either directly or through intreadwrite.h) compiles to a mess like this (gcc-4.6 on AMD64): movq%rdi, %rdx shrq$32, %rdx movl%edx, %eax sall