summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2010-12-28 14:51:46 -0500
committerScott LaVarnway <slavarnway@google.com>2010-12-28 14:51:46 -0500
commit516ea8460b325500f44ce79f55ff2e2c3bab6787 (patch)
tree3f4ea7174e30bd15184410fa90719ed0567d2455 /vp8/encoder/x86
parente463b95b4ee8f7a1a352a29468f944e4b6d9c4e2 (diff)
downloadlibvpx-516ea8460b325500f44ce79f55ff2e2c3bab6787.tar
libvpx-516ea8460b325500f44ce79f55ff2e2c3bab6787.tar.gz
libvpx-516ea8460b325500f44ce79f55ff2e2c3bab6787.tar.bz2
libvpx-516ea8460b325500f44ce79f55ff2e2c3bab6787.zip
Use the fast quantizer for inter mode selection
Use the fast quantizer for inter mode selection and the regular quantizer for the rest of the encode for good quality, speed 1. Both performance and quality were improved. The quality gains will make up for the quality loss mentioned in I9dc089007ca08129fb6c11fe7692777ebb8647b0. Change-Id: Ia90bc9cf326a7c65d60d31fa32f6465ab6984d21
Diffstat (limited to 'vp8/encoder/x86')
-rw-r--r--vp8/encoder/x86/x86_csystemdependent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/encoder/x86/x86_csystemdependent.c b/vp8/encoder/x86/x86_csystemdependent.c
index d2199a499..6e317e2a2 100644
--- a/vp8/encoder/x86/x86_csystemdependent.c
+++ b/vp8/encoder/x86/x86_csystemdependent.c
@@ -32,7 +32,7 @@ void vp8_fast_quantize_b_mmx(BLOCK *b, BLOCKD *d)
short *coeff_ptr = b->coeff;
short *zbin_ptr = b->zbin;
short *round_ptr = b->round;
- short *quant_ptr = b->quant;
+ short *quant_ptr = b->quant_fast;
short *qcoeff_ptr = d->qcoeff;
short *dqcoeff_ptr = d->dqcoeff;
short *dequant_ptr = d->dequant;
@@ -90,7 +90,7 @@ void vp8_fast_quantize_b_sse2(BLOCK *b, BLOCKD *d)
short *scan_mask = vp8_default_zig_zag_mask;//d->scan_order_mask_ptr;
short *coeff_ptr = b->coeff;
short *round_ptr = b->round;
- short *quant_ptr = b->quant;
+ short *quant_ptr = b->quant_fast;
short *qcoeff_ptr = d->qcoeff;
short *dqcoeff_ptr = d->dqcoeff;
short *dequant_ptr = d->dequant;
@@ -183,7 +183,7 @@ void vp8_fast_quantize_b_ssse3(BLOCK *b, BLOCKD *d)
d->qcoeff,
d->dequant,
b->round,
- b->quant,
+ b->quant_fast,
d->dqcoeff
);
}