x86: hpeldsp: avg_pixels_xy2 for mmx2&3dnow
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Thu, 22 May 2014 17:48:18 +0000 (17:48 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 May 2014 18:17:49 +0000 (20:17 +0200)
commitc081ca851c9b84a41fafbce22c47a9b30b7bf8ad
treeeb7ad0723126fb7834ec4814e6bc917fc9ec65a7
parent17ac9980555a0afc5b4633a538c5170c8ceacc04
x86: hpeldsp: avg_pixels_xy2 for mmx2&3dnow

This is a port of the inline assembly of the mmx version to use the
pavg(us|)b instruction.

        8    16
mmx   1498  4355
mmx2  1242  3509

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/hpeldsp.asm
libavcodec/x86/hpeldsp_init.c