HomeSort by relevance Sort by last modified time
    Searched refs:matchByte (Results 1 - 14 of 14) sorted by null

  /external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
LZMADecoder.java 165 int matchByte = lz.getByte(reps[0]);
171 matchByte <<= 1;
172 matchBit = matchByte & offset;
LZMAEncoderNormal.java 163 int matchByte = lz.getByte(reps[0] + 1);
168 if (mainLen < MATCH_LEN_MIN && curByte != matchByte
179 int literalPrice = literalEncoder.getPrice(curByte, matchByte,
189 if (matchByte == curByte) {
377 int matchByte = lz.getByte(opts[optCur].reps[0] + 1);
381 + literalEncoder.getPrice(curByte, matchByte, lz.getByte(1),
389 if (matchByte == curByte && (opts[optCur + 1].optPrev == optCur
402 if (!nextIsByte && matchByte != curByte && avail > MATCH_LEN_MIN) {
466 int matchByte = lz.getByte(0); // lz.getByte(len, len)
468 price += literalEncoder.getPrice(curByte, matchByte, prevByte
    [all...]
LZMAEncoder.java 527 int getPrice(int curByte, int matchByte,
535 : subencoders[i].getMatchedPrice(curByte, matchByte);
556 int matchByte = lz.getByte(reps[0] + 1 + readAhead);
563 matchByte <<= 1;
564 matchBit = matchByte & offset;
569 offset &= ~(matchByte ^ symbol);
594 int getMatchedPrice(int symbol, int matchByte) {
604 matchByte <<= 1;
605 matchBit = matchByte & offset;
611 offset &= ~(matchByte ^ symbol)
    [all...]
  /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...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
LzmaEnc.c 636 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
642 matchByte <<= 1;
643 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
645 offs &= ~(matchByte ^ symbol);
699 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, const UInt32 *ProbPrices)
706 matchByte <<= 1;
707 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
709 offs &= ~(matchByte ^ symbol);
995 Byte curByte, matchByte;
1059 matchByte = *(data - (reps[0] + 1));
    [all...]
LzmaDec.c 51 matchByte <<= 1; \
52 bit = (matchByte & offs); \
199 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
613 unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
621 matchByte <<= 1;
622 bit = (matchByte & offs);
  /external/lzma/C/
LzmaEnc.c 636 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte)
642 matchByte <<= 1;
643 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1);
645 offs &= ~(matchByte ^ symbol);
699 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, const UInt32 *ProbPrices)
706 matchByte <<= 1;
707 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1);
709 offs &= ~(matchByte ^ symbol);
995 Byte curByte, matchByte;
1059 matchByte = *(data - (reps[0] + 1));
    [all...]
LzmaDec.c 51 matchByte <<= 1; \
52 bit = (matchByte & offs); \
199 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
613 unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
621 matchByte <<= 1;
622 bit = (matchByte & offs);
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzmaDec.c 53 matchByte <<= 1; \
54 bit = (matchByte & offs); \
201 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
615 unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
623 matchByte <<= 1;
624 bit = (matchByte & offs);
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzmaDec.c 53 matchByte <<= 1; \
54 bit = (matchByte & offs); \
201 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)];
615 unsigned matchByte = p->dic[p->dicPos - p->reps[0] +
623 matchByte <<= 1;
624 bit = (matchByte & offs);
  /external/lzma/CPP/7zip/Bundles/LzmaSpec/
LzmaSpec.cpp 384 unsigned matchByte = OutWindow.GetByte(rep0 + 1);
387 unsigned matchBit = (matchByte >> 7) & 1;
388 matchByte <<= 1;

Completed in 212 milliseconds