Fix to avoid abrupt relaxation of max qindex in recode path
authorRanjit Kumar Tulabandu <ranjit.tulabandu@ittiam.com>
Wed, 4 Jan 2017 12:12:01 +0000 (17:42 +0530)
committerRanjit Kumar Tulabandu <ranjit.tulabandu@ittiam.com>
Mon, 16 Jan 2017 12:33:27 +0000 (18:03 +0530)
commit5f21aba4b011602f87a5a10b619ec52fb8303075
treeb3c3ef95bf0ab4b5a9aac189a05874dfa8f32c3f
parent042572177b5c58404836fce3fc221fd077dcd896
Fix to avoid abrupt relaxation of max qindex in recode path

The fix relaxes the max qindex based on the data from previous loop of
coding if output frame size is greater than maximum frame size allowed

Change-Id: Iac1f63ec67559d68766e090a7cbb80b812b2560f
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h