diff options
author | Scott LaVarnway <slavarnway@google.com> | 2012-01-04 11:56:50 -0500 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2012-01-06 11:12:00 -0800 |
commit | 5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d (patch) | |
tree | 05723825c238411562a5316f02841180a37f9f1f /vp8/encoder/encodeframe.c | |
parent | 5bfa29b6c54e31578cc377d49add31bddedc83a4 (diff) | |
download | libvpx-5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d.tar libvpx-5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d.tar.gz libvpx-5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d.tar.bz2 libvpx-5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d.zip |
Reduced the size of Y1Dequant and friends to [128][2]
This patch removes the local copies of the dequantize
constants and implements John's idea as described
in "Make a local copy of the dequantized data" commit.
Change-Id: Ic6b7d681f00bf63263f71ff1e39ab2f80729e8b2
Diffstat (limited to 'vp8/encoder/encodeframe.c')
-rw-r--r-- | vp8/encoder/encodeframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/encoder/encodeframe.c b/vp8/encoder/encodeframe.c index 6a9ba291d..b5c5c7445 100644 --- a/vp8/encoder/encodeframe.c +++ b/vp8/encoder/encodeframe.c @@ -1120,7 +1120,7 @@ int vp8cx_encode_intra_macro_block(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t, vp8_inverse_transform_mby(xd, IF_RTCD(&cpi->common.rtcd)); DEQUANT_INVOKE (&cpi->common.rtcd.dequant, idct_add_uv_block) - (xd->qcoeff+16*16, xd->block[16].dequant, + (xd->qcoeff+16*16, xd->dequant_uv, xd->dst.u_buffer, xd->dst.v_buffer, xd->dst.uv_stride, xd->eobs+16); return rate; @@ -1305,7 +1305,7 @@ int vp8cx_encode_inter_macroblock vp8_inverse_transform_mby(xd, IF_RTCD(&cpi->common.rtcd)); DEQUANT_INVOKE (&cpi->common.rtcd.dequant, idct_add_uv_block) - (xd->qcoeff+16*16, xd->block[16].dequant, + (xd->qcoeff+16*16, xd->dequant_uv, xd->dst.u_buffer, xd->dst.v_buffer, xd->dst.uv_stride, xd->eobs+16); } |