[FFmpeg-devel] [PATCH] avcodec/vp9: Use separate memset for counts.eob

2015-05-15 Thread Michael Niedermayer
Makes no real difference, but maybe scares coverity less (CID1297578) Signed-off-by: Michael Niedermayer --- libavcodec/vp9.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index db3f541..4655e9a 100644 --- a/libavcodec/vp9.c +++ b/li

Re: [FFmpeg-devel] [PATCH]Fix flac with high lpc precision

2015-05-15 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > I failed to implement an autodetection. > > you should be able to autodetect it relatively easily > > "Lavf56.33.101" is stored in the flac file Apart from the fact that this is not an encoder string: How would libavcodec know about it? > > typedef str

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Add more details about the configuration record

2015-05-15 Thread Jerome Martinez
Le 14/05/2015 18:57, Michael Niedermayer a écrit : [...] +reserved the reserved bit is not defined, This way one could misunderstand it as if it was allowed to add such bits in the encoder I don't see it as something allowed (i.e. as a "user data" for private use) but you're right, it is not

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: Use separate memset for counts.eob

2015-05-15 Thread Ronald S. Bultje
Hi, On Fri, May 15, 2015 at 5:10 AM, Michael Niedermayer wrote: > Makes no real difference, but maybe scares coverity less (CID1297578) > > Signed-off-by: Michael Niedermayer > --- > libavcodec/vp9.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/vp9.c

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: Use separate memset for counts.eob

2015-05-15 Thread Michael Niedermayer
On Fri, May 15, 2015 at 06:59:50AM -0400, Ronald S. Bultje wrote: > Hi, > > On Fri, May 15, 2015 at 5:10 AM, Michael Niedermayer > wrote: > > > Makes no real difference, but maybe scares coverity less (CID1297578) > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/vp9.c |3 +

Re: [FFmpeg-devel] [PATCH]Fix flac with high lpc precision

2015-05-15 Thread Michael Niedermayer
On Fri, May 15, 2015 at 09:27:47AM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > > I failed to implement an autodetection. > > > > you should be able to autodetect it relatively easily > > > > "Lavf56.33.101" is stored in the flac file > > Apart from the fact that

Re: [FFmpeg-devel] [PATCH]Fix flac with high lpc precision

