[FFmpeg-cvslog] avcodec/x86/lossless_videodsp: fix w type
Michael Niedermayer
git at videolan.org
Sat Feb 15 06:52:00 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Feb 15 06:36:58 2014 +0100| [d601106ab128495c9bd192ffb99533a7ed4f9fc8] | committer: Michael Niedermayer
avcodec/x86/lossless_videodsp: fix w type
Fixes fate issues on mingw64
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d601106ab128495c9bd192ffb99533a7ed4f9fc8
---
libavcodec/x86/lossless_videodsp.asm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index 6546d2b..bacc1e9 100644
--- a/libavcodec/x86/lossless_videodsp.asm
+++ b/libavcodec/x86/lossless_videodsp.asm
@@ -34,7 +34,7 @@ SECTION_TEXT
%macro INT16_LOOP 2 ; %1 = a/u (aligned/unaligned), %2 = add/sub
movd m4, maskd
SPLATW m4, m4
- add wq, wq
+ add wd, wd
test wq, 2*mmsize - 1
jz %%.tomainloop
%%.wordloop:
@@ -116,7 +116,7 @@ cglobal diff_int16, 5,5,5, dst, src1, src2, mask, w
%macro ADD_HFYU_LEFT_LOOP_INT16 2 ; %1 = dst alignment (a/u), %2 = src alignment (a/u)
- add wq, wq
+ add wd, wd
add srcq, wq
add dstq, wq
neg wq
@@ -190,7 +190,7 @@ cglobal add_hfyu_left_prediction_int16, 4,4,8, dst, src, mask, w, left
; void add_hfyu_median_prediction_mmxext(uint8_t *dst, const uint8_t *top, const uint8_t *diff, int mask, int w, int *left, int *left_top)
INIT_MMX mmxext
cglobal add_hfyu_median_prediction_int16, 7,7,0, dst, top, diff, mask, w, left, left_top
- add wq, wq
+ add wd, wd
movd mm6, maskd
SPLATW mm6, mm6
movq mm0, [topq]
@@ -253,7 +253,7 @@ cglobal add_hfyu_median_prediction_int16, 7,7,0, dst, top, diff, mask, w, left,
RET
cglobal sub_hfyu_median_prediction_int16, 7,7,0, dst, src1, src2, mask, w, left, left_top
- add wq, wq
+ add wd, wd
movd mm7, maskd
SPLATW mm7, mm7
movq mm0, [src1q]
More information about the ffmpeg-cvslog
mailing list