[x265] [PATCH] disable old interface AVX2 asm code for DCT/IDCT path

praveen at multicorewareinc.com praveen at multicorewareinc.com
Tue Oct 28 13:13:25 CET 2014


# HG changeset patch
# User Praveen Tiwari
# Date 1414497079 -19800
# Node ID f2b6db5c7354bc0bb953446bbb2128b33cb776b1
# Parent  1371d3e0f06331e5d01d74201846b66c1f4cc16b
disable old interface AVX2 asm code for DCT/IDCT path

diff -r 1371d3e0f063 -r f2b6db5c7354 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue Oct 28 17:11:52 2014 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue Oct 28 17:21:19 2014 +0530
@@ -1765,11 +1765,11 @@
         p.cvt32to16_shl[BLOCK_8x8] = x265_cvt32to16_shl_8_avx2;
         p.cvt32to16_shl[BLOCK_16x16] = x265_cvt32to16_shl_16_avx2;
         p.cvt32to16_shl[BLOCK_32x32] = x265_cvt32to16_shl_32_avx2;
-        p.denoiseDct = x265_denoise_dct_avx2;
-        p.dct[DCT_4x4] = x265_dct4_avx2;
-        p.quant = x265_quant_avx2;
-        p.nquant = x265_nquant_avx2;
-        p.dequant_normal = x265_dequant_normal_avx2;
+   //   p.denoiseDct = x265_denoise_dct_avx2;
+  //    p.dct[DCT_4x4] = x265_dct4_avx2;
+  //    p.quant = x265_quant_avx2;
+   //   p.nquant = x265_nquant_avx2;
+  //    p.dequant_normal = x265_dequant_normal_avx2;
         p.chroma[X265_CSP_I420].copy_ss[CHROMA_16x4] = x265_blockcopy_ss_16x4_avx;
         p.chroma[X265_CSP_I420].copy_ss[CHROMA_16x12] = x265_blockcopy_ss_16x12_avx;
         p.chroma[X265_CSP_I420].copy_ss[CHROMA_16x8] = x265_blockcopy_ss_16x8_avx;
@@ -1785,13 +1785,13 @@
         p.weight_pp = x265_weight_pp_avx2;
 
 #if X86_64
-        p.dct[DCT_8x8] = x265_dct8_avx2;
-        p.dct[DCT_16x16] = x265_dct16_avx2;
-        p.dct[DCT_32x32] = x265_dct32_avx2;
-        p.idct[IDCT_4x4] = x265_idct4_avx2;
-        p.idct[IDCT_8x8] = x265_idct8_avx2;
-        p.idct[IDCT_16x16] = x265_idct16_avx2;
-        p.idct[IDCT_32x32] = x265_idct32_avx2;
+  //      p.dct[DCT_8x8] = x265_dct8_avx2;
+  //      p.dct[DCT_16x16] = x265_dct16_avx2;
+  //      p.dct[DCT_32x32] = x265_dct32_avx2;
+  //      p.idct[IDCT_4x4] = x265_idct4_avx2;
+  //      p.idct[IDCT_8x8] = x265_idct8_avx2;
+  //      p.idct[IDCT_16x16] = x265_idct16_avx2;
+  //      p.idct[IDCT_32x32] = x265_idct32_avx2;
 
         p.transpose[BLOCK_8x8] = x265_transpose8_avx2;
         p.transpose[BLOCK_16x16] = x265_transpose16_avx2;


More information about the x265-devel mailing list