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
@@@ -1538,8 -1538,7 +1537,8 @@@ 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:
      if (cpi->oxcf.fixed_q >= 0)
@@@ -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