diff options
author | Scott LaVarnway <slavarnway@google.com> | 2010-12-28 14:51:46 -0500 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2010-12-28 14:51:46 -0500 |
commit | 516ea8460b325500f44ce79f55ff2e2c3bab6787 (patch) | |
tree | 3f4ea7174e30bd15184410fa90719ed0567d2455 /vp8/encoder/quantize.c | |
parent | e463b95b4ee8f7a1a352a29468f944e4b6d9c4e2 (diff) | |
download | libvpx-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/quantize.c')
-rw-r--r-- | vp8/encoder/quantize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp8/encoder/quantize.c b/vp8/encoder/quantize.c index a1be6614b..a67299487 100644 --- a/vp8/encoder/quantize.c +++ b/vp8/encoder/quantize.c @@ -27,7 +27,7 @@ void vp8_fast_quantize_b_c(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 *quant_shift_ptr = b->quant_shift; short *qcoeff_ptr = d->qcoeff; short *dqcoeff_ptr = d->dqcoeff; @@ -74,7 +74,7 @@ void vp8_fast_quantize_b_c(BLOCK *b, BLOCKD *d) int x, y, z, sz; 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; |