x86: hevc_mc: add AVX2 optimizations
authorPierre Edouard Lepere <pierre-edouard.lepere@insa-rennes.fr>
Thu, 5 Feb 2015 19:20:39 +0000 (19:20 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Feb 2015 16:20:47 +0000 (17:20 +0100)
commita0d1300f7112e9e4577379669bc44660bb20bda2
tree248ee3cb6d9dfc88a6ac5f23c874b779c3ade685
parentf968166439e4d4fc9f352ea20b8922d42ca5c7b1
x86: hevc_mc: add AVX2 optimizations

before
33304 decicycles in luma_bi_1, 523066 runs, 1222 skips
38138 decicycles in luma_bi_2, 523427 runs, 861 skips
13490 decicycles in luma_uni, 516138 runs, 8150 skips
after
20185 decicycles in luma_bi_1, 519970 runs, 4318 skips
24620 decicycles in luma_bi_2, 521024 runs, 3264 skips
10397 decicycles in luma_uni, 515715 runs, 8573 skips

Conflicts:
libavcodec/x86/hevc_mc.asm
libavcodec/x86/hevcdsp_init.c

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/hevc_mc.asm
libavcodec/x86/hevcdsp.h
libavcodec/x86/hevcdsp_init.c