Home
last modified time | relevance | path

Searched refs:curAndLenPrice (Results 1 – 6 of 6) sorted by relevance

/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java653 int curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum() local
655 if (curAndLenPrice < optimum.Price) in GetOptimum()
657 optimum.Price = curAndLenPrice; in GetOptimum()
677 int curAndLenPrice = normalMatchPrice + GetPosLenPrice(distance, len, posState); in GetOptimum() local
679 if (curAndLenPrice < optimum.Price) in GetOptimum()
681 optimum.Price = curAndLenPrice; in GetOptimum()
864 int curAndLenPrice = nextRepMatchPrice + GetRepPrice( in GetOptimum() local
867 if (curAndLenPrice < optimum.Price) in GetOptimum()
869 optimum.Price = curAndLenPrice; in GetOptimum()
891 int curAndLenPrice = repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState); in GetOptimum() local
[all …]
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs653 UInt32 curAndLenPrice = price + _repMatchLenEncoder.GetPrice(repLen - 2, posState); in GetOptimum()
655 if (curAndLenPrice < optimum.Price) in GetOptimum()
657 optimum.Price = curAndLenPrice; in GetOptimum()
677 UInt32 curAndLenPrice = normalMatchPrice + GetPosLenPrice(distance, len, posState); in GetOptimum()
679 if (curAndLenPrice < optimum.Price) in GetOptimum()
681 optimum.Price = curAndLenPrice; in GetOptimum()
864 UInt32 curAndLenPrice = nextRepMatchPrice + GetRepPrice( in GetOptimum()
867 if (curAndLenPrice < optimum.Price) in GetOptimum()
869 optimum.Price = curAndLenPrice; in GetOptimum()
891 UInt32 curAndLenPrice = repMatchPrice + GetRepPrice(repIndex, lenTest, state, posState); in GetOptimum()
[all …]
/external/chromium_org/third_party/lzma_sdk/
DLzmaEnc.c1059 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2]; in GetOptimum() local
1061 if (curAndLenPrice < opt->price) in GetOptimum()
1063 opt->price = curAndLenPrice; in GetOptimum()
1085 … UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN]; in GetOptimum() local
1088 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1093curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1096 if (curAndLenPrice < opt->price) in GetOptimum()
1098 opt->price = curAndLenPrice; in GetOptimum()
1288 UInt32 curAndLenPrice; in GetOptimum() local
1293 curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/lzma/C/
DLzmaEnc.c1059 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2]; in GetOptimum() local
1061 if (curAndLenPrice < opt->price) in GetOptimum()
1063 opt->price = curAndLenPrice; in GetOptimum()
1085 … UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN]; in GetOptimum() local
1088 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1093curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1096 if (curAndLenPrice < opt->price) in GetOptimum()
1098 opt->price = curAndLenPrice; in GetOptimum()
1288 UInt32 curAndLenPrice; in GetOptimum() local
1293 curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzmaEnc.c1060 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2]; in GetOptimum() local
1062 if (curAndLenPrice < opt->price) in GetOptimum()
1064 opt->price = curAndLenPrice; in GetOptimum()
1086 … UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN]; in GetOptimum() local
1089 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1094curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1097 if (curAndLenPrice < opt->price) in GetOptimum()
1099 opt->price = curAndLenPrice; in GetOptimum()
1289 UInt32 curAndLenPrice; in GetOptimum() local
1294 curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); in GetOptimum()
[all …]
/external/chromium_org/third_party/brotli/src/
Dots-lzma.patch3964 + UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2];
3966 + if (curAndLenPrice < opt->price)
3968 + opt->price = curAndLenPrice;
3990 + UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_M…
3993 + curAndLenPrice += p->distancesPrices[lenToPosState][distance];
3998 + curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][…
4001 + if (curAndLenPrice < opt->price)
4003 + opt->price = curAndLenPrice;
4193 + UInt32 curAndLenPrice;
4198 + curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext);
[all …]