ref: aa60db19d2fadade129fee3f15885f1af82991db
parent: e55f60240ac62455c61160e824660c0d22f8f7ed
author: Yaowu Xu <[email protected]>
date: Wed Oct 16 10:39:14 EDT 2013
change to use vp9_idct_32x32_add instead of vp9_idct32x32_1024_add by making use the eob positions Change-Id: Iafcad20f0c75d8e00536c6a20dda76fe40a973fb
--- a/vp9/encoder/vp9_encodemb.c
+++ b/vp9/encoder/vp9_encodemb.c
@@ -442,7 +442,7 @@
switch (tx_size) {
case TX_32X32:
- vp9_idct32x32_1024_add(dqcoeff, dst, pd->dst.stride);
+ vp9_idct32x32_add(dqcoeff, dst, pd->dst.stride, pd->eobs[block]);
break;
case TX_16X16:
vp9_idct16x16_add(dqcoeff, dst, pd->dst.stride, pd->eobs[block]);
@@ -539,7 +539,7 @@
p->quant, p->quant_shift, qcoeff, dqcoeff,
pd->dequant, p->zbin_extra, eob, scan, iscan);
if (!x->skip_encode && *eob)
- vp9_idct32x32_1024_add(dqcoeff, dst, pd->dst.stride);
+ vp9_idct32x32_add(dqcoeff, dst, pd->dst.stride, *eob);
break;
case TX_16X16:
tx_type = get_tx_type_16x16(pd->plane_type, xd);