Lines Matching refs:symbol
78 public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte symbol) throws IOException
83 int bit = ((symbol >> i) & 1);
89 public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, byte symbol) throws IOException
95 int bit = ((symbol >> i) & 1);
108 public int GetPrice(boolean matchMode, byte matchByte, byte symbol)
118 int bit = (symbol >> i) & 1;
130 int bit = (symbol >> i) & 1;
196 public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState) throws IOException
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 int GetPrice(int symbol, int posState)
256 return _prices[posState * Base.kNumLenSymbols + symbol];
271 public void Encode(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, int symbol, int posState) throws IOException
273 super.Encode(rangeEncoder, symbol, posState);