[FFmpeg-devel] [PATCH] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC copy and hv mc functions

2015-04-19 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 19 + libavcodec/mips/hevcdsp_mips.h | 20 + libavcodec/mips/hevcdsp_msa.c | 1098 +++ libavutil/mips/generic_macros_msa.h | 133 + 4 files changed, 127

Re: [FFmpeg-devel] [PATCH] avformat/http: Return an error in case of prematurely ending data

2015-04-19 Thread Michael Niedermayer
On Sun, Mar 29, 2015 at 12:33:35AM +0100, Michael Niedermayer wrote: > Fixes Ticket 4039 > > Signed-off-by: Michael Niedermayer > --- > libavformat/http.c |8 > 1 file changed, 8 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FA

Re: [FFmpeg-devel] [PATCH] avformat/http: Return an error in case of prematurely ending data

2015-04-19 Thread wm4
On Sun, 29 Mar 2015 00:33:35 +0100 Michael Niedermayer wrote: > Fixes Ticket 4039 > > Signed-off-by: Michael Niedermayer > --- > libavformat/http.c |8 > 1 file changed, 8 insertions(+) > > diff --git a/libavformat/http.c b/libavformat/http.c > index da3c9be..a1d3763 100644 > ---

Re: [FFmpeg-devel] [PATCH] avformat/http: Return an error in case of prematurely ending data

2015-04-19 Thread Michael Niedermayer
On Sun, Apr 19, 2015 at 02:17:09PM +0200, wm4 wrote: > On Sun, 29 Mar 2015 00:33:35 +0100 > Michael Niedermayer wrote: > > > Fixes Ticket 4039 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/http.c |8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/li

Re: [FFmpeg-devel] [PATCH 2/2] avformat/riff: support G729A

2015-04-19 Thread Michael Niedermayer
On Fri, Apr 17, 2015 at 05:30:37PM +0200, Paul B Mahol wrote: > On 4/17/15, Michael Niedermayer wrote: > > On Fri, Apr 17, 2015 at 02:37:33PM +, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> libavformat/riff.c | 1 + > >> 1 file changed, 1 insertion(+) > > > > LGTM > > >

Re: [FFmpeg-devel] Pixel format 12bit grayscale

2015-04-19 Thread Reimar Döffinger
On Mon, Apr 13, 2015 at 09:59:57AM +, Marco Porsch wrote: > Previously we had regular 16bit RAW that worked like a charm as input to > FFmpeg. The naïve approach of upscaling the 12bit to 16bit destroys the > compression efficiency of course... I think there's your problem, that is not a "of

[FFmpeg-devel] [PATCH] avfilter/vf_colorkey: Add colorkey video filter

2015-04-19 Thread Timo Rothenpieler
--- Changelog | 1 + MAINTAINERS | 1 + doc/filters.texi | 39 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_colorkey.c | 226 ++ 6 files changed, 269 insertions(

Re: [FFmpeg-devel] [PATCH] alsdec: validate time diff index

2015-04-19 Thread Thilo Borgmann
Am 19.04.15 um 00:49 schrieb Michael Niedermayer: > On Sun, Apr 19, 2015 at 12:20:01AM +0200, Andreas Cadhalpun wrote: >> On 18.04.2015 23:34, Michael Niedermayer wrote: >>> On Sat, Apr 18, 2015 at 10:28:53PM +0200, Andreas Cadhalpun wrote: I don't think an assert would be good here. If you wa

Re: [FFmpeg-devel] [PATCH] avfilter/vf_colorkey: Add colorkey video filter

2015-04-19 Thread Michael Niedermayer
On Sun, Apr 19, 2015 at 06:15:48PM +0200, Timo Rothenpieler wrote: [...] > +#define SATURATE(val) (FFMAX(FFMIN((val), 1.0), 0.0)) > + > +static uint8_t do_colorkey_pixel(ColorkeyContext *ctx, uint8_t r, uint8_t g, > uint8_t b) > +{ > +float diff_r = r / 255.0 - ctx->cf[0]; > +float diff_g

Re: [FFmpeg-devel] [PATCH] avfilter/vf_colorkey: Add colorkey video filter

2015-04-19 Thread Michael Niedermayer
On Sun, Apr 19, 2015 at 06:15:48PM +0200, Timo Rothenpieler wrote: > --- > Changelog | 1 + > MAINTAINERS | 1 + > doc/filters.texi | 39 > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_colorkey.c | 226

[FFmpeg-devel] Test for FLAC

2015-04-19 Thread Ludmila Glinskih
Hi! Now I don't use sin() to generate sound, also the test is running in FATE. I added api-flac-test to libavcodec/Makefile (and the .c file is located in this directory as well). I think it should be placed in (future) api folder in the fate directory. Now I couldn't figure out how to add ne

[FFmpeg-devel] [PATCH v3] libavcodec: Add FLAC API test

2015-04-19 Thread Ludmila Glinskih
--- libavcodec/Makefile| 1 + libavcodec/api-flac-test.c | 290 + tests/fate/libavcodec.mak | 6 + 3 files changed, 297 insertions(+) create mode 100644 libavcodec/api-flac-test.c diff --git a/libavcodec/Makefile b/libavcodec/Makefile inde

Re: [FFmpeg-devel] [PATCH v3] libavcodec: Add FLAC API test

2015-04-19 Thread Nicolas George
Le primidi 1er floréal, an CCXXIII, Ludmila Glinskih a écrit : > --- > libavcodec/Makefile| 1 + > libavcodec/api-flac-test.c | 290 > + > tests/fate/libavcodec.mak | 6 + > 3 files changed, 297 insertions(+) > create mode 100644 libavcode

Re: [FFmpeg-devel] [PATCH]Set interlaced flag when muxing interlaced dnxhd into mxf

2015-04-19 Thread Tomas Härdin
On Fri, 2015-04-17 at 00:31 +0200, Carl Eugen Hoyos wrote: > Hi! > > Completely untested. > > Please review, Carl Eugen No idea really. Can't this flag be taken automagically from the codec somehow? /Tomas signature.asc Description: This is a digitally signed message part

Re: [FFmpeg-devel] [PATCH]Set interlaced flag when muxing interlaced dnxhd into mxf

2015-04-19 Thread Carl Eugen Hoyos
Tomas Härdin codemill.se> writes: > On Fri, 2015-04-17 at 00:31 +0200, Carl Eugen Hoyos wrote: > > Hi! > > > > Completely untested. > No idea really. Can't this flag be taken automagically > from the codec somehow? Just like component_depth... Since I don't even know how to really test, I d

Re: [FFmpeg-devel] [PATCH v3] libavcodec: Add FLAC API test

2015-04-19 Thread Michael Niedermayer
On Sun, Apr 19, 2015 at 11:51:52PM +0200, Nicolas George wrote: > Le primidi 1er floréal, an CCXXIII, Ludmila Glinskih a écrit : > > --- > > libavcodec/Makefile| 1 + > > libavcodec/api-flac-test.c | 290 > > + > > tests/fate/libavcodec.mak |

Re: [FFmpeg-devel] Test for FLAC

2015-04-19 Thread Michael Niedermayer
On Mon, Apr 20, 2015 at 12:36:33AM +0300, Ludmila Glinskih wrote: > Hi! > > Now I don't use sin() to generate sound, also the test is running in FATE. > > I added api-flac-test to libavcodec/Makefile (and the .c file is located in > this directory as well). > I think it should be placed in (fu

[FFmpeg-devel] libavcodec: Add FLAC API test

2015-04-19 Thread Ludmila Glinskih
Thank you for your comments! > > > +frame_data[channels * j] = 1 * ((j / 10 * i) % 2); > > > +for (k = 1; k < channels; k++) > > > > > +frame_data[channels * j + k] = frame_data[channels * j] * 2; > > > > I do not understand the purpose of that "*2". > i would gues

[FFmpeg-devel] [PATCH v4] libavcodec: Add FLAC API test

2015-04-19 Thread Ludmila Glinskih
Signed-off-by: Ludmila Glinskih --- libavcodec/Makefile| 1 + libavcodec/api-flac-test.c | 290 + tests/fate/libavcodec.mak | 6 + 3 files changed, 297 insertions(+) create mode 100644 libavcodec/api-flac-test.c diff --git a/libavcodec/Ma