ref: 5aa56f7c48e656ffd450e6130d67a4b1676e0a26
parent: e6058ea06119f86d45eafc5a517b74a865f198fe
parent: a2e711ce38be6438fdbd3c1c92fb3b2f14865aa3
author: Jingning Han <[email protected]>
date: Fri Mar 14 10:31:25 EDT 2014
Merge "Properly reset the block coding skip flag array in non-RD mode"
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2887,6 +2887,7 @@
pd[i].dqcoeff = ctx->dqcoeff_pbuf[i][0];
p[i].eobs = ctx->eobs_pbuf[i][0];
}
+ vp9_zero(x->zcoeff_blk);
}
{
@@ -3177,6 +3178,7 @@
x->use_lp32x32fdct = cpi->sf.use_lp32x32fdct;
x->skip_encode = (!output_enabled && cpi->sf.skip_encode_frame &&
x->q_index < QIDX_SKIP_THRESH);
+
if (x->skip_encode)
return;