2015-05-15 Thread Michael Niedermayer
On Fri, May 15, 2015 at 09:27:47AM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: [...] > > > typedef struct FLACContext { > > > -FLACSTREAMINFO > > > +struct FLACStreaminfo flac_stream_info; > > > > why not just add AVCLass to FLACCOMMONINFO ? or is > > there a re

[FFmpeg-devel] shared api for exposing a texture

2015-05-15 Thread Vittorio Giovara
Hi, following the positive trend as of late, here is a shared discussion on a proposed API. 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 us

[FFmpeg-devel] Logitech C930e (C930) H.264 support for ffmpeg

2015-05-15 Thread Neik
I am trying to capture the camera-encoded H.264 video stream from a Logitech C930e webcam. It seems that there is support for this in the UVC driver and I understand that guvcview supports this camera: http://sourceforge.net/p/linux-uvc/mailman/message/33405777/ But, I am operating in a comm

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Add more details about the configuration record

2015-05-15 Thread Michael Niedermayer
On Fri, May 15, 2015 at 12:45:35PM +0200, Jerome Martinez wrote: > Le 14/05/2015 18:57, Michael Niedermayer a écrit : > >[...] > >>+reserved > >the reserved bit is not defined, > >This way one could misunderstand it as if it was allowed to add > >such bits in the encoder > > I don't see it as some

[FFmpeg-devel] [PATCH 01/12] vp9: disable all pmulhrsw in 8/16 iadst x86 optimizations.

2015-05-15 Thread Ronald S. Bultje
They all overflow in various samples that are considered valid input. --- libavcodec/x86/vp9itxfm.asm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/vp9itxfm.asm b/libavcodec/x86/vp9itxfm.asm index 9cf0d78..a08e1ff 100644 --- a/libavcodec/x86/vp9itxfm.asm

[FFmpeg-devel] ffserver jpg patch

2015-05-15 Thread ill
That file is attached you would have to attach the file generated by git format-patch also you of course first need to locally commit your changes and set the commit message and author see man git commit [...] ___ ffmpeg-devel mailing list ffmpeg-de

[FFmpeg-devel] [PATCH 03/12] vp9: fix segmentation map referencing upon framesize change.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index db3f541..a3cecf2 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -153,6 +153,7 @@ typedef struct VP9Context { uint8_t temporal; uint

[FFmpeg-devel] [PATCH 04/12] vp9: read all 4x4 blocks in sub8x8 blocks individually with scalability.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 4 libavcodec/vp9_mc_template.c | 5 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index a3cecf2..6982eef 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -2833,6 +2833,7 @@ static av_always_in

[FFmpeg-devel] [PATCH 02/12] vp9: disable more pmulhrsw optimizations in idct16/32.

2015-05-15 Thread Ronald S. Bultje
For idct16, only when called from a adst16x16 variant, so impact is minor. For idct32, for all, so relatively major impact. --- libavcodec/x86/vp9itxfm.asm | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libavcodec/x86/vp9itxfm.asm b/libavcodec/x86/

[FFmpeg-devel] [PATCH 05/12] vp9: apply mv scaling workaround only when subsampling is enabled.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 6982eef..c90059e 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -2782,13 +2782,23 @@ static av_always_inline void mc_chroma_scaled(VP9Con

[FFmpeg-devel] [PATCH 08/12] vp9: extend loopfilter workaround for vp9 h/v mix-up to work for 422.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index bc2dc0d..8e0d598 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -3108,8 +3108,12 @@ static av_always_inline void mask_edges(uint8_t (*mask)[8][4], in

[FFmpeg-devel] [PATCH 06/12] vp9: set skip flag if the block had no coded coefficients.

2015-05-15 Thread Ronald S. Bultje
This reproduces libvpx behaviour. It seems like it originally only targeted loopfilter behaviour, but this unfortunately effects following block contexting and thus directs bitstream sync. --- libavcodec/vp9.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff

[FFmpeg-devel] [PATCH 07/12] vp9: clip motion vectors in the same way as libvpx does.

2015-05-15 Thread Ronald S. Bultje
The practical effect of this is that the scaling will wrongly not be applied to the interpolation edge (the 3/4 constants in this patch). In other words, we clip to the pre-scaling interpolation, even though these should be clipped post-scaling. The resulting out-of-frame MVs are thus automatically

[FFmpeg-devel] [PATCH 09/12] vp9: fix crash when playing back 440/440 content with width%64<56.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 8e0d598..23cf99b 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -3314,7 +3314,7 @@ static void decode_b(AVCodecContext *ctx, int row, int col, int w

[FFmpeg-devel] [PATCH 11/12] vp9: clamp segmented lflvl before applying ref/mode deltas.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 8b1ef67..bc88bf9 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -800,9 +800,9 @@ static int decode_frame_header(AVCodecContext *ctx, sh = s->filt

[FFmpeg-devel] [PATCH 12/12] vp9: don't allow compound references if error_resilience is enabled.

2015-05-15 Thread Ronald S. Bultje
libvpx (probably accidentally) clears the bits if error_res is set, along with keyframe/intraonly. This probably wasn't the intention (since it's local data), but it's behaviour we have to copy... --- libavcodec/vp9.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavco

[FFmpeg-devel] [PATCH 10/12] vp9: reset loopfilter mode/ref deltas on keyframe.

2015-05-15 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 23cf99b..8b1ef67 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -698,6 +698,15 @@ static int decode_frame_header(AVCodecContext *ctx, s->framectxid = c = get_

Re: [FFmpeg-devel] [PATCH 01/12] vp9: disable all pmulhrsw in 8/16 iadst x86 optimizations.

2015-05-15 Thread Ronald S. Bultje
On Fri, May 15, 2015 at 3:43 PM, Ronald S. Bultje wrote: > They all overflow in various samples that are considered valid input. I'm actually not sure about this last bit. I originally considered the samples "valid", but it looks like parts of the samples I was looking at are synthetic coeffici

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

2015-05-15 Thread Don Moir
- Original Message - From: "Vittorio Giovara" To: "libav development" ; "FFmpeg development discussions and patches" Sent: Friday, May 15, 2015 10:09 AM Subject: [FFmpeg-devel] shared api for exposing a texture Hi, following the positive trend as of late, here is a shared discussio

[FFmpeg-devel] [PATCH] avcodec/libutvideoenc: Fix memleak

2015-05-15 Thread Michael Niedermayer
Fixes: CID1257657 Signed-off-by: Michael Niedermayer --- libavcodec/libutvideoenc.cpp |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index 3b88fff..cf669d2 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libav

Re: [FFmpeg-devel] [PATCH 03/14] libavcodec/libavutil: Implementation of AAC_fixed_decoder (LC-module) [3/4]

2015-05-15 Thread Michael Niedermayer
On Thu, May 14, 2015 at 03:33:55PM +0200, Nedeljko Babic wrote: > From: Djordje Pesut > > Add fixed point implementation > > Signed-off-by: Nedeljko Babic > --- > libavcodec/aac.h | 101 -- > libavcodec/aacdec.c | 5 + > libavcodec/aacdec_fixed.c| 446 >

Re: [FFmpeg-devel] [PATCH 04/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [4/4]

2015-05-15 Thread Michael Niedermayer
On Thu, May 14, 2015 at 03:33:56PM +0200, Nedeljko Babic wrote: > From: Jovan Zelincevic > > Build system modified > > Signed-off-by: Nedeljko Babic > --- > configure | 1 + > libavcodec/Makefile | 13 ++--- > libavcodec/aacdec.c | 1 - > libavcodec/aacdec