summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-15 06:36:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-02-15 06:41:38 +0100
commitd601106ab128495c9bd192ffb99533a7ed4f9fc8 (patch)
tree178aa096724f99c03fac26062785377cdc54f7fc /libavcodec
parentbaaa6d6785bca89683240a362eb8aee1fb97abcb (diff)
avcodec/x86/lossless_videodsp: fix w type
Fixes fate issues on mingw64 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/lossless_videodsp.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/lossless_videodsp.asm b/libavcodec/x86/lossless_videodsp.asm
index 6546d2bb09..bacc1e927a 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]