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

rajesh at multicorewareinc.com rajesh at multicorewareinc.com
Fri Apr 24 16:04:36 CEST 2015


# HG changeset patch
# User Rajesh Paulraj<rajesh at multicorewareinc.com>
# Date 1429883568 -19800
#      Fri Apr 24 19:22:48 2015 +0530
# Node ID 7788614584bc7267c3724f717e2c2fefa2579876
# Parent  22037a908cb58adf8be2600e5dd038a1b6d9348e
asm: avx2 10bit code for add_ps for chroma sizes 16xN, 32xN, reuse luma code

diff -r 22037a908cb5 -r 7788614584bc source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Fri Apr 24 19:20:36 2015 +0530
+++ b/source/common/x86/asm-primitives.cpp	Fri Apr 24 19:22:48 2015 +0530
@@ -1226,6 +1226,10 @@
         p.cu[BLOCK_16x16].add_ps = x265_pixel_add_ps_16x16_avx2;
         p.cu[BLOCK_32x32].add_ps = x265_pixel_add_ps_32x32_avx2;
         p.cu[BLOCK_64x64].add_ps = x265_pixel_add_ps_64x64_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].add_ps = x265_pixel_add_ps_16x16_avx2;
+        p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].add_ps = x265_pixel_add_ps_32x32_avx2;
+        p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].add_ps = x265_pixel_add_ps_16x32_avx2;
+        p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].add_ps = x265_pixel_add_ps_32x64_avx2;
 
         p.cu[BLOCK_16x16].sub_ps = x265_pixel_sub_ps_16x16_avx2;
         p.cu[BLOCK_32x32].sub_ps = x265_pixel_sub_ps_32x32_avx2;


More information about the x265-devel mailing list