[x264-devel] [PATCH 2/5] x86: add missing initialization for high bit-depth sa8d_satd

James Almer jamrial at gmail.com
Wed Apr 9 08:33:03 CEST 2014


Signed-off-by: James Almer <jamrial at gmail.com>
---
 common/pixel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/pixel.c b/common/pixel.c
index 3cc6806..2e70bd6 100644
--- a/common/pixel.c
+++ b/common/pixel.c
@@ -1025,6 +1025,9 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
         pixf->var[PIXEL_8x8]   = x264_pixel_var_8x8_xop;
         pixf->vsad = x264_pixel_vsad_xop;
         pixf->asd8 = x264_pixel_asd8_xop;
+#if ARCH_X86_64
+        pixf->sa8d_satd[PIXEL_16x16] = x264_pixel_sa8d_satd_16x16_xop;
+#endif
     }
     if( cpu&X264_CPU_AVX2 )
     {
-- 
1.8.3.2



More information about the x264-devel mailing list