Change the qp threshold of VP9 dynamic resizing.
authorjackychen <jackychen@google.com>
Wed, 9 Sep 2015 22:30:01 +0000 (15:30 -0700)
committerjackychen <jackychen@google.com>
Wed, 9 Sep 2015 22:47:07 +0000 (15:47 -0700)
Change-Id: I1efe086191665ff8fa063f03d8e2032024dc090f

vp9/encoder/vp9_ratectrl.c

index e742a9f..f57c525 100644 (file)
@@ -1850,7 +1850,7 @@ int vp9_resize_one_pass_cbr(VP9_COMP *cpi) {
         resize_now = 1;
         cpi->resize_state = 1;
       } else if (cpi->resize_state == 1 &&
-                 avg_qp < 40 * cpi->rc.worst_quality / 100) {
+                 avg_qp < 50 * cpi->rc.worst_quality / 100) {
         resize_now = -1;
         cpi->resize_state = 0;
       }