summaryrefslogtreecommitdiff
path: root/vp8/common/x86/idct_blk_mmx.c
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2012-01-04 11:56:50 -0500
committerJohn Koleszar <jkoleszar@google.com>2012-01-06 11:12:00 -0800
commit5f25d4c1752a40bafec3334bd0e4a1a0047c1d9d (patch)
tree05723825c238411562a5316f02841180a37f9f1f /vp8/common/x86/idct_blk_mmx.c
parent5bfa29b6c54e31578cc377d49add31bddedc83a4 (diff)
downloadlibvpx-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/common/x86/idct_blk_mmx.c')
-rw-r--r--vp8/common/x86/idct_blk_mmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/common/x86/idct_blk_mmx.c b/vp8/common/x86/idct_blk_mmx.c
index 49cebd6f5..8ff483708 100644
--- a/vp8/common/x86/idct_blk_mmx.c
+++ b/vp8/common/x86/idct_blk_mmx.c
@@ -14,12 +14,12 @@
extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q);
-void vp8_dequantize_b_mmx(BLOCKD *d)
+void vp8_dequantize_b_mmx(BLOCKD *d, short *DQC)
{
short *sq = (short *) d->qcoeff;
short *dq = (short *) d->dqcoeff;
- short *q = (short *) d->dequant;
- vp8_dequantize_b_impl_mmx(sq, dq, q);
+
+ vp8_dequantize_b_impl_mmx(sq, dq, DQC);
}
void vp8_dequant_idct_add_y_block_mmx