[x265] [PATCH] log: fix error in 4x4 statistics
kavitha at multicorewareinc.com
kavitha at multicorewareinc.com
Tue Nov 26 11:37:50 CET 2013
# HG changeset patch
# User Kavitha Sampath <kavitha at multicorewareinc.com>
# Date 1385462255 -19800
# Tue Nov 26 16:07:35 2013 +0530
# Node ID c03f63755f3bccd6d2bc5e682b7a2f9e5ba24b8d
# Parent 491fd3ee6fd11a52f50ba22b39b9e9596b8e7238
log: fix error in 4x4 statistics
diff -r 491fd3ee6fd1 -r c03f63755f3b source/Lib/TLibEncoder/TEncCu.cpp
--- a/source/Lib/TLibEncoder/TEncCu.cpp Mon Nov 25 14:00:56 2013 -0600
+++ b/source/Lib/TLibEncoder/TEncCu.cpp Tue Nov 26 16:07:35 2013 +0530
@@ -636,7 +636,7 @@
if (outBestCU->m_totalCost < outTempCU->m_totalCost)
{
m_log->cntIntra[depth]++;
- for (int i = 0; i < 4; i++)
+ for (int i = 0; i < 16; i = i + 4)
{
if (outTempCU->getPartitionSize(i) != SIZE_NxN)
m_log->cntIntra[depth + 1]--;
More information about the x265-devel
mailing list