diff options
author | John Koleszar <jkoleszar@google.com> | 2013-06-14 15:12:31 -0700 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2013-06-14 15:12:31 -0700 |
commit | 0f7a66e962027609bda58ffdae966713a88a216d (patch) | |
tree | 8079cb4f14594be99134361c15c48a98e3b49f7e /vp9/encoder | |
parent | 5616daf93e09246c92eb29670e16e837832c4096 (diff) | |
download | libvpx-0f7a66e962027609bda58ffdae966713a88a216d.tar libvpx-0f7a66e962027609bda58ffdae966713a88a216d.tar.gz libvpx-0f7a66e962027609bda58ffdae966713a88a216d.tar.bz2 libvpx-0f7a66e962027609bda58ffdae966713a88a216d.zip |
Remove constant vp9_coef_update_prob table
All elements of this table are equal to 252, so replace it with a
single constant VP9_COEF_UPDATE_PROB.
Change-Id: I1e2d1d284326ce6df9899a740c2fc344b3ec81c9
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_bitstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index fafe4a46b..e18394b1e 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -1089,7 +1089,7 @@ static void update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, for (t = tstart; t < entropy_nodes_update; ++t) { vp9_prob newp = new_frame_coef_probs[i][j][k][l][t]; const vp9_prob oldp = old_frame_coef_probs[i][j][k][l][t]; - const vp9_prob upd = vp9_coef_update_prob[t]; + const vp9_prob upd = VP9_COEF_UPDATE_PROB; int s; int u = 0; @@ -1131,7 +1131,7 @@ static void update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, for (t = tstart; t < entropy_nodes_update; ++t) { vp9_prob newp = new_frame_coef_probs[i][j][k][l][t]; vp9_prob *oldp = old_frame_coef_probs[i][j][k][l] + t; - const vp9_prob upd = vp9_coef_update_prob[t]; + const vp9_prob upd = VP9_COEF_UPDATE_PROB; int s; int u = 0; if (l >= 3 && k == 0) |