Re: [FFmpeg-devel] [PATCH] lavf/mov: make invalid mdhd time_scale default to 1 instead of erroring out

2017-05-20 Thread Matthieu Bouron
On Sat, May 20, 2017 at 12:28:53AM +0200, Michael Niedermayer wrote: > On Wed, May 17, 2017 at 02:58:12PM +0200, Matthieu Bouron wrote: > > On Wed, May 17, 2017 at 01:56:13PM +0200, Matthieu Bouron wrote: > > > On Fri, May 12, 2017 at 11:12:12PM +0200, Michael Niedermayer wro

[FFmpeg-devel] [PATCH 1/3] lavc/mediacodec_wrapper: fix local reference leaks

2017-05-21 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 43fbb511fd..5e1beed43a 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcod

[FFmpeg-devel] [PATCH 2/2] lavc/ffjni: add missing '\n'

2017-05-21 Thread Matthieu Bouron
--- libavcodec/ffjni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c index b2bcae9602..f5b581f0f6 100644 --- a/libavcodec/ffjni.c +++ b/libavcodec/ffjni.c @@ -85,7 +85,7 @@ JNIEnv *ff_jni_get_env(void *log_ctx) av_log(log_ctx,

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: do not declare JNIAMedia{Codec, Format}Fields on the stack

2017-05-21 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 5e1beed43a..0f573bfc7a 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -125,7 +1

Re: [FFmpeg-devel] [PATCH 2/2] lavc/ffjni: add missing '\n'

2017-05-21 Thread Matthieu Bouron
On Sun, May 21, 2017 at 06:36:10PM +0200, Carl Eugen Hoyos wrote: > 2017-05-21 18:17 GMT+02:00 Matthieu Bouron : > > > -av_log(log_ctx, AV_LOG_ERROR, "Failed to get the JNI environment > > attached to this thread"); > > +av_log(log_ctx, AV

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: do not declare JNIAMedia{Codec, Format}Fields on the stack

2017-05-21 Thread Matthieu Bouron
On Sun, May 21, 2017 at 06:17:27PM +0200, Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c > index 5e1beed43a..0f573bf

Re: [FFmpeg-devel] [PATCH 2/2] lavc/ffjni: add missing '\n'

2017-05-22 Thread Matthieu Bouron
On Sun, May 21, 2017 at 06:56:42PM +0200, Matthieu Bouron wrote: > On Sun, May 21, 2017 at 06:36:10PM +0200, Carl Eugen Hoyos wrote: > > 2017-05-21 18:17 GMT+02:00 Matthieu Bouron : > > > > > -av_log(log_ctx, AV_LOG_ERROR, "Failed to get the JNI environment

Re: [FFmpeg-devel] [PATCH 2/2] lavc/ffjni: add missing '\n'

2017-05-23 Thread Matthieu Bouron
On Mon, May 22, 2017 at 06:20:07PM +0200, Matthieu Bouron wrote: > On Sun, May 21, 2017 at 06:56:42PM +0200, Matthieu Bouron wrote: > > On Sun, May 21, 2017 at 06:36:10PM +0200, Carl Eugen Hoyos wrote: > > > 2017-05-21 18:17 GMT+02:00 Matthieu Bouron : > > > >

Re: [FFmpeg-devel] [PATCH 1/3] lavc/mediacodec_wrapper: fix local reference leaks

2017-05-23 Thread Matthieu Bouron
On Sun, May 21, 2017 at 06:15:29PM +0200, Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 37 ++--- > 1 file changed, 26 insertions(+), 11 deletions(-) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wr

[FFmpeg-devel] [PATCH] lavc/aarch64: add sbrdsp neon implementation

2017-06-02 Thread Matthieu Bouron
38e93c7 --- /dev/null +++ b/libavcodec/aarch64/sbrdsp_neon.S @@ -0,0 +1,258 @@ +/* + * Copyright (c) 2017 Matthieu Bouron + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License

Re: [FFmpeg-devel] [PATCH] lavc: add mpeg2 decoder/hwaccel to mediacodec

2017-06-02 Thread Matthieu Bouron
GISTER_DECODER(MSMPEG4V1, msmpeg4v1); > diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c > index ccfcb4b9ce..f3f6155392 100644 > --- a/libavcodec/mediacodecdec.c > +++ b/libavcodec/mediacodecdec.c > @@ -1,5 +1,5 @@ > /* > - * Android MediaCodec H.264

Re: [FFmpeg-devel] [PATCH v3] lavc: add mpeg2 decoder/hwaccel to mediacodec

2017-06-07 Thread Matthieu Bouron
On Tue, Jun 06, 2017 at 09:39:25AM -0700, Aman Gupta wrote: > On Mon, Jun 5, 2017 at 1:22 PM, Aman Gupta wrote: > > > From: Aman Gupta > > > > Android TV and FireOS hardware supports mpeg2 hardware decoding via > > MediaCodec. > > > > I tested this patch on an NVIDIA SHIELD, FireTV gen1 and Fir

Re: [FFmpeg-devel] [PATCH v3] lavc: add mpeg2 decoder/hwaccel to mediacodec

2017-06-08 Thread Matthieu Bouron
On Wed, Jun 07, 2017 at 10:56:29PM +0200, Matthieu Bouron wrote: > On Tue, Jun 06, 2017 at 09:39:25AM -0700, Aman Gupta wrote: > > On Mon, Jun 5, 2017 at 1:22 PM, Aman Gupta wrote: > > > > > From: Aman Gupta > > > > > > Android TV and FireOS har

[FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-09 Thread Matthieu Bouron
--- libavcodec/mediacodecdec.c | 70 -- 1 file changed, 12 insertions(+), 58 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 5bdeb6c1d7..0c77a78aa9 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacod

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-09 Thread Matthieu Bouron
On Fri, Jun 09, 2017 at 08:18:25PM -0300, James Almer wrote: > On 6/9/2017 7:53 PM, Matthieu Bouron wrote: > > --- > > libavcodec/mediacodecdec.c | 70 > > -- > > 1 file changed, 12 insertions(+), 58 deletions(-) >

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec: switch to the new generic filtering mechanism

2017-06-13 Thread Matthieu Bouron
On Sat, Jun 10, 2017 at 01:38:20AM +0200, Matthieu Bouron wrote: > On Fri, Jun 09, 2017 at 08:18:25PM -0300, James Almer wrote: > > On 6/9/2017 7:53 PM, Matthieu Bouron wrote: > > > --- > > > libavcodec/mediacodecdec.c | 70 > > >

Re: [FFmpeg-devel] [PATCH] lavc/aarch64: add sbrdsp neon implementation

2017-06-13 Thread Matthieu Bouron
On Fri, Jun 02, 2017 at 01:59:00PM +0200, Matthieu Bouron wrote: > --- > > Hello, > > The following patch adds an aarch64 neon implementation of the sbrdsp (tested > on an Odroid-C2). It hasn't been benchmarked yet and it lacks the > hf_apply_noise{0,1,2,3} functions

[FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix idct_col4_top coefficient

2017-06-13 Thread Matthieu Bouron
Fixes regression introduced by 5d0b8b1ae307951310c7d9a8fa282fbca9b997cd. --- libavcodec/aarch64/simple_idct_neon.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aarch64/simple_idct_neon.S b/libavcodec/aarch64/simple_idct_neon.S index 92987985d2..5bd31e5be9 100644

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix idct_col4_top coefficient

2017-06-13 Thread Matthieu Bouron
On Tue, Jun 13, 2017 at 05:26:43PM +0200, Clément Bœsch wrote: > On Tue, Jun 13, 2017 at 05:24:21PM +0200, Matthieu Bouron wrote: > > Fixes regression introduced by 5d0b8b1ae307951310c7d9a8fa282fbca9b997cd. > > --- > > libavcodec/aarch64/simple_idct_neon.S | 2 +- > >

[FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix build with Xcode 7.2

2017-06-14 Thread Matthieu Bouron
--- libavcodec/aarch64/simple_idct_neon.S | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/aarch64/simple_idct_neon.S b/libavcodec/aarch64/simple_idct_neon.S index 5bd31e5be9..5e4d021a97 100644 --- a/libavcodec/aarch64/simple_idct_neon.

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix build with Xcode 7.2

2017-06-14 Thread Matthieu Bouron
On Wed, Jun 14, 2017 at 01:39:12PM +0200, Matthieu Bouron wrote: > --- > libavcodec/aarch64/simple_idct_neon.S | 28 ++-- > 1 file changed, 14 insertions(+), 14 deletions(-) > > diff --git a/libavcodec/aarch64/simple_idct_neon.S > b/libavcodec/aarch64/

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix build with Xcode 7.2

2017-06-14 Thread Matthieu Bouron
On Wed, Jun 14, 2017 at 06:17:54PM +0200, Matthieu Bouron wrote: > On Wed, Jun 14, 2017 at 01:39:12PM +0200, Matthieu Bouron wrote: > > --- > > libavcodec/aarch64/simple_idct_neon.S | 28 ++-- > > 1 file changed, 14 insertions(+), 14 deletions(-)

[FFmpeg-devel] [PATCH] checkasm/aarch64: fix tests returning a float

2017-06-19 Thread Matthieu Bouron
Avoids overriding v0 (which containins the result of the tested function) in checkasm_call_checked. Also properly calls checkasm_call_checked. --- tests/checkasm/aarch64/checkasm.S | 8 tests/checkasm/checkasm.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 2/2] aarch64: vp9 16bpp: Fix assembling with Xcode 6.2 and older

2017-06-20 Thread Matthieu Bouron
On Tue, Jun 20, 2017 at 10:09:05PM +0300, Martin Storsjö wrote: > From: Memphiz > > Properly use the b.eq form instead of the nonstandard form (which > both gas and newer clang accept though), and expand the register > lists that used a range (which the Xcode 6.2 clang, based on clang > 3.5 svn,

Re: [FFmpeg-devel] [PATCH] checkasm/aarch64: fix tests returning a float

2017-06-21 Thread Matthieu Bouron
On Mon, Jun 19, 2017 at 11:08:39AM +0200, Matthieu Bouron wrote: > Avoids overriding v0 (which containins the result of the tested > function) in checkasm_call_checked. > > Also properly calls checkasm_call_checked. > --- > tests/checkasm/aarch64/checkasm.S | 8

Re: [FFmpeg-devel] [PATCH] checkasm/aarch64: fix tests returning a float

2017-06-21 Thread Matthieu Bouron
On Wed, Jun 21, 2017 at 04:57:53PM -0300, James Almer wrote: > On 6/19/2017 6:08 AM, Matthieu Bouron wrote: > > Avoids overriding v0 (which containins the result of the tested > > function) in checkasm_call_checked. > > > > Also properly calls checkasm_call_checked.

Re: [FFmpeg-devel] [PATCH] checkasm/aarch64: fix tests returning a float

2017-06-22 Thread Matthieu Bouron
On Wed, Jun 21, 2017 at 10:19:33PM +0200, Matthieu Bouron wrote: > On Wed, Jun 21, 2017 at 04:57:53PM -0300, James Almer wrote: > > On 6/19/2017 6:08 AM, Matthieu Bouron wrote: > > > Avoids overriding v0 (which containins the result of the tested > > > functio

[FFmpeg-devel] [PATCH 1/2] checkasm: add sbrdsp tests

2017-06-22 Thread Matthieu Bouron
--- The following patchset applies on top of Clément's aacpsdsp patchset. --- tests/checkasm/Makefile | 3 +- tests/checkasm/checkasm.c | 1 + tests/checkasm/checkasm.h | 1 + tests/checkasm/sbrdsp.c | 297 ++ 4 files changed, 301 insertions(

[FFmpeg-devel] [PATCH 2/2] lavc/aarch64: add sbrdsp neon implementation

2017-06-22 Thread Matthieu Bouron
tests/checkasm/checkasm --bench --test=sbrdsp (git)-[aarch64a checkasm: using random

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > From: Aman Gupta > > --- > libavutil/Makefile | 1 + > libavutil/hwcontext.c| 4 > libavutil/hwcontext.h| 1 + > libavutil/hwcontext_mediacodec.c | 50 > ++

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavutil/Makefile | 1 + > > libavutil/hwcontext.c| 4 > >

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 11:52:44AM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > --- > >

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-04 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 12:45:45PM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 11:52:44AM +0100, Matthieu Bouron wrote: > > On Mon, Dec 04, 2017 at 11:19:52AM +0100, Matthieu Bouron wrote: > > > On Sun, Dec 03, 2017 at 05:32:21PM -0800, Aman Gupta wrote: > &

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-11 Thread Matthieu Bouron
On Mon, Dec 04, 2017 at 02:50:22PM +0100, Matthieu Bouron wrote: [...] > > It works but output the following error: > > Invalid setup for format mediacodec: does not match the type of the provided > device context. > Invalid return from get_format(): mediacodec no

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set

2017-12-11 Thread Matthieu Bouron
On Sun, Dec 03, 2017 at 05:32:22PM -0800, Aman Gupta wrote: > From: Aman Gupta > > --- > libavcodec/mediacodecdec.c| 2 +- > libavcodec/mediacodecdec_common.c | 14 +- > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mediacodecdec.c b/libavcod

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set

2017-12-11 Thread Matthieu Bouron
On Mon, Dec 11, 2017 at 01:33:18PM +0100, Matthieu Bouron wrote: > On Sun, Dec 03, 2017 at 05:32:22PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavcodec/mediacodecdec.c| 2 +- > > libavcodec/mediacodecdec_common.c | 14 ++

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set

2017-12-12 Thread Matthieu Bouron
On Mon, Dec 11, 2017 at 10:10:24PM +, Mark Thompson wrote: > On 11/12/17 12:34, Matthieu Bouron wrote: > >> > >> New patch attached fixing errors in get_format() by keeping the original > >> AVCodecHWConfigInternal (ad-hoc) and adding a new one (hw-device) with

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 262 +++- 1 file changed, 70 insertions(+), 192 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index f34450a6d8..4660e895ca 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/lib

[FFmpeg-devel] [PATCH 2/2] lavc/mediacodec_wrapper: fix potential jni global reference leak

2017-12-14 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 4660e895ca..f54e06b0ef 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -1194,6 +1194,9 @@ fail:

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4 wrote: > On Thu, 14 Dec 2017 11:09:13 +0100 > Matthieu Bouron wrote: > > > --- > > libavcodec/mediacodec_wrapper.c | 262 > > +++- > > 1 file changed, 70 insertions(+), 192 d

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 01:02:49PM +0100, wm4 wrote: > On Thu, 14 Dec 2017 12:53:38 +0100 > Matthieu Bouron wrote: > > > On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4 wrote: > > > On Thu, 14 Dec 2017 11:09:13 +0100 > > > Matthieu Bouron wrote: > &g

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-15 Thread Matthieu Bouron
On Fri, Dec 15, 2017 at 03:06:49PM +0800, wbse...@gmail.com wrote: > From: wang-bin Hi, > > --- > libavcodec/mediacodecdec_common.c | 23 +-- > 1 file changed, 9 insertions(+), 14 deletions(-) > > diff --git a/libavcodec/mediacodecdec_common.c > b/libavcodec/mediacodecdec

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-15 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 06:38:48PM +0100, wm4 wrote: > On Thu, 14 Dec 2017 18:06:11 +0100 > Matthieu Bouron wrote: > > > On Thu, Dec 14, 2017 at 01:02:49PM +0100, wm4 wrote: > > > On Thu, 14 Dec 2017 12:53:38 +0100 > > > Matthieu Bouron wrote: > > >

Re: [FFmpeg-devel] [PATCH v2 1/2] libavutil/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC

2017-12-15 Thread Matthieu Bouron
On Mon, Dec 11, 2017 at 01:27:51PM +0100, Matthieu Bouron wrote: > On Mon, Dec 04, 2017 at 02:50:22PM +0100, Matthieu Bouron wrote: > > [...] > > > > > It works but output the following error: > > > > Invalid setup for format mediacodec: does not match

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-15 Thread Matthieu Bouron
On Fri, Dec 15, 2017 at 04:13:22PM +0100, Matthieu Bouron wrote: > On Thu, Dec 14, 2017 at 06:38:48PM +0100, wm4 wrote: > > On Thu, 14 Dec 2017 18:06:11 +0100 > > Matthieu Bouron wrote: > > > > > On Thu, Dec 14, 2017 at 01:02:49PM +0100, wm4 wrote: > > &g

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodec_wrapper: fix potential jni global reference leak

2017-12-15 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 11:09:14AM +0100, Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c > index 4660e895ca..f54e06b0ef 100644

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set

2017-12-15 Thread Matthieu Bouron
On Tue, Dec 12, 2017 at 10:33:38AM +0100, Matthieu Bouron wrote: > On Mon, Dec 11, 2017 at 10:10:24PM +, Mark Thompson wrote: > > On 11/12/17 12:34, Matthieu Bouron wrote: > > >> > > >> New patch attached fixing errors in get_format() by keeping the original &

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-16 Thread Matthieu Bouron
On Sat, Dec 16, 2017 at 01:40:18PM +0800, Wang Bin wrote: > > > +width = s->crop_right + 1 - s->crop_left; > > > +else > > > +width = s->width; > > > > > > av_log(avctx, AV_LOG_INFO, > > > "Output crop parameters top=%d bottom=%d left=%d right=%d, " > > > > On whic

Re: [FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-16 Thread Matthieu Bouron
On Sat, Dec 16, 2017 at 07:20:53PM +0800, Wang Bin wrote: > 2017-12-16 17:12 GMT+08:00 Matthieu Bouron : > > On Sat, Dec 16, 2017 at 01:40:18PM +0800, Wang Bin wrote: > >> > > +width = s->crop_right + 1 - s->crop_left; > >> > >

Re: [FFmpeg-devel] [PATCH 2/3] lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_count

2016-10-11 Thread Matthieu Bouron
On Thu, Oct 6, 2016 at 2:31 PM, Matthieu Bouron wrote: > From: Matthieu Bouron > > --- > libavcodec/mediacodecdec.c | 6 +++--- > libavcodec/mediacodecdec.h | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/mediacodecdec.c b/li

Re: [FFmpeg-devel] [PATCH 2/3] lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_count

2016-10-12 Thread Matthieu Bouron
On Tue, Oct 11, 2016 at 10:24 AM, Matthieu Bouron wrote: > > > On Thu, Oct 6, 2016 at 2:31 PM, Matthieu Bouron > wrote: > >> From: Matthieu Bouron >> >> --- >> libavcodec/mediacodecdec.c | 6 +++--- >> libavcodec/mediacodecdec.h | 2 +- >

[FFmpeg-devel] [PATCH 1/4] lavc/mediacodec_wrapper: do not discard codecs reporting they do not support any profile

2016-10-12 Thread Matthieu Bouron
From: Matthieu Bouron Depending on the device, some (VP8/VP9/...) decoders report that they do not support any profiles. --- libavcodec/mediacodec_wrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 97e3a29

[FFmpeg-devel] [PATCH 2/4] lavc: add vp8/vp9 mediacodec decoders

2016-10-12 Thread Matthieu Bouron
From: Matthieu Bouron --- configure| 4 +++ libavcodec/Makefile | 2 ++ libavcodec/allcodecs.c | 4 +++ libavcodec/mediacodecdec.c | 14 libavcodec/mediacodecdec_h2645.c | 73 +++- libavcodec

[FFmpeg-devel] [PATCH 4/4] lavc/mediacodec: use more meaningful filenames

2016-10-12 Thread Matthieu Bouron
From: Matthieu Bouron Adds the following changes: * mediacodecdec.{c,h} -> mediacodecdec_common.{c,h} * mediacodecdec_h2645.c -> mediacodecdec.c --- libavcodec/Makefile| 12 +- libavcodec/mediacodec.c|3 +- liba

[FFmpeg-devel] [PATCH 3/4] lavc: add mpeg4 mediacodec decoder

2016-10-12 Thread Matthieu Bouron
From: Matthieu Bouron --- configure| 2 ++ libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 2 ++ libavcodec/mediacodecdec.c | 7 +++ libavcodec/mediacodecdec_h2645.c | 38 ++ libavcodec

Re: [FFmpeg-devel] [PATCH 2/4] lavc: add vp8/vp9 mediacodec decoders

2016-10-13 Thread Matthieu Bouron
On Wed, Oct 12, 2016 at 8:09 PM, James Zern wrote: > On Wed, Oct 12, 2016 at 6:22 AM, Matthieu Bouron < > matthieu.bou...@gmail.com> > wrote: > > > From: Matthieu Bouron > > > > --- > > configure| 4 +++ > > libavcod

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec: Factor duplicate include

2016-10-16 Thread Matthieu Bouron
On Sun, Oct 16, 2016 at 04:52:10PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/mediacodec.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/mediacodec.c b/libavcodec/mediacodec.c > index a658f0e..37008e0 10064

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mediacodec: use more meaningful filenames

2016-10-18 Thread Matthieu Bouron
On Wed, Oct 12, 2016 at 03:22:42PM +0200, Matthieu Bouron wrote: > From: Matthieu Bouron > > Adds the following changes: > * mediacodecdec.{c,h} -> mediacodecdec_common.{c,h} > * mediacodecdec_h2645.c -> mediacodecdec.c > --- > libavcodec/Makefile

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec: Factor duplicate include

2016-10-18 Thread Matthieu Bouron
On Mon, Oct 17, 2016 at 07:43:37AM +0200, Matthieu Bouron wrote: > On Sun, Oct 16, 2016 at 04:52:10PM +0200, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/mediacodec.c | 5 ++--- > > 1 file changed, 2 insertions(+), 3 deletio

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mediacodec: use more meaningful filenames

2016-10-18 Thread Matthieu Bouron
On Wed, Oct 12, 2016 at 03:22:42PM +0200, Matthieu Bouron wrote: > From: Matthieu Bouron > > Adds the following changes: > * mediacodecdec.{c,h} -> mediacodecdec_common.{c,h} > * mediacodecdec_h2645.c -> mediacodecdec.c > --- > libavcodec/Makefile

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: disable parsing if frame_size is specified

2016-10-19 Thread Matthieu Bouron
On Mon, Mar 07, 2016 at 11:59:38AM +, Carl Eugen Hoyos wrote: > Matthieu Bouron gmail.com> writes: > > > else { > > s->is_pipe = 1; > > -st->need_parsing = AVSTREAM_PARSE_FULL; > > +st->need_parsing

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mediacodec: use more meaningful filenames

2016-10-19 Thread Matthieu Bouron
On Tue, Oct 18, 2016 at 03:26:46PM +0200, Matthieu Bouron wrote: > On Wed, Oct 12, 2016 at 03:22:42PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > Adds the following changes: > > * mediacodecdec.{c,h} -> mediacodecdec_common.{c,h}

Re: [FFmpeg-devel] [PATCH] Remove the ffserver program and the ffm muxer/demuxer

2016-11-28 Thread Matthieu Bouron
On Mon, Nov 28, 2016 at 02:22:48AM +0100, Michael Niedermayer wrote: > On Sun, Nov 27, 2016 at 05:31:39PM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Sun, Nov 27, 2016 at 1:46 PM, Michael Niedermayer > > wrote: > > > > > On Sun, Nov 27, 2016 at 07:30:24PM +0100, Clément Bœsch wrote: > > >

[FFmpeg-devel] [PATCH] lavf/mov: fix stream extradata_size allocation

2016-07-13 Thread Matthieu Bouron
From: Matthieu Bouron Fixes CID 1363963. --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 2712364..3843ceb 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2336,7 +2336,7 @@ static int mov_read_stsd

Re: [FFmpeg-devel] [PATCH] lavf/mov: fix stream extradata_size allocation

2016-07-14 Thread Matthieu Bouron
On Thu, Jul 14, 2016 at 12:48:28AM +0200, Michael Niedermayer wrote: > On Wed, Jul 13, 2016 at 10:51:23PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > Fixes CID 1363963. > > --- > > libavformat/mov.c | 2 +- > > 1 file changed, 1 inserti

Re: [FFmpeg-devel] [PATCH] lavc: add mpeg4 mediacodec decoder

2016-07-24 Thread Matthieu Bouron
On Sun, Jul 24, 2016 at 11:37:08AM +0200, Thomas Volkert wrote: > From: Thomas Volkert > > --- > configure| 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/mediacodecdec_mpeg4.c | 239 > +

[FFmpeg-devel] [PATCH] lavc: always build dnxhddata

2016-07-24 Thread Matthieu Bouron
From: Matthieu Bouron lavc/movenc rely on avpriv_dnxhd_parse_header_prefix declared by dnxhddata.h since e47981dab7fb7c9499b959cb0125b7281301969a. Fixes a missing symbol error in lavc/movenc if the dnxhd encoder is not enabled. --- libavcodec/Makefile | 5 +++-- 1 file changed, 3 insertions

Re: [FFmpeg-devel] [PATCH] lavc: always build dnxhddata

2016-07-24 Thread Matthieu Bouron
On Sun, Jul 24, 2016 at 10:53:51PM +0200, Michael Niedermayer wrote: > On Sun, Jul 24, 2016 at 10:40:58PM +0200, Michael Niedermayer wrote: > > On Sun, Jul 24, 2016 at 10:30:35PM +0200, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > >

[FFmpeg-devel] [PATCH] lavc/ffjni: replace ff_jni_{attach, detach} with ff_jni_get_env

2016-07-24 Thread Matthieu Bouron
From: Matthieu Bouron If a JNI environment is not already attached to the thread where the MediaCodec calls are made the current implementation will attach / detach an environment for each MediaCodec call wasting some CPU time. ff_jni_get_env replaces ff_jni_{attach,detach} by permanently

[FFmpeg-devel] [PATCH] lavf/movenc: add missing dependency on dnxhddata

2016-07-24 Thread Matthieu Bouron
From: Matthieu Bouron Fixes a missing symbol error in lavc/movenc if the dnxhd encoder is not enabled. --- New patch attached. If it's accepted, I'll revert the previous one and push the new one. --- libavcodec/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/

Re: [FFmpeg-devel] [PATCH] lavc/ffjni: replace ff_jni_{attach, detach} with ff_jni_get_env

2016-07-26 Thread Matthieu Bouron
On Mon, Jul 25, 2016 at 09:50:58AM +0200, Benoit Fouet wrote: > Hi, Hi, > > On 24/07/2016 23:05, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > If a JNI environment is not already attached to the thread where the > > MediaCodec calls are made the c

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-26 Thread Matthieu Bouron
On Tue, Jul 26, 2016 at 11:00:46AM +0200, Matthieu Bouron wrote: > On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: > > From: Thomas Volkert > > > > --- > > Changelog| 1 + > > configure

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-26 Thread Matthieu Bouron
On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: > From: Thomas Volkert > > --- > Changelog| 1 + > configure| 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/mediacodecde

Re: [FFmpeg-devel] [PATCH] lavc/ffjni: replace ff_jni_{attach, detach} with ff_jni_get_env

2016-07-27 Thread Matthieu Bouron
On Tue, Jul 26, 2016 at 09:38:28AM +0200, Matthieu Bouron wrote: > On Mon, Jul 25, 2016 at 09:50:58AM +0200, Benoit Fouet wrote: > > Hi, > > Hi, > > > > > On 24/07/2016 23:05, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > > > >

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-27 Thread Matthieu Bouron
On Tue, Jul 26, 2016 at 05:54:58PM +0200, Thomas Volkert wrote: > On 26.07.2016 11:15, Matthieu Bouron wrote: > > On Tue, Jul 26, 2016 at 11:00:46AM +0200, Matthieu Bouron wrote: > >> On Sun, Jul 24, 2016 at 03:06:14PM +0200, Thomas Volkert wrote: > >

Re: [FFmpeg-devel] [PATCH 1/4] lavc: add mpeg4 mediacodec decoder

2016-07-28 Thread Matthieu Bouron
On Wed, Jul 27, 2016 at 06:39:27PM +0200, Matthieu Bouron wrote: > On Tue, Jul 26, 2016 at 05:54:58PM +0200, Thomas Volkert wrote: > > On 26.07.2016 11:15, Matthieu Bouron wrote: > > > On Tue, Jul 26, 2016 at 11:00:46AM +0200, Matthieu Bouron wrote: > > >> On Sun, Ju

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodecdec_h264: move bsf variable declaration at the top of the function

2016-09-05 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/mediacodecdec_h264.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/mediacodecdec_h264.c b/libavcodec/mediacodecdec_h264.c index 18f186b..9b71561 100644 --- a/libavcodec/mediacodecdec_h264.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 2/2] lavc/mediacodecdec_h264: use h264_parse.h instead of h264dec.h

2016-09-05 Thread Matthieu Bouron
From: Matthieu Bouron ff_h264_decode_extradata is referenced by h264_parse.h and not h264dec.h. --- libavcodec/mediacodecdec_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mediacodecdec_h264.c b/libavcodec/mediacodecdec_h264.c index 9b71561..a141174 100644

[FFmpeg-devel] [PATCH] lavc/mediacodecdec_h264: fix SODB escaping

2016-09-06 Thread Matthieu Bouron
From: Matthieu Bouron Fixes escaping of consecutive 0x00, 0x00, 0x0{0-3} sequences. --- libavcodec/mediacodecdec_h264.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/mediacodecdec_h264.c b/libavcodec/mediacodecdec_h264.c index a141174..4f9d737 100644 --- a

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec_h264: fix SODB escaping

2016-09-07 Thread Matthieu Bouron
On Wed, Sep 07, 2016 at 02:50:18PM +0200, Benoit Fouet wrote: > Hi, > > > On 06/09/2016 16:53, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > Fixes escaping of consecutive 0x00, 0x00, 0x0{0-3} sequences. > > --- > > libavcodec/mediacodecdec

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodecdec_h264: use h264_parse.h instead of h264dec.h

2016-09-07 Thread Matthieu Bouron
On Mon, Sep 05, 2016 at 03:57:54PM +0200, Matthieu Bouron wrote: > From: Matthieu Bouron > > ff_h264_decode_extradata is referenced by h264_parse.h and not > h264dec.h. > --- > libavcodec/mediacodecdec_h264.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > &

[FFmpeg-devel] lavc/mediacodec: add hevc decoder

2016-09-07 Thread Matthieu Bouron
Hello, The following patchset add support for hevc mediacodec decoding. The patchset applies on top of: * lavc/mediacodecdec_h264: move bsf variable declaration at the top of the function * lavc/mediacodecdec_h264: use h264_parse.h instead of h264dec.h which are going to be pushed in one

[FFmpeg-devel] [PATCH 1/2] lavc/hevc: store VPS/SPS/PPS data

2016-09-07 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/hevc.h| 9 + libavcodec/hevc_ps.c | 27 +++ 2 files changed, 36 insertions(+) diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index be91010..6a3c750 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -387,6

[FFmpeg-devel] [PATCH 2/2] lavc: add hevc mediacodec decoder

2016-09-07 Thread Matthieu Bouron
From: Matthieu Bouron --- configure | 3 + libavcodec/Makefile| 3 +- libavcodec/allcodecs.c | 2 + libavcodec/hevc_parse.c| 134 ++ libavcodec

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodecdec_h264: use h264_parse.h instead of h264dec.h

2016-09-07 Thread Matthieu Bouron
On Wed, Sep 07, 2016 at 08:19:15PM +0200, Thomas Volkert wrote: > > On 07.09.2016 15:38, Matthieu Bouron wrote: > > On Mon, Sep 05, 2016 at 03:57:54PM +0200, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > > > > > ff_h264_decode_extradat

Re: [FFmpeg-devel] [PATCH 1/2] lavc/hevc: store VPS/SPS/PPS data

2016-09-08 Thread Matthieu Bouron
On Thu, Sep 8, 2016 at 2:28 PM, Michael Niedermayer wrote: > On Wed, Sep 07, 2016 at 04:53:53PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/hevc.h| 9 + > > libavcodec/hevc_ps.c | 27 +++

[FFmpeg-devel] [PATCH] lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found

2016-09-09 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/ffjni.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ffjni.c b/libavcodec/ffjni.c index 13eabb0..0597400 100644 --- a/libavcodec/ffjni.c +++ b/libavcodec/ffjni.c @@ -352,6 +352,8 @@ int ff_jni_init_jfields(JNIEnv *env, void *jfields

Re: [FFmpeg-devel] [PATCH 1/2] lavc/hevc: store VPS/SPS/PPS data

2016-09-09 Thread Matthieu Bouron
On Fri, Sep 09, 2016 at 02:36:20AM +0200, Michael Niedermayer wrote: > On Thu, Sep 08, 2016 at 04:18:26PM +0200, Matthieu Bouron wrote: > > On Thu, Sep 8, 2016 at 2:28 PM, Michael Niedermayer > > wrote: > > > > > On Wed, Sep 07, 2016 at 04:53:53PM +0200, Matth

Re: [FFmpeg-devel] [PATCH 2/2] lavc: add hevc mediacodec decoder

2016-09-09 Thread Matthieu Bouron
On Wed, Sep 7, 2016 at 4:53 PM, Matthieu Bouron wrote: > From: Matthieu Bouron > > --- > configure | 3 + > libavcodec/Makefile| 3 +- > libavcodec/allcodecs.c |

Re: [FFmpeg-devel] [PATCH] lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found

2016-09-12 Thread Matthieu Bouron
On Sun, Sep 11, 2016 at 11:47:29PM +0200, Michael Niedermayer wrote: > On Fri, Sep 09, 2016 at 04:40:00PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/ffjni.c | 2 ++ > > 1 file changed, 2 insertions(+) >

Re: [FFmpeg-devel] [PATCH 2/2] lavc: add hevc mediacodec decoder

2016-09-15 Thread Matthieu Bouron
On Fri, Sep 09, 2016 at 04:46:25PM +0200, Matthieu Bouron wrote: [...] > Updated patch attached. It now checks if the hevc decoder supports the > stream profile before using it. > The patch depends on the following patch on the ml to work properly on > android < 24: > lavc/ffjni

Re: [FFmpeg-devel] [PATCH 2/2] lavc: add hevc mediacodec decoder

2016-09-15 Thread Matthieu Bouron
On Thu, Sep 15, 2016 at 04:57:42PM +0200, Matthieu Bouron wrote: > On Fri, Sep 09, 2016 at 04:46:25PM +0200, Matthieu Bouron wrote: > [...] > > Updated patch attached. It now checks if the hevc decoder supports the > > stream profile before using it. > > The patch depends o

[FFmpeg-devel] [PATCH] lavc/mediacodecdec_h2645: fix nalu data_size type

2016-09-30 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/mediacodecdec_h2645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mediacodecdec_h2645.c b/libavcodec/mediacodecdec_h2645.c index 122be88..9f8110c 100644 --- a/libavcodec/mediacodecdec_h2645.c +++ b/libavcodec

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec_h2645: fix nalu data_size type

2016-10-01 Thread Matthieu Bouron
On Fri, Sep 30, 2016 at 07:01:09PM +0200, wm4 wrote: > On Fri, 30 Sep 2016 17:51:42 +0100 > Josh de Kock wrote: > > > On 30/09/2016 17:34, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > > > > > --- > > > libavcodec/mediacodecdec_h264

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec_h2645: fix nalu data_size type

2016-10-03 Thread Matthieu Bouron
On Sat, Oct 01, 2016 at 12:52:53PM +0200, Matthieu Bouron wrote: > On Fri, Sep 30, 2016 at 07:01:09PM +0200, wm4 wrote: > > On Fri, 30 Sep 2016 17:51:42 +0100 > > Josh de Kock wrote: > > > > > On 30/09/2016 17:34, Matthieu Bouron wrote:

[FFmpeg-devel] [PATCH 3/3] lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode

2016-10-06 Thread Matthieu Bouron
From: Matthieu Bouron Fixes incompatible pointer type warning on 64-bit systems. --- libavcodec/mediacodecdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 3d519ca..126de17 100644 --- a/libavcodec/mediacodecdec.c +++ b

[FFmpeg-devel] [PATCH 1/3] lavc/mediacodecdec: remove first output buffer timing debug log

2016-10-06 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/mediacodecdec.c | 8 libavcodec/mediacodecdec.h | 3 --- 2 files changed, 11 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 0faa4cf..2ab173b 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 2/3] lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_count

2016-10-06 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/mediacodecdec.c | 6 +++--- libavcodec/mediacodecdec.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 2ab173b..3d519ca 100644 --- a/libavcodec/mediacodecdec.c +++ b

Re: [FFmpeg-devel] [PATCH 3/3] lavc/mediacodecdec: fix size variable shadowing in ff_mediacodec_dec_decode

2016-10-06 Thread Matthieu Bouron
On Thu, Oct 06, 2016 at 03:59:31PM +0200, Michael Niedermayer wrote: > On Thu, Oct 06, 2016 at 02:31:57PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > Fixes incompatible pointer type warning on 64-bit systems. > > --- > > libavcodec/mediacod

[FFmpeg-devel] [PATCH 2/5] lavu/jni: add helpers to manage Android application context

2016-02-15 Thread Matthieu Bouron
From: Matthieu Bouron --- libavutil/jni.c | 109 +++ libavutil/jni.h | 29 + libavutil/jni_internal.c | 36 ++-- libavutil/jni_internal.h | 11 + 4 files changed, 182 insertions(+), 3 deletions(-) diff

<    1   2   3   4   5   6   7   >