Static Public Member Functions | |
static int | DecodeWindowBits (BitReader br) |
static byte | DecodeVarLenUint8 (BitReader br) |
static ushort | ReadSymbol (HuffmanCode[] table, int index, BitReader br) |
static void | ReadHuffmanCodeLengths (byte[] code_length_code_lengths, int num_symbols, byte[] code_lengths, BitReader br) |
static int | ReadHuffmanCode (int alphabet_size, HuffmanCode[] tables, int table, BitReader br) |
static bool | JumpToByteBoundary (BitReader br) |
static int | BrotliDecompressedSize (Stream buffer) |
Static Package Functions | |
static MetaBlockLength | DecodeMetaBlockLength (BitReader br) |
static int | ReadBlockLength (HuffmanCode[] table, int index, BitReader br) |
static int | TranslateShortCodes (int code, byte[] ringbuffer, int index) |
static void | MoveToFront (byte[] v, int index) |
static void | InverseMoveToFrontTransform (byte[] v, int v_len) |
static ContextMap | DecodeContextMap (int context_map_size, BitReader br) |
static void | DecodeBlockType (int max_block_type, HuffmanCode[] trees, int tree_type, byte[] block_types, byte[] ringbuffers, byte[] indexes, BitReader br) |
static void | CopyUncompressedBlockToOutput (OutputStream output, int len, int pos, byte[] ringbuffer, int ringbuffer_mask, BitReader br) |
static void | BrotliDecompress (Stream input, OutputStream output) |
Static Package Attributes | |
static readonly ushort[] | kMaxHuffmanTableSize |
Private Attributes | |
const int | kDefaultCodeLength = 8 |
const int | kCodeLengthRepeatCode = 16 |
const int | kNumLiteralCodes = 256 |
const int | kNumInsertAndCopyCodes = 704 |
const int | kNumBlockLengthCodes = 26 |
const int | kLiteralContextBits = 6 |
const int | kDistanceContextBits = 2 |
const int | HUFFMAN_TABLE_BITS = 8 |
const int | HUFFMAN_TABLE_MASK = 0xff |
const int | HUFFMAN_MAX_TABLE_SIZE = 1080 |
const int | CODE_LENGTH_CODES = 18 |
const int | NUM_DISTANCE_SHORT_CODES = 16 |
Static Private Attributes | |
static readonly byte[] | kCodeLengthCodeOrder |
static readonly byte[] | kDistanceShortCodeIndexOffset |
static readonly sbyte[] | kDistanceShortCodeValueOffset |
|
inlinestaticpackage |
|
inlinestatic |
|
inlinestaticpackage |
|
inlinestaticpackage |
|
inlinestaticpackage |
|
inlinestaticpackage |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticpackage |
|
inlinestatic |
|
inlinestaticpackage |
|
inlinestaticpackage |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticpackage |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
staticpackage |
|
private |
|
private |
|
private |
|
private |