summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_tokenize.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2013-04-19 11:14:33 -0700
committerDmitry Kovalev <dkovalev@google.com>2013-04-19 11:14:33 -0700
commit684ddc61eaa499f04722f39a8a9a7e6091eedc1a (patch)
tree90e8e66db5d972470a1294f35127dbb3e26a7d26 /vp9/encoder/vp9_tokenize.c
parent0053b46d51d2683a70c484828b3864a5d5a46f1d (diff)
downloadlibvpx-684ddc61eaa499f04722f39a8a9a7e6091eedc1a.tar
libvpx-684ddc61eaa499f04722f39a8a9a7e6091eedc1a.tar.gz
libvpx-684ddc61eaa499f04722f39a8a9a7e6091eedc1a.tar.bz2
libvpx-684ddc61eaa499f04722f39a8a9a7e6091eedc1a.zip
Renaming vp9_extra_bit_struct to vp9_extra_bit.
Change-Id: Ie4713da125e954c1d30e1d4cbeb38666fce90ccc
Diffstat (limited to 'vp9/encoder/vp9_tokenize.c')
-rw-r--r--vp9/encoder/vp9_tokenize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vp9/encoder/vp9_tokenize.c b/vp9/encoder/vp9_tokenize.c
index 6b201488f..398b4bbe6 100644
--- a/vp9/encoder/vp9_tokenize.c
+++ b/vp9/encoder/vp9_tokenize.c
@@ -59,7 +59,7 @@ const int *vp9_dct_value_cost_ptr;
static void fill_value_tokens() {
TOKENVALUE *const t = dct_value_tokens + DCT_MAX_VALUE;
- vp9_extra_bit_struct *const e = vp9_extra_bits;
+ vp9_extra_bit *const e = vp9_extra_bits;
int i = -DCT_MAX_VALUE;
int sign = 1;
@@ -88,14 +88,14 @@ static void fill_value_tokens() {
// initialize the cost for extra bits for all possible coefficient value.
{
int cost = 0;
- vp9_extra_bit_struct *p = vp9_extra_bits + t[i].token;
+ vp9_extra_bit *p = vp9_extra_bits + t[i].token;
if (p->base_val) {
const int extra = t[i].extra;
- const int Length = p->Len;
+ const int length = p->len;
- if (Length)
- cost += treed_cost(p->tree, p->prob, extra >> 1, Length);
+ if (length)
+ cost += treed_cost(p->tree, p->prob, extra >> 1, length);
cost += vp9_cost_bit(vp9_prob_half, extra & 1); /* sign */
dct_value_cost[i + DCT_MAX_VALUE] = cost;