diff options
author | Paul Wilkins <paulwilkins@google.com> | 2011-12-06 14:48:52 +0000 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2011-12-06 15:43:17 +0000 |
commit | b4ad9b5d5052b54d74c98c2ee71d5236c39a1537 (patch) | |
tree | df9038bb72b3949af28586cd5924b504baff14f9 /vp8/encoder/rdopt.c | |
parent | 82d99257f2f2a009bd3f9cde4375e141fbf85827 (diff) | |
download | libvpx-b4ad9b5d5052b54d74c98c2ee71d5236c39a1537.tar libvpx-b4ad9b5d5052b54d74c98c2ee71d5236c39a1537.tar.gz libvpx-b4ad9b5d5052b54d74c98c2ee71d5236c39a1537.tar.bz2 libvpx-b4ad9b5d5052b54d74c98c2ee71d5236c39a1537.zip |
Some further QIndex issues with extended Q
Resolved or factored out some further issues with Q index.
Put in a 3rd order polynomial instead of less accurate power function
as the best fit on gf and kf boost adjustment.
Added avg_q value to use instead of ni_av_qi.
Compute segment delta Q values based on avg_q.
Fixed bug in adjust_maxq_qrange().
The extended range Q on the derf set, using standard data rates
(which do not extend high enough to get big benefits) still show
a shortfall of between 0.5 and 1% though so there would appear to
be further issues that need to be tracked down.
Change-Id: Icfd49b9f401906ba487ef1bef7d397048295d959
Diffstat (limited to 'vp8/encoder/rdopt.c')
-rw-r--r-- | vp8/encoder/rdopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c index 00a395845..8be284965 100644 --- a/vp8/encoder/rdopt.c +++ b/vp8/encoder/rdopt.c @@ -253,7 +253,7 @@ void vp8_initialize_rd_consts(VP8_COMP *cpi, int QIndex) #if CONFIG_EXTEND_QRANGE q = (int)pow(vp8_dc_quant(QIndex,0)>>2, 1.25); q = q << 2; - cpi->RDMULT *= 16; + cpi->RDMULT = cpi->RDMULT << 4; #else q = (int)pow(vp8_dc_quant(QIndex,0), 1.25); #endif |