Searched defs:rangeDecoder (Results 1 - 5 of 5) sorted by relevance
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
H A D | BitTreeDecoder.java | 19 public int Decode(Decoder rangeDecoder) throws java.io.IOException
argument 23 m = (m << 1) + rangeDecoder.DecodeBit(Models, m);
27 public int ReverseDecode(Decoder rangeDecoder) throws java.io.IOException
argument 33 int bit = rangeDecoder.DecodeBit(Models, m);
42 Decoder rangeDecoder, int NumBitLevels) throws java.io.IOException
48 int bit = rangeDecoder.DecodeBit(Models, startIndex + m);
41 ReverseDecode(short[] Models, int startIndex, Decoder rangeDecoder, int NumBitLevels) argument
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
H A D | RangeCoderBitTree.cs | 120 public uint Decode(RangeCoder.Decoder rangeDecoder)
argument 124 m = (m << 1) + Models[m].Decode(rangeDecoder);
128 public uint ReverseDecode(RangeCoder.Decoder rangeDecoder)
argument 134 uint bit = Models[m].Decode(rangeDecoder);
143 RangeCoder.Decoder rangeDecoder, int NumBitLevels)
149 uint bit = Models[startIndex + m].Decode(rangeDecoder);
142 ReverseDecode(BitDecoder[] Models, UInt32 startIndex, RangeCoder.Decoder rangeDecoder, int NumBitLevels) argument
|
H A D | RangeCoderBit.cs | 89 public uint Decode(RangeCoder.Decoder rangeDecoder)
argument 91 uint newBound = (uint)(rangeDecoder.Range >> kNumBitModelTotalBits) * (uint)Prob;
92 if (rangeDecoder.Code < newBound)
94 rangeDecoder.Range = newBound;
96 if (rangeDecoder.Range < Decoder.kTopValue)
98 rangeDecoder.Code = (rangeDecoder.Code << 8) | (byte)rangeDecoder.Stream.ReadByte();
99 rangeDecoder.Range <<= 8;
105 rangeDecoder [all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
H A D | Decoder.java | 38 public int Decode(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, int posState) throws IOException
argument 40 if (rangeDecoder.DecodeBit(m_Choice, 0) == 0)
41 return m_LowCoder[posState].Decode(rangeDecoder);
43 if (rangeDecoder.DecodeBit(m_Choice, 1) == 0)
44 symbol += m_MidCoder[posState].Decode(rangeDecoder);
46 symbol += Base.kNumMidLenSymbols + m_HighCoder.Decode(rangeDecoder);
62 public byte DecodeNormal(SevenZip.Compression.RangeCoder.Decoder rangeDecoder) throws IOException
argument 66 symbol = (symbol << 1) | rangeDecoder.DecodeBit(m_Decoders, symbol);
71 public byte DecodeWithMatchByte(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, byte matchByte) throws IOException
argument 78 int bit = rangeDecoder [all...] |
/external/lzma/CS/7zip/Compress/LZMA/ |
H A D | LzmaDecoder.cs | 42 public uint Decode(RangeCoder.Decoder rangeDecoder, uint posState)
argument 44 if (m_Choice.Decode(rangeDecoder) == 0)
45 return m_LowCoder[posState].Decode(rangeDecoder);
49 if (m_Choice2.Decode(rangeDecoder) == 0)
50 symbol += m_MidCoder[posState].Decode(rangeDecoder);
54 symbol += m_HighCoder.Decode(rangeDecoder);
69 public byte DecodeNormal(RangeCoder.Decoder rangeDecoder)
argument 73 symbol = (symbol << 1) | m_Decoders[symbol].Decode(rangeDecoder);
78 public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, byte matchByte)
argument 85 uint bit = m_Decoders[((1 + matchBit) << 8) + symbol].Decode(rangeDecoder);
128 DecodeNormal(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte) argument 131 DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte, byte matchByte) argument [all...] |
Completed in 456 milliseconds