Home | History | Annotate | Download | only in LZMA

Lines Matching refs:symbol

78 				public void Encode(RangeCoder.Encoder rangeEncoder, byte symbol)

83 uint bit = (uint)((symbol >> i) & 1);
89 public void EncodeMatched(RangeCoder.Encoder rangeEncoder, byte matchByte, byte symbol)
95 uint bit = (uint)((symbol >> i) & 1);
108 public uint GetPrice(bool matchMode, byte matchByte, byte symbol)
118 uint bit = (uint)(symbol >> i) & 1;
130 uint bit = (uint)(symbol >> i) & 1;
196 public void Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState)
198 if (symbol < Base.kNumLowLenSymbols)
201 _lowCoder[posState].Encode(rangeEncoder, symbol);
205 symbol -= Base.kNumLowLenSymbols;
207 if (symbol < Base.kNumMidLenSymbols)
210 _midCoder[posState].Encode(rangeEncoder, symbol);
215 _highCoder.Encode(rangeEncoder, symbol - Base.kNumMidLenSymbols);
254 public UInt32 GetPrice(UInt32 symbol, UInt32 posState)
256 return _prices[posState * Base.kNumLenSymbols + symbol];
271 public new void Encode(RangeCoder.Encoder rangeEncoder, UInt32 symbol, UInt32 posState)
273 base.Encode(rangeEncoder, symbol, posState);