[FFmpeg-devel] [PATCH] lavc/mjpegdec: speed up scan data copy

Matthieu Bouron matthieu.bouron at gmail.com
Wed Jan 27 10:20:01 CET 2016


On Tue, Jan 26, 2016 at 10:10 PM, Michael Niedermayer <
michael at niedermayer.cc> wrote:

> On Tue, Jan 26, 2016 at 08:49:06PM +0100, Matthieu Bouron wrote:
> > On Tue, Jan 26, 2016 at 6:04 PM, Michael Niedermayer
> <michael at niedermayer.cc
> > > wrote:
> >
> > > On Tue, Jan 26, 2016 at 05:15:37PM +0100, Matthieu Bouron wrote:
> > > > From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
> > > >
> > > > ---
> > > >
> > > > From random 3264x2448 jpegs, scan data copy on a Nexus5 goes from
> [15,
> > > 28]ms to [3, 12]ms.
> > >
> > > breaks https://trac.ffmpeg.org/raw-attachment/ticket/1527/24bpp.mov
> > >
> >
> > Thanks for finding this.
> > Fixed in the attached patch.
> >
> > [...]
>
> >  mjpegdec.c |   50 ++++++++++++++++++++++++++++++++++++++++----------
> >  1 file changed, 40 insertions(+), 10 deletions(-)
> > 9335d6703c59c78c861a3e3099866159fc68afe6
> 0001-lavc-mjpegdec-speed-up-scan-data-copy.patch
> > From d0a2808be8393dc7c2d813d08fc0e4518d0f2bd9 Mon Sep 17 00:00:00 2001
> > From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
> > Date: Tue, 26 Jan 2016 17:15:37 +0100
> > Subject: [PATCH] lavc/mjpegdec: speed up scan data copy
>
> seems to work with the files i tried
>

I will wait a few more hours (7h~) and if nobody objects I will push the
patch.

[...]


More information about the ffmpeg-devel mailing list