[x265] [PATCH] asm: avx2 code for sad_x3[48x64] for 10 bpp (25339 -> 11730)

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Tue May 19 07:10:10 CEST 2015


# HG changeset patch
# User Sumalatha Polureddy
# Date 1432012200 -19800
#      Tue May 19 10:40:00 2015 +0530
# Node ID fd1f061f22290c209560abc5fd02d6401477861a
# Parent  d7b100e51e828833eee006f1da93e499ac161d28
asm: avx2 code for sad_x3[48x64] for 10 bpp (25339 -> 11730)

sse2
sad_x3[48x64]  2.68x    25339.15        67836.94

avx2
sad_x3[48x64]  5.80x    11730.63        68061.84

diff -r d7b100e51e82 -r fd1f061f2229 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Mon May 18 18:24:08 2015 -0500
+++ b/source/common/x86/asm-primitives.cpp	Tue May 19 10:40:00 2015 +0530
@@ -1340,6 +1340,7 @@
         p.pu[LUMA_32x24].sad_x3 = x265_pixel_sad_x3_32x24_avx2;
         p.pu[LUMA_32x32].sad_x3 = x265_pixel_sad_x3_32x32_avx2;
         p.pu[LUMA_32x64].sad_x3 = x265_pixel_sad_x3_32x64_avx2;
+        p.pu[LUMA_48x64].sad_x3 = x265_pixel_sad_x3_48x64_avx2;
         p.pu[LUMA_64x16].sad_x3 = x265_pixel_sad_x3_64x16_avx2;
         p.pu[LUMA_64x32].sad_x3 = x265_pixel_sad_x3_64x32_avx2;
         p.pu[LUMA_64x48].sad_x3 = x265_pixel_sad_x3_64x48_avx2;
diff -r d7b100e51e82 -r fd1f061f2229 source/common/x86/sad16-a.asm
--- a/source/common/x86/sad16-a.asm	Mon May 18 18:24:08 2015 -0500
+++ b/source/common/x86/sad16-a.asm	Tue May 19 10:40:00 2015 +0530
@@ -1496,6 +1496,7 @@
 SAD_X 3, 32, 24
 SAD_X 3, 32, 32
 SAD_X 3, 32, 64
+SAD_X 3, 48, 64
 SAD_X 3, 64, 16
 SAD_X 3, 64, 32
 SAD_X 3, 64, 48


More information about the x265-devel mailing list