[x265] [PATCH] bug: Fix build failure with DETAILED_CU_STATS enabled
Pradeep Ramachandran
pradeep at multicorewareinc.com
Fri Jun 30 13:36:20 CEST 2017
On Fri, Jun 30, 2017 at 11:40 AM, Pradeep Ramachandran <
pradeep at multicorewareinc.com> wrote:
> # 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
>
Pushed to default
>
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170630/7cd1d518/attachment-0001.html>
More information about the x265-devel
mailing list