[FFmpeg-cvslog] vfi/x86/vf_idet: fix incorrect use of paddq

James Darnley git at videolan.org
Fri Sep 5 12:55:16 CEST 2014


ffmpeg | branch: master | James Darnley <james.darnley at gmail.com> | Fri Sep  5 00:22:04 2014 +0200| [db8970d7b61ae8a83bab1d69dd1b7b0ff8a3a664] | committer: Michael Niedermayer

vfi/x86/vf_idet: fix incorrect use of paddq

paddq is an SSE2 instruction so it cannot be used for MMX.

This was probably just a typo because the sums are dwords anyway.

Reviewed-by: Pascal Massimino <pascal.massimino at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db8970d7b61ae8a83bab1d69dd1b7b0ff8a3a664
---

 libavfilter/x86/vf_idet.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/x86/vf_idet.asm b/libavfilter/x86/vf_idet.asm
index 35f0e07..14b16c5 100644
--- a/libavfilter/x86/vf_idet.asm
+++ b/libavfilter/x86/vf_idet.asm
@@ -73,7 +73,7 @@ cglobal idet_filter_line, 4, 5, 0, a, b, c, width, index
 
     mova      m0, m_sum
     psrlq     m_sum, 0x20
-    paddq     m0, m_sum
+    paddd     m0, m_sum
     movd      eax, m0
     RET
 %endmacro



More information about the ffmpeg-cvslog mailing list