aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-10-14 18:09:08 -0300
committerJames Almer <jamrial@gmail.com>2021-10-14 18:09:38 -0300
commit39f3c98bb1f405161b1d484438f73573b3f326b4 (patch)
treeb3c83a70e552671e5208a5d481aef9fe349b9cbf
parent890cef1ff6ebbcd14f107fedceed23aa3c80b087 (diff)
downloadffmpeg-39f3c98bb1f405161b1d484438f73573b3f326b4.tar.gz
x86/vf_lut3d: use three operand form for some instructions
Fixes compilation with old yasm. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavfilter/x86/vf_lut3d.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/x86/vf_lut3d.asm b/libavfilter/x86/vf_lut3d.asm
index 31a46e327d..a39fa65040 100644
--- a/libavfilter/x86/vf_lut3d.asm
+++ b/libavfilter/x86/vf_lut3d.asm
@@ -338,22 +338,22 @@ endstruc
; g> !r>g && g>b
andnps m9, m13, m14
BLEND m12, prev_g, next_g, m9
- addps m10, m12
+ addps m10, m10, m12
; g< !g>b && r>g
andnps m9, m14, m13
BLEND m12, next_g, prev_g, m9
- addps m11, m12
+ addps m11, m11, m12
; b> !g>b && b>r
andnps m9, m14, m15
BLEND m12, prev_b, next_b, m9
- addps m10, m12
+ addps m10, m10, m12
; b< !b>r && g>b
andnps m9, m15, m14
BLEND m12, next_b, prev_b, m9
- addps m11, m12
+ addps m11, m11, m12
; c000 m12;
ADD3 m12, prev_r, prev_g, prev_b