diff options
author | Ronald S. Bultje <rbultje@google.com> | 2013-06-27 17:41:54 -0700 |
---|---|---|
committer | Ronald S. Bultje <rbultje@google.com> | 2013-06-28 10:28:49 -0700 |
commit | af660715c01fc5403700c49686885b2f0ee6133b (patch) | |
tree | aec996829bc184f94bb21118aece84016c276be8 /vp9/encoder/vp9_block.h | |
parent | 1b5421f3c5a8cf76db2fc8b939be706ad63530e7 (diff) | |
download | libvpx-af660715c01fc5403700c49686885b2f0ee6133b.tar libvpx-af660715c01fc5403700c49686885b2f0ee6133b.tar.gz libvpx-af660715c01fc5403700c49686885b2f0ee6133b.tar.bz2 libvpx-af660715c01fc5403700c49686885b2f0ee6133b.zip |
Make coefficient skip condition an explicit RD choice.
This commit replaces zrun_zbin_boost, a method of biasing non-zero
coefficients following runs of zero-coefficients to be rounded towards
zero, with an explicit skip-block choice in the RD loop.
The logic is basically that if individual coefficients should be rounded
towards zero (from a RD point of view), the trellis/optimize loop should
take care of it. If whole blocks should be zero (from a RD point of
view), a single RD check is much more efficient than a complete
serialization of the quantization loop.
Quality change: derf +0.5% psnr, +1.6% ssim; yt +0.6% psnr, +1.1% ssim.
SIMD for quantize will follow in a separate patch. Results for other
test sets pending.
Change-Id: Ife5fa641163ac5150ac428011e87188f1937c1f4
Diffstat (limited to 'vp9/encoder/vp9_block.h')
-rw-r--r-- | vp9/encoder/vp9_block.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_block.h b/vp9/encoder/vp9_block.h index 59cc3d95c..74f61a101 100644 --- a/vp9/encoder/vp9_block.h +++ b/vp9/encoder/vp9_block.h @@ -68,7 +68,6 @@ struct macroblock_plane { int16_t *quant; uint8_t *quant_shift; int16_t *zbin; - int16_t *zrun_zbin_boost; int16_t *round; // Zbin Over Quant value |