/third_party/node/deps/brotli/c/enc/ |
H A D | block_encoder_inc.h | 16 const size_t alphabet_size, HuffmanTree* tree, in BuildAndStoreEntropyCodes() 28 alphabet_size, tree, &self->depths_[ix], &self->bits_[ix], in BuildAndStoreEntropyCodes() 14 BuildAndStoreEntropyCodes(MemoryManager* m, BlockEncoder* self, const HistogramType* histograms, const size_t histograms_size, const size_t alphabet_size, HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) BuildAndStoreEntropyCodes() argument
|
H A D | metablock_inc.h | 46 MemoryManager* m, FN(BlockSplitter)* self, size_t alphabet_size, in InitBlockSplitter() 54 self->alphabet_size_ = alphabet_size; in InitBlockSplitter() 45 InitBlockSplitter( MemoryManager* m, FN(BlockSplitter)* self, size_t alphabet_size, size_t min_block_size, double split_threshold, size_t num_symbols, BlockSplit* split, HistogramType** histograms, size_t* histograms_size) InitBlockSplitter() argument
|
H A D | brotli_bit_stream.c | 350 const size_t alphabet_size, in BuildAndStoreHuffmanTree() 372 size_t max_bits_counter = alphabet_size - 1; in BuildAndStoreHuffmanTree() 799 size_t alphabet_size = num_types + repeat_code; in StoreTrivialContextMap() local 804 memset(histogram, 0, alphabet_size * sizeof(histogram[0])); in StoreTrivialContextMap() 810 for (i = context_bits; i < alphabet_size; ++i) { in StoreTrivialContextMap() 813 BuildAndStoreHuffmanTree(histogram, alphabet_size, alphabet_size, in StoreTrivialContextMap() 348 BuildAndStoreHuffmanTree(const uint32_t* histogram, const size_t histogram_length, const size_t alphabet_size, HuffmanTree* tree, uint8_t* depth, uint16_t* bits, size_t* storage_ix, uint8_t* storage) BuildAndStoreHuffmanTree() argument
|
H A D | metablock.c | 336 MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, in InitContextBlockSplitter() 344 self->alphabet_size_ = alphabet_size; in InitContextBlockSplitter() 335 InitContextBlockSplitter( MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, size_t num_contexts, size_t min_block_size, double split_threshold, size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, size_t* histograms_size) InitContextBlockSplitter() argument
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | block_encoder_inc.h | 16 const size_t alphabet_size, HuffmanTree* tree, in BuildAndStoreEntropyCodes() 28 alphabet_size, tree, &self->depths_[ix], &self->bits_[ix], in BuildAndStoreEntropyCodes() 14 BuildAndStoreEntropyCodes(MemoryManager* m, BlockEncoder* self, const HistogramType* histograms, const size_t histograms_size, const size_t alphabet_size, HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) BuildAndStoreEntropyCodes() argument
|
H A D | metablock_inc.h | 46 MemoryManager* m, FN(BlockSplitter)* self, size_t alphabet_size, in InitBlockSplitter() 54 self->alphabet_size_ = alphabet_size; in InitBlockSplitter() 45 InitBlockSplitter( MemoryManager* m, FN(BlockSplitter)* self, size_t alphabet_size, size_t min_block_size, double split_threshold, size_t num_symbols, BlockSplit* split, HistogramType** histograms, size_t* histograms_size) InitBlockSplitter() argument
|
H A D | brotli_bit_stream.c | 350 const size_t alphabet_size, in BuildAndStoreHuffmanTree() 372 size_t max_bits_counter = alphabet_size - 1; in BuildAndStoreHuffmanTree() 799 size_t alphabet_size = num_types + repeat_code; in StoreTrivialContextMap() local 804 memset(histogram, 0, alphabet_size * sizeof(histogram[0])); in StoreTrivialContextMap() 810 for (i = context_bits; i < alphabet_size; ++i) { in StoreTrivialContextMap() 813 BuildAndStoreHuffmanTree(histogram, alphabet_size, alphabet_size, in StoreTrivialContextMap() 348 BuildAndStoreHuffmanTree(const uint32_t* histogram, const size_t histogram_length, const size_t alphabet_size, HuffmanTree* tree, uint8_t* depth, uint16_t* bits, size_t* storage_ix, uint8_t* storage) BuildAndStoreHuffmanTree() argument
|
H A D | metablock.c | 336 MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, in InitContextBlockSplitter() 344 self->alphabet_size_ = alphabet_size; in InitContextBlockSplitter() 335 InitContextBlockSplitter( MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, size_t num_contexts, size_t min_block_size, double split_threshold, size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, size_t* histograms_size) InitContextBlockSplitter() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | webp.c | 255 int alphabet_size) in huff_reader_build_canonical() 262 for (sym = 0; sym < alphabet_size; sym++) { in huff_reader_build_canonical() 277 for (sym = 0; sym < alphabet_size; sym++) in huff_reader_build_canonical() 283 codes = av_malloc_array(alphabet_size, sizeof(*codes)); in huff_reader_build_canonical() 290 for (sym = 0; sym < alphabet_size; sym++) { in huff_reader_build_canonical() 303 ret = init_vlc(&r->vlc, 8, alphabet_size, in huff_reader_build_canonical() 332 int alphabet_size) in read_huffman_code_normal() 350 code_lengths = av_mallocz(alphabet_size); in read_huffman_code_normal() 359 if (max_symbol > alphabet_size) { in read_huffman_code_normal() 361 max_symbol, alphabet_size); in read_huffman_code_normal() 254 huff_reader_build_canonical(HuffReader *r, const uint8_t *code_lengths, int alphabet_size) huff_reader_build_canonical() argument 331 read_huffman_code_normal(WebPContext *s, HuffReader *hc, int alphabet_size) read_huffman_code_normal() argument 610 int alphabet_size = alphabet_sizes[j]; decode_entropy_coded_image() local [all...] |
H A D | mss2.c | 253 const int alphabet_size = 270 - keyframe; in decode_rle() local 305 remaining_codes = alphabet_size - read_codes; in decode_rle() 315 for (i = 0; i < alphabet_size; i++) in decode_rle() 328 if ((i = init_vlc(&vlc, 9, alphabet_size, bits, 1, 1, codes, 4, 4, 0)) < 0) in decode_rle()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | vp8l_dec.c | 310 static int ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, in ReadHuffmanCode() argument 318 memset(code_lengths, 0, alphabet_size * sizeof(*code_lengths)); in ReadHuffmanCode() 344 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size, in ReadHuffmanCode() 351 code_lengths, alphabet_size); in ReadHuffmanCode() 431 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local 433 alphabet_size += 1 << color_cache_bits; in ReadHuffmanCodes() 435 if (max_alphabet_size < alphabet_size) { in ReadHuffmanCodes() 436 max_alphabet_size = alphabet_size; in ReadHuffmanCodes() 456 int alphabet_size = kAlphabetSize[j]; in ReadHuffmanCodes() local 458 alphabet_size in ReadHuffmanCodes() 474 int alphabet_size = kAlphabetSize[j]; ReadHuffmanCodes() local [all...] |
/third_party/node/deps/brotli/c/dec/ |
H A D | decode.c | 546 uint32_t repeat_delta, uint32_t alphabet_size, uint32_t* symbol, in ProcessRepeatedCodeLength() 568 if (*symbol + repeat_delta > alphabet_size) { in ProcessRepeatedCodeLength() 570 *symbol = alphabet_size; in ProcessRepeatedCodeLength() 594 uint32_t alphabet_size, BrotliDecoderState* s) { in ReadSymbolCodeLengths() 608 while (symbol < alphabet_size && space > 0) { in ReadSymbolCodeLengths() 634 ProcessRepeatedCodeLength(code_len, repeat_delta, alphabet_size, in ReadSymbolCodeLengths() 644 uint32_t alphabet_size, BrotliDecoderState* s) { in SafeReadSymbolCodeLengths() 648 while (h->symbol < alphabet_size && h->space > 0) { in SafeReadSymbolCodeLengths() 681 ProcessRepeatedCodeLength(code_len, repeat_delta, alphabet_size, in SafeReadSymbolCodeLengths() 1041 uint32_t alphabet_size in DecodeContextMap() local 545 ProcessRepeatedCodeLength(uint32_t code_len, uint32_t repeat_delta, uint32_t alphabet_size, uint32_t* symbol, uint32_t* repeat, uint32_t* space, uint32_t* prev_code_len, uint32_t* repeat_code_len, uint16_t* symbol_lists, uint16_t* code_length_histo, int* next_symbol) ProcessRepeatedCodeLength() argument 593 ReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) ReadSymbolCodeLengths() argument 643 SafeReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) SafeReadSymbolCodeLengths() argument 2290 uint32_t alphabet_size = s->num_block_types[s->loop_counter] + 2; BrotliDecoderDecompressStream() local 2300 uint32_t alphabet_size = BROTLI_NUM_BLOCK_LEN_SYMBOLS; BrotliDecoderDecompressStream() local [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | decode.c | 546 uint32_t repeat_delta, uint32_t alphabet_size, uint32_t* symbol, in ProcessRepeatedCodeLength() 568 if (*symbol + repeat_delta > alphabet_size) { in ProcessRepeatedCodeLength() 570 *symbol = alphabet_size; in ProcessRepeatedCodeLength() 594 uint32_t alphabet_size, BrotliDecoderState* s) { in ReadSymbolCodeLengths() 608 while (symbol < alphabet_size && space > 0) { in ReadSymbolCodeLengths() 634 ProcessRepeatedCodeLength(code_len, repeat_delta, alphabet_size, in ReadSymbolCodeLengths() 644 uint32_t alphabet_size, BrotliDecoderState* s) { in SafeReadSymbolCodeLengths() 648 while (h->symbol < alphabet_size && h->space > 0) { in SafeReadSymbolCodeLengths() 681 ProcessRepeatedCodeLength(code_len, repeat_delta, alphabet_size, in SafeReadSymbolCodeLengths() 1041 uint32_t alphabet_size in DecodeContextMap() local 545 ProcessRepeatedCodeLength(uint32_t code_len, uint32_t repeat_delta, uint32_t alphabet_size, uint32_t* symbol, uint32_t* repeat, uint32_t* space, uint32_t* prev_code_len, uint32_t* repeat_code_len, uint16_t* symbol_lists, uint16_t* code_length_histo, int* next_symbol) ProcessRepeatedCodeLength() argument 593 ReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) ReadSymbolCodeLengths() argument 643 SafeReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) SafeReadSymbolCodeLengths() argument 2290 uint32_t alphabet_size = s->num_block_types[s->loop_counter] + 2; BrotliDecoderDecompressStream() local 2300 uint32_t alphabet_size = BROTLI_NUM_BLOCK_LEN_SYMBOLS; BrotliDecoderDecompressStream() local [all...] |