Searched refs:matchByte (Results 1 – 8 of 8) sorted by relevance
/third_party/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaDecoder.cs | 78 public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, byte matchByte) in DecodeWithMatchByte() 83 uint matchBit = (uint)(matchByte >> 7) & 1; in DecodeWithMatchByte() 84 matchByte <<= 1; in DecodeWithMatchByte() 131 … byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte, byte matchByte) in DecodeWithMatchByte() argument 132 { return m_Coders[GetState(pos, prevByte)].DecodeWithMatchByte(rangeDecoder, matchByte); } in DecodeWithMatchByte()
|
D | LzmaEncoder.cs | 89 public void EncodeMatched(RangeCoder.Encoder rangeEncoder, byte matchByte, byte symbol) in EncodeMatched() 99 uint matchBit = (uint)((matchByte >> i) & 1); in EncodeMatched() 108 public uint GetPrice(bool matchMode, byte matchByte, byte symbol) in GetPrice() 117 uint matchBit = (uint)(matchByte >> i) & 1; in GetPrice() 596 Byte matchByte = _matchFinder.GetIndexByte((Int32)(0 - _repDistances[0] - 1 - 1)); in GetOptimum() 598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum() 609 …_literalEncoder.GetSubCoder(position, _previousByte).GetPrice(!_state.IsCharState(), matchByte, cu… in GetOptimum() 615 if (matchByte == currentByte) in GetOptimum() 803 matchByte = _matchFinder.GetIndexByte((Int32)(0 - reps[0] - 1 - 1)); in GetOptimum() 810 GetPrice(!state.IsCharState(), matchByte, currentByte); in GetOptimum() [all …]
|
/third_party/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 89 …public void EncodeMatched(SevenZip.Compression.RangeCoder.Encoder rangeEncoder, byte matchByte, by… in EncodeMatched() argument 99 int matchBit = ((matchByte >> i) & 1); in EncodeMatched() 108 public int GetPrice(boolean matchMode, byte matchByte, byte symbol) in GetPrice() argument 117 int matchBit = (matchByte >> i) & 1; in GetPrice() 596 byte matchByte = _matchFinder.GetIndexByte(0 - _repDistances[0] - 1 - 1); in GetOptimum() 598 if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum() 609 …SubCoder(position, _previousByte).GetPrice(!Base.StateIsCharState(_state), matchByte, currentByte); in GetOptimum() 615 if (matchByte == currentByte) in GetOptimum() 803 matchByte = _matchFinder.GetIndexByte(0 - reps[0] - 1 - 1); in GetOptimum() 810 GetPrice(!Base.StateIsCharState(state), matchByte, currentByte); in GetOptimum() [all …]
|
D | Decoder.java | 71 …ithMatchByte(SevenZip.Compression.RangeCoder.Decoder rangeDecoder, byte matchByte) throws IOExcept… in DecodeWithMatchByte() argument 76 int matchBit = (matchByte >> 7) & 1; in DecodeWithMatchByte() 77 matchByte <<= 1; in DecodeWithMatchByte()
|
/third_party/lzma/C/ |
D | LzmaEnc.c | 806 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 sym, UInt32 matchByte) in LitEnc_EncodeMatched() argument 816 matchByte <<= 1; in LitEnc_EncodeMatched() 818 prob = probs + (offs + (matchByte & offs) + (sym >> 8)); in LitEnc_EncodeMatched() 821 offs &= ~(matchByte ^ sym); in LitEnc_EncodeMatched() 883 static UInt32 LitEnc_Matched_GetPrice(const CLzmaProb *probs, UInt32 sym, UInt32 matchByte, const C… in LitEnc_Matched_GetPrice() argument 890 matchByte <<= 1; in LitEnc_Matched_GetPrice() 891 price += GET_PRICEa(probs[offs + (matchByte & offs) + (sym >> 8)], (sym >> 7) & 1); in LitEnc_Matched_GetPrice() 893 offs &= ~(matchByte ^ sym); in LitEnc_Matched_GetPrice() 1231 Byte curByte, matchByte; in GetOptimum() local 1296 matchByte = *(data - reps[0]); in GetOptimum() [all …]
|
D | LzmaDec.c | 61 matchByte += matchByte; \ 63 offs &= matchByte; \ 291 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL() local 749 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() local 757 matchByte += matchByte; in LzmaDec_TryDummy() 759 offs &= matchByte; in LzmaDec_TryDummy()
|
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 384 unsigned matchByte = OutWindow.GetByte(rep0 + 1); in DecodeLiteral() local 387 unsigned matchBit = (matchByte >> 7) & 1; in DecodeLiteral() 388 matchByte <<= 1; in DecodeLiteral()
|
/third_party/lzma/DOC/ |
D | lzma-specification.txt | 598 If (State > 7), the Literal Decoder also uses "matchByte" that represents 617 unsigned matchByte = OutWindow.GetByte(rep0 + 1); 620 unsigned matchBit = (matchByte >> 7) & 1; 621 matchByte <<= 1;
|