ref: f853e662b7b14446a6c671723372d6a8693d796d
parent: 07b72ace70832240c20f461458d6ea1496135b26
author: Yaowu Xu <[email protected]>
date: Fri Jun 28 13:10:22 EDT 2013
fixed a bug where sse is not populated Change-Id: I692d800af1f976c84a76f8bd66864c4b39540abc
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -633,6 +633,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)