Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: set correct priv_data for feed stream

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 09:12:03AM +0100, Lukasz Marek wrote: > On 6 November 2014 22:55, Michael Niedermayer wrote: > > > On Thu, Nov 06, 2014 at 09:27:45PM +0100, Lukasz Marek wrote: > > > On 06.11.2014 01:32, Michael Niedermayer wrote: > > > >On Thu, Nov 06, 2014 at 12:59:45AM +0100, Lukasz Ma

Re: [FFmpeg-devel] [WEB] [PATCH 2/4] web/style.less: Remove commented cruft

2014-11-07 Thread Michael Niedermayer
On Thu, Nov 06, 2014 at 06:55:54PM -0800, Timothy Gu wrote: > Signed-off-by: Timothy Gu > --- > If someone would like to clarify this with a comment, it would be very > helpful and I would happily drop this patch. > --- > src/less/style.less | 7 --- > 1 file changed, 7 deletions(-) applied

Re: [FFmpeg-devel] [WEB] [PATCH 1/4] web/style.less: detab

2014-11-07 Thread Michael Niedermayer
On Thu, Nov 06, 2014 at 06:55:53PM -0800, Timothy Gu wrote: > Signed-off-by: Timothy Gu > --- > Really don't know how it got committed in the first place. ffmpeg and ffmpeg-web git are different, they have different hooks applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF673

Re: [FFmpeg-devel] Fix read-after-free in matroska_read_seek()

2014-11-07 Thread Michael Niedermayer
Hi On Thu, Nov 06, 2014 at 04:13:53PM -0800, Xiaohan Wang (王消寒) wrote: > Hello ffmpeg-devel: > > This is my first patch to FFmpeg, let me know if I am doing anything wrong > :) > > This is a small patch to fix a read-after-free error in matroskadec.c. > Please take a look. > > Xiaohan > matro

Re: [FFmpeg-devel] Fwd: [PATCH] lavfi: add xbr filter

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 11:08:54PM +0530, arwa arif wrote: > On Fri, Nov 7, 2014 at 10:53 PM, Michael Niedermayer > wrote: > > > On Tue, Nov 04, 2014 at 12:26:27AM +0530, arwa arif wrote: > > > Okay. I would try to complete it by tomorrow. > > > > any news about this ? > > i know this isnt trivia

Re: [FFmpeg-devel] Fwd: [PATCH] lavfi: add xbr filter

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 11:08:54PM +0530, arwa arif wrote: > On Fri, Nov 7, 2014 at 10:53 PM, Michael Niedermayer > wrote: > > > On Tue, Nov 04, 2014 at 12:26:27AM +0530, arwa arif wrote: > > > Okay. I would try to complete it by tomorrow. > > > > any news about this ? > > i know this isnt trivia

[FFmpeg-devel] Fix read-after-free in matroska_read_seek()

2014-11-07 Thread 王消寒
Hello ffmpeg-devel: This is my first patch to FFmpeg, let me know if I am doing anything wrong :) This is a small patch to fix a read-after-free error in matroskadec.c. Please take a look. Xiaohan From 45a523e9213cc887aa90cdf4953e66918b34f689 Mon Sep 17 00:00:00 2001 From: Xiaohan Wang Date: Th

Re: [FFmpeg-devel] Use ffmpeg as an Android stagefright plugin

2014-11-07 Thread Michael Chen
hints audio: 1. E/OMXCodec( 2556): [OMX.RENESAS.AUDIO.DECODER.AAC] setParameter('OMX_IndexParamAudioAac') failed (err = -1010) 2. E/OMXCodec( 2556): [OMX.RENESAS.AUDIO.DECODER.AAC] setAACFormat() failed (err = -1010) video: 1. E/SoftFFmpegVideo( 2556): Deinterlacing failed On

Re: [FFmpeg-devel] Use ffmpeg as an Android stagefright plugin

