[x265] [PATCH 2 of 2] Enable idst4 asm
nabajit at multicorewareinc.com
nabajit at multicorewareinc.com
Fri Nov 29 13:31:06 CET 2013
# HG changeset patch
# User Nabajit Deka
# Date 1385728215 -19800
# Fri Nov 29 18:00:15 2013 +0530
# Node ID 4da1dfe9e91fe9f3591eb13941d7357ef631dabf
# Parent 189377dcf4a43a98f3a217d4db9866799068cb8d
Enable idst4 asm
diff -r 189377dcf4a4 -r 4da1dfe9e91f source/common/vec/dct-sse41.cpp
--- a/source/common/vec/dct-sse41.cpp Fri Nov 29 17:57:24 2013 +0530
+++ b/source/common/vec/dct-sse41.cpp Fri Nov 29 18:00:15 2013 +0530
@@ -232,9 +232,5 @@
void Setup_Vec_DCTPrimitives_sse41(EncoderPrimitives &p)
{
p.dequant_scaling = dequant_scaling;
-
-#if !HIGH_BIT_DEPTH
- p.idct[IDST_4x4] = idst4; // fails with 10bit inputs
-#endif
}
}
diff -r 189377dcf4a4 -r 4da1dfe9e91f source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Fri Nov 29 17:57:24 2013 +0530
+++ b/source/common/x86/asm-primitives.cpp Fri Nov 29 18:00:15 2013 +0530
@@ -572,6 +572,7 @@
p.ssim_end_4 = x265_pixel_ssim_end4_sse2;
p.dct[DCT_4x4] = x265_dct4_sse2;
p.idct[IDCT_4x4] = x265_idct4_sse2;
+ p.idct[IDST_4x4] = x265_idst4_sse2;
}
if (cpuMask & X265_CPU_SSSE3)
{
More information about the x265-devel
mailing list