CQ and two pass rate control.
authorPaul Wilkins <paulwilkins@google.com>
Thu, 15 Sep 2011 13:36:24 +0000 (14:36 +0100)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 30 Sep 2011 09:55:52 +0000 (10:55 +0100)
commitb6e27d5f0b205f8e72ffe5f9ca516f0a49e0c9c1
tree459290f0720f4ec7c7c1d4e1d234ffc6ae1d2b94
parente47306eb7ac76f15931c917297b313a0985102e1
CQ and two pass rate control.

Changes to the selection of Q limits for two pass
and two pass CQ mode.

Allowance made for Mode and motion vector costs.
Some refactoring of common code.

For Derf and YT sets CQ mode average improvement
circa 1% (SSIM and Global PSNR).

Some increased tendency to undershoot even when
user CQ not reached.

Patch2: Removed some test code accidentally merged.

Change-Id: Icf74d13af77437c08602571dc7a97e747cce5066
vp8/encoder/firstpass.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h