/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 46 #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 …]
|
D | LzmaDec.h | 49 CLzmaProb *probs; member 67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzmaDec.c | 27 #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 …]
|
D | LzmaDec.h | 49 CLzmaProb *probs; member 67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|
D | LzmaEnc.c | 609 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/ |
D | LzmaDec.c | 46 #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 …]
|
D | LzmaDec.h | 49 CLzmaProb *probs; member 67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|