summaryrefslogtreecommitdiff
path: root/vp9/decoder
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2013-06-14 15:12:31 -0700
committerJohn Koleszar <jkoleszar@google.com>2013-06-14 15:12:31 -0700
commit0f7a66e962027609bda58ffdae966713a88a216d (patch)
tree8079cb4f14594be99134361c15c48a98e3b49f7e /vp9/decoder
parent5616daf93e09246c92eb29670e16e837832c4096 (diff)
downloadlibvpx-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/decoder')
-rw-r--r--vp9/decoder/vp9_decodframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c
index 1342b31f8..5fda068ac 100644
--- a/vp9/decoder/vp9_decodframe.c
+++ b/vp9/decoder/vp9_decodframe.c
@@ -575,7 +575,7 @@ static void read_coef_probs_common(FRAME_CONTEXT *fc, TX_SIZE tx_size,
for (m = mstart; m < entropy_nodes_update; m++) {
vp9_prob *const p = coef_probs[i][j][k][l] + m;
- if (vp9_read(r, vp9_coef_update_prob[m])) {
+ if (vp9_read(r, VP9_COEF_UPDATE_PROB)) {
*p = vp9_read_prob_diff_update(r, *p);
}
}