ref: 38f6a3cdc77d3c0899edd1d281297481758df4d2
parent: 56acf7e528a8196a696f5ce48bc90c1423c5d05a
parent: c6960b60867f0ce25404c0bf4b96018e7d41bb08
author: Jim Bankoski <[email protected]>
date: Fri Oct 4 12:41:23 EDT 2013
Merge "cpplint issues vp9_tokenize.c resolved"
--- a/vp9/encoder/vp9_tokenize.c
+++ b/vp9/encoder/vp9_tokenize.c
@@ -38,7 +38,6 @@
const int *vp9_dct_value_cost_ptr;
static void fill_value_tokens() {
-
TOKENVALUE *const t = dct_value_tokens + DCT_MAX_VALUE;
const vp9_extra_bit *const e = vp9_extra_bits;
@@ -60,9 +59,9 @@
t[i].token = --j;
eb |= (a - e[j].base_val) << 1;
- } else
+ } else {
t[i].token = a;
-
+ }
t[i].extra = eb;
}
@@ -81,9 +80,7 @@
cost += vp9_cost_bit(vp9_prob_half, extra & 1); /* sign */
dct_value_cost[i + DCT_MAX_VALUE] = cost;
}
-
}
-
} while (++i < DCT_MAX_VALUE);
vp9_dct_value_tokens_ptr = dct_value_tokens + DCT_MAX_VALUE;