[FFmpeg-cvslog] x86: proresdsp: improve SIGNEXTEND macro comments
Diego Biurrun
git at videolan.org
Fri Aug 3 23:30:29 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Jul 16 00:01:00 2012 +0200| [03737412a32c3b7e52cfe661bde7947665898c19] | committer: Diego Biurrun
x86: proresdsp: improve SIGNEXTEND macro comments
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=03737412a32c3b7e52cfe661bde7947665898c19
---
libavcodec/x86/proresdsp.asm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm
index 70fd686..bce36ac 100644
--- a/libavcodec/x86/proresdsp.asm
+++ b/libavcodec/x86/proresdsp.asm
@@ -405,12 +405,12 @@ cglobal prores_idct_put_10, 4, 4, %1
RET
%endmacro
-%macro SIGNEXTEND 2-3 ; dstlow, dsthigh, tmp
-%if cpuflag(sse4)
+%macro SIGNEXTEND 2-3
+%if cpuflag(sse4) ; dstlow, dsthigh
movhlps %2, %1
pmovsxwd %1, %1
pmovsxwd %2, %2
-%else ; sse2
+%elif cpuflag(sse2) ; dstlow, dsthigh, tmp
pxor %3, %3
pcmpgtw %3, %1
mova %2, %1
More information about the ffmpeg-cvslog
mailing list