diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 23:26:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 23:28:01 +0100 |
commit | 9cb3c1a4d9dbf28d032f5af8fde85993f8148a54 (patch) | |
tree | 0c5e962b7a7e7e71845fc0e63354d1a310c68f84 /libavcodec/x86/dwt_yasm.asm | |
parent | 30981a966f175b424fe94ef04f56c1e9bebe47dd (diff) | |
download | ffmpeg-9cb3c1a4d9dbf28d032f5af8fde85993f8148a54.tar.gz |
x86/dirac: fix asm on win64
This could also be fixed by changing the argument type if
someone prefers that and wants to change it ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dwt_yasm.asm')
-rw-r--r-- | libavcodec/x86/dwt_yasm.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index f6280d1a45..5253abc6c8 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -64,6 +64,9 @@ section .text ; int width) cglobal vertical_compose53iL0_%1, 4,4,1, b0, b1, b2, width mova m2, [pw_2] +%if ARCH_X86_64 + mov widthd, widthd +%endif .loop: sub widthq, mmsize/2 mova m1, [b0q+2*widthq] @@ -77,6 +80,9 @@ cglobal vertical_compose53iL0_%1, 4,4,1, b0, b1, b2, width ; int width) cglobal vertical_compose_dirac53iH0_%1, 4,4,1, b0, b1, b2, width mova m1, [pw_1] +%if ARCH_X86_64 + mov widthd, widthd +%endif .loop: sub widthq, mmsize/2 mova m0, [b0q+2*widthq] @@ -93,6 +99,9 @@ cglobal vertical_compose_dirac53iH0_%1, 4,4,1, b0, b1, b2, width cglobal vertical_compose_dd97iH0_%1, 6,6,5, b0, b1, b2, b3, b4, width mova m3, [pw_8] mova m4, [pw_1991] +%if ARCH_X86_64 + mov widthd, widthd +%endif .loop: sub widthq, mmsize/2 mova m0, [b0q+2*widthq] @@ -107,6 +116,9 @@ cglobal vertical_compose_dd97iH0_%1, 6,6,5, b0, b1, b2, b3, b4, width cglobal vertical_compose_dd137iL0_%1, 6,6,6, b0, b1, b2, b3, b4, width mova m3, [pw_16] mova m4, [pw_1991] +%if ARCH_X86_64 + mov widthd, widthd +%endif .loop: sub widthq, mmsize/2 mova m0, [b0q+2*widthq] @@ -131,6 +143,9 @@ cglobal vertical_compose_dd137iL0_%1, 6,6,6, b0, b1, b2, b3, b4, width ; void vertical_compose_haar(IDWTELEM *b0, IDWTELEM *b1, int width) cglobal vertical_compose_haar_%1, 3,4,3, b0, b1, width mova m3, [pw_1] +%if ARCH_X86_64 + mov widthd, widthd +%endif .loop: sub widthq, mmsize/2 mova m1, [b1q+2*widthq] |