From: Yaowu Xu Date: Sat, 29 Jun 2013 00:10:22 +0000 (-0700) Subject: fixed a bug where sse is not populated X-Git-Tag: v1.3.0~982^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f853e662b7b14446a6c671723372d6a8693d796d;p=libvpx fixed a bug where sse is not populated Change-Id: I692d800af1f976c84a76f8bd66864c4b39540abc --- diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c index 46d9bce2e..c2810f9f9 100644 --- a/vp9/encoder/vp9_rdopt.c +++ b/vp9/encoder/vp9_rdopt.c @@ -633,6 +633,8 @@ static void super_block_yrd(VP9_COMP *cpi, 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)