/external/lzma/CPP/7zip/Compress/ |
Bcj2Coder.cpp | 91 Byte prevByte = 0;
122 index = prevByte;
125 else if (IsJcc(prevByte, b))
129 prevByte = b;
133 prevByte = b;
145 if (!IsJ(prevByte, b))
148 prevByte = b;
201 unsigned index = GetIndex(prevByte, b);
209 prevByte = nextByte;
215 prevByte = b; [all...] |
/external/lzma/C/ |
Bcj2.c | 47 Byte prevByte = 0;
74 if (IsJ(prevByte, b))
77 prevByte = b;
87 prob = p + prevByte;
96 prevByte = b;
130 outBuf[outPos++] = prevByte = (Byte)(dest >> 24);
|
LzmaEnc.c | 940 #define LIT_PROBS(pos, prevByte) (p->litProbs + ((((pos) & p->lpMask) << p->lc) + ((prevByte) >> (8 - p->lc))) * 0x300)
[all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
Decoder.java | 117 Decoder2 GetDecoder(int pos, byte prevByte)
119 return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + ((prevByte & 0xFF) >>> (8 - m_NumPrevBits))];
212 byte prevByte = 0;
218 LiteralDecoder.Decoder2 decoder2 = m_LiteralDecoder.GetDecoder((int)nowPos64, prevByte);
220 prevByte = decoder2.DecodeWithMatchByte(m_RangeDecoder, m_OutWindow.GetByte(rep0));
222 prevByte = decoder2.DecodeNormal(m_RangeDecoder);
223 m_OutWindow.PutByte(prevByte);
304 prevByte = m_OutWindow.GetByte(0);
|
Encoder.java | 163 public Encoder2 GetSubCoder(int pos, byte prevByte)
164 { return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + ((prevByte & 0xFF) >>> (8 - m_NumPrevBits))]; }
[all...] |
/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaDecoder.cs | 125 uint GetState(uint pos, byte prevByte)
126 { return ((pos & m_PosMask) << m_NumPrevBits) + (uint)(prevByte >> (8 - m_NumPrevBits)); }
128 public byte DecodeNormal(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte)
129 { return m_Coders[GetState(pos, prevByte)].DecodeNormal(rangeDecoder); }
131 public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte, byte matchByte)
132 { return m_Coders[GetState(pos, prevByte)].DecodeWithMatchByte(rangeDecoder, matchByte); }
259 byte prevByte = m_OutWindow.GetByte(0);
262 (uint)nowPos64, prevByte, m_OutWindow.GetByte(rep0));
264 b = m_LiteralDecoder.DecodeNormal(m_RangeDecoder, (uint)nowPos64, prevByte);
|
LzmaEncoder.cs | 163 public Encoder2 GetSubCoder(UInt32 pos, Byte prevByte)
164 { return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + (uint)(prevByte >> (8 - m_NumPrevBits))]; }
[all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMACoder.java | 101 final int getSubcoderIndex(int prevByte, int pos) { 102 int low = prevByte >> (8 - lc);
|
LZMAEncoderNormal.java | 178 int prevByte = lz.getByte(1); 180 prevByte, pos, state); 467 int prevByte = lz.getByte(len, 1); 468 price += literalEncoder.getPrice(curByte, matchByte, prevByte, 542 int prevByte = lz.getByte(len, 1); 545 prevByte, pos + len,
|
LZMAEncoder.java | 528 int prevByte, int pos, State state) { 532 int i = getSubcoderIndex(prevByte, pos);
|
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
LzmaSpec.cpp | 374 unsigned prevByte = 0;
376 prevByte = OutWindow.GetByte(1);
379 unsigned litState = ((OutWindow.TotalPos & ((1 << lp) - 1)) << lc) + (prevByte >> (8 - lc));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzmaEnc.c | 961 #define LIT_PROBS(pos, prevByte) (p->litProbs + ((((pos) & p->lpMask) << p->lc) + ((prevByte) >> (8 - p->lc))) * 0x300)
[all...] |