diff options
author | James Almer <jamrial@gmail.com> | 2017-06-28 02:45:55 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-06-28 02:45:55 +0300 |
commit | d2ef9e6e7f9ef71aae15e9493189515a857928b1 (patch) | |
tree | a78f420e0d08848977dcde38270bdd149c2c602c | |
parent | 516c213f089d797cbe98648c5bf957ae30ced162 (diff) |
x86/vf_blend: use ABS2 macro
-rw-r--r-- | libavfilter/x86/vf_blend.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavfilter/x86/vf_blend.asm b/libavfilter/x86/vf_blend.asm index d5e512e6e0..cef479d995 100644 --- a/libavfilter/x86/vf_blend.asm +++ b/libavfilter/x86/vf_blend.asm @@ -282,8 +282,7 @@ BLEND_INIT difference, 5 punpcklbw m1, m2 psubw m0, m1 psubw m3, m4 - ABS1 m0, m1 - ABS1 m3, m4 + ABS2 m0, m3, m1, m4 packuswb m0, m3 mova [dstq + xq], m0 add xq, mmsize @@ -307,8 +306,7 @@ BLEND_INIT extremity, 8 psubw m7, m4, m5 psubw m3, m1 psubw m7, m6 - ABS1 m3, m1 - ABS1 m7, m6 + ABS2 m3, m7, m1, m6 packuswb m3, m7 mova [dstq + xq], m3 add xq, mmsize @@ -332,8 +330,7 @@ BLEND_INIT negation, 8 psubw m7, m4, m5 psubw m3, m1 psubw m7, m6 - ABS1 m3, m1 - ABS1 m7, m1 + ABS2 m3, m7, m1, m6 psubw m0, m4, m3 psubw m1, m4, m7 packuswb m0, m1 |