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.c1287 unsigned lenToPosState = GetLenToPosState(len); in GetOptimum() local
1290 price += p->distancesPrices[lenToPosState][dist & (kNumFullDistances - 1)]; in GetOptimum()
1296 price += p->posSlotPrices[lenToPosState][slot]; in GetOptimum()