[FFmpeg-devel] [PATCH] huffyuvdec: trick for plane decoding <= 14bits
Michael Niedermayer
michaelni at gmx.at
Fri Jun 6 22:15:40 CEST 2014
On Fri, Jun 06, 2014 at 09:26:45PM +0200, Christophe Gisquet wrote:
> Hi,
>
> now that the macros have been cleaned up, it's possible to achieve
> some speedup for 9-14bits content.
>
> --
> Christophe
> huffyuvdec.c | 40 +++++++++++++++++-----------------------
> 1 file changed, 17 insertions(+), 23 deletions(-)
> 997f37b789a5d2da99f3a9dde71560c2b5945637 0001-huffyuvdec-trick-for-plane-decoding-14bits.patch
> From b72c208b24ae3655f20c5c68458a9573f53c84b4 Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Thu, 5 Jun 2014 23:37:00 +0200
> Subject: [PATCH] huffyuvdec: trick for plane decoding <= 14bits
>
> Refactor the code to minimize code duplication.
>
> Before:
> 130870 decicycles in g, 1048139 runs, 437 skips
> 10bits: 9.048
> 12bits: 10.733
>
> After:
> 126960 decicycles in g, 1048136 runs, 440 skips
> 10bits: 8.642
> 12bits: 9.656
> ---
> libavcodec/huffyuvdec.c | 40 +++++++++++++++++-----------------------
> 1 file changed, 17 insertions(+), 23 deletions(-)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140606/16aa2095/attachment.asc>
More information about the ffmpeg-devel
mailing list