[x265] [PATCH] bug: Fix build failure with DETAILED_CU_STATS enabled
Pradeep Ramachandran
pradeep at multicorewareinc.com
Fri Jun 30 08:10:39 CEST 2017
# HG changeset patch
# User Pradeep Ramachandran <pradeep at multicorewareinc.com>
# Date 1498803001 -19800
# Fri Jun 30 11:40:01 2017 +0530
# Node ID 0216c8ccfdb7eb95ad003dab8050b59b16a83ccb
# Parent ef8dfbb70dd69b8a00e1c93176b7d863574596ca
bug: Fix build failure with DETAILED_CU_STATS enabled
diff -r ef8dfbb70dd6 -r 0216c8ccfdb7 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Thu Jun 29 00:43:47 2017 +0800
+++ b/source/encoder/encoder.cpp Fri Jun 30 11:40:01 2017 +0530
@@ -1422,7 +1422,7 @@
/* Summarize stats from all frame encoders */
CUStats cuStats;
for (int i = 0; i < m_param->frameNumThreads; i++)
- cuStats.accumulate(m_frameEncoder[i]->m_cuStats, m_param);
+ cuStats.accumulate(m_frameEncoder[i]->m_cuStats, *m_param);
if (!cuStats.totalCTUTime)
return;
diff -r ef8dfbb70dd6 -r 0216c8ccfdb7 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp Thu Jun 29 00:43:47 2017 +0800
+++ b/source/encoder/frameencoder.cpp Fri Jun 30 11:40:01 2017 +0530
@@ -1110,7 +1110,7 @@
/* Accumulate CU statistics from each worker thread, we could report
* per-frame stats here, but currently we do not. */
for (int i = 0; i < numTLD; i++)
- m_cuStats.accumulate(m_tld[i].analysis.m_stats[m_jpId], m_param);
+ m_cuStats.accumulate(m_tld[i].analysis.m_stats[m_jpId], *m_param);
#endif
m_endFrameTime = x265_mdate();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170630/e6d42ba7/attachment.bin>
More information about the x265-devel
mailing list