diff options
author | Paul Wilkins <paulwilkins@google.com> | 2013-05-16 13:40:32 +0100 |
---|---|---|
committer | Paul Wilkins <paulwilkins@google.com> | 2013-05-17 12:34:10 +0100 |
commit | 51bc4bf4a05cf2de8b4e6c035e53b8710d0b17d6 (patch) | |
tree | cdedde504e75fbac4511ffc36d94f4c1c79a9067 /vp9/encoder/vp9_ratectrl.c | |
parent | f0ab155e0d895f00d082e07e828647c1e91a600d (diff) | |
download | libvpx-51bc4bf4a05cf2de8b4e6c035e53b8710d0b17d6.tar libvpx-51bc4bf4a05cf2de8b4e6c035e53b8710d0b17d6.tar.gz libvpx-51bc4bf4a05cf2de8b4e6c035e53b8710d0b17d6.tar.bz2 libvpx-51bc4bf4a05cf2de8b4e6c035e53b8710d0b17d6.zip |
Remove MODE_STATS flag and code
Change-Id: I6c70a8a8a4633399842ac74792003ae5f7859ffa
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.c')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index 10a3b2eab..263387185 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -30,16 +30,6 @@ #define MIN_BPB_FACTOR 0.005 #define MAX_BPB_FACTOR 50 -#ifdef MODE_STATS -extern unsigned int y_modes[VP9_YMODES]; -extern unsigned int uv_modes[VP9_UV_MODES]; -extern unsigned int b_modes[B_MODE_COUNT]; - -extern unsigned int inter_y_modes[MB_MODE_COUNT]; -extern unsigned int inter_uv_modes[VP9_UV_MODES]; -extern unsigned int inter_b_modes[B_MODE_COUNT]; -#endif - // Bits Per MB at different Q (Multiplied by 512) #define BPER_MB_NORMBITS 9 @@ -141,16 +131,6 @@ void vp9_save_coding_context(VP9_COMP *cpi) { vp9_copy(cc->sub_mv_ref_prob, cm->fc.sub_mv_ref_prob); vp9_copy(cc->partition_prob, cm->fc.partition_prob); - // Stats -#ifdef MODE_STATS - vp9_copy(cc->y_modes, y_modes); - vp9_copy(cc->uv_modes, uv_modes); - vp9_copy(cc->b_modes, b_modes); - vp9_copy(cc->inter_y_modes, inter_y_modes); - vp9_copy(cc->inter_uv_modes, inter_uv_modes); - vp9_copy(cc->inter_b_modes, inter_b_modes); -#endif - vp9_copy(cc->segment_pred_probs, cm->segment_pred_probs); vp9_copy(cc->ref_pred_probs_update, cpi->ref_pred_probs_update); vp9_copy(cc->ref_pred_probs, cm->ref_pred_probs); @@ -191,16 +171,6 @@ void vp9_restore_coding_context(VP9_COMP *cpi) { vp9_copy(cm->fc.sub_mv_ref_prob, cc->sub_mv_ref_prob); vp9_copy(cm->fc.partition_prob, cc->partition_prob); - // Stats -#ifdef MODE_STATS - vp9_copy(y_modes, cc->y_modes); - vp9_copy(uv_modes, cc->uv_modes); - vp9_copy(b_modes, cc->b_modes); - vp9_copy(inter_y_modes, cc->inter_y_modes); - vp9_copy(inter_uv_modes, cc->inter_uv_modes); - vp9_copy(inter_b_modes, cc->inter_b_modes); -#endif - vp9_copy(cm->segment_pred_probs, cc->segment_pred_probs); vp9_copy(cpi->ref_pred_probs_update, cc->ref_pred_probs_update); vp9_copy(cm->ref_pred_probs, cc->ref_pred_probs); |