Rate control changes on active_worst_quality
authorDeb Mukherjee <debargha@google.com>
Fri, 13 Dec 2013 17:32:05 +0000 (09:32 -0800)
committerDeb Mukherjee <debargha@google.com>
Tue, 17 Dec 2013 01:08:16 +0000 (17:08 -0800)
commit1e59cbf23bbc630baaaff23b9cb75fe80be0d4ea
treeb616c48435d2dd745a1f55922c7450282f9b7fd9
parent3755be94ed143a957941046c6724e18bdeeda063
Rate control changes on active_worst_quality

Various cleanups and refactoring.
Removes feedback of active worst qaulity and uses last_q
instead to make the interface cleaner. Active worst quality
is now decided only once for a frame being coded in the
beginning based on last_q and other stats. Also, adds other
cleaups on last_q to store also the last_q for altref frames,
and reduces the altref interval a little.

The output does change a little.
derfraw300: +0.224% (global psnr)
stdhdraw250: +0.442% (global psnr)

Change-Id: Ie634cdc032697044c472dd0fe79c109b3e7f9767
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_mbgraph.c
vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_int.h
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h
vp9/encoder/vp9_rdopt.c