| 318 | } |
| 319 | |
| 320 | I32 IntegerCompressor::decompress(I32 pred, U32 context) |
| 321 | { |
| 322 | assert(dec); |
| 323 | I32 real = pred + readCorrector(mBits[context]); |
| 324 | if (real < 0) real += corr_range; |
| 325 | else if ((U32)(real) >= corr_range) real -= corr_range; |
| 326 | return real; |
| 327 | } |
| 328 | |
| 329 | /* |
| 330 | static const char log_table256[256] = |
no outgoing calls
no test coverage detected