[x265] [PATCH] asm: added sa8d-4x4, 4x8, 8x4, 4x16, 16x4, 12x16, 16x12 to asm-primitives.cpp

yuvaraj at multicorewareinc.com yuvaraj at multicorewareinc.com
Thu Nov 21 15:46:57 CET 2013


# HG changeset patch
# User Yuvaraj Venkatesh <yuvaraj at multicorewareinc.com>
# Date 1385045199 -19800
#      Thu Nov 21 20:16:39 2013 +0530
# Node ID d2173ec27a151a1c1adaaba387f4f20a43742246
# Parent  16a495be1fae8ccc830649d1447d45846a20b959
asm: added sa8d-4x4,4x8,8x4,4x16,16x4,12x16,16x12 to asm-primitives.cpp

diff -r 16a495be1fae -r d2173ec27a15 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Thu Nov 21 18:55:53 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp	Thu Nov 21 20:16:39 2013 +0530
@@ -90,6 +90,12 @@
 #define SA8D_INTER_FROM_BLOCK(cpu) \
     p.sa8d[BLOCK_32x32] = x265_pixel_sa8d_32x32_ ## cpu; \
     p.sa8d[BLOCK_64x64] = x265_pixel_sa8d_64x64_ ## cpu; \
+    p.sa8d_inter[LUMA_4x8]  = x265_pixel_satd_4x8_ ## cpu; \
+    p.sa8d_inter[LUMA_8x4]  = x265_pixel_satd_8x4_ ## cpu; \
+    p.sa8d_inter[LUMA_4x16]  = x265_pixel_satd_4x16_ ## cpu; \
+    p.sa8d_inter[LUMA_16x4]  = x265_pixel_satd_16x4_ ## cpu; \
+    p.sa8d_inter[LUMA_12x16]  = x265_pixel_satd_12x16_ ## cpu; \
+    p.sa8d_inter[LUMA_16x12]  = x265_pixel_satd_16x12_ ## cpu; \
     p.sa8d_inter[LUMA_16x8]  = x265_pixel_sa8d_16x8_ ## cpu; \
     p.sa8d_inter[LUMA_8x16]  = x265_pixel_sa8d_8x16_ ## cpu; \
     p.sa8d_inter[LUMA_32x24] = x265_pixel_sa8d_32x24_ ## cpu; \
@@ -445,6 +451,7 @@
         INIT8(sad_x3, _mmx2);
         INIT8(sad_x4, _mmx2);
         INIT8(satd, _mmx2);
+        p.sa8d_inter[LUMA_4x4]  = x265_pixel_satd_4x4_mmx2;
         p.satd[LUMA_8x32] = x265_pixel_satd_8x32_sse2;
         p.satd[LUMA_12x16] = x265_pixel_satd_12x16_sse2;
         p.satd[LUMA_16x4] = x265_pixel_satd_16x4_sse2;


More information about the x265-devel mailing list