avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions
Speed of all modes increased by a factor between 7.4 and 19.8 largely depending on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up by a factor of 43 (thanks quick sort!) All modes are available on x86_64 but only modes 1, 10, 11, 12, 13, 14, 19, 20, 21, and 22 are available on x86 due to the number of SIMD registers used. With a contribution from James Almer <jamrial@gmail.com>
Showing
- LICENSE.md 1 addition, 0 deletionsLICENSE.md
- libavfilter/removegrain.h 40 additions, 0 deletionslibavfilter/removegrain.h
- libavfilter/vf_removegrain.c 19 additions, 19 deletionslibavfilter/vf_removegrain.c
- libavfilter/x86/Makefile 4 additions, 0 deletionslibavfilter/x86/Makefile
- libavfilter/x86/vf_removegrain.asm 1218 additions, 0 deletionslibavfilter/x86/vf_removegrain.asm
- libavfilter/x86/vf_removegrain_init.c 88 additions, 0 deletionslibavfilter/x86/vf_removegrain_init.c
libavfilter/removegrain.h
0 → 100644
libavfilter/x86/vf_removegrain.asm
0 → 100644
This diff is collapsed.
libavfilter/x86/vf_removegrain_init.c
0 → 100644
Please register or sign in to comment