[x265] [PATCH] slicetype: fix build with detailed stats enabled
Steve Borho
steve at borho.org
Mon May 11 15:54:31 CEST 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1431350156 18000
# Mon May 11 08:15:56 2015 -0500
# Branch stable
# Node ID c7ac09d16802becbb13167d8fc497ace2101ad86
# Parent b642b3d8cc1ec5d12f89dfd9db960c91ab0e13be
slicetype: fix build with detailed stats enabled
diff -r b642b3d8cc1e -r c7ac09d16802 source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp Sat May 09 12:33:18 2015 -0500
+++ b/source/encoder/slicetype.cpp Mon May 11 08:15:56 2015 -0500
@@ -785,11 +785,10 @@
while (m_jobAcquired < m_jobTotal)
{
Frame* preFrame = m_preframes[m_jobAcquired++];
+ ProfileLookaheadTime(m_lookahead.m_preLookaheadElapsedTime, m_lookahead.m_countPreLookahead);
+ ProfileScopeEvent(prelookahead);
m_lock.release();
- ProfileLookaheadTime(m_preLookaheadElapsedTime, m_countPreLookahead);
- ProfileScopeEvent(prelookahead);
-
preFrame->m_lowres.init(preFrame->m_fencPic, preFrame->m_poc);
if (m_lookahead.m_param->rc.bStatRead && m_lookahead.m_param->rc.cuTree && IS_REFERENCED(preFrame))
/* cu-tree offsets were read from stats file */;
More information about the x265-devel
mailing list