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/common | |
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/common')
-rw-r--r-- | vp9/common/vp9_coefupdateprobs.h | 21 | ||||
-rw-r--r-- | vp9/common/vp9_entropy.c | 1 | ||||
-rw-r--r-- | vp9/common/vp9_entropy.h | 2 |
3 files changed, 1 insertions, 23 deletions
diff --git a/vp9/common/vp9_coefupdateprobs.h b/vp9/common/vp9_coefupdateprobs.h deleted file mode 100644 index e86200802..000000000 --- a/vp9/common/vp9_coefupdateprobs.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef VP9_COMMON_VP9_COEFUPDATEPROBS_H_ -#define VP9_COMMON_VP9_COEFUPDATEPROBS_H_ - -/* Update probabilities for the nodes in the token entropy tree. - Generated file included by vp9_entropy.c */ - -static const vp9_prob vp9_coef_update_prob[UNCONSTRAINED_NODES] = { - 252, 252, 252, -}; - -#endif // VP9_COMMON_VP9_COEFUPDATEPROBS_H__ diff --git a/vp9/common/vp9_entropy.c b/vp9/common/vp9_entropy.c index 7b5273b0f..080867e7a 100644 --- a/vp9/common/vp9_entropy.c +++ b/vp9/common/vp9_entropy.c @@ -14,7 +14,6 @@ #include "vp9/common/vp9_entropymode.h" #include "vpx_mem/vpx_mem.h" #include "vpx/vpx_integer.h" -#include "vp9/common/vp9_coefupdateprobs.h" DECLARE_ALIGNED(16, const uint8_t, vp9_norm[256]) = { 0, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, diff --git a/vp9/common/vp9_entropy.h b/vp9/common/vp9_entropy.h index 27e3bec5a..7f2bf3d6e 100644 --- a/vp9/common/vp9_entropy.h +++ b/vp9/common/vp9_entropy.h @@ -220,6 +220,6 @@ static INLINE const int* get_scan_16x16(TX_TYPE tx_type) { } } -#include "vp9/common/vp9_coefupdateprobs.h" +enum { VP9_COEF_UPDATE_PROB = 252 }; #endif // VP9_COMMON_VP9_ENTROPY_H_ |