[FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: add mergex2 mode

2015-10-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi| 23 +++ libavfilter/tinterlace.h| 1 + libavfilter/vf_tinterlace.c | 17 - 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi

Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/videotoolbox: add Annex B support

2015-10-01 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > a) move ff_isom_write_avcc() to libavcodec, and use it as avpriv_ >from libavformat What's the disadvantage? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avfilter/af_rubberband: add process_command()

2015-10-01 Thread Nicolas George
Le decadi 10 vendémiaire, an CCXXIV, Paul B Mahol a écrit : > > "l" is unneeded, %f is for double already > Clang complain if I do not give it "l". Michael was mistaken. For variadic function calls, floats are upgraded to doubles, and therefore %lf is equivalent to %f for printf. But for scanf, a

Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/videotoolbox: add Annex B support

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 07:33:40 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > a) move ff_isom_write_avcc() to libavcodec, and use it as avpriv_ > >from libavformat > > What's the disadvantage? avpriv functions should be avoided.

Re: [FFmpeg-devel] [PATCH] avfilter/af_rubberband: add process_command()

2015-10-01 Thread Moritz Barsnick
On Thu, Oct 01, 2015 at 09:29:10 +0200, Paul B Mahol wrote: > On 10/1/15, Michael Niedermayer wrote: > > also af_rubberband seems to fail to build with 1.3-1.2 from ubuntu > You sure have latest version of rubberband? 1.3 is certainly not the latest version. If that's a

Re: [FFmpeg-devel] [PATCH] avfilter/af_rubberband: add process_command()

2015-10-01 Thread Paul B Mahol
On 10/1/15, Michael Niedermayer wrote: > On Wed, Sep 30, 2015 at 09:41:35PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/af_rubberband.c | 34 ++ >> 1 file changed, 34 insertions(+) >> >> diff

