# HG changeset patch
# User Pradeep Ramachandran <[email protected]>
# 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();
# HG changeset patch
# User Pradeep Ramachandran <[email protected]>
# 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();
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to