/external/brotli/c/enc/ |
D | block_splitter_inc.h | 193 uint32_t* histogram_symbols = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() 194 uint32_t* block_lengths = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() 200 BROTLI_ALLOC(m, HistogramType, all_histograms_capacity); in FN() 203 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, cluster_size_capacity); in FN() 205 HistogramType* histograms = BROTLI_ALLOC(m, HistogramType, in FN() 210 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity); in FN() 285 pairs = BROTLI_ALLOC(m, HistogramPair, max_num_pairs + 1); in FN() 289 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN() 301 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN() 393 histograms = BROTLI_ALLOC(m, HistogramType, num_histograms); in FN() [all …]
|
D | block_encoder_inc.h | 19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size); in FN() 20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in FN()
|
D | metablock.c | 198 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types); in BrotliBuildMetaBlock() 208 BROTLI_ALLOC(m, HistogramLiteral, literal_histograms_size); in BrotliBuildMetaBlock() 215 BROTLI_ALLOC(m, HistogramDistance, distance_histograms_size); in BrotliBuildMetaBlock() 222 BROTLI_ALLOC(m, HistogramCommand, mb->command_histograms_size); in BrotliBuildMetaBlock() 236 BROTLI_ALLOC(m, uint32_t, mb->literal_context_map_size); in BrotliBuildMetaBlock() 242 BROTLI_ALLOC(m, HistogramLiteral, mb->literal_histograms_size); in BrotliBuildMetaBlock() 267 BROTLI_ALLOC(m, uint32_t, mb->distance_context_map_size); in BrotliBuildMetaBlock() 273 BROTLI_ALLOC(m, HistogramDistance, mb->distance_histograms_size); in BrotliBuildMetaBlock() 370 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter() 418 BROTLI_ALLOC(m, HistogramLiteral, 2 * num_contexts); in ContextBlockSplitterFinishBlock() [all …]
|
D | cluster_inc.h | 214 uint32_t* new_index = BROTLI_ALLOC(m, uint32_t, length); 231 tmp = BROTLI_ALLOC(m, HistogramType, next_index); 253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size); 254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size); 259 HistogramPair* pairs = BROTLI_ALLOC(m, HistogramPair, pairs_capacity + 1);
|
D | block_splitter.c | 134 uint8_t* literals = BROTLI_ALLOC(m, uint8_t, literals_count); in BrotliSplitBlock() 151 uint16_t* insert_and_copy_codes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock() 170 uint16_t* distance_prefixes = BROTLI_ALLOC(m, uint16_t, num_commands); in BrotliSplitBlock()
|
D | memory.h | 44 #define BROTLI_ALLOC(M, T, N) \ macro 86 new_array = BROTLI_ALLOC((M), T, _new_size); \
|
D | encode.c | 214 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage() 253 s->large_table_ = BROTLI_ALLOC(m, int, htsize); in GetHashTable() 985 BROTLI_ALLOC(m, uint32_t, kCompressFragmentTwoPassBlockSize); in EncodeData() 987 BROTLI_ALLOC(m, uint8_t, kCompressFragmentTwoPassBlockSize); in EncodeData() 1048 new_commands = BROTLI_ALLOC(m, Command, newsize); in EncodeData() 1278 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, block_size + 1); in BrotliCompressBufferQuality10() 1300 Command* new_commands = BROTLI_ALLOC(m, Command, new_cmd_alloc_size); in BrotliCompressBufferQuality10() 1332 storage = BROTLI_ALLOC(m, uint8_t, 16); in BrotliCompressBufferQuality10() 1343 storage = BROTLI_ALLOC(m, uint8_t, metablock_size + 16); in BrotliCompressBufferQuality10() 1367 storage = BROTLI_ALLOC(m, uint8_t, 2 * metablock_size + 503); in BrotliCompressBufferQuality10() [all …]
|
D | backward_references_hq.c | 92 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel() 93 self->cost_dist_ = BROTLI_ALLOC(m, float, dist->alphabet_size_limit); in InitZopfliCostModel() 727 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateZopfliBackwardReferences() 746 uint32_t* num_matches = BROTLI_ALLOC(m, uint32_t, num_bytes); in BrotliCreateHqZopfliBackwardReferences() 758 BackwardMatch* matches = BROTLI_ALLOC(m, BackwardMatch, matches_size); in BrotliCreateHqZopfliBackwardReferences() 811 nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateHqZopfliBackwardReferences()
|
D | ringbuffer.h | 75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer()
|
D | metablock_inc.h | 72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in FN()
|
D | brotli_bit_stream.c | 436 HuffmanTree* tree = BROTLI_ALLOC(m, HuffmanTree, max_tree_size); in BrotliBuildAndStoreHuffmanTreeFast() 701 rle_symbols = BROTLI_ALLOC(m, uint32_t, context_map_size); in EncodeContextMap() 957 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlock() 1162 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlockTrivial()
|
D | hash.h | 428 hasher->common.extra = BROTLI_ALLOC(m, uint8_t, alloc_size); in HasherSetup()
|