[x265] [PATCH 2 of 5] intra: cleanup nits

Steve Borho steve at borho.org
Fri Feb 27 21:05:18 CET 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1425064279 21600
#      Fri Feb 27 13:11:19 2015 -0600
# Node ID b2eba4f626683e4064d2cb3de380b3b64fb8eaa2
# Parent  651e1baa3ecb02e75a08983d5cb8f824371887b6
intra: cleanup nits

diff -r 651e1baa3ecb -r b2eba4f62668 source/common/predict.cpp
--- a/source/common/predict.cpp	Fri Feb 27 13:10:40 2015 -0600
+++ b/source/common/predict.cpp	Fri Feb 27 13:11:19 2015 -0600
@@ -614,7 +614,7 @@
     int tuSize = 1 << intraNeighbors.log2TrSize;
     int tuSize2 = tuSize << 1;
 
-    pixel* adiOrigin = cu.m_encData->m_reconPic->getLumaAddr(cu.m_cuAddr, cuGeom.absPartIdx + puAbsPartIdx);
+    pixel*   adiOrigin = cu.m_encData->m_reconPic->getLumaAddr(cu.m_cuAddr, cuGeom.absPartIdx + puAbsPartIdx);
     intptr_t picStride = cu.m_encData->m_reconPic->m_stride;
 
     fillReferenceSamples(adiOrigin, picStride, intraNeighbors, intraNeighbourBuf[0]);
@@ -637,7 +637,7 @@
             if (abs(topLeft + topLast  - (topMiddle  << 1)) < threshold &&
                 abs(topLeft + leftLast - (leftMiddle << 1)) < threshold)
             {
-                // bilinear interpolation
+                // "strong" bilinear interpolation
                 const int shift = 5 + 1;
                 int init = (topLeft << shift) + tuSize;
                 int deltaL, deltaR;
diff -r 651e1baa3ecb -r b2eba4f62668 source/encoder/search.cpp
--- a/source/encoder/search.cpp	Fri Feb 27 13:10:40 2015 -0600
+++ b/source/encoder/search.cpp	Fri Feb 27 13:11:19 2015 -0600
@@ -1233,7 +1233,7 @@
         intraNeighbourBuf[1][0] = intraNeighbourBuf[0][0];
         primitives.scale1D_128to64(nScale + 1, intraNeighbourBuf[0] + 1, 0);
 
-        // TODO: primitive
+        // we do not estimate filtering for downscaled samples
         for (int x = 1; x < 65; x++)
         {
             intraNeighbourBuf[0][x] = nScale[x];           // Top pixel


More information about the x265-devel mailing list