Home
last modified time | relevance | path

Searched refs:probs (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c46 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument
47 #define TREE_DECODE(probs, limit, i) \ argument
48 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
53 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument
55 #define TREE_6_DECODE(probs, i) \ argument
57 TREE_GET_BIT(probs, i); \
58 TREE_GET_BIT(probs, i); \
59 TREE_GET_BIT(probs, i); \
60 TREE_GET_BIT(probs, i); \
61 TREE_GET_BIT(probs, i); \
[all …]
DLzmaDec.h49 CLzmaProb *probs; member
67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c27 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument
28 #define TREE_DECODE(probs, limit, i) \ argument
29 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
34 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument
36 #define TREE_6_DECODE(probs, i) \ argument
38 TREE_GET_BIT(probs, i); \
39 TREE_GET_BIT(probs, i); \
40 TREE_GET_BIT(probs, i); \
41 TREE_GET_BIT(probs, i); \
42 TREE_GET_BIT(probs, i); \
[all …]
DLzmaDec.h49 CLzmaProb *probs; member
67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
DLzmaEnc.c609 static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol) in LitEnc_Encode() argument
614 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1); in LitEnc_Encode()
620 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument
627 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched()
670 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices) in LitEnc_GetPrice() argument
676 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); in LitEnc_GetPrice()
683 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt3… in LitEnc_GetPriceMatched() argument
691 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched()
700 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) in RcTree_Encode() argument
709 RangeEnc_EncodeBit(rc, probs + m, bit); in RcTree_Encode()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c46 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument
47 #define TREE_DECODE(probs, limit, i) \ argument
48 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; }
53 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument
55 #define TREE_6_DECODE(probs, i) \ argument
57 TREE_GET_BIT(probs, i); \
58 TREE_GET_BIT(probs, i); \
59 TREE_GET_BIT(probs, i); \
60 TREE_GET_BIT(probs, i); \
61 TREE_GET_BIT(probs, i); \
[all …]
DLzmaDec.h49 CLzmaProb *probs; member
67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }