# HG changeset patch
# User Min Chen <[email protected]>
# 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++)
{
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel