Lines Matching refs:range
20 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
22 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code…
23 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits…
24 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
50 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<=…
52 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * t…
53 #define UPDATE_0_CHECK range = bound;
54 #define UPDATE_1_CHECK range -= bound; code -= bound;
153 UInt32 range = p->range; in LzmaDec_DecodeReal() local
343 range >>= 1; in LzmaDec_DecodeReal()
347 code -= range; in LzmaDec_DecodeReal()
350 code += range & t; in LzmaDec_DecodeReal()
440 p->range = range; in LzmaDec_DecodeReal()
515 UInt32 range = p->range; in LzmaDec_TryDummy() local
679 range >>= 1; in LzmaDec_TryDummy()
680 code -= range & (((code - range) >> 31) - 1); in LzmaDec_TryDummy()
707 p->range = 0xFFFFFFFF; in LzmaDec_InitRc()