Further clean up of estimate_max_q.
authorPaul Wilkins <paulwilkins@google.com>
Mon, 9 Dec 2013 13:20:31 +0000 (13:20 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Mon, 9 Dec 2013 17:49:46 +0000 (17:49 +0000)
commit267daddecca2418b47f60142cee214185d31dce5
tree8c93178d5f2a6489b08badd3ba991f095fb6bb04
parenta19d694f0943753339eb39f11954d6c840300905
Further clean up of estimate_max_q.

Clean up and simplification of both estimate_max_q
variants and only call once per clip/section.

This leads to a more constrained range of Q values
across a clip / section.

Average gains across all 4 test sets:-

PSNR ~0.5%  SSIM ~0.3%

Change-Id: If77d5f7bb50939a464e117724f4da5b001c62d70
vp9/encoder/vp9_firstpass.c