]> git.sesse.net Git - ffmpeg/commitdiff
h264: fix 10bit biweight functions after recent x86inc.asm fixes.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 12 Apr 2012 16:45:10 +0000 (09:45 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 13 Apr 2012 04:13:57 +0000 (21:13 -0700)
This should have been updated in the x86inc.asm update, but was
accidently forgotten.

libavcodec/x86/h264_weight_10bit.asm

index 481c7cad667d16baa072c94dce9e3767867847d6..c4b12984f669284bd0a63be26ba752dcbb47a45b 100644 (file)
@@ -155,7 +155,7 @@ WEIGHT_FUNC_HALF_MM sse4
 %if ARCH_X86_32
 DECLARE_REG_TMP 3
 %else
-DECLARE_REG_TMP 10
+DECLARE_REG_TMP 7
 %endif
 
 %macro BIWEIGHT_PROLOGUE 0
@@ -218,7 +218,7 @@ DECLARE_REG_TMP 10
 %endmacro
 
 %macro BIWEIGHT_FUNC_DBL 1
-cglobal h264_biweight_16_10_%1
+cglobal h264_biweight_16_10_%1, 0, 8, 8
     BIWEIGHT_PROLOGUE
     BIWEIGHT_SETUP %1
 .nextrow
@@ -238,7 +238,7 @@ BIWEIGHT_FUNC_DBL sse2
 BIWEIGHT_FUNC_DBL sse4
 
 %macro BIWEIGHT_FUNC 1
-cglobal h264_biweight_8_10_%1
+cglobal h264_biweight_8_10_%1, 0, 8, 8
     BIWEIGHT_PROLOGUE
     BIWEIGHT_SETUP %1
 .nextrow
@@ -256,7 +256,7 @@ BIWEIGHT_FUNC sse2
 BIWEIGHT_FUNC sse4
 
 %macro BIWEIGHT_FUNC_HALF 1
-cglobal h264_biweight_4_10_%1
+cglobal h264_biweight_4_10_%1, 0, 8, 8
     BIWEIGHT_PROLOGUE
     BIWEIGHT_SETUP %1
     sar        r3d, 1