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
This commit is contained in:
John Koleszar
2013-06-14 15:12:31 -07:00
parent 5616daf93e
commit 0f7a66e962
6 changed files with 4 additions and 27 deletions

View File

@@ -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);
}
}