![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include "./brotli_bit_stream.h"#include <string.h>#include "../common/constants.h"#include "../common/context.h"#include "../common/platform.h"#include <brotli/types.h>#include "./entropy_encode.h"#include "./entropy_encode_static.h"#include "./fast_log.h"#include "./histogram.h"#include "./memory.h"#include "./write_bits.h"#include "./block_encoder_inc.h"Data Structures | |
| struct | BlockTypeCodeCalculator |
| struct | BlockSplitCode |
| struct | BlockEncoder |
Macros | |
| #define | MAX_HUFFMAN_TREE_SIZE (2 * BROTLI_NUM_COMMAND_SYMBOLS + 1) |
| #define | MAX_SIMPLE_DISTANCE_ALPHABET_SIZE BROTLI_DISTANCE_ALPHABET_SIZE(0, 0, BROTLI_LARGE_MAX_DISTANCE_BITS) |
| #define | SYMBOL_BITS 9 |
| #define | FN(X) |
| #define | FN(X) |
| #define | FN(X) |
Typedefs | |
| typedef struct BlockTypeCodeCalculator | BlockTypeCodeCalculator |
| typedef struct BlockSplitCode | BlockSplitCode |
| typedef struct BlockEncoder | BlockEncoder |
Functions | |
| void | BrotliStoreHuffmanTree (const uint8_t *depths, size_t num, HuffmanTree *tree, size_t *storage_ix, uint8_t *storage) |
| void | BrotliBuildAndStoreHuffmanTreeFast (MemoryManager *m, const uint32_t *histogram, const size_t histogram_total, const size_t max_bits, uint8_t *depth, uint16_t *bits, size_t *storage_ix, uint8_t *storage) |
| void | BrotliStoreMetaBlock (MemoryManager *m, const uint8_t *input, size_t start_pos, size_t length, size_t mask, uint8_t prev_byte, uint8_t prev_byte2, BROTLI_BOOL is_last, const BrotliEncoderParams *params, ContextType literal_context_mode, const Command *commands, size_t n_commands, const MetaBlockSplit *mb, size_t *storage_ix, uint8_t *storage) |
| void | BrotliStoreMetaBlockTrivial (MemoryManager *m, const uint8_t *input, size_t start_pos, size_t length, size_t mask, BROTLI_BOOL is_last, const BrotliEncoderParams *params, const Command *commands, size_t n_commands, size_t *storage_ix, uint8_t *storage) |
| void | BrotliStoreMetaBlockFast (MemoryManager *m, const uint8_t *input, size_t start_pos, size_t length, size_t mask, BROTLI_BOOL is_last, const BrotliEncoderParams *params, const Command *commands, size_t n_commands, size_t *storage_ix, uint8_t *storage) |
| void | BrotliStoreUncompressedMetaBlock (BROTLI_BOOL is_final_block, const uint8_t *BROTLI_RESTRICT input, size_t position, size_t mask, size_t len, size_t *BROTLI_RESTRICT storage_ix, uint8_t *BROTLI_RESTRICT storage) |
| #define FN | ( | X | ) |
| #define MAX_HUFFMAN_TREE_SIZE (2 * BROTLI_NUM_COMMAND_SYMBOLS + 1) |
| #define MAX_SIMPLE_DISTANCE_ALPHABET_SIZE BROTLI_DISTANCE_ALPHABET_SIZE(0, 0, BROTLI_LARGE_MAX_DISTANCE_BITS) |
| #define SYMBOL_BITS 9 |
| typedef struct BlockEncoder BlockEncoder |
| typedef struct BlockSplitCode BlockSplitCode |
| typedef struct BlockTypeCodeCalculator BlockTypeCodeCalculator |
| void BrotliBuildAndStoreHuffmanTreeFast | ( | MemoryManager * | m, |
| const uint32_t * | histogram, | ||
| const size_t | histogram_total, | ||
| const size_t | max_bits, | ||
| uint8_t * | depth, | ||
| uint16_t * | bits, | ||
| size_t * | storage_ix, | ||
| uint8_t * | storage ) |
| void BrotliStoreHuffmanTree | ( | const uint8_t * | depths, |
| size_t | num, | ||
| HuffmanTree * | tree, | ||
| size_t * | storage_ix, | ||
| uint8_t * | storage ) |
| void BrotliStoreMetaBlock | ( | MemoryManager * | m, |
| const uint8_t * | input, | ||
| size_t | start_pos, | ||
| size_t | length, | ||
| size_t | mask, | ||
| uint8_t | prev_byte, | ||
| uint8_t | prev_byte2, | ||
| BROTLI_BOOL | is_last, | ||
| const BrotliEncoderParams * | params, | ||
| ContextType | literal_context_mode, | ||
| const Command * | commands, | ||
| size_t | n_commands, | ||
| const MetaBlockSplit * | mb, | ||
| size_t * | storage_ix, | ||
| uint8_t * | storage ) |
| void BrotliStoreMetaBlockFast | ( | MemoryManager * | m, |
| const uint8_t * | input, | ||
| size_t | start_pos, | ||
| size_t | length, | ||
| size_t | mask, | ||
| BROTLI_BOOL | is_last, | ||
| const BrotliEncoderParams * | params, | ||
| const Command * | commands, | ||
| size_t | n_commands, | ||
| size_t * | storage_ix, | ||
| uint8_t * | storage ) |
| void BrotliStoreMetaBlockTrivial | ( | MemoryManager * | m, |
| const uint8_t * | input, | ||
| size_t | start_pos, | ||
| size_t | length, | ||
| size_t | mask, | ||
| BROTLI_BOOL | is_last, | ||
| const BrotliEncoderParams * | params, | ||
| const Command * | commands, | ||
| size_t | n_commands, | ||
| size_t * | storage_ix, | ||
| uint8_t * | storage ) |
| void BrotliStoreUncompressedMetaBlock | ( | BROTLI_BOOL | is_final_block, |
| const uint8_t *BROTLI_RESTRICT | input, | ||
| size_t | position, | ||
| size_t | mask, | ||
| size_t | len, | ||
| size_t *BROTLI_RESTRICT | storage_ix, | ||
| uint8_t *BROTLI_RESTRICT | storage ) |