[x265] [PATCH] asm: avx2 10bit code for sub_ps for chroma sizes 16xN, 32xN, reuse luma code

rajesh at multicorewareinc.com rajesh at multicorewareinc.com
Thu Apr 23 15:52:46 CEST 2015


# HG changeset patch
# User Rajesh Paulraj<rajesh at multicorewareinc.com>
# Date 1429796441 -19800
#      Thu Apr 23 19:10:41 2015 +0530
# Node ID 4a04e3bafeaaffeb582bcb0ffea71900e92c7386
# Parent  cd0c8df9e9bb9e8ceebfa84532e6dca8d50916ee
asm: avx2 10bit code for sub_ps for chroma sizes 16xN, 32xN, reuse luma code

diff -r cd0c8df9e9bb -r 4a04e3bafeaa source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Thu Apr 23 19:07:34 2015 +0530
+++ b/source/common/x86/asm-primitives.cpp	Thu Apr 23 19:10:41 2015 +0530
@@ -1226,6 +1226,10 @@
         p.cu[BLOCK_16x16].sub_ps = x265_pixel_sub_ps_16x16_avx2;
         p.cu[BLOCK_32x32].sub_ps = x265_pixel_sub_ps_32x32_avx2;
         p.cu[BLOCK_64x64].sub_ps = x265_pixel_sub_ps_64x64_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].sub_ps = x265_pixel_sub_ps_16x16_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].sub_ps = x265_pixel_sub_ps_32x32_avx2;
+        p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].sub_ps = x265_pixel_sub_ps_16x32_avx2;
+        p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].sub_ps = x265_pixel_sub_ps_32x64_avx2;
 
         p.pu[LUMA_16x4].convert_p2s = x265_filterPixelToShort_16x4_avx2;
         p.pu[LUMA_16x8].convert_p2s = x265_filterPixelToShort_16x8_avx2;


More information about the x265-devel mailing list