diff options
author | Paul Wilkins <paulwilkins@google.com> | 2014-11-21 12:26:38 -0800 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2014-11-27 10:53:37 +0000 |
commit | 0d3d6e0e31c5ce04bac92e9769d896079e866b17 (patch) | |
tree | e86875e0a7d5dafe4df3bac4b9ce613f7557d1e4 /vp9/encoder/vp9_aq_variance.c | |
parent | e0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa (diff) | |
download | libvpx-0d3d6e0e31c5ce04bac92e9769d896079e866b17.tar libvpx-0d3d6e0e31c5ce04bac92e9769d896079e866b17.tar.gz libvpx-0d3d6e0e31c5ce04bac92e9769d896079e866b17.tar.bz2 libvpx-0d3d6e0e31c5ce04bac92e9769d896079e866b17.zip |
Increase strength of AQ1.
This patch greatly increase the strength of AQ1.
Visual tests show strong gains on many clips but their is a big
hit on psnr.
SSIM is more mixed with some winners and losers.
Change-Id: Idaa5d3b41d8576096bfa000b62bc531c3d8bf6a1
Diffstat (limited to 'vp9/encoder/vp9_aq_variance.c')
-rw-r--r-- | vp9/encoder/vp9_aq_variance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_aq_variance.c b/vp9/encoder/vp9_aq_variance.c index 144936d54..be6f7e4ee 100644 --- a/vp9/encoder/vp9_aq_variance.c +++ b/vp9/encoder/vp9_aq_variance.c @@ -19,15 +19,15 @@ #include "vp9/encoder/vp9_segmentation.h" #include "vp9/common/vp9_systemdependent.h" -#define ENERGY_MIN (-1) +#define ENERGY_MIN (-4) #define ENERGY_MAX (1) #define ENERGY_SPAN (ENERGY_MAX - ENERGY_MIN + 1) #define ENERGY_IN_BOUNDS(energy)\ assert((energy) >= ENERGY_MIN && (energy) <= ENERGY_MAX) static const double rate_ratio[MAX_SEGMENTS] = - {1.143, 1.0, 0.875, 1.0, 1.0, 1.0, 1.0, 1.0}; -static const int segment_id[ENERGY_SPAN] = {0, 1, 2}; + {2.5, 2.0, 1.5, 1.0, 0.75, 1.0, 1.0, 1.0}; +static const int segment_id[ENERGY_SPAN] = {0, 1, 1, 2, 3, 4}; #define SEGMENT_ID(i) segment_id[(i) - ENERGY_MIN] |