[x264-devel] x86: add missing initialization for high bit-depth sa8d_satd

James Almer git at videolan.org
Wed Apr 23 00:40:59 CEST 2014


x264 | branch: master | James Almer <jamrial at gmail.com> | Wed Apr  9 03:33:03 2014 -0300| [e355b280c779c92a7e284f31ab4984aa8b9ea5ac] | committer: Jason Garrett-Glaser

x86: add missing initialization for high bit-depth sa8d_satd

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=e355b280c779c92a7e284f31ab4984aa8b9ea5ac
---

 common/pixel.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/pixel.c b/common/pixel.c
index caa7555..735c835 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 )
     {



More information about the x264-devel mailing list