]> granicus.if.org Git - libvpx/commit
Updates to qp-regulate and rate correction factor.
authorMarco Paniconi <marpan@google.com>
Mon, 26 Nov 2012 22:14:50 +0000 (14:14 -0800)
committerMarco Paniconi <marpan@google.com>
Tue, 27 Nov 2012 00:29:43 +0000 (16:29 -0800)
commit464b1df6d45b8ceba207459be69b9c52d026e36c
tree2b15ff4ade2721f9cda9c3683eee90a6e787e67b
parent6b1d95d6d8caf5e08910a590eb20a8320b994e9c
Updates to qp-regulate and rate correction factor.

Don't use the switch to gf_rate_correction factor when
temporal layers is used (i.e., cpi->oxcf.number_of_layers > 1).

In temporal layers, we prefer to avoid this as any frame
(e.g., base layer frame at anchor of pattern) may update
both last and golden (and possibly alt-ref), and so we would get
different rate correction factors within the same layer.

This change will make sure one rate correction factor exists for each layer.

Also, made some other code in qp-regulate that depends on
alt/golden update specific to the 1 layer case.

Change-Id: I41a6d085bd477f9307ef3b3c311695214273892c
vp8/encoder/ratectrl.c