Home
last modified time | relevance | path

Searched refs:lenToPosState (Results 1 – 3 of 3) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java492 int lenToPosState = Base.GetLenToPosState(len); in GetPosLenPrice() local
494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()
496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()
1047 int lenToPosState = Base.GetLenToPosState(len); in WriteEndMarker() local
1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in WriteEndMarker()
1175 int lenToPosState = Base.GetLenToPosState(len); in CodeOneBlock() local
1176 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in CodeOneBlock()
1325 for (int lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
1328 BitTreeEncoder encoder = _posSlotEncoder[lenToPosState]; in FillDistancesPrices()
1330 int st = (lenToPosState << Base.kNumPosSlotBits); in FillDistancesPrices()
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs492 UInt32 lenToPosState = Base.GetLenToPosState(len); in GetPosLenPrice()
494 price = _distancesPrices[(lenToPosState * Base.kNumFullDistances) + pos]; in GetPosLenPrice()
496 price = _posSlotPrices[(lenToPosState << Base.kNumPosSlotBits) + GetPosSlot2(pos)] + in GetPosLenPrice()
1047 UInt32 lenToPosState = Base.GetLenToPosState(len); in WriteEndMarker()
1048 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in WriteEndMarker()
1177 UInt32 lenToPosState = Base.GetLenToPosState(len); in CodeOneBlock()
1178 _posSlotEncoder[lenToPosState].Encode(_rangeEncoder, posSlot); in CodeOneBlock()
1325 for (UInt32 lenToPosState = 0; lenToPosState < Base.kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
1328 RangeCoder.BitTreeEncoder encoder = _posSlotEncoder[lenToPosState]; in FillDistancesPrices()
1330 UInt32 st = (lenToPosState << Base.kNumPosSlotBits); in FillDistancesPrices()
[all …]
/external/lzma/C/
DLzmaEnc.c1099 UInt32 lenToPosState = GetLenToPosState(len); in GetOptimum() local
1101 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1106 … curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1426 UInt32 lenToPosState = GetLenToPosState(lenTest); in GetOptimum() local
1429 curAndLenPrice += p->distancesPrices[lenToPosState][curBack]; in GetOptimum()
1431 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum()
1658 UInt32 i, lenToPosState; in FillDistancesPrices() local
1667 for (lenToPosState = 0; lenToPosState < kNumLenToPosStates; lenToPosState++) in FillDistancesPrices()
1670 const CLzmaProb *encoder = p->posSlotEncoder[lenToPosState]; in FillDistancesPrices()
1671 UInt32 *posSlotPrices = p->posSlotPrices[lenToPosState]; in FillDistancesPrices()
[all …]