coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | _CLzmaProperties |
struct | _CLzmaDecoderState |
Macros | |
#define | CProb UInt16 |
#define | LZMA_RESULT_OK 0 |
#define | LZMA_RESULT_DATA_ERROR 1 |
#define | LZMA_BASE_SIZE 1846 |
#define | LZMA_LIT_SIZE 768 |
#define | LZMA_PROPERTIES_SIZE 5 |
#define | LzmaGetNumProbs(Properties) |
#define | kLzmaNeedInitId (-2) |
Typedefs | |
typedef unsigned char | Byte |
typedef unsigned short | UInt16 |
typedef unsigned int | UInt32 |
typedef UInt32 | SizeT |
typedef struct _CLzmaProperties | CLzmaProperties |
typedef struct _CLzmaDecoderState | CLzmaDecoderState |
Functions | |
int | LzmaDecodeProperties (CLzmaProperties *propsRes, const unsigned char *propsData, int size) |
int | LzmaDecode (CLzmaDecoderState *vs, const unsigned char *inStream, SizeT inSize, SizeT *inSizeProcessed, unsigned char *outStream, SizeT outSize, SizeT *outSizeProcessed) |
#define CProb UInt16 |
Definition at line 30 of file lzmadecode.h.
#define kLzmaNeedInitId (-2) |
Definition at line 53 of file lzmadecode.h.
#define LZMA_BASE_SIZE 1846 |
Definition at line 36 of file lzmadecode.h.
#define LZMA_LIT_SIZE 768 |
Definition at line 37 of file lzmadecode.h.
#define LZMA_PROPERTIES_SIZE 5 |
Definition at line 39 of file lzmadecode.h.
#define LZMA_RESULT_DATA_ERROR 1 |
Definition at line 33 of file lzmadecode.h.
#define LZMA_RESULT_OK 0 |
Definition at line 32 of file lzmadecode.h.
#define LzmaGetNumProbs | ( | Properties | ) |
Definition at line 50 of file lzmadecode.h.
Definition at line 25 of file lzmadecode.h.
typedef struct _CLzmaDecoderState CLzmaDecoderState |
typedef struct _CLzmaProperties CLzmaProperties |
Definition at line 28 of file lzmadecode.h.
Definition at line 26 of file lzmadecode.h.
Definition at line 27 of file lzmadecode.h.
int LzmaDecode | ( | CLzmaDecoderState * | vs, |
const unsigned char * | inStream, | ||
SizeT | inSize, | ||
SizeT * | inSizeProcessed, | ||
unsigned char * | outStream, | ||
SizeT | outSize, | ||
SizeT * | outSizeProcessed | ||
) |
Definition at line 186 of file lzmadecode.c.
References Align, CProb, IfBit0, IsMatch, IsRep, IsRep0Long, IsRepG0, IsRepG1, IsRepG2, kBitModelTotal, kEndPosModelIndex, kLenNumHighBits, kLenNumLowBits, kLenNumLowSymbols, kLenNumMidBits, kLenNumMidSymbols, kLzmaStreamWasFinishedId, kMatchMinLen, kNumAlignBits, kNumLenToPosStates, kNumLitStates, kNumPosBitsMax, kNumPosSlotBits, kStartPosModelIndex, _CLzmaProperties::lc, LenChoice, LenChoice2, LenCoder, LenHigh, LenLow, LenMid, Literal, _CLzmaProperties::lp, LZMA_LIT_SIZE, LZMA_RESULT_DATA_ERROR, LZMA_RESULT_OK, offset, _CLzmaProperties::pb, PosSlot, _CLzmaDecoderState::Probs, _CLzmaDecoderState::Properties, RangeDecoderBitTreeDecode, raw, RC_GET_BIT, RC_GET_BIT2, RC_INIT, RC_NORMALIZE, RepLenCoder, SpecPos, UpdateBit0, UpdateBit1, and void().
Referenced by ulzman().
int LzmaDecodeProperties | ( | CLzmaProperties * | propsRes, |
const unsigned char * | propsData, | ||
int | size | ||
) |
Definition at line 157 of file lzmadecode.c.
References _CLzmaProperties::lc, _CLzmaProperties::lp, LZMA_PROPERTIES_SIZE, LZMA_RESULT_DATA_ERROR, LZMA_RESULT_OK, and _CLzmaProperties::pb.
Referenced by ulzman().