Searched refs:getBitPrice (Results 1 – 2 of 2) sorted by relevance
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | LZMAEncoder.java | 359 return RangeEncoder.getBitPrice(isMatch[state.get()][posState], 1); in getAnyMatchPrice() 364 + RangeEncoder.getBitPrice(isRep[state.get()], 0); in getNormalMatchPrice() 369 + RangeEncoder.getBitPrice(isRep[state.get()], 1); in getAnyRepPrice() 374 + RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getShortRepPrice() 375 + RangeEncoder.getBitPrice(isRep0Long[state.get()][posState], in getShortRepPrice() 383 price += RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getLongRepPrice() 384 + RangeEncoder.getBitPrice( in getLongRepPrice() 387 price += RangeEncoder.getBitPrice(isRep0[state.get()], 1); in getLongRepPrice() 390 price += RangeEncoder.getBitPrice(isRep1[state.get()], 0); in getLongRepPrice() 392 price += RangeEncoder.getBitPrice(isRep1[state.get()], 1) in getLongRepPrice() [all …]
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/ |
D | RangeEncoder.java | 125 public static int getBitPrice(int prob, int bit) { in getBitPrice() method in RangeEncoder 155 price += getBitPrice(probs[symbol], bit); in getBitTreePrice() 181 price += getBitPrice(probs[index], bit); in getReverseBitTreePrice()
|