[FFmpeg-devel] [PATCH] huffyuvdec: swap code blocks

Michael Niedermayer michaelni at gmx.at
Sun Jun 15 16:21:20 CEST 2014


On Sun, Jun 15, 2014 at 02:34:14PM +0200, Christophe Gisquet wrote:
> Hi,
> 
> this patch systematically provides improvement on several sequences
> for win64, but there's a real issue of having little control over the
> actual results.
> 
> For instance, it has no impact on x86_32, and I have no idea for other archs.
> 
> -- 
> Christophe

>  huffyuvdec.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> fcfd284d7fd1e27da1091bf40c46c2a339317241  0003-huffyuvdec-swap-code-blocks.patch
> From 1357e2e1d3f25c265f85876c334d6d0be4720843 Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Sun, 15 Jun 2014 12:07:16 +0200
> Subject: [PATCH 3/4] huffyuvdec: swap code blocks
> 
> The effect is not really deterministic, as it seems to be a combination
> on x86_64 of fewer registers used, different jump offsets and, for all
> archs, of likely branches.
> 
> Speedup is around 15%.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20140615/a5c419a9/attachment.asc>


More information about the ffmpeg-devel mailing list