2014-11-07 Thread Fabio Fumi
Btw - testing downloaded files (as suggested in https://github.com/omxcodec/stagefright-plugins), playback is fine, at east with respect to image quality. Similar for both the test .mov and .mp4 files. Playback hangs and locks once in a while, for a few seconds, with logcat showing lots of:

Re: [FFmpeg-devel] [PATCH] x86/swr: add ff_float_to_int32_a_avx2

2014-11-07 Thread James Almer
On 07/11/14 2:56 PM, Michael Niedermayer wrote: > On Fri, Nov 07, 2014 at 01:19:22PM -0300, James Almer wrote: >> On 07/11/14 6:05 AM, Christophe Gisquet wrote: >>> Hi, >>> >>> 2014-11-06 23:04 GMT+01:00 James Almer : No, the function checks for alignment and jumps to a branch that uses

Re: [FFmpeg-devel] [PATCH] x86/swr: add ff_float_to_int32_a_avx2

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 01:19:22PM -0300, James Almer wrote: > On 07/11/14 6:05 AM, Christophe Gisquet wrote: > > Hi, > > > > 2014-11-06 23:04 GMT+01:00 James Almer : > >> No, the function checks for alignment and jumps to a branch that uses > >> movdqu if needed. > >> ff_int32_to_float_a_avx als

Re: [FFmpeg-devel] [patch 4/4] Fix bug for POWERLE: libswscale/ppc/swscale_altivec.c

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 05:43:22PM +0800, rongyan wrote: > Hi, > There are 4 patches presented to fix bugs for POWER8 little endian. I will > send 4 patches in 4 different email. This is the fourth. > > It fixed the function hScale_altivec_real(), yuv2planeX_16_altivec(), > yuv2planeX_8(). >

[FFmpeg-devel] Fwd: [PATCH] lavfi: add xbr filter

2014-11-07 Thread arwa arif
On Fri, Nov 7, 2014 at 10:53 PM, Michael Niedermayer wrote: > On Tue, Nov 04, 2014 at 12:26:27AM +0530, arwa arif wrote: > > Okay. I would try to complete it by tomorrow. > > any news about this ? > i know this isnt trivial to update to the other reference ... > > > > > > On Mon, Nov 3, 2014 at 8

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-11-07 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 12:26:27AM +0530, arwa arif wrote: > Okay. I would try to complete it by tomorrow. any news about this ? i know this isnt trivial to update to the other reference ... > > On Mon, Nov 3, 2014 at 8:02 PM, Stefano Sabatini wrote: > > > On date Monday 2014-11-03 12:09:50 +05

Re: [FFmpeg-devel] [PATCH] x86/swr: add ff_float_to_int32_a_avx2

2014-11-07 Thread James Almer
On 07/11/14 6:05 AM, Christophe Gisquet wrote: > Hi, > > 2014-11-06 23:04 GMT+01:00 James Almer : >> No, the function checks for alignment and jumps to a branch that uses movdqu >> if needed. >> ff_int32_to_float_a_avx also uses ymm regs and this same macro. > > OK, so nothing new here, same 32-

Re: [FFmpeg-devel] "OPW Qualification Task: Enable daemon mode for FFserver"

2014-11-07 Thread Binathi Bingi
Hi there, Please find the attached patch. Regards Binathi On Thu, Nov 6, 2014 at 1:55 AM, Nicolas George wrote: > Le quintidi 15 brumaire, an CCXXIII, Binathi Bingi a écrit : > > I see, we need dup2() to redirect the output to logfile. Therefore, I put > > it back in the patch. > > > > But, I

[FFmpeg-devel] [PATCH 05/15] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [5/5]

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified Signed-off-by: Nedeljko Babic --- configure | 1 + libavcodec/Makefile | 13 ++--- libavcodec/aacdec.c | 1 - libavcodec/aacdec_fixed.c | 1 - libavcodec/allcodecs.c| 1 + 5 files changed, 12 insertions(+)

[FFmpeg-devel] [PATCH 12/15] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [3/4]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile| 14 +- libavcodec/aac_defines.h | 36 + libavcodec/aacps.c | 353 ++--- libavcodec/aacps.h | 28 ++--

[FFmpeg-devel] [PATCH 11/15] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [2/4]

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables. Signed-off-by: Nedeljko Babic --- libavcodec/aacps_fixed_tablegen.c| 24 +++ libavcodec/aacps_fixed_tablegen.h| 402 +++ libavcodec/aacps_tablegen.c | 73

[FFmpeg-devel] [PATCH 14/15] tests: Add aac_fixed decoder test

2014-11-07 Thread Nedeljko Babic
From: Nedeljko Babic Signed-off-by: Nedeljko Babic --- tests/fate/aac.mak | 63 ++ 1 file changed, 63 insertions(+) diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index bc52cad..8455d00 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/a

[FFmpeg-devel] [PATCH 06/15] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [1/4]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Move the existing code to a new template file. Signed-off-by: Nedeljko Babic --- libavcodec/aacsbr.c | 1412 -- libavcodec/aacsbr.h | 45 ++ libavcodec/aacsbr_template.c | 1400 +

[FFmpeg-devel] [PATCH 15/15] Edit documentation and versioning

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Signed-off-by: Nedeljko Babic --- Changelog | 1 + doc/general.texi| 2 +- doc/mips.txt| 5 + libavutil/version.h | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 2cd73eb..199d78f 100644 --- a/Cha

[FFmpeg-devel] [PATCH 13/15] libavcodec: Minor macro polishing

2014-11-07 Thread Nedeljko Babic
Use macros from aac_defines.h for adding suffixes instead of local macros. Signed-off-by: Nedeljko Babic --- libavcodec/cbrt_tablegen.h | 5 ++--- libavcodec/cbrt_tablegen_template.c| 2 +- libavcodec/sinewin.h | 17 + libavcodec/sinewin_table

[FFmpeg-devel] [PATCH 08/15] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [3/4]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Add fixed poind code. Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 51 +--- libavcodec/aac_defines.h | 76 ++ libavcodec/aacsbr.c | 3 + libavcodec/aacsbr.h | 12 +- libavcodec/aacsbr_fixed.c| 586 ++

[FFmpeg-devel] AAC Decoder - fixed point implementation

2014-11-07 Thread Nedeljko Babic
Hello, I am resending patch set with the implementation of fixed point AAC decoder. Our implementation of float emulation integrated in softfloat as requested. Patche set rebased to the newest code since there were some changes that conflicted with previous implementation. Patch with fate test

[FFmpeg-devel] [PATCH 10/15] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [1/4]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Move existing code to a new file. Signed-off-by: Nedeljko Babic --- libavcodec/aacps.c | 157 - libavcodec/aacps_float.c | 177 +++ 2 files changed, 177 insertions(+), 157 deletions(-)

[FFmpeg-devel] [PATCH 04/15] libavcodec/libavutil: Implementation of AAC_fixed_decoder (LC-module) [4/5]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 98 +++-- libavcodec/aacdec.c | 5 + libavcodec/aacdec_fixed.c| 449 ++ libavcodec/aacdec_template.c | 459 +++

[FFmpeg-devel] [PATCH 07/15] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [2/4]

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Create tables for fixed point code. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +- libavcodec/aacsbr_fixed_tablegen.c | 40 +++ libavcodec/aacsbr_fixed_tablegen.h | 32 +++ libavcodec/aacsbr_tablegen.c| 1 + libavcodec/aacsb

[FFmpeg-devel] [PATCH 03/15] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [3/5]

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables Signed-off-by: Nedeljko Babic --- libavcodec/aacdectab.h | 34 +-- libavcodec/aactab.c| 486 + libavcodec/aactab.h|

[FFmpeg-devel] [PATCH 09/15] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [4/4]

2014-11-07 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 80c361f..bfaeadf 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefi

[FFmpeg-devel] [PATCH 02/15] libavutil: Implementation of AAC_fixed_decoder (LC-module) [2/5]

2014-11-07 Thread Nedeljko Babic
From: Djordje Pesut Make changes in softfloat. Functions for sqrt and sincos are added. Div function is improved. Some changes are made in order for code in softfloat to be usable in fixed aac decoder code. For example order of fields in structure SoftFloat is changed. This doesn't create any

[FFmpeg-devel] [PATCH] ppc: replace vec_ld(0), vec_ld(1) by VEC_LD2() which has fewer loads

2014-11-07 Thread Michael Niedermayer
This needs to be benchmarked, i do not have ppc hw This is on big endian more similar to how the code was before 79e0255956bc8fcdb143f39b2e45db77144ac017 Signed-off-by: Michael Niedermayer --- libavcodec/ppc/hpeldsp_altivec.c | 30 ++ libavutil/ppc/util_altivec.h

Re: [FFmpeg-devel] [patch 2/4] Fix bug for POWERLE: libavcodec/ppc/me_cmp.c

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 05:37:43PM +0800, rongyan wrote: [...] > @@ -88,11 +49,9 @@ static int sad16_x2_altivec(MpegEncContext *v, uint8_t > *pix1, uint8_t *pix2, > /* Read unaligned pixels into our vectors. The vectors are as > follows: > * pix1v: pix1[0] - pix1[15] >

Re: [FFmpeg-devel] [patch 3/4] Fix bug for POWERLE: libavcodec/ppc/hpeldsp_altivec.c

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 05:40:27PM +0800, rongyan wrote: > Hi, > There are 4 patches presented to fix bugs for POWER8 little endian. I will > send 4 patches in 4 different email. This is the third. > > It fixed the function ff_put_pixels16_altivec(), > put_no_rnd_pixels16_xy2_altivec(), put_no

Re: [FFmpeg-devel] [patch 1/4] Fix bug for POWERLE: libavutil/ppc/util_altivec.h

2014-11-07 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 05:33:57PM +0800, rongyan wrote: > Hi, > There are 4 patches presented to fix bugs for POWER8 little endian. I will > send 4 patches in 4 different email. This is the first. > > It fixed the function unaligned_load(), vec_unaligned_load(), add macros > VEC_LD(), VEC_MER

[FFmpeg-devel] [patch 4/4] Fix bug for POWERLE: libswscale/ppc/swscale_altivec.c

2014-11-07 Thread rongyan
Hi, There are 4 patches presented to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the fourth. It fixed the function hScale_altivec_real(), yuv2planeX_16_altivec(), yuv2planeX_8(). The fate test result on POWER BE and POWER LE after merge these 4 patc

[FFmpeg-devel] [patch 3/4] Fix bug for POWERLE: libavcodec/ppc/hpeldsp_altivec.c

2014-11-07 Thread rongyan
Hi, There are 4 patches presented to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the third. It fixed the function ff_put_pixels16_altivec(), put_no_rnd_pixels16_xy2_altivec(), put_no_rnd_pixels8_xy2_altivec(), avg_pixels8_altivec(), avg_pixels8_xy2_a

[FFmpeg-devel] [patch 2/4] Fix bug for POWERLE: libavcodec/ppc/me_cmp.c

2014-11-07 Thread rongyan
Hi, There are 4 patches presented to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the second. It fixed the function hadamard8_diff8x8_altivec(), hadamard8_diff16x8_altivec(), sad16_x2_altivec(), sad16_y2_altivec(), sad16_xy2_altivec(), sad16_al

[FFmpeg-devel] [patch 1/4] Fix bug for POWERLE: libavutil/ppc/util_altivec.h

2014-11-07 Thread rongyan
Hi, There are 4 patches presented to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the first. It fixed the function unaligned_load(), vec_unaligned_load(), add macros VEC_LD(), VEC_MERGEH(), VEC_MERGEL(), VEC_ST(). The fate test result on POWER BE and

Re: [FFmpeg-devel] [PATCH] x86/swr: add ff_float_to_int32_a_avx2

2014-11-07 Thread Christophe Gisquet
Hi, 2014-11-06 23:04 GMT+01:00 James Almer : > No, the function checks for alignment and jumps to a branch that uses movdqu > if needed. > ff_int32_to_float_a_avx also uses ymm regs and this same macro. OK, so nothing new here, same 32-bytes alignment. > when "mulps m0, m1, [mem]" would work ju

Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: set correct priv_data for feed stream

2014-11-07 Thread Lukasz Marek
On 6 November 2014 22:55, Michael Niedermayer wrote: > On Thu, Nov 06, 2014 at 09:27:45PM +0100, Lukasz Marek wrote: > > On 06.11.2014 01:32, Michael Niedermayer wrote: > > >On Thu, Nov 06, 2014 at 12:59:45AM +0100, Lukasz Marek wrote: > > >>new_output_stream creates a codec context with arbitrat