[x265] [PATCH 2 of 3] asm: disable error SSE2 functions for Main12
Min Chen
chenm003 at 163.com
Thu Jul 16 04:20:15 CEST 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1437005394 25200
# Node ID 2e34852cba944657cfd5994cfdd0dbc6da7b7fb8
# Parent 7fc9c450984d90053b7c32fe2c4c5e51090bb706
asm: disable error SSE2 functions for Main12
---
source/common/x86/asm-primitives.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff -r 7fc9c450984d -r 2e34852cba94 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Wed Jul 15 17:09:52 2015 -0700
+++ b/source/common/x86/asm-primitives.cpp Wed Jul 15 17:09:54 2015 -0700
@@ -915,9 +915,11 @@
HEVC_SAD_X4(sse2);
p.pu[LUMA_4x4].satd = p.cu[BLOCK_4x4].sa8d = PFX(pixel_satd_4x4_mmx2);
+#if X265_DEPTH <= 10
ALL_LUMA_PU(satd, pixel_satd, sse2);
ASSIGN_SA8D(sse2);
+#endif /* X265_DEPTH <= 10 */
LUMA_PIXELSUB(sse2);
CHROMA_420_PIXELSUB_PS(sse2);
CHROMA_422_PIXELSUB_PS(sse2);
@@ -958,7 +960,9 @@
ALL_LUMA_TU_S(calcresidual, getResidual, sse2);
ALL_LUMA_TU_S(transpose, transpose, sse2);
+#if X265_DEPTH <= 10
ALL_LUMA_TU_S(intra_pred[PLANAR_IDX], intra_pred_planar, sse2);
+#endif /* X265_DEPTH <= 10 */
ALL_LUMA_TU_S(intra_pred[DC_IDX], intra_pred_dc, sse2);
p.cu[BLOCK_4x4].intra_pred[2] = PFX(intra_pred_ang4_2_sse2);
More information about the x265-devel
mailing list