/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzmaDec.c | 29 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument 30 #define TREE_DECODE(probs, limit, i) \ argument 31 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } 36 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument 38 #define TREE_6_DECODE(probs, i) \ argument 40 TREE_GET_BIT(probs, i); \ 41 TREE_GET_BIT(probs, i); \ 42 TREE_GET_BIT(probs, i); \ 43 TREE_GET_BIT(probs, i); \ 44 TREE_GET_BIT(probs, i); \ [all …]
|
D | LzmaDec.h | 51 CLzmaProb *probs; member 69 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|
D | LzmaEnc.c | 625 static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol) in LitEnc_Encode() argument 630 RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1); in LitEnc_Encode() 636 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument 643 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched() 686 static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, const UInt32 *ProbPrices) in LitEnc_GetPrice() argument 692 price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); in LitEnc_GetPrice() 699 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, const… in LitEnc_GetPriceMatched() argument 707 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched() 716 static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) in RcTree_Encode() argument 725 RangeEnc_EncodeBit(rc, probs + m, bit); in RcTree_Encode() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 31 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument 32 #define TREE_DECODE(probs, limit, i) \ argument 33 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } 38 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument 40 #define TREE_6_DECODE(probs, i) \ argument 42 TREE_GET_BIT(probs, i); \ 43 TREE_GET_BIT(probs, i); \ 44 TREE_GET_BIT(probs, i); \ 45 TREE_GET_BIT(probs, i); \ 46 TREE_GET_BIT(probs, i); \ [all …]
|
D | LzmaDec.h | 51 CLzmaProb *probs; member 69 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 31 #define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } argument 32 #define TREE_DECODE(probs, limit, i) \ argument 33 { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } 38 #define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) argument 40 #define TREE_6_DECODE(probs, i) \ argument 42 TREE_GET_BIT(probs, i); \ 43 TREE_GET_BIT(probs, i); \ 44 TREE_GET_BIT(probs, i); \ 45 TREE_GET_BIT(probs, i); \ 46 TREE_GET_BIT(probs, i); \ [all …]
|
D | LzmaDec.h | 51 CLzmaProb *probs; member 69 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; }
|