ref: ac008f0030dfea82690007d9faaf7d82cd6556d8
parent: 82d7c6fb3ca4f15643320c38d1a41ad47ae71a6b
author: Dmitry Kovalev <[email protected]>
date: Thu Aug 8 07:52:02 EDT 2013
Removing unneeded intermediate entropy_nodes_adapt var. Change-Id: I541a178d997b4541e0e2d4d5b854e2ed6b113c3a
--- a/vp9/common/vp9_entropy.c
+++ b/vp9/common/vp9_entropy.c
@@ -622,7 +622,6 @@
int t, i, j, k, l;
unsigned int branch_ct[UNCONSTRAINED_NODES][2];
vp9_prob coef_probs[UNCONSTRAINED_NODES];
- int entropy_nodes_adapt = UNCONSTRAINED_NODES;
for (i = 0; i < BLOCK_TYPES; ++i)
for (j = 0; j < REF_TYPES; ++j)
@@ -635,7 +634,7 @@
0);
branch_ct[0][1] = eob_branch_count[i][j][k][l] - branch_ct[0][0];
coef_probs[0] = get_binary_prob(branch_ct[0][0], branch_ct[0][1]);
- for (t = 0; t < entropy_nodes_adapt; ++t)
+ for (t = 0; t < UNCONSTRAINED_NODES; ++t)
dst_coef_probs[i][j][k][l][t] = merge_probs(
pre_coef_probs[i][j][k][l][t], coef_probs[t],
branch_ct[t], count_sat, update_factor);