[x265] [PATCH] asm: avx2 code for sad_x4[48x64] (33937 -> 15279) for 10 bpp

sumalatha at multicorewareinc.com sumalatha at multicorewareinc.com
Wed May 20 07:35:33 CEST 2015


# HG changeset patch
# User Sumalatha Polureddy
# Date 1432100115 -19800
#      Wed May 20 11:05:15 2015 +0530
# Node ID 395ebbcf7db4dace6e706444513e5f977537ed0c
# Parent  9b31a8a7bd57efededcc3884ee7777c09f649394
asm: avx2 code for sad_x4[48x64] (33937 -> 15279) for 10 bpp

sse2
sad_x4[48x64]  2.55x    33937.88        86421.41

avx2
sad_x4[48x64]  5.67x    15279.31        86572.20

diff -r 9b31a8a7bd57 -r 395ebbcf7db4 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue May 19 19:51:56 2015 -0500
+++ b/source/common/x86/asm-primitives.cpp	Wed May 20 11:05:15 2015 +0530
@@ -1359,6 +1359,7 @@
         p.pu[LUMA_32x24].sad_x4 = x265_pixel_sad_x4_32x24_avx2;
         p.pu[LUMA_32x32].sad_x4 = x265_pixel_sad_x4_32x32_avx2;
         p.pu[LUMA_32x64].sad_x4 = x265_pixel_sad_x4_32x64_avx2;
+        p.pu[LUMA_48x64].sad_x4 = x265_pixel_sad_x4_48x64_avx2;
         p.pu[LUMA_64x16].sad_x4 = x265_pixel_sad_x4_64x16_avx2;
         p.pu[LUMA_64x32].sad_x4 = x265_pixel_sad_x4_64x32_avx2;
         p.pu[LUMA_64x48].sad_x4 = x265_pixel_sad_x4_64x48_avx2;
diff -r 9b31a8a7bd57 -r 395ebbcf7db4 source/common/x86/sad16-a.asm
--- a/source/common/x86/sad16-a.asm	Tue May 19 19:51:56 2015 -0500
+++ b/source/common/x86/sad16-a.asm	Wed May 20 11:05:15 2015 +0530
@@ -1513,6 +1513,7 @@
 SAD_X 4, 32, 24
 SAD_X 4, 32, 32
 SAD_X 4, 32, 64
+SAD_X 4, 48, 64
 SAD_X 4, 64, 16
 SAD_X 4, 64, 32
 SAD_X 4, 64, 48


More information about the x265-devel mailing list