aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2024-03-16 15:48:28 +0100
committerHenrik Gramner <henrik@gramner.com>2024-03-24 14:53:57 +0100
commit782c4df28dc91a2b5160fe7a35ad18541e8c5029 (patch)
treed256554f161326c98ba12eb018f106e7793d5b1d /libavcodec/x86
parent5d7f234e7ec45ccc385dca8c5fbe3b887af1c2c6 (diff)
downloadffmpeg-782c4df28dc91a2b5160fe7a35ad18541e8c5029.tar.gz
x86: Avoid using 'd' as an argument name
x86inc.asm adds defines for <argument_name>{b,w,d,q} which clashes with the nasm d{b,w,d,q} pseudo-instructions for writing initialized data.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/rv34dsp.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/x86/rv34dsp.asm b/libavcodec/x86/rv34dsp.asm
index f29bfd715c..01a3d6f590 100644
--- a/libavcodec/x86/rv34dsp.asm
+++ b/libavcodec/x86/rv34dsp.asm
@@ -113,15 +113,15 @@ cglobal rv34_idct_dc_noround, 1, 2, 0
movd %1, %2
%endmacro
INIT_MMX mmxext
-cglobal rv34_idct_add, 3,3,0, d, s, b
- ROW_TRANSFORM bq
- COL_TRANSFORM [dq], mm0, [pw_col_coeffs+ 0], [pw_col_coeffs+ 8]
- mova mm0, [pw_col_coeffs+ 0]
- COL_TRANSFORM [dq+sq], mm4, mm0, [pw_col_coeffs+ 8]
- mova mm4, [pw_col_coeffs+ 8]
- lea dq, [dq + 2*sq]
- COL_TRANSFORM [dq], mm6, mm0, mm4
- COL_TRANSFORM [dq+sq], mm7, mm0, mm4
+cglobal rv34_idct_add, 3, 3, 0, dst, s, b
+ ROW_TRANSFORM bq
+ COL_TRANSFORM [dstq], mm0, [pw_col_coeffs+ 0], [pw_col_coeffs+ 8]
+ mova mm0, [pw_col_coeffs+ 0]
+ COL_TRANSFORM [dstq+sq], mm4, mm0, [pw_col_coeffs+ 8]
+ mova mm4, [pw_col_coeffs+ 8]
+ lea dstq, [dstq + 2*sq]
+ COL_TRANSFORM [dstq], mm6, mm0, mm4
+ COL_TRANSFORM [dstq+sq], mm7, mm0, mm4
ret
; ff_rv34_idct_dc_add_sse4(uint8_t *dst, int stride, int dc);