Re: [FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips

2015-10-01 Thread Shivraj Patil
On Wed, Sep 30, 2015 at 02:21:18PM +, Shivraj Patil wrote: > > On Wed, Sep 30, 2015 at 07:03:46PM +0530, shivraj.pa...@imgtec.com wrote: > > From: Shivraj Patil > [...] > > > +static int get_cpuinfo(uint32_t *hwcap) { > > +FILE *f = fopen("/proc/cpuinfo",

Re: [FFmpeg-devel] [PATCH]select attribute of tee pseudo demuxer may contain multiple stream specifiers

2015-10-01 Thread Bodecs Bela
I have made it as you wrote. I replaced the strtok_r function with the supported one. I also have included the modified texi file. I have enclosed the git patch file. bb 2015.09.30. 15:53 keltezéssel, Nicolas George írta: Sorry for the delay. Bodecs Bela: currently, select option of tee

[FFmpeg-devel] [PATCH] Add space after commas in HTTP/RTSP auth header

2015-10-01 Thread Andrey Utkin
This fixes access to Grandstream cameras, which return 401 to ffmpeg otherwise. VLC sends Authorization: header with spaces between parameters, and it is known to work with Grandstream devices and broad range of other HTTP and RTSP servers, so author considers switching to such behaviour safe.

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Christophe Gisquet
2015-09-28 18:51 GMT+02:00 Christophe Gisquet : > I admit I haven't run this over all of fate, so it would be nice to > validate nothing actually uses it for pixels (I have see nothing of > the sort). Passes fate-video fate-vcodec on Win64. -- Christophe

Re: [FFmpeg-devel] [PATCH] ffplay: more robust mutex, condition variable handling

2015-10-01 Thread Ganesh Ajjanagadde
On Sep 30, 2015 7:50 PM, "Marton Balint" wrote: > > > On Tue, 29 Sep 2015, Ganesh Ajjanagadde wrote: > >> SDL_CreateMutex and SDL_CreateCond can fail: >> https://wiki.libsdl.org/SDL_CreateMutex. >> This patch makes handling more robust in one instance. >> >> Signed-off-by: Ganesh

Re: [FFmpeg-devel] [PATCH] qsvenc.c: use query function to catch all kind of setting issues

2015-10-01 Thread Ivan Uskov
Hello Sven, >> fatal: corrupt patch at line 10 SD> Sorry, no idea what went wrong ... anyway - patch attached. I have tested this patch, looks good to me. -- Best regards, Ivanmailto:ivan.us...@nablet.com ___

Re: [FFmpeg-devel] [PATCH] avfilter/af_rubberband: add process_command()

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 09:44:07AM +0200, Nicolas George wrote: > Le decadi 10 vendémiaire, an CCXXIV, Paul B Mahol a écrit : > > > "l" is unneeded, %f is for double already > > Clang complain if I do not give it "l". > > Michael was mistaken. For variadic function calls, floats are upgraded to >

Re: [FFmpeg-devel] [PATCH]select attribute of tee pseudo demuxer may contain multiple stream specifiers

2015-10-01 Thread Bodecs Bela
thank you for your feedback, I have altered the patch accordingly. I have enclosed the updated patch file. bb 2015.10.01. 10:44 keltezéssel, Moritz Barsnick írta: -all the input streams. +all the input streams. You may use multiple stream specifiers +separated by commas (,) eg.: a:0,v eg.

Re: [FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

2015-10-01 Thread Michael Niedermayer
On Fri, Sep 25, 2015 at 11:58:31AM +0800, Ching-Yi Chan wrote: > Thanks for checking. > > I also check the AVFMT_FLAG_FAST_SEEK flag with parsing headers, > to fill the seektable into index entries only if AVFMT_FLAG_FAST_SEEK flag > is on. > > If the AVFMT_FLAG_FAST_SEEK flag is not enabled, it

Re: [FFmpeg-devel] [PATCH] qsvenc.c: use query function to catch all kind of setting issues

2015-10-01 Thread Sven Dueking
> -Ursprüngliche Nachricht- > Von: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] Im Auftrag > von Michael Niedermayer > Gesendet: Mittwoch, 30. September 2015 22:47 > An: FFmpeg development discussions and patches > Betreff: Re: [FFmpeg-devel] [PATCH] qsvenc.c: use query function

Re: [FFmpeg-devel] [PATCH] x86/audio_convert: fix clobbering of xmm registers

2015-10-01 Thread Michael Niedermayer
On Fri, Sep 25, 2015 at 09:33:04PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libswresample/x86/audio_convert.asm | 122 > ++-- > 1 file changed, 61 insertions(+), 61 deletions(-) LGTM thanks [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Christophe Gisquet
2015-10-01 14:40 GMT+02:00 Ronald S. Bultje : > bash-3.2$ grep ff_pixblockdsp_init ../libavcodec/* > ../libavcodec/asvenc.c:ff_pixblockdsp_init(>pdsp, avctx); > ../libavcodec/avdct.c:ff_pixblockdsp_init(, avctx); > ../libavcodec/dnxhdenc.c:

[FFmpeg-devel] [PATCH]lavf/rawdec: Autodetect mlp streams

2015-10-01 Thread Carl Eugen Hoyos
Hi! Attached patch allows auto-detection of mlp, will be useful for ticket #4786. Please comment, Carl Eugen diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 7684e1d..56ac199 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -207,9 +207,32 @@

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Ronald S. Bultje
Hi, On Thu, Oct 1, 2015 at 8:28 AM, Christophe Gisquet < christophe.gisq...@gmail.com> wrote: > 2015-09-28 18:51 GMT+02:00 Christophe Gisquet < > christophe.gisq...@gmail.com>: > > I admit I haven't run this over all of fate, so it would be nice to > > validate nothing actually uses it for

Re: [FFmpeg-devel] [PATCH] qsvenc.c: use query function to catch all kind of setting issues

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 04:27:00PM +0300, Ivan Uskov wrote: > Hello Sven, > > >> fatal: corrupt patch at line 10 > > SD> Sorry, no idea what went wrong ... anyway - patch attached. > I have tested this patch, looks good to me. applied thanks [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH][RFC] avcodec: Don't lock during open if the codec has threadsafe init

2015-10-01 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- libavcodec/internal.h | 2 +- libavcodec/utils.c| 19 --- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 52b8917..324f099 100644 ---

[FFmpeg-devel] [PATCH][RFC] avcodec: Don't lock during open if the codec has threadsafe init

2015-10-01 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- libavcodec/internal.h | 2 +- libavcodec/utils.c| 19 --- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 52b8917..324f099 100644 ---

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Ronald S. Bultje
Hi, On Thu, Oct 1, 2015 at 9:26 AM, Christophe Gisquet < christophe.gisq...@gmail.com> wrote: > 2015-10-01 14:40 GMT+02:00 Ronald S. Bultje : > > bash-3.2$ grep ff_pixblockdsp_init ../libavcodec/* > > ../libavcodec/asvenc.c:ff_pixblockdsp_init(>pdsp, avctx); > >

Re: [FFmpeg-devel] [PATCH][RFC] avcodec: Don't lock during open if the codec has threadsafe init

2015-10-01 Thread Derek Buitenhuis
On 10/1/2015 3:37 PM, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > libavcodec/internal.h | 2 +- > libavcodec/utils.c| 19 --- > 2 files changed, 13 insertions(+), 8 deletions(-) Sorry for the double-email. Ignore this one.

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2015-10-01 Thread Hendrik Leppkes
On Thu, Oct 1, 2015 at 6:39 PM, wm4 wrote: > On Thu, 1 Oct 2015 18:29:00 +0200 > Hendrik Leppkes wrote: > >> On Thu, Oct 1, 2015 at 6:13 PM, wm4 wrote: >> > This affects Annex B streams (such as demuxed from .ts and others). It

[FFmpeg-devel] [PATCH v2] x86inc: Make cpuflag() and notcpuflag() return 0 or 1

2015-10-01 Thread Henrik Gramner
Makes it possible to use them in arithmetic expressions. --- v2: Add a comment explaining what cpuflag() does for api doc purposes. --- libavutil/x86/x86inc.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index

Re: [FFmpeg-devel] [PATCH]lavf/rawdec: Autodetect mlp streams

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 02:34:38PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows auto-detection of mlp, will be useful for ticket #4786. > > Please comment, Carl Eugen > rawdec.c | 23 +++ > 1 file changed, 23 insertions(+) >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 18:29:00 +0200 Hendrik Leppkes wrote: > On Thu, Oct 1, 2015 at 6:13 PM, wm4 wrote: > > This affects Annex B streams (such as demuxed from .ts and others). It > > also handles the format change in

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 18:45:40 +0200 Hendrik Leppkes wrote: > On Thu, Oct 1, 2015 at 6:39 PM, wm4 wrote: > > On Thu, 1 Oct 2015 18:29:00 +0200 > > Hendrik Leppkes wrote: > > > >> On Thu, Oct 1, 2015 at 6:13 PM, wm4

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2015-10-01 Thread Hendrik Leppkes
On Thu, Oct 1, 2015 at 6:13 PM, wm4 wrote: > This affects Annex B streams (such as demuxed from .ts and others). It > also handles the format change in reinit-large_420_8-to-small_420_8.h264 > correctly. > > Instead of passing through the extradata, create it on the fly it

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/h264: keep SPS and PPS bitstream data

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 06:13:20PM +0200, wm4 wrote: > Needed for the following VideotoolBox commit. > --- > libavcodec/h264.h| 4 > libavcodec/h264_ps.c | 20 > 2 files changed, 20 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/h264.h

[FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: fix decoding of some h264 bitstreams

2015-10-01 Thread wm4
This affects Annex B streams (such as demuxed from .ts and others). It also handles the format change in reinit-large_420_8-to-small_420_8.h264 correctly. Instead of passing through the extradata, create it on the fly it from the currently active SPS and PPS. Since reconstructing the PPS and SPS

[FFmpeg-devel] [PATCH 1/2] avcodec/h264: keep SPS and PPS bitstream data

2015-10-01 Thread wm4
Needed for the following VideotoolBox commit. --- libavcodec/h264.h| 4 libavcodec/h264_ps.c | 20 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 7356288..eeb2aaf 100644 --- a/libavcodec/h264.h +++

[FFmpeg-devel] [PATCH 1/2] checkasm: Fix compilation with --disable-avcodec

2015-10-01 Thread Henrik Gramner
--- tests/checkasm/checkasm.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index d7c2e8a..264473a 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@

Re: [FFmpeg-devel] [PATCH 1/2] checkasm: Fix compilation with --disable-avcodec

2015-10-01 Thread Ronald S. Bultje
Hi, On Thu, Oct 1, 2015 at 1:50 PM, Henrik Gramner wrote: > --- > tests/checkasm/checkasm.c | 42 ++ > 1 file changed, 22 insertions(+), 20 deletions(-) > > diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c > index

[FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/maskedmerge.h | 40 libavfilter/vf_maskedmerge.c | 59 -- libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_maskedmerge.asm| 69

Re: [FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread Henrik Gramner
On Thu, Oct 1, 2015 at 8:42 PM, Paul B Mahol wrote: > diff --git a/libavfilter/vf_maskedmerge.c b/libavfilter/vf_maskedmerge.c > if (desc->comp[0].depth == 8) > s->maskedmerge = maskedmerge8; > else > s->maskedmerge = maskedmerge16; > > +if

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread Hendrik Leppkes
On Thu, Oct 1, 2015 at 9:05 PM, wm4 wrote: > On Fri, 2 Oct 2015 02:58:52 +0800 > Wang Bin wrote: > >> From b8b5ad2d6510778111c2a03ae5cfbe727ee6 Mon Sep 17 00:00:00 2001 >> From: wang-bin >> Date: Tue, 29 Sep 2015 18:11:03 +0800 >>

[FFmpeg-devel] [PATCH 2/2] checkasm: Simplify the list of tests using a macro

2015-10-01 Thread Henrik Gramner
--- tests/checkasm/checkasm.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index 264473a..5626d2c 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -52,6 +52,8 @@ #define

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/h264: keep SPS and PPS bitstream data

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 07:26:47PM +0200, wm4 wrote: > On Thu, 1 Oct 2015 19:08:21 +0200 > Michael Niedermayer wrote: > > > On Thu, Oct 01, 2015 at 06:13:20PM +0200, wm4 wrote: > > > Needed for the following VideotoolBox commit. > > > --- > > > libavcodec/h264.h| 4 >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/h264: keep SPS and PPS bitstream data

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 19:56:41 +0200 Michael Niedermayer wrote: > On Thu, Oct 01, 2015 at 07:26:47PM +0200, wm4 wrote: > > On Thu, 1 Oct 2015 19:08:21 +0200 > > Michael Niedermayer wrote: > > > > > On Thu, Oct 01, 2015 at 06:13:20PM +0200, wm4 wrote: > > > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread James Darnley
On 2015-10-01 19:25, Paul B Mahol wrote: > +cglobal maskedmerge8, 10, 11, 3, 0, bsrc, blinesize, osrc, olinesize, msrc, > mlinesize, dst, dlinesize, w, h You need a guard to prevent this being compiled on x86. > +lea bsrcq, [bsrcq+blinesizeq] > +lea osrcq, [osrcq+olinesizeq] > +lea

Re: [FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread Paul B Mahol
On 10/1/15, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/maskedmerge.h | 40 > libavfilter/vf_maskedmerge.c | 59 -- > libavfilter/x86/Makefile | 2 +

Re: [FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread James Almer
On 10/1/2015 2:25 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/maskedmerge.h | 39 + > libavfilter/vf_maskedmerge.c | 33 ++ > libavfilter/x86/Makefile | 2 ++ >

Re: [FFmpeg-devel] [PATCH]lavf/rawdec: Autodetect mlp streams

2015-10-01 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > rawdec.c | 23 +++ > > 1 file changed, 23 insertions(+) > > abba9ed11f76154846001b745f4efb00d6b4849e patchmlpprobe.diff > > should be ok Patch applied. Thank you, Carl Eugen ___

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread Wang Bin
Seems that the function style macro is always evaluated. So gcc gives an error at WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) if WINAPI_FAMILY_PARTITION is not defined. Now I copy the macros from configure. 0001-winrt-multithreading-support.patch Description: Binary data

[FFmpeg-devel] [PATCH] avfilter/vf_maskedmerge: add SIMD for maskedmerge with 8 bit depth input

2015-10-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/maskedmerge.h | 39 + libavfilter/vf_maskedmerge.c | 33 ++ libavfilter/x86/Makefile | 2 ++ libavfilter/x86/vf_maskedmerge.asm| 66

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/h264: keep SPS and PPS bitstream data

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 19:08:21 +0200 Michael Niedermayer wrote: > On Thu, Oct 01, 2015 at 06:13:20PM +0200, wm4 wrote: > > Needed for the following VideotoolBox commit. > > --- > > libavcodec/h264.h| 4 > > libavcodec/h264_ps.c | 20 > > 2 files

Re: [FFmpeg-devel] [PATCH 1/2] checkasm: Fix compilation with --disable-avcodec

2015-10-01 Thread Henrik Gramner
On Thu, Oct 1, 2015 at 7:57 PM, Ronald S. Bultje wrote: > Does this mean these macros are defined and 1 when AVCODEC=0? > > That seems like a bug? Yes, they are., but I have no idea what the intended behavior of the CONFIG_* variables are.

Re: [FFmpeg-devel] [PATCH] winrt: multithreading support

2015-10-01 Thread wm4
On Fri, 2 Oct 2015 02:58:52 +0800 Wang Bin wrote: > From b8b5ad2d6510778111c2a03ae5cfbe727ee6 Mon Sep 17 00:00:00 2001 > From: wang-bin > Date: Tue, 29 Sep 2015 18:11:03 +0800 > Subject: [PATCH] winrt: multithreading support > > _beginthreadex is for

Re: [FFmpeg-devel] [PATCH 1/3] dnxhddec: initialize with mb-aligned dimensions

2015-10-01 Thread Christophe Gisquet
Hi, 2015-10-01 22:34 GMT+02:00 Hendrik Leppkes : >> +avctx->coded_width = FFALIGN(avctx->width, 16); >> +avctx->coded_height = FFALIGN(avctx->coded_height, 16); > > Intentional that this is not ->height, but ->coded_height? Huh, yes, and the worse is it was intended

[FFmpeg-devel] [PATCH 2/3] dnxhddec: use dequantization formula from specs

2015-10-01 Thread Christophe Gisquet
The current one, while correct, does not yield the best possible results. The specificiations suggest another formula, which results in quality gains in the decoded output from fate tests. This justifies changing said formula. --- libavcodec/dnxhddec.c | 3 ++-

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Christophe Gisquet
Hi, 2015-10-01 21:35 GMT+02:00 Michael Niedermayer : > ffmpeg/libavcodec/arm/blockdsp_arm.h:24:6: note: previous declaration of > ‘ff_blockdsp_init_neon’ was here Missed that header... I can only find those using grep... Here's an updated patch. -- Christophe From

Re: [FFmpeg-devel] [PATCH]lavfi/mandelbrot: Output RGB0 instead of RGBA

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 09:48:10PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch improves the mandelbrot output pix_fmt imo. > > Please comment, Carl Eugen > vsrc_mandelbrot.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > 8fd1951c453c9a39214bed85821531e70ef7e8e9

[FFmpeg-devel] [PATCH]lavfi/mandelbrot: Output RGB0 instead of RGBA

2015-10-01 Thread Carl Eugen Hoyos
Hi! Attached patch improves the mandelbrot output pix_fmt imo. Please comment, Carl Eugen diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index 56d0503..950c5c8 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -149,7 +149,7 @@ static

[FFmpeg-devel] [PATCH 1/3] dnxhddec: initialize with mb-aligned dimensions

2015-10-01 Thread Christophe Gisquet
The coded size is a multiple of the macroblock size, which is 16. --- libavcodec/dnxhddec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index e3dec78..3985318 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -87,6 +87,9 @@

Re: [FFmpeg-devel] [PATCH 1/3] dnxhddec: initialize with mb-aligned dimensions

2015-10-01 Thread Hendrik Leppkes
On Thu, Oct 1, 2015 at 10:01 PM, Christophe Gisquet wrote: > The coded size is a multiple of the macroblock size, which is 16. > --- > libavcodec/dnxhddec.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c >

Re: [FFmpeg-devel] [PATCH] Revert "avformat/flvdec: Check that sizes match and resync if not"

2015-10-01 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > This reverts commit cbbd906be6150be38dfc14b6bc67dcac8da8aea4. > > It broke rtmp fatally, at least some cases of it. You don't want to share some of them with us? Carl Eugen ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH 0/3] Miscellaneous corrections

2015-10-01 Thread Christophe Gisquet
The last one is needed for dsp implementations. This set is mostly meant to evacuate the simplest parts before DNxHR support is added. Christophe Gisquet (3): dnxhddec: initialize with mb-aligned dimensions dnxhddec: use dequantization formula from specs dnxhddec: init scantable once

[FFmpeg-devel] [PATCH 3/3] dnxhddec: init scantable once permutation is set

2015-10-01 Thread Christophe Gisquet
Otherwise, the dsp may change without its permuation being applied. --- libavcodec/dnxhddec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 8d9b7f0..18b2d51 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c

[FFmpeg-devel] Issue with native WebP muxer in ffmpeg

2015-10-01 Thread Urvang Joshi
Hi ffmpeg folks, This is based on a report on WebP issue tracker: https://code.google.com/p/webp/issues/detail?id=266 Looks like ffmpeg's native WebP muxer always sets ALPHA_FLAG to be true in VP8X chunk: https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/webpenc.c#L110 (Even for a

[FFmpeg-devel] [PATCH]lavc/mjpegenc: Add an option to force outputting chroma matrix

2015-10-01 Thread Carl Eugen Hoyos
Hi! Attached patch adds an option to force writing chroma matrix even if it is identical to luma matrix as suggested by RFC 2435 for mjpeg over rtp. Is force_write_chroma_matrix better? Please comment, Carl Eugen diff --git a/libavcodec/mjpegenc_common.c b/libavcodec/mjpegenc_common.c index

Re: [FFmpeg-devel] Issue with native WebP muxer in ffmpeg

2015-10-01 Thread Carl Eugen Hoyos
Urvang Joshi google.com> writes: > (ii) inside a VP8L chunk. Isnt't pix_fmt YUVA420P in that case? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]lavf/rawdec: Add TrueHD autoedetection

2015-10-01 Thread Carl Eugen Hoyos
Hi! Since I already implemented it: Attached is a patch that implements TrueHD autodetection. Please comment, Carl Eugen diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 56ac199..ef84d37 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -206,14 +206,14 @@ static int

Re: [FFmpeg-devel] [PATCH]lavc/mjpegenc: Add an option to force outputting chroma matrix

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 10:03:39PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch adds an option to force writing chroma matrix even if it is > identical to luma matrix as suggested by RFC 2435 for mjpeg over rtp. > > Is force_write_chroma_matrix better? > > Please comment, Carl Eugen

Re: [FFmpeg-devel] [PATCH] Revert "avformat/flvdec: Check that sizes match and resync if not"

2015-10-01 Thread wm4
On Fri, 2 Oct 2015 00:06:24 +0200 Michael Niedermayer wrote: > On Thu, Oct 01, 2015 at 11:33:27PM +0200, wm4 wrote: > > On Thu, 1 Oct 2015 21:08:39 + (UTC) > > Carl Eugen Hoyos wrote: > > > > > wm4 googlemail.com> writes: > > > > > > > This reverts

Re: [FFmpeg-devel] [PATCH] vp9: 10/12bpp SIMD (sse2/ssse3/avx) for directional intra prediction.

2015-10-01 Thread Henrik Gramner
On Wed, Sep 30, 2015 at 9:36 PM, Ronald S. Bultje wrote: diff --git a/libavcodec/x86/vp9intrapred_16bpp.asm b/libavcodec/x86/vp9intrapred_16bpp.asm +pd_65535: times 8 dd 0x Duplicate of pd_0f from 264_qpel_10bit.asm +%if cpuflag(ssse3) +; FIXME this can be done

Re: [FFmpeg-devel] [PATCH] Revert "avformat/flvdec: Check that sizes match and resync if not"

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 11:33:27PM +0200, wm4 wrote: > On Thu, 1 Oct 2015 21:08:39 + (UTC) > Carl Eugen Hoyos wrote: > > > wm4 googlemail.com> writes: > > > > > This reverts commit cbbd906be6150be38dfc14b6bc67dcac8da8aea4. > > > > > > It broke rtmp fatally, at least some

Re: [FFmpeg-devel] [PATCH]lavfi/mandelbrot: Output RGB0 instead of RGBA

2015-10-01 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > vsrc_mandelbrot.c |3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > 8fd1951c453c9a39214bed85821531e70ef7e8e9 patchmandelbrot.diff > > LGTM Patch applied. Thank you, Carl Eugen ___

[FFmpeg-devel] [PATCH] libavformat/hlsenc: Use of uninitialized memory unlinking old files

2015-10-01 Thread DeHackEd
From: DHE Fixes ticket#4900 Signed-off-by: DHE --- libavformat/hlsenc.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 473ca3a..8daf53f 100644 ---

Re: [FFmpeg-devel] [PATCH] Revert "avformat/flvdec: Check that sizes match and resync if not"

2015-10-01 Thread wm4
On Thu, 1 Oct 2015 21:08:39 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > This reverts commit cbbd906be6150be38dfc14b6bc67dcac8da8aea4. > > > > It broke rtmp fatally, at least some cases of it. > > You don't want to share some of them with us?

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: add mergex2 mode

2015-10-01 Thread tim nicholson
On 30/09/15 14:39, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi| 24 > libavfilter/tinterlace.h| 1 + > libavfilter/vf_tinterlace.c | 13 ++--- > 3 files changed, 35 insertions(+), 3 deletions(-) >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: add mergex2 mode

2015-10-01 Thread Paul B Mahol
On 10/1/15, tim nicholson wrote: > On 30/09/15 14:39, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi| 24 >> libavfilter/tinterlace.h| 1 + >> libavfilter/vf_tinterlace.c

Re: [FFmpeg-devel] [PATCH]lavf/rawdec: Add TrueHD autoedetection

2015-10-01 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > rawdec.c | 19 --- > > 1 file changed, 16 insertions(+), 3 deletions(-) > > 5355a7c39fb1a9e536a28cecc86e8501a7986859 patchthdprobe.diff > > should be ok Patch applied. Thank you, Carl Eugen

[FFmpeg-devel] [PATCH]lavf/rawdec: Simplify mlp/thd probe function

2015-10-01 Thread Carl Eugen Hoyos
Hi! Attached patch intends to slightly simplify the probe function. Please review, Carl Eugen diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index ef84d37..7a72b5a 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -209,19 +209,18 @@ FF_DEF_RAWVIDEO_DEMUXER2(mjpeg, "raw

Re: [FFmpeg-devel] [PATCH] x86/audio_convert: fix clobbering of xmm registers

2015-10-01 Thread James Almer
On 10/1/2015 8:01 AM, Michael Niedermayer wrote: > On Fri, Sep 25, 2015 at 09:33:04PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libswresample/x86/audio_convert.asm | 122 >> ++-- >> 1 file changed, 61 insertions(+), 61

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 09:54:49PM +0200, Christophe Gisquet wrote: > Hi, > > 2015-10-01 21:35 GMT+02:00 Michael Niedermayer : > > ffmpeg/libavcodec/arm/blockdsp_arm.h:24:6: note: previous declaration of > > ‘ff_blockdsp_init_neon’ was here > > Missed that header... I

Re: [FFmpeg-devel] [PATCH] Revert "avformat/flvdec: Check that sizes match and resync if not"

2015-10-01 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 12:36:24AM +0200, wm4 wrote: > On Fri, 2 Oct 2015 00:06:24 +0200 > Michael Niedermayer wrote: > > > On Thu, Oct 01, 2015 at 11:33:27PM +0200, wm4 wrote: > > > On Thu, 1 Oct 2015 21:08:39 + (UTC) > > > Carl Eugen Hoyos wrote: > > >

Re: [FFmpeg-devel] [PATCH]lavf/rawdec: Add TrueHD autoedetection

2015-10-01 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 10:31:21PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Since I already implemented it: > Attached is a patch that implements TrueHD autodetection. > > Please comment, Carl Eugen > rawdec.c | 19 --- > 1 file changed, 16 insertions(+), 3 deletions(-) >

Re: [FFmpeg-devel] [PATCH]select attribute of tee pseudo demuxer may contain multiple stream specifiers

2015-10-01 Thread Moritz Barsnick
> -all the input streams. > +all the input streams. You may use multiple stream specifiers > +separated by commas (,) eg.: a:0,v eg. -> e.g. (and you have double spaces there, " "). And I prefer "(@code{,})" and "@code{a:0,v}", but perhaps that's a matter of preference, not sure about this

Re: [FFmpeg-devel] [PATCH]select attribute of tee pseudo demuxer may contain multiple stream specifiers

2015-10-01 Thread Bodecs Bela
Sorry I have enclosed an earlier patch file in my previous email. This is the good one. bb 2015.10.01. 10:22 keltezéssel, Bodecs Bela írta: I have made it as you wrote. I replaced the strtok_r function with the supported one. I also have included the modified texi file. I have enclosed the