]> granicus.if.org Git - libx264/commitdiff
x86: AVX-512 pixel_satd_x3 and pixel_satd_x4
authorHenrik Gramner <henrik@gramner.com>
Thu, 17 Aug 2017 16:04:13 +0000 (18:04 +0200)
committerAnton Mitrofanov <BugMaster@narod.ru>
Sun, 24 Dec 2017 19:54:15 +0000 (22:54 +0300)
common/pixel.c

index d668491b4ab9ca86be0c809eebf752b501f26bbc..516310458cc0b63d9107dc1a28bc984632359183 100644 (file)
@@ -503,6 +503,7 @@ SATD_X_DECL6( _ssse3_atom )
 SATD_X_DECL7( _sse4 )
 SATD_X_DECL7( _avx )
 SATD_X_DECL7( _xop )
+SATD_X_DECL7( _avx512 )
 #endif // !HIGH_BIT_DEPTH
 #endif
 
@@ -1363,6 +1364,8 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
         INIT7( sad_x3, _avx512 );
         INIT7( sad_x4, _avx512 );
         INIT8( satd, _avx512 );
+        INIT7( satd_x3, _avx512 );
+        INIT7( satd_x4, _avx512 );
         pixf->sa8d[PIXEL_8x8] = x264_pixel_sa8d_8x8_avx512;
         pixf->var[PIXEL_8x8]   = x264_pixel_var_8x8_avx512;
         pixf->var[PIXEL_8x16]  = x264_pixel_var_8x16_avx512;