huffyuvencdsp: Add ff_diff_bytes_{sse2,avx2}
authorTimothy Gu <timothygu99@gmail.com>
Mon, 19 Oct 2015 01:25:11 +0000 (02:25 +0100)
committerTimothy Gu <timothygu99@gmail.com>
Wed, 21 Oct 2015 19:25:32 +0000 (12:25 -0700)
commit5e586e1befaab7b77883d73c0ebcb19f1d786ed8
tree4cb281e532f1c55180e021daa03dcf31c811f79d
parentda43e9e157a3c64337348b44193ab390bd481911
huffyuvencdsp: Add ff_diff_bytes_{sse2,avx2}

SSE2 version 4%-35% faster than MMX depending on the width.
AVX2 version 1%-13% faster than SSE2 depending on the width.
libavcodec/huffyuvenc.c
libavcodec/x86/huffyuvencdsp.asm
libavcodec/x86/huffyuvencdsp_mmx.c