9#ifndef __BASE_UEFI_DECOMPRESS_LIB_INTERNALS_H__
10#define __BASE_UEFI_DECOMPRESS_LIB_INTERNALS_H__
29#define NC (0xff + MAXMATCH + 2 - THRESHOLD)
33#define MAXNP ((1U << MAXPBIT) - 1)
34#define NT (CODE_BIT + 3)
56 UINT16 mLeft[2 * NC - 1];
57 UINT16 mRight[2 * NC - 1];
244 IN OUT VOID *Destination,
245 IN OUT VOID *Scratch,
VOID FillBuf(IN SCRATCH_DATA *Sd, IN UINT16 NumOfBits)
RETURN_STATUS UefiTianoDecompress(IN CONST VOID *Source, IN OUT VOID *Destination, IN OUT VOID *Scratch, IN UINT32 Version)
UINT32 GetBits(IN SCRATCH_DATA *Sd, IN UINT16 NumOfBits)
VOID ReadCLen(SCRATCH_DATA *Sd)
UINT32 DecodeP(IN SCRATCH_DATA *Sd)
UINT16 ReadPTLen(IN SCRATCH_DATA *Sd, IN UINT16 nn, IN UINT16 nbit, IN UINT16 Special)
UINT16 MakeTable(IN SCRATCH_DATA *Sd, IN UINT16 NumOfChar, IN UINT8 *BitLen, IN UINT16 TableBits, OUT UINT16 *Table)
VOID Decode(SCRATCH_DATA *Sd)
UINT16 DecodeC(SCRATCH_DATA *Sd)