make kNewRange a static array

Change-Id: I78096e2a28e6f732e13df6bde790a1266053838c
This commit is contained in:
Pascal Massimino 2011-09-02 04:54:29 +00:00 committed by James Zern
parent 227a91e522
commit 341cc56a8c

View File

@ -84,7 +84,7 @@ static const uint8_t kNorm[128] = { // renorm_sizes[i] = 8 - log2(i)
}; };
// range = ((range + 1) << kVP8Log2Range[range]) - 1 // range = ((range + 1) << kVP8Log2Range[range]) - 1
const uint8_t kNewRange[128] = { static const uint8_t kNewRange[128] = {
127, 127, 191, 127, 159, 191, 223, 127, 143, 159, 175, 191, 207, 223, 239, 127, 127, 191, 127, 159, 191, 223, 127, 143, 159, 175, 191, 207, 223, 239,
127, 135, 143, 151, 159, 167, 175, 183, 191, 199, 207, 215, 223, 231, 239, 127, 135, 143, 151, 159, 167, 175, 183, 191, 199, 207, 215, 223, 231, 239,
247, 127, 131, 135, 139, 143, 147, 151, 155, 159, 163, 167, 171, 175, 179, 247, 127, 131, 135, 139, 143, 147, 151, 155, 159, 163, 167, 171, 175, 179,