Searched refs:prevByte (Results 1 – 7 of 7) sorted by relevance
/external/lzma/CPP/7zip/Compress/ |
D | Bcj2Coder.cpp | 104 Byte prevByte = 0; in CodeReal() local 135 index = prevByte; in CodeReal() 138 else if (IsJcc(prevByte, b)) in CodeReal() 142 prevByte = b; in CodeReal() 146 prevByte = b; in CodeReal() 158 if (!IsJ(prevByte, b)) in CodeReal() 161 prevByte = b; in CodeReal() 214 unsigned index = GetIndex(prevByte, b); in CodeReal() 222 prevByte = nextByte; in CodeReal() 228 prevByte = b; in CodeReal() [all …]
|
/external/lzma/C/ |
D | Bcj2.c | 45 Byte prevByte = 0; in Bcj2_Decode() local 72 if (IsJ(prevByte, b)) in Bcj2_Decode() 75 prevByte = b; in Bcj2_Decode() 85 prob = p + prevByte; in Bcj2_Decode() 94 prevByte = b; in Bcj2_Decode() 128 outBuf[outPos++] = prevByte = (Byte)(dest >> 24); in Bcj2_Decode()
|
D | LzmaEnc.c | 927 #define LIT_PROBS(pos, prevByte) (p->litProbs + ((((pos) & p->lpMask) << p->lc) + ((prevByte) >> (8… argument
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaDecoder.cs | 125 uint GetState(uint pos, byte prevByte) in GetState() argument 126 { return ((pos & m_PosMask) << m_NumPrevBits) + (uint)(prevByte >> (8 - m_NumPrevBits)); } in GetState() 128 public byte DecodeNormal(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte) in DecodeNormal() argument 129 { return m_Coders[GetState(pos, prevByte)].DecodeNormal(rangeDecoder); } in DecodeNormal() 131 …public byte DecodeWithMatchByte(RangeCoder.Decoder rangeDecoder, uint pos, byte prevByte, byte mat… in DecodeWithMatchByte() argument 132 { return m_Coders[GetState(pos, prevByte)].DecodeWithMatchByte(rangeDecoder, matchByte); } in DecodeWithMatchByte() 259 byte prevByte = m_OutWindow.GetByte(0); in Code() 262 (uint)nowPos64, prevByte, m_OutWindow.GetByte(rep0)); in Code() 264 b = m_LiteralDecoder.DecodeNormal(m_RangeDecoder, (uint)nowPos64, prevByte); in Code()
|
D | LzmaEncoder.cs | 163 public Encoder2 GetSubCoder(UInt32 pos, Byte prevByte) in GetSubCoder() argument 164 …{ return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + (uint)(prevByte >> (8 - m_NumPrevBits))];… in GetSubCoder()
|
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Decoder.java | 117 Decoder2 GetDecoder(int pos, byte prevByte) in GetDecoder() argument 119 …return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + ((prevByte & 0xFF) >>> (8 - m_NumPrevBits))… in GetDecoder() 212 byte prevByte = 0; in Code() 218 LiteralDecoder.Decoder2 decoder2 = m_LiteralDecoder.GetDecoder((int)nowPos64, prevByte); in Code() 220 prevByte = decoder2.DecodeWithMatchByte(m_RangeDecoder, m_OutWindow.GetByte(rep0)); in Code() 222 prevByte = decoder2.DecodeNormal(m_RangeDecoder); in Code() 223 m_OutWindow.PutByte(prevByte); in Code() 304 prevByte = m_OutWindow.GetByte(0); in Code()
|
D | Encoder.java | 163 public Encoder2 GetSubCoder(int pos, byte prevByte) in GetSubCoder() argument 164 …{ return m_Coders[((pos & m_PosMask) << m_NumPrevBits) + ((prevByte & 0xFF) >>> (8 - m_NumPrevBits… in GetSubCoder()
|