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

Michael Niedermayer michael at niedermayer.cc
Tue Jan 26 22:10:45 CET 2016


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160126/09a0dc54/attachment.sig>


More information about the ffmpeg-devel mailing list