]> granicus.if.org Git - libvpx/commitdiff
Merge "Change rc undershoot/overshoot semantics"
authorJohn Koleszar <jkoleszar@google.com>
Mon, 25 Apr 2011 17:49:32 +0000 (10:49 -0700)
committerCode Review <code-review@webmproject.org>
Mon, 25 Apr 2011 17:49:32 +0000 (10:49 -0700)
1  2 
vp8/common/onyx.h
vp8/encoder/ratectrl.c
vp8/vp8_cx_iface.c
vpx/vpx_encoder.h

Simple merge
index 2c1051f1a30b0fc1b0548056d21a1788c53cb94b,767b27176ebef81bcda88bc26aaf4e4b4534acbe..8e8854ab7631647ced3843e92d2f11148535c1ca
@@@ -1538,7 -1538,6 +1537,7 @@@ void vp8_adjust_key_frame_context(VP8_C
      cpi->key_frame_count++;
  }
  
++void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit)
  void vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit)
  {
      // Set-up bounds on acceptable frame size:
index 17eb6a2ce0fff2a61dff1d91a5f9c87ce1cdb6aa,6b13033d037a5d9bcb40213d2010131a2e166b8c..db60bfe4fe1f94d797db26081e37c24d25d62bfb
@@@ -1084,11 -1090,11 +1086,11 @@@ static vpx_codec_enc_cfg_map_t vp8e_usa
          {0},                /* rc_twopass_stats_in */
  #endif
          256,                /* rc_target_bandwidth */
 -
 +        0,                  /* rc_max_intra_bitrate_pct */
          4,                  /* rc_min_quantizer */
          63,                 /* rc_max_quantizer */
-         95,                 /* rc_undershoot_pct */
-         200,                /* rc_overshoot_pct */
+         100,                /* rc_undershoot_pct */
+         100,                /* rc_overshoot_pct */
  
          6000,               /* rc_max_buffer_size */
          4000,               /* rc_buffer_initial_size; */
Simple merge