Searched refs:curAndLenPrice (Results 1 – 6 of 6) sorted by relevance
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 653 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/ |
D | LzmaEncoder.cs | 653 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/ |
D | LzmaEnc.c | 1059 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() 1093 … curAndLenPrice += 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/ |
D | LzmaEnc.c | 1059 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() 1093 … curAndLenPrice += 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/ |
D | LzmaEnc.c | 1060 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() 1094 … curAndLenPrice += 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/ |
D | ots-lzma.patch | 3964 + 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 …]
|