[x265] [PATCH] temporarily disable avx2 version of copy_cnt primitive, need to update as per new interface

praveen at multicorewareinc.com praveen at multicorewareinc.com
Tue Sep 2 16:12:40 CEST 2014


# HG changeset patch
# User Praveen Tiwari
# Date 1409648921 -19800
# Node ID 16de8fd2837c853c974f83f9aba9e8ef09c2fe2b
# Parent  d0d545f2982ff9600b05e70ee4f066ce28ba51a7
temporarily disable avx2 version of copy_cnt primitive, need to update as per new interface

diff -r d0d545f2982f -r 16de8fd2837c source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Tue Sep 02 14:27:40 2014 +0530
+++ b/source/common/x86/asm-primitives.cpp	Tue Sep 02 14:38:41 2014 +0530
@@ -1706,10 +1706,16 @@
         p.sad_x4[LUMA_16x12] = x265_pixel_sad_x4_16x12_avx2;
         p.sad_x4[LUMA_16x32] = x265_pixel_sad_x4_16x32_avx2;
         p.ssd_s[BLOCK_32x32] = x265_pixel_ssd_s_32_avx2;
+
+        /* Need to update assembly code as per changed interface of the copy_cnt primitive, once
+         * code is updated, avx2 version will be enabled */
+/*
         p.copy_cnt[BLOCK_4x4] = x265_copy_cnt_4_avx2;
         p.copy_cnt[BLOCK_8x8] = x265_copy_cnt_8_avx2;
         p.copy_cnt[BLOCK_16x16] = x265_copy_cnt_16_avx2;
         p.copy_cnt[BLOCK_32x32] = x265_copy_cnt_32_avx2;
+*/
+
         p.cvt32to16_shl[BLOCK_4x4] = x265_cvt32to16_shl_4_avx2;
         p.cvt32to16_shl[BLOCK_8x8] = x265_cvt32to16_shl_8_avx2;
         p.cvt32to16_shl[BLOCK_16x16] = x265_cvt32to16_shl_16_avx2;


More information about the x265-devel mailing list