[FFmpeg-devel] [PATCH] x86util: add and use RSHIFT/LSHIFT macros

Michael Niedermayer michaelni at gmx.at
Sun Jun 15 13:32:10 CEST 2014


On Sun, Jun 15, 2014 at 10:43:34AM +0200, Christophe Gisquet wrote:
> Hi,
> 
> huffyuv and yadif asm have some similar code. This code is better
> shared at the x86util level. As the users do not use 3-args/avx
> syntax, I didn't bother writing one.
> 
> -- 
> Christophe

>  libavcodec/x86/huffyuvdsp.asm |   16 ----------------
>  libavfilter/x86/vf_yadif.asm  |   15 +++------------
>  libavfilter/x86/yadif-10.asm  |   22 ++++------------------
>  libavfilter/x86/yadif-16.asm  |   38 ++++----------------------------------
>  libavutil/x86/x86util.asm     |   16 ++++++++++++++++
>  5 files changed, 27 insertions(+), 80 deletions(-)
> 47b4f42122e8b5a0834735366da4bcea77864739  0005-x86util-add-and-use-RSHIFT-LSHIFT-macros.patch
> From bc1fef5998eab65360d67073775a4175c13f99ad Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Sun, 15 Jun 2014 01:05:03 +0200
> Subject: [PATCH 5/5] x86util: add and use RSHIFT/LSHIFT macros
> 
> Those macros take a byte number as shift argument, as this argument
> differs between MMX and SSE2 instructions.

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- 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/755810d3/attachment.asc>


More information about the ffmpeg-devel mailing list