Searched refs:prices (Results 1 - 3 of 3) sorted by relevance

/external/lzma/C/
H A DLzmaEnc.c216 UInt32 prices[LZMA_NUM_PB_STATES_MAX][kLenNumSymbolsTotal]; member in struct:__anon11522
756 static void LenEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, UInt32 *ProbPrices) argument
767 prices[i] = a0 + RcTree_GetPrice(p->low + (posState << kLenNumLowBits), kLenNumLowBits, i, ProbPrices);
773 prices[i] = b0 + RcTree_GetPrice(p->mid + (posState << kLenNumMidBits), kLenNumMidBits, i - kLenNumLowSymbols, ProbPrices);
776 prices[i] = b1 + RcTree_GetPrice(p->high, kLenNumHighBits, i - kLenNumLowSymbols - kLenNumMidSymbols, ProbPrices);
781 LenEnc_SetPrices(&p->p, posState, p->tableSize, p->prices[posState], ProbPrices);
887 return p->repLenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN] +
1059 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2];
1085 UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN];
1325 UInt32 curAndLenPrice = price + p->repLenEnc.prices[posStat
[all...]
/external/lzma/CS/7zip/Compress/LZMA/
H A DLzmaEncoder.cs220 public void SetPrices(UInt32 posState, UInt32 numSymbols, UInt32[] prices, UInt32 st) argument
231 prices[st + i] = a0 + _lowCoder[posState].GetPrice(i);
237 prices[st + i] = b0 + _midCoder[posState].GetPrice(i - Base.kNumLowLenSymbols);
240 prices[st + i] = b1 + _highCoder.GetPrice(i - Base.kNumLowLenSymbols - Base.kNumMidLenSymbols);
/external/lzma/Java/SevenZip/Compression/LZMA/
H A DEncoder.java220 public void SetPrices(int posState, int numSymbols, int[] prices, int st) argument
231 prices[st + i] = a0 + _lowCoder[posState].GetPrice(i);
237 prices[st + i] = b0 + _midCoder[posState].GetPrice(i - Base.kNumLowLenSymbols);
240 prices[st + i] = b1 + _highCoder.GetPrice(i - Base.kNumLowLenSymbols - Base.kNumMidLenSymbols);

Completed in 188 milliseconds