shithub: libvpx

Download patch

ref: bc70c60b25937c1558e41db924906ab3288933f5
parent: 6098e359f42ce21cf784d11d0d0a81cb64a02f76
parent: f853e662b7b14446a6c671723372d6a8693d796d
author: Ronald S. Bultje <rbultje@google.com>
date: Sat Jun 29 03:42:41 EDT 2013

Merge "fixed a bug where sse is not populated"

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -632,6 +632,8 @@
     vpx_memset(txfm_cache, 0, NB_TXFM_MODES * sizeof(int64_t));
     super_block_yrd_for_txfm(cm, x, rate, distortion, skip, &sse[0], bs,
                              mbmi->txfm_size);
+    if (psse)
+      *psse = sse[0];
     return;
   }
   if (bs >= BLOCK_SIZE_SB32X32)
--