]> granicus.if.org Git - libvpx/commitdiff
Merge branch 'origin/eider' into master
authorJohn Koleszar <jkoleszar@google.com>
Fri, 11 May 2012 17:51:05 +0000 (10:51 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 11 May 2012 17:51:05 +0000 (10:51 -0700)
Conflicts:
vp8/common/entropymode.c
vp8/common/entropymode.h
vp8/encoder/encodeframe.c
vp8/vp8_cx_iface.c

Change-Id: I708b0f30449b9502b382e47b745d56f5ed2ce265

14 files changed:
1  2 
configure
libs.mk
vp8/common/entropymode.c
vp8/common/entropymode.h
vp8/decoder/decodframe.c
vp8/decoder/threading.c
vp8/encoder/bitstream.c
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/temporal_filter.c
vp8/vp8_cx_iface.c
vp8/vp8cx.mk

diff --cc configure
index 3fbc67e4b7244dd1edda6f1a631347a3c01953f6,62e1ffbcf582bcc7497774042059902935a8a3a6..2b1328dbd27515f8ec849112e3861a5f391eff9f
+++ b/configure
@@@ -513,6 -528,10 +528,10 @@@ process_toolchain() 
          check_add_cflags -Wpointer-arith
          check_add_cflags -Wtype-limits
          check_add_cflags -Wcast-qual
 -        check_add_cflags -Wunused-but-set-variable        
+         check_add_cflags -Wimplicit-function-declaration
+         check_add_cflags -Wuninitialized
+         check_add_cflags -Wunused-variable
++        check_add_cflags -Wunused-but-set-variable
          enabled extra_warnings || check_add_cflags -Wno-unused-function
      fi
  
diff --cc libs.mk
Simple merge
index 0f7f00cd6bba6392c35a3027b413773c13076f24,de7e8283548f03acba49578cb6f27e80988ede17..091e4c732b0a90c88224e4f9cacd7ff94f738f38
@@@ -169,4 -171,7 +169,3 @@@ void vp8_default_bmode_probs(vp8_prob 
      vpx_memcpy(p, vp8_bmode_prob, sizeof(vp8_bmode_prob));
  }
  
 -void vp8_kf_default_bmode_probs(vp8_prob p [VP8_BINTRAMODES] [VP8_BINTRAMODES] [VP8_BINTRAMODES-1])
 -{
 -    vpx_memcpy(p, vp8_kf_bmode_prob, sizeof(vp8_kf_bmode_prob));
 -}
index aa5c600f693dd2c66a07c51894cea0f6fefd940e,70200cb5f86ca8c4fcc9b5878ea7921df50bda1f..3a2fa84cccfdde45f2fbe71a40e7a27f2e29b040
@@@ -67,15 -67,9 +67,14 @@@ extern const vp8_tree_index vp8_small_m
  
  extern const struct vp8_token_struct vp8_small_mvencodings[8];
  
 -void vp8_init_mbmode_probs(VP8_COMMON *x);
 +/* Key frame default mode probs */
 +extern const vp8_prob vp8_kf_bmode_prob[VP8_BINTRAMODES][VP8_BINTRAMODES]
 +[VP8_BINTRAMODES-1];
 +extern const vp8_prob vp8_kf_uv_mode_prob[VP8_UV_MODES-1];
 +extern const vp8_prob vp8_kf_ymode_prob[VP8_YMODES-1];
  
 -void   vp8_default_bmode_probs(vp8_prob dest [VP8_BINTRAMODES-1]);
 +void vp8_init_mbmode_probs(VP8_COMMON *x);
 +void vp8_default_bmode_probs(vp8_prob dest [VP8_BINTRAMODES-1]);
  void vp8_kf_default_bmode_probs(vp8_prob dest [VP8_BINTRAMODES] [VP8_BINTRAMODES] [VP8_BINTRAMODES-1]);
  
  #endif
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f55a4205fe2b54c8de311e3ce9fc68d25358fd65,5fb74c45e1face167f843ff406e5944eef42482e..920c7632c6511b43b3709ef2a6aa81e05d87d658
@@@ -755,6 -730,6 +730,9 @@@ static vpx_codec_err_t vp8e_encode(vpx_
  {
      vpx_codec_err_t res = VPX_CODEC_OK;
  
++    if (!ctx->cfg.rc_target_bitrate)
++        return res;
++
      if (!ctx->cfg.rc_target_bitrate)
          return res;
  
diff --cc vp8/vp8cx.mk
Simple merge