ref: 19a1ba1e91fe3b35f69c54e077ad513397dae3d1
parent: 3fa1348d5fa06585e40bf402f3c9cd7be7839c3a
author: Paul Wilkins <paulwilkins@google.com>
date: Mon Nov 12 12:21:10 EST 2012
Silenced a few warnings. Silenced a few VS compiler warnings. Change-Id: I658ea409c36c05cd11042675e2e42ccde0ef2420
--- a/vp9/common/reconintra.c
+++ b/vp9/common/reconintra.c
@@ -199,7 +199,7 @@
static void corner_predictor(unsigned char *ypred_ptr, int y_stride, int n,
unsigned char *yabove_row,
unsigned char *yleft_col) {
- int h[32], v[32], mh, mv, maxgradh, maxgradv, x, y, nx, ny;
+ int mh, mv, maxgradh, maxgradv, x, y, nx, ny;
int i, j;
int top_left = yabove_row[-1];
mh = mv = 0;
--- a/vp9/decoder/decodemv.c
+++ b/vp9/decoder/decodemv.c
@@ -19,6 +19,7 @@
#include "vp9/common/pred_common.h"
#include "vp9/common/entropy.h"
#include "vp9/decoder/decodemv.h"
+#include "vp9/common/mvref_common.h"
#if CONFIG_DEBUG
#include <assert.h>
#endif
@@ -721,7 +722,6 @@
// If reference frame is an Inter frame
if (mbmi->ref_frame) {
- int rct[4];
int_mv nearest, nearby, best_mv;
int_mv nearest_second, nearby_second, best_mv_second;
vp9_prob mv_ref_p [VP9_MVREFS - 1];
--- a/vp9/decoder/detokenize.c
+++ b/vp9/decoder/detokenize.c
@@ -615,7 +615,8 @@
return c;
}
-int vp9_decode_mb_tokens(VP9D_COMP *dx, MACROBLOCKD *xd,
+int vp9_decode_mb_tokens(VP9D_COMP* const dx,
+ MACROBLOCKD* const xd,
BOOL_DECODER* const bc) {
int i, type, eobtotal = 0;
--- a/vp9/encoder/bitstream.c
+++ b/vp9/encoder/bitstream.c
@@ -912,13 +912,10 @@
}
} else {
int_mv best_mv, best_second_mv;
- int ct[4];
vp9_prob mv_ref_p [VP9_MVREFS - 1];
{
- int_mv n1, n2;
-
best_mv.as_int = mi->ref_mvs[rf][0].as_int;
vp9_mv_ref_probs(&cpi->common, mv_ref_p, mi->mb_mode_context[rf]);
@@ -972,7 +969,6 @@
if (mi->second_ref_frame &&
(mode == NEWMV || mode == SPLITMV)) {
- int_mv n1, n2;
best_second_mv.as_int =
mi->ref_mvs[mi->second_ref_frame][0].as_int;
--- a/vp9/encoder/encodeframe.c
+++ b/vp9/encoder/encodeframe.c
@@ -1552,9 +1552,10 @@
static void reset_skip_txfm_size(VP9_COMP *cpi, TX_SIZE txfm_max) {
VP9_COMMON *cm = &cpi->common;
- int mb_row, mb_col, mis = cm->mode_info_stride, segment_id, skip;
+ int mb_row, mb_col, mis = cm->mode_info_stride, segment_id;
MODE_INFO *mi, *mi_ptr = cm->mi;
#if CONFIG_SUPERBLOCKS
+ int skip;
MODE_INFO *sb_mi_ptr = cm->mi, *sb_mi;
MB_MODE_INFO *sb_mbmi;
#endif
--
⑨