shithub: libvpx

Download patch

ref: 3e637a70dab1ddead4ba14caeb8f840a47a256ca
parent: 12943e722d1740bf38b5b2beec8bdb1f1604342a
parent: f0cf9719d0c3eee99431ef313a5aaf817f22b5af
author: Yunqing Wang <[email protected]>
date: Tue Mar 10 06:52:55 EDT 2015

Merge "Accumulate tx_totals counters in multi-threaded encoder"

--- a/vp9/common/vp9_thread_common.c
+++ b/vp9/common/vp9_thread_common.c
@@ -382,6 +382,9 @@
       cm->counts.tx.p8x8[i][j] += counts->tx.p8x8[i][j];
   }
 
+  for (i = 0; i < TX_SIZES; i++)
+    cm->counts.tx.tx_totals[i] += counts->tx.tx_totals[i];
+
   for (i = 0; i < SKIP_CONTEXTS; i++)
     for (j = 0; j < 2; j++)
       cm->counts.skip[i][j] += counts->skip[i][j];