[FFmpeg-devel] [PATCH 2/3] x86/proresdsp: remove an unnecessary pxor

James Almer jamrial at gmail.com
Sun Mar 15 19:08:34 CET 2015


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/x86/proresdsp.asm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm
index 752e504..b18de53 100644
--- a/libavcodec/x86/proresdsp.asm
+++ b/libavcodec/x86/proresdsp.asm
@@ -233,10 +233,9 @@ section .text align=16
 
 ; void ff_prores_idct_put_10_<opt>(uint8_t *pixels, int stride,
 ;                                  int16_t *block, const int16_t *qmat);
-%macro idct_put_fn 1
-cglobal prores_idct_put_10, 4, 4, %1
+%macro idct_put_fn 0
+cglobal prores_idct_put_10, 4, 4, 15
     movsxd      r1,  r1d
-    pxor        m15, m15           ; zero
 
     ; for (i = 0; i < 8; i++)
     ;     idctRowCondDC(block + i*8);
@@ -301,12 +300,12 @@ cglobal prores_idct_put_10, 4, 4, %1
 %endmacro
 
 INIT_XMM sse2
-idct_put_fn 16
+idct_put_fn
 INIT_XMM sse4
-idct_put_fn 16
+idct_put_fn
 %if HAVE_AVX_EXTERNAL
 INIT_XMM avx
-idct_put_fn 16
+idct_put_fn
 %endif
 
 %endif
-- 
2.3.2



More information about the ffmpeg-devel mailing list