[x265] [PATCH 09 of 15] nits: cleanup unused code
Min Chen
chenm003 at 163.com
Wed Dec 2 18:28:32 CET 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1449076365 21600
# Node ID 9f0c22a2e067f1035fedb636ed505f8539908bfd
# Parent 51648157396685c5d5ac793a8a0209cc8d4a5e4f
nits: cleanup unused code
---
source/encoder/sao.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff -r 516481573966 -r 9f0c22a2e067 source/encoder/sao.cpp
--- a/source/encoder/sao.cpp Wed Dec 02 11:12:41 2015 -0600
+++ b/source/encoder/sao.cpp Wed Dec 02 11:12:45 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