vf_blend: Use integers for divide mode
authorTimothy Gu <timothygu99@gmail.com>
Sun, 14 Feb 2016 02:15:18 +0000 (02:15 +0000)
committerTimothy Gu <timothygu99@gmail.com>
Sun, 14 Feb 2016 17:12:37 +0000 (09:12 -0800)
commita678d667816a86b7e5f8c4b558f8ed333bb98841
treeaca9df8d14fb93c57296886b990e2c1975605902
parent4b750104ea2b8dec4e055216a047092650a3ba25
vf_blend: Use integers for divide mode

2.5x faster for 8-bit mode without autovectorization in GCC, 2x
slower with it on x86. However, since the platforms we enable GCC
autovectorization on most probably has support for SSE2
optimization (added in the subsequent commit), this commit should
in general do good.
libavfilter/vf_blend.c