[x265] [PATCH] asm: enable psyCost_ss avx2 for HIGH_BIT_DEPTH

dnyaneshwar at multicorewareinc.com dnyaneshwar at multicorewareinc.com
Tue May 12 10:05:35 CEST 2015


# HG changeset patch
# User Dnyaneshwar G <dnyaneshwar at multicorewareinc.com>
# Date 1431412445 -19800
#      Tue May 12 12:04:05 2015 +0530
# Node ID b8b6c45dce1ee48b212ffa5b86e5e3c3932e4f9a
# Parent  b64b19125ced7e0f2de57e190e5e14be274e0d7e
asm: enable psyCost_ss avx2 for HIGH_BIT_DEPTH

diff -r b64b19125ced -r b8b6c45dce1e source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Mon May 11 17:16:49 2015 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue May 12 12:04:05 2015 +0530
@@ -1181,6 +1181,12 @@
     }
     if (cpuMask & X265_CPU_AVX2)
     {
+        p.cu[BLOCK_4x4].psy_cost_ss = x265_psyCost_ss_4x4_avx2;
+        p.cu[BLOCK_8x8].psy_cost_ss = x265_psyCost_ss_8x8_avx2;
+        p.cu[BLOCK_16x16].psy_cost_ss = x265_psyCost_ss_16x16_avx2;
+        p.cu[BLOCK_32x32].psy_cost_ss = x265_psyCost_ss_32x32_avx2;
+        p.cu[BLOCK_64x64].psy_cost_ss = x265_psyCost_ss_64x64_avx2;
+
         p.cu[BLOCK_4x4].psy_cost_pp = x265_psyCost_pp_4x4_avx2;
 
         p.cu[BLOCK_16x16].intra_pred[PLANAR_IDX] = x265_intra_pred_planar16_avx2;


More information about the x265-devel mailing list