Re: [FFmpeg-devel] [PATCH] Fix 'while' loop condition to prevent movtext crashes by tracking packet size

2015-05-18 Thread Philip Langdale
On Tue, 19 May 2015 03:47:50 +0530 Niklesh Lalwani wrote: > Updated patch. > > -Niklesh > +while (tracksize + 8 <= avpkt->size) { > +// A box is a minimum of 8 bytes. > +tsmb = ptr + tracksize - 2; > tsmb_size = AV_RB32(tsmb); > tsmb +=

Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/lpc: quantize LPC coefficients by multidimensional search instead of independant scalar quantization

2015-05-18 Thread Ronald S. Bultje
Hi, On Mon, May 18, 2015 at 7:53 AM, Michael Niedermayer wrote: > This improves compression but only by a very small bit > possibly it could be improved by exactly calculating the number of bits > that would be needed > > Signed-off-by: Michael Niedermayer > --- > libavcodec/lpc.c | 49 +

[FFmpeg-devel] [PATCH] libavdevice/dshow: fix = typo

2015-05-18 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavdevice/dshow.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 6224978..c8665a1 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -240,7 +240,7 @@ dshow_cycle_devices(AVF

[FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

2015-05-18 Thread Michael Niedermayer
The default is assumed to be 0xFF, which is what the 2009 spec lists, the older version i have lists 0 as the default. Signed-off-by: Michael Niedermayer --- libavformat/mxfenc.c| 28 + tests/ref/lavf/mxf | 12 +-- tests/ref/lavf/mxf_d

Re: [FFmpeg-devel] [PATCH] Fix 'while' loop condition to prevent movtext crashes by tracking packet size

2015-05-18 Thread Niklesh Lalwani
Updated patch. -Niklesh fix-movtext-crashes.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-18 Thread Hendrik Leppkes
On Mon, May 18, 2015 at 9:41 PM, Reimar Döffinger wrote: > > > On 18.05.2015, at 12:37, Stefano Sabatini wrote: > >> On Thu, May 14, 2015 at 2:52 PM, Stefano Sabatini >> wrote: >> >>> On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: On date Tuesday 2015-05-12 15:54:17 +

Re: [FFmpeg-devel] [PATCH] avcodec/flacdec: Add lpc16m instead of using lpc32 + post analysis and correction

2015-05-18 Thread Reimar Döffinger
On 17.05.2015, at 17:03, Michael Niedermayer wrote: > This is slower on x86 as the lpc16* functions are not optimized while lpc32 is > If someone wants to optimize lpc16m and it would actually be faster then this > could be applied and used until then the current solution in git is better as > its

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-18 Thread Reimar Döffinger
On 18.05.2015, at 12:37, Stefano Sabatini wrote: > On Thu, May 14, 2015 at 2:52 PM, Stefano Sabatini > wrote: > >> On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: >>> On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: >> [...] One limitation is as t

[FFmpeg-devel] [PATCH] FFV1 specification: Merge of FrameHeader01() and GlobalHeader()

2015-05-18 Thread Jerome Martinez
From c6f16e561d40972e058f4e163ff753bce8fc8acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= Date: Mon, 18 May 2015 20:59:09 +0200 Subject: [PATCH] Merge of FrameHeader01() and GlobalHeader() FrameHeader01() and GlobalHeader() have a lot of common fields and having a com

Re: [FFmpeg-devel] [libav-devel] shared api for exposing a texture

2015-05-18 Thread Tom Butterworth
Hi all I have coincidentally been working on Hap support for libavcodec as well. There are a couple of formats that are based on texture compression, > usually called DXTn or BCn, and described here: > http://en.wikipedia.org/wiki/S3_Texture_Compression. Currently in > libavcodec only txd uses th

[FFmpeg-devel] [PATCH] [WIP] avcodec/lpc: quantize LPC coefficients by multidimensional search instead of independant scalar quantization

2015-05-18 Thread Michael Niedermayer
This improves compression but only by a very small bit possibly it could be improved by exactly calculating the number of bits that would be needed Signed-off-by: Michael Niedermayer --- libavcodec/lpc.c | 49 +++-- 1 file changed, 47 insertions(+),

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-18 Thread Stefano Sabatini
On Mon, May 18, 2015 at 1:17 PM, Hendrik Leppkes wrote: > On Mon, May 18, 2015 at 12:37 PM, Stefano Sabatini > wrote: > [...] > > > > I have a first hackish patch, performed some tests and I got some > > significant performance gains, on my iCore5 with Intel Graphics HD4000 I > > have now the s

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-18 Thread Hendrik Leppkes
On Mon, May 18, 2015 at 12:37 PM, Stefano Sabatini wrote: > On Thu, May 14, 2015 at 2:52 PM, Stefano Sabatini > wrote: > >> On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: >> > On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: >> [...] >> > > One limitation

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-18 Thread Stefano Sabatini
On Thu, May 14, 2015 at 2:52 PM, Stefano Sabatini wrote: > On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: > > On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: > [...] > > > One limitation is as the manual said, it needs to be copied from the > > > GPU to

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mxfenc: Set horizontal chroma subsample value from pixel format if available

2015-05-18 Thread Michael Niedermayer
On Mon, May 18, 2015 at 09:36:17AM +0100, tim nicholson wrote: > On 16/05/15 19:18, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/mxfenc.c |7 +-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --git a/libavformat/mxfenc.c b/l

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mxfenc: Set the component depth from the pixel format if available

2015-05-18 Thread Michael Niedermayer
On Mon, May 18, 2015 at 09:36:04AM +0100, tim nicholson wrote: > On 16/05/15 19:18, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/mxfenc.c |7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/libavformat/mxfenc.c b/libavformat/mxfen

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mxfenc: Set horizontal chroma subsample value from pixel format if available

2015-05-18 Thread tim nicholson
On 16/05/15 19:18, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mxfenc.c |7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c > index 14449c9..659c34f 100644 > --- a/libavformat/mxfen

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mxfenc: Set the component depth from the pixel format if available

2015-05-18 Thread tim nicholson
On 16/05/15 19:18, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mxfenc.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c > index 5966792..14449c9 100644 > --- a/libavformat/mxfenc.c > +++ b/liba