/external/brotli/c/dec/ |
D | state.c | 145 HuffmanTreeGroup* group, uint32_t alphabet_size, uint32_t max_symbol, in BrotliDecoderHuffmanTreeGroupInit() argument 148 const size_t max_table_size = kMaxHuffmanTableSize[(alphabet_size + 31) >> 5]; in BrotliDecoderHuffmanTreeGroupInit() 154 group->alphabet_size = (uint16_t)alphabet_size; in BrotliDecoderHuffmanTreeGroupInit()
|
D | decode.c | 473 uint32_t alphabet_size, uint32_t max_symbol, BrotliDecoderState* s) { in ReadSimpleHuffmanSymbols() argument 476 uint32_t max_bits = Log2Floor(alphabet_size - 1); in ReadSimpleHuffmanSymbols() 541 uint32_t repeat_delta, uint32_t alphabet_size, uint32_t* symbol, in ProcessRepeatedCodeLength() argument 563 if (*symbol + repeat_delta > alphabet_size) { in ProcessRepeatedCodeLength() 565 *symbol = alphabet_size; in ProcessRepeatedCodeLength() 589 uint32_t alphabet_size, BrotliDecoderState* s) { in ReadSymbolCodeLengths() argument 602 while (symbol < alphabet_size && space > 0) { in ReadSymbolCodeLengths() 628 ProcessRepeatedCodeLength(code_len, repeat_delta, alphabet_size, in ReadSymbolCodeLengths() 638 uint32_t alphabet_size, BrotliDecoderState* s) { in SafeReadSymbolCodeLengths() argument 641 while (s->symbol < alphabet_size && s->space > 0) { in SafeReadSymbolCodeLengths() [all …]
|
D | huffman.h | 118 uint16_t alphabet_size; member
|
D | state.h | 244 BrotliDecoderState* s, HuffmanTreeGroup* group, uint32_t alphabet_size,
|
/external/brotli/c/enc/ |
D | block_encoder_inc.h | 16 const size_t alphabet_size, HuffmanTree* tree, in FN() 28 alphabet_size, tree, &self->depths_[ix], &self->bits_[ix], in FN()
|
D | metablock.c | 31 uint32_t alphabet_size, max_distance; in BrotliInitDistanceParams() local 36 alphabet_size = BROTLI_DISTANCE_ALPHABET_SIZE( in BrotliInitDistanceParams() 44 alphabet_size = BROTLI_DISTANCE_ALPHABET_SIZE( in BrotliInitDistanceParams() 58 dist_params->alphabet_size = alphabet_size; in BrotliInitDistanceParams() 340 MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, in InitContextBlockSplitter() argument 348 self->alphabet_size_ = alphabet_size; in InitContextBlockSplitter()
|
D | brotli_bit_stream.c | 365 const size_t alphabet_size, in BuildAndStoreHuffmanTree() argument 387 size_t max_bits_counter = alphabet_size - 1; in BuildAndStoreHuffmanTree() 814 size_t alphabet_size = num_types + repeat_code; in StoreTrivialContextMap() local 819 memset(histogram, 0, alphabet_size * sizeof(histogram[0])); in StoreTrivialContextMap() 825 for (i = context_bits; i < alphabet_size; ++i) { in StoreTrivialContextMap() 828 BuildAndStoreHuffmanTree(histogram, alphabet_size, alphabet_size, in StoreTrivialContextMap() 959 uint32_t num_distance_symbols = params->dist.alphabet_size; in BrotliStoreMetaBlock() 1166 uint32_t num_distance_symbols = params->dist.alphabet_size; in BrotliStoreMetaBlockTrivial() 1209 uint32_t num_distance_symbols = params->dist.alphabet_size; in BrotliStoreMetaBlockFast()
|
D | params.h | 26 uint32_t alphabet_size; member
|
D | metablock_inc.h | 46 MemoryManager* m, FN(BlockSplitter)* self, size_t alphabet_size, in FN() 54 self->alphabet_size_ = alphabet_size; in FN()
|
D | backward_references_hq.c | 89 uint32_t distance_histogram_size = dist->alphabet_size; in InitZopfliCostModel() 95 self->cost_dist_ = BROTLI_ALLOC(m, float, dist->alphabet_size); in InitZopfliCostModel()
|
D | encode.c | 620 uint32_t num_effective_dist_codes = block_params.dist.alphabet_size; in WriteMetaBlockInternal() 720 params->dist.alphabet_size = in BrotliEncoderInitParams() 1321 uint32_t num_effective_dist_codes = block_params.dist.alphabet_size; in BrotliCompressBufferQuality10()
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 309 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, in ReadHuffmanCode() argument 316 memset(code_lengths, 0, alphabet_size * sizeof(*code_lengths)); in ReadHuffmanCode() 342 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, in ReadHuffmanCode() 349 code_lengths, alphabet_size); in ReadHuffmanCode() 436 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local 438 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes() 440 if (max_alphabet_size < alphabet_size) { in ReadHuffmanCodes() 441 max_alphabet_size = alphabet_size; in ReadHuffmanCodes() 471 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local 474 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes() [all …]
|