/external/lzma/Java/SevenZip/Compression/LZMA/ |
Encoder.java | 461 int GetPureRepPrice(int repIndex, int state, int posState)
464 if (repIndex == 0)
472 if (repIndex == 1)
477 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(_isRepG2[state], repIndex - 2);
483 int GetRepPrice(int repIndex, int len, int state, int posState)
486 return price + GetPureRepPrice(repIndex, state, posState);
881 for (int repIndex = 0; repIndex < Base.kNumRepDistances; repIndex++)
883 int lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableBytes); [all...] |
/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaEncoder.cs | 461 UInt32 GetPureRepPrice(UInt32 repIndex, Base.State state, UInt32 posState)
464 if (repIndex == 0)
472 if (repIndex == 1)
477 price += _isRepG2[state.Index].GetPrice(repIndex - 2);
483 UInt32 GetRepPrice(UInt32 repIndex, UInt32 len, Base.State state, UInt32 posState)
486 return price + GetPureRepPrice(repIndex, state, posState);
881 for (UInt32 repIndex = 0; repIndex < Base.kNumRepDistances; repIndex++)
883 UInt32 lenTest = _matchFinder.GetMatchLen(0 - 1, reps[repIndex], numAvailableBytes); [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaEnc.c | 863 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) 866 if (repIndex == 0) 874 if (repIndex == 1) 879 price += GET_PRICE(p->isRepG2[state], repIndex - 2); 885 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) 888 GetPureRepPrice(p, repIndex, state, posState); [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaEnc.c | 864 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) 867 if (repIndex == 0) 875 if (repIndex == 1) 880 price += GET_PRICE(p->isRepG2[state], repIndex - 2); 886 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) 889 GetPureRepPrice(p, repIndex, state, posState); [all...] |
/external/lzma/C/ |
LzmaEnc.c | 863 static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState)
866 if (repIndex == 0)
874 if (repIndex == 1)
879 price += GET_PRICE(p->isRepG2[state], repIndex - 2);
885 static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState)
888 GetPureRepPrice(p, repIndex, state, posState);
[all...] |