Lines Matching refs:UInt32
14 const UInt32 kTopValue = (1 << kNumTopBits);
18 UInt32 _cacheSize;
22 UInt32 Range;
24 bool Create(UInt32 bufSize) { return Stream.Create(bufSize); } in Create()
45 void Encode(UInt32 start, UInt32 size, UInt32 total) in Encode()
58 if ((UInt32)Low < (UInt32)0xFF000000 || (unsigned)(Low >> 32) != 0) in ShiftLow()
67 _cache = (Byte)((UInt32)Low >> 24); in ShiftLow()
70 Low = (UInt32)Low << 8; in ShiftLow()
73 void EncodeDirectBits(UInt32 value, int numBits) in EncodeDirectBits()
87 void EncodeBit(UInt32 size0, UInt32 numTotalBits, UInt32 symbol) in EncodeBit()
89 UInt32 newBound = (Range >> numTotalBits) * size0; in EncodeBit()
111 UInt32 Range;
112 UInt32 Code;
113 bool Create(UInt32 bufSize) { return Stream.Create(bufSize); } in Create()
134 UInt32 GetThreshold(UInt32 total) in GetThreshold()
139 void Decode(UInt32 start, UInt32 size) in Decode()
146 UInt32 DecodeDirectBits(int numTotalBits) in DecodeDirectBits()
148 UInt32 range = Range; in DecodeDirectBits()
149 UInt32 code = Code; in DecodeDirectBits()
150 UInt32 result = 0; in DecodeDirectBits()
162 UInt32 t = (code - range) >> 31; in DecodeDirectBits()
177 UInt32 DecodeBit(UInt32 size0, UInt32 numTotalBits) in DecodeBit()
179 UInt32 newBound = (Range >> numTotalBits) * size0; in DecodeBit()
180 UInt32 symbol; in DecodeBit()