[x265-commits] [x265] backout unintended commit

Steve Borho steve at borho.org
Tue Feb 18 07:33:04 CET 2014


details:   http://hg.videolan.org/x265/rev/1be6b8c8b9ed
branches:  
changeset: 6181:1be6b8c8b9ed
user:      Steve Borho <steve at borho.org>
date:      Tue Feb 18 00:32:57 2014 -0600
description:
backout unintended commit

diffstat:

 source/Lib/TLibCommon/TComWeightPrediction.cpp |  15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diffs (25 lines):

diff -r 720768692efe -r 1be6b8c8b9ed source/Lib/TLibCommon/TComWeightPrediction.cpp
--- a/source/Lib/TLibCommon/TComWeightPrediction.cpp	Tue Feb 18 00:22:17 2014 -0600
+++ b/source/Lib/TLibCommon/TComWeightPrediction.cpp	Tue Feb 18 00:32:57 2014 -0600
@@ -454,20 +454,7 @@ void TComWeightPrediction::addWeightUni(
         srcStride = srcYuv0->m_width;
         dstStride  = outDstYuv->getStride();
 
-//        primitives.weight_sp(srcY0, dstY, srcStride, dstStride, width, height, w0, round, shift, offset);
-        for ( int y = height-1; y >= 0; y-- )
-        {
-            for ( int x = width-1; x >= 0; )
-            {
-                // note: luma min width is 4
-                dstY[x] = weightUnidirY(w0,srcY0[x], round, shift, offset); x--;
-                dstY[x] = weightUnidirY(w0,srcY0[x], round, shift, offset); x--;
-                dstY[x] = weightUnidirY(w0,srcY0[x], round, shift, offset); x--;
-                dstY[x] = weightUnidirY(w0,srcY0[x], round, shift, offset); x--;
-            }
-            srcY0 += srcStride;
-            dstY  += dstStride;
-        }
+        primitives.weight_sp(srcY0, dstY, srcStride, dstStride, width, height, w0, round, shift, offset);
     }
 
     if (bChroma)


More information about the x265-commits mailing list