[x265] [PATCH 3 of 3] asm: disable Main12 error functions

chen chenm003 at 163.com
Wed Jul 15 16:45:52 CEST 2015


Thanks you idea, I also plan move it to conditionally compile.


btw: we asm use BIT_DEPTH and C use X265_DEPTH



At 2015-07-15 15:09:07,"Deepthi Nandakumar" <deepthi at multicorewareinc.com> wrote:

Min,


These should be disabled conditionally (if X265_DEPTH==12). Btw, I think in your earlier Main12 fix patches, it should X265_DEPTH, and not BIT_DEPTH? Please check.





On Wed, Jul 15, 2015 at 6:36 AM, Min Chen <chenm003 at 163.com> wrote:
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1436916622 25200
# Node ID 8abf1d4209bbd721a60b3f94d9553dec88e2e8fe
# Parent  39d3e3941f865084c5b559f97f6178d26c7751c2
asm: disable Main12 error functions
---
 source/common/x86/asm-primitives.cpp |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff -r 39d3e3941f86 -r 8abf1d4209bb source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp      Tue Jul 14 16:29:46 2015 -0700
+++ b/source/common/x86/asm-primitives.cpp      Tue Jul 14 16:30:22 2015 -0700
@@ -917,7 +917,7 @@
         p.pu[LUMA_4x4].satd = p.cu[BLOCK_4x4].sa8d = PFX(pixel_satd_4x4_mmx2);
         ALL_LUMA_PU(satd, pixel_satd, sse2);

-        ASSIGN_SA8D(sse2);
+        //ASSIGN_SA8D(sse2);
         LUMA_PIXELSUB(sse2);
         CHROMA_420_PIXELSUB_PS(sse2);
         CHROMA_422_PIXELSUB_PS(sse2);
@@ -958,7 +958,7 @@
         ALL_LUMA_TU_S(calcresidual, getResidual, sse2);
         ALL_LUMA_TU_S(transpose, transpose, sse2);

-        ALL_LUMA_TU_S(intra_pred[PLANAR_IDX], intra_pred_planar, sse2);
+        //ALL_LUMA_TU_S(intra_pred[PLANAR_IDX], intra_pred_planar, sse2);
         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);

_______________________________________________
x265-devel mailing list
x265-devel at videolan.org
https://mailman.videolan.org/listinfo/x265-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20150715/868d70fc/attachment.html>


More information about the x265-devel mailing list