Searched refs:getBitPrice (Results 1 – 2 of 2) sorted by relevance
/external/xz-java/src/org/tukaani/xz/lzma/ |
D | LZMAEncoder.java | 398 return RangeEncoder.getBitPrice(isMatch[state.get()][posState], 1); in getAnyMatchPrice() 403 + RangeEncoder.getBitPrice(isRep[state.get()], 0); in getNormalMatchPrice() 408 + RangeEncoder.getBitPrice(isRep[state.get()], 1); in getAnyRepPrice() 413 + RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getShortRepPrice() 414 + RangeEncoder.getBitPrice(isRep0Long[state.get()][posState], in getShortRepPrice() 422 price += RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getLongRepPrice() 423 + RangeEncoder.getBitPrice( in getLongRepPrice() 426 price += RangeEncoder.getBitPrice(isRep0[state.get()], 1); in getLongRepPrice() 429 price += RangeEncoder.getBitPrice(isRep1[state.get()], 0); in getLongRepPrice() 431 price += RangeEncoder.getBitPrice(isRep1[state.get()], 1) in getLongRepPrice() [all …]
|
/external/xz-java/src/org/tukaani/xz/rangecoder/ |
D | RangeEncoder.java | 121 public static int getBitPrice(int prob, int bit) { in getBitPrice() method in RangeEncoder 151 price += getBitPrice(probs[symbol], bit); in getBitTreePrice() 178 price += getBitPrice(probs[index], bit); in getReverseBitTreePrice()
|