[x265] [PATCH 09 of 24] nits: cleanup unused code
Min Chen
chenm003 at 163.com
Tue Dec 8 00:54:46 CET 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1449511570 21600
# Node ID 63809496ca0caa713f09fed495520f13006833cb
# Parent 4f7ead5981eb585a553559906911f9aa788c8ffc
nits: cleanup unused code
---
source/encoder/sao.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff -r 4f7ead5981eb -r 63809496ca0c source/encoder/sao.cpp
--- a/source/encoder/sao.cpp Mon Dec 07 12:06:08 2015 -0600
+++ b/source/encoder/sao.cpp Mon Dec 07 12:06:10 2015 -0600
@@ -623,8 +623,6 @@
rec += stride;
}
- rec -= (stride << 1);
-
for (int idxX = 0; idxX < m_numCuInWidth; idxX++)
{
addr = idxY * m_numCuInWidth + idxX;
@@ -658,7 +656,7 @@
}
else if (idxX != (m_numCuInWidth - 1))
{
- rec = plane ? reconPic->getChromaAddr(plane, addr) : reconPic->getLumaAddr(addr);
+ rec = reconPic->getPlaneAddr(plane, addr);
for (int i = 0; i < ctuHeight + 1; i++)
{
More information about the x265-devel
mailing list