Commit 0078d2f3 authored by James Zern's avatar James Zern
Browse files

vp9/encoder/bitstream.c: fix unused variable warnings

Change-Id: Ibfac7e000509d2017eac9a108060e534a19fec33
parent 55f2f14f
...@@ -186,7 +186,6 @@ static int get_binary_prob(int n0, int n1) { ...@@ -186,7 +186,6 @@ static int get_binary_prob(int n0, int n1) {
void vp9_update_skip_probs(VP9_COMP *cpi) { void vp9_update_skip_probs(VP9_COMP *cpi) {
VP9_COMMON *const pc = &cpi->common; VP9_COMMON *const pc = &cpi->common;
int prob_skip_false[3] = {0, 0, 0};
int k; int k;
for (k = 0; k < MBSKIP_CONTEXTS; ++k) { for (k = 0; k < MBSKIP_CONTEXTS; ++k) {
...@@ -1313,7 +1312,6 @@ static void write_mb_modes_kf(const VP9_COMMON *c, ...@@ -1313,7 +1312,6 @@ static void write_mb_modes_kf(const VP9_COMMON *c,
const MODE_INFO *m, const MODE_INFO *m,
int mode_info_stride, int mode_info_stride,
vp9_writer *const bc) { vp9_writer *const bc) {
const int mis = mode_info_stride;
int ym; int ym;
int segment_id; int segment_id;
...@@ -1329,6 +1327,7 @@ static void write_mb_modes_kf(const VP9_COMMON *c, ...@@ -1329,6 +1327,7 @@ static void write_mb_modes_kf(const VP9_COMMON *c,
(vp9_get_segdata(xd, segment_id, SEG_LVL_EOB) != 0))) { (vp9_get_segdata(xd, segment_id, SEG_LVL_EOB) != 0))) {
int skip_coeff = m->mbmi.mb_skip_coeff; int skip_coeff = m->mbmi.mb_skip_coeff;
#if CONFIG_SUPERBLOCKS #if CONFIG_SUPERBLOCKS
const int mis = mode_info_stride;
if (m->mbmi.encoded_as_sb) { if (m->mbmi.encoded_as_sb) {
skip_coeff &= m[1].mbmi.mb_skip_coeff; skip_coeff &= m[1].mbmi.mb_skip_coeff;
skip_coeff &= m[mis].mbmi.mb_skip_coeff; skip_coeff &= m[mis].mbmi.mb_skip_coeff;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment