• Ruiling Song's avatar
    avfilter/vf_gblur: add x86 SIMD optimizations · 83f9da77
    Ruiling Song authored
    The horizontal pass get ~2x performance with the patch
    under single thread.
    
    Tested overall performance using the command(avx2 enabled):
    ./ffmpeg -i 1080p.mp4 -vf gblur -f null /dev/null
    ./ffmpeg -i 1080p.mp4 -vf gblur=threads=1 -f null /dev/null
    For single thread, the fps improves from 43 to 60, about 40%.
    For multi-thread, the fps improves from 110 to 130, about 20%.
    Signed-off-by: 's avatarRuiling Song <ruiling.song@intel.com>
    83f9da77
gblur.h 1.95 KB