[x264-devel] [PATCH] x86: add missing initializations for high bit-depth variance

James Almer jamrial at gmail.com
Sun Apr 6 04:46:31 CEST 2014


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

diff --git a/common/pixel.c b/common/pixel.c
index 2e82812..654f985 100644
--- a/common/pixel.c
+++ b/common/pixel.c
@@ -1006,6 +1006,8 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
     }
     if( cpu&X264_CPU_XOP )
     {
+        pixf->var[PIXEL_16x16] = x264_pixel_var_16x16_xop;
+        pixf->var[PIXEL_8x8]   = x264_pixel_var_8x8_xop;
         pixf->vsad = x264_pixel_vsad_xop;
         pixf->asd8 = x264_pixel_asd8_xop;
     }
-- 
1.8.3.2



More information about the x264-devel mailing list