Searched refs:probs (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/common/lzma/ |
H A D | LzmaDec.c | 34 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument 35 #define TREE_DECODE(probs, limit, i) \ argument 36 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } 41 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument 43 #define TREE_6_DECODE(probs, i) \ argument 45 TREE_GET_BIT(probs, i); \ 46 TREE_GET_BIT(probs, i); \ 47 TREE_GET_BIT(probs, i); \ 48 TREE_GET_BIT(probs, i); \ 49 TREE_GET_BIT(probs, i); \ [all …]
|
H A D | LzmaEnc.c | 595 static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol) in LitEnc_Encode() argument 600 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1); in LitEnc_Encode() 606 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument 613 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched() 656 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices) in LitEnc_GetPrice() argument 662 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); in LitEnc_GetPrice() 669 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt3… in LitEnc_GetPriceMatched() argument 677 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched() 686 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) in RcTree_Encode() argument 695 RangeEnc_EncodeBit(rc, probs + m, bit); in RcTree_Encode() [all …]
|
H A D | LzmaDec.h | 49 CLzmaProb *probs; member 67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|