vp9: Allow usage of lookahead for real-time, 1 pass vbr.
authorMarco <marpan@google.com>
Wed, 17 Feb 2016 20:03:57 +0000 (12:03 -0800)
committerMarco <marpan@google.com>
Mon, 18 Jul 2016 22:20:17 +0000 (15:20 -0700)
commit05fe0f20a653c579f93545403815f12bbda5254f
treef90b6c378f14d45bd28a54d4558da37ec0756568
parent3e04114f3d6d1bc746a376f375dc18c5a941e5aa
vp9: Allow usage of lookahead for real-time, 1 pass vbr.

Allow usage of lookahead for VBR in real-time mode, for 1 pass vbr.

Current usage is for fast checking of future scene cuts/changes,
and adjusting rate control (gf interval and active_worst/target size).

Added unittests (datarate) for 1 pass vbr mode, with non-zero lag.

Added an experimental option to limit QP based on lookahead.

Overall positive gain in metrics on ytlive set:
avgPNSR/SSIM up on average ~1-3%; several clips up by 5, 7%.

Change-Id: I960d57dfc89de121c4824b9a9bf88d2814e74b56
test/datarate_test.cc
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h
vpxenc.c
warnings.c