Lines Matching refs:range
24 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
26 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code…
27 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits…
28 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
54 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<=…
56 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * t…
57 #define UPDATE_0_CHECK range = bound;
58 #define UPDATE_1_CHECK range -= bound; code -= bound;
167 UInt32 range = p->range; in LzmaDec_DecodeReal() local
344 range >>= 1; in LzmaDec_DecodeReal()
348 code -= range; in LzmaDec_DecodeReal()
351 code += range & t; in LzmaDec_DecodeReal()
433 p->range = range; in LzmaDec_DecodeReal()
508 UInt32 range = p->range; in LzmaDec_TryDummy() local
672 range >>= 1; in LzmaDec_TryDummy()
673 code -= range & (((code - range) >> 31) - 1); in LzmaDec_TryDummy()
700 p->range = 0xFFFFFFFF; in LzmaDec_InitRc()