/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaDecoder.cs | 78 public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, byte matchByte)
83 uint matchBit = (uint)(matchByte >> 7) & 1;
84 matchByte <<= 1;
131 public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte, byte matchByte)
132 { return m_Coders[GetState(pos, prevByte)].DecodeWithMatchByte(rangeDecoder, matchByte); }
|
LzmaEncoder.cs | 89 public void EncodeMatched(RangeCoder.Encoder rangeEncoder, byte matchByte, byte symbol)
99 uint matchBit = (uint)((matchByte >> i) & 1);
108 public uint GetPrice(bool matchMode, byte matchByte, byte symbol)
117 uint matchBit = (uint)(matchByte >> i) & 1;
596 Byte matchByte = _matchFinder.GetIndexByte((Int32)(0 - _repDistances[0] - 1 - 1));
598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2)
609 _literalEncoder.GetSubCoder(position, _previousByte).GetPrice(!_state.IsCharState(), matchByte, currentByte);
615 if (matchByte == currentByte)
803 matchByte = _matchFinder.GetIndexByte((Int32)(0 - reps[0] - 1 - 1));
810 GetPrice(!state.IsCharState(), matchByte, currentByte); [all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
Decoder.java | 71 public byte DecodeWithMatchByte(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, byte matchByte) throws IOException
76 int matchBit = (matchByte >> 7) & 1;
77 matchByte <<= 1;
|
Encoder.java | 89 public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, byte symbol) throws IOException
99 int matchBit = ((matchByte >> i) & 1);
108 public int GetPrice(boolean matchMode, byte matchByte, byte symbol)
117 int matchBit = (matchByte >> i) & 1;
596 byte matchByte = _matchFinder.GetIndexByte(0 - _repDistances[0] - 1 - 1);
598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2)
609 _literalEncoder.GetSubCoder(position, _previousByte).GetPrice(!Base.StateIsCharState(_state), matchByte, currentByte);
615 if (matchByte == currentByte)
803 matchByte = _matchFinder.GetIndexByte(0 - reps[0] - 1 - 1);
810 GetPrice(!Base.StateIsCharState(state), matchByte, currentByte); [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaEnc.c | 586 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) 592 matchByte <<= 1; 593 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); 595 offs &= ~(matchByte ^ symbol); 649 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices) 656 matchByte <<= 1; 657 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); 659 offs &= ~(matchByte ^ symbol); 936 Byte curByte, matchByte; 999 matchByte = *(data - (reps[0] + 1)) [all...] |
LzmaDec.c | 178 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; 186 matchByte <<= 1; 187 bit = (matchByte & offs); 522 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + 530 matchByte <<= 1; 531 bit = (matchByte & offs);
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaEnc.c | 587 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) 593 matchByte <<= 1; 594 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); 596 offs &= ~(matchByte ^ symbol); 650 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices) 657 matchByte <<= 1; 658 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); 660 offs &= ~(matchByte ^ symbol); 937 Byte curByte, matchByte; 1000 matchByte = *(data - (reps[0] + 1)) [all...] |
LzmaDec.c | 179 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; 187 matchByte <<= 1; 188 bit = (matchByte & offs); 523 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + 531 matchByte <<= 1; 532 bit = (matchByte & offs);
|
/external/lzma/C/ |
LzmaEnc.c | 586 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
592 matchByte <<= 1;
593 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
595 offs &= ~(matchByte ^ symbol);
649 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices)
656 matchByte <<= 1;
657 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
659 offs &= ~(matchByte ^ symbol);
936 Byte curByte, matchByte;
999 matchByte = *(data - (reps[0] + 1)); [all...] |
LzmaDec.c | 178 unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)];
186 matchByte <<= 1;
187 bit = (matchByte & offs);
522 unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
530 matchByte <<= 1;
531 bit = (matchByte & offs);
|