Simplify constant q mode qp selection
authorJingning Han <jingning@google.com>
Fri, 30 Nov 2018 18:23:33 +0000 (10:23 -0800)
committerJingning Han <jingning@google.com>
Fri, 30 Nov 2018 18:23:33 +0000 (10:23 -0800)
commit7ca417f66547dc5e9e3ad36c45e147f05e66522a
tree9ce5befdd38e88726274d0dcdc27dfb3d59bf5f3
parent806e1c9843b90a94607e1ef3673b0e094d5df551
Simplify constant q mode qp selection

Decouple the constant q mode qp selection from vbr/cbr/cq modes.
Skip vp9_frame_type_qdelta() adjustment for non-ARF inter frames,
instead keep using the cq-level. It improves the compresson
performance:

         avg PSNR       overall PSNR     SSIM
lowres   -0.17%         -0.20%           -0.1%
midres   -0.21%         -0.24%           -0.08%
hdres    -0.15%         -0.19%           -0.04%

Change-Id: I52fd5f8edbd3fdcbeda31ee3a6d6eb016091a7e3
vp9/encoder/vp9_ratectrl.c