Home
last modified time | relevance | path

Searched refs:BROTLI_ALLOC (Results 1 – 12 of 12) sorted by relevance

/external/brotli/c/enc/
Dblock_splitter_inc.h193 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()
280 pairs = BROTLI_ALLOC(m, HistogramPair, max_num_pairs + 1); in FN()
284 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
296 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
388 histograms = BROTLI_ALLOC(m, HistogramType, num_histograms); in FN()
[all …]
Dmetablock.c202 BROTLI_ALLOC(m, ContextType, mb->literal_split.num_types); in BrotliBuildMetaBlock()
212 BROTLI_ALLOC(m, HistogramLiteral, literal_histograms_size); in BrotliBuildMetaBlock()
219 BROTLI_ALLOC(m, HistogramDistance, distance_histograms_size); in BrotliBuildMetaBlock()
226 BROTLI_ALLOC(m, HistogramCommand, mb->command_histograms_size); in BrotliBuildMetaBlock()
240 BROTLI_ALLOC(m, uint32_t, mb->literal_context_map_size); in BrotliBuildMetaBlock()
246 BROTLI_ALLOC(m, HistogramLiteral, mb->literal_histograms_size); in BrotliBuildMetaBlock()
271 BROTLI_ALLOC(m, uint32_t, mb->distance_context_map_size); in BrotliBuildMetaBlock()
277 BROTLI_ALLOC(m, HistogramDistance, mb->distance_histograms_size); in BrotliBuildMetaBlock()
374 *histograms = BROTLI_ALLOC(m, HistogramLiteral, *histograms_size); in InitContextBlockSplitter()
422 BROTLI_ALLOC(m, HistogramLiteral, 2 * num_contexts); in ContextBlockSplitterFinishBlock()
[all …]
Dblock_encoder_inc.h19 self->depths_ = BROTLI_ALLOC(m, uint8_t, table_size); in FN()
20 self->bits_ = BROTLI_ALLOC(m, uint16_t, table_size); in FN()
Dcluster_inc.h214 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);
Dblock_splitter.c134 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()
Dmemory.h44 #define BROTLI_ALLOC(M, T, N) \ macro
74 new_array = BROTLI_ALLOC((M), T, _new_size); \
Dencode.c197 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage()
236 s->large_table_ = BROTLI_ALLOC(m, int, htsize); in GetHashTable()
951 BROTLI_ALLOC(m, uint32_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
953 BROTLI_ALLOC(m, uint8_t, kCompressFragmentTwoPassBlockSize); in EncodeData()
1011 new_commands = BROTLI_ALLOC(m, Command, newsize); in EncodeData()
1234 ZopfliNode* nodes = BROTLI_ALLOC(m, ZopfliNode, block_size + 1); in BrotliCompressBufferQuality10()
1256 Command* new_commands = BROTLI_ALLOC(m, Command, new_cmd_alloc_size); in BrotliCompressBufferQuality10()
1288 storage = BROTLI_ALLOC(m, uint8_t, 16); in BrotliCompressBufferQuality10()
1299 storage = BROTLI_ALLOC(m, uint8_t, metablock_size + 16); in BrotliCompressBufferQuality10()
1327 storage = BROTLI_ALLOC(m, uint8_t, 2 * metablock_size + 503); in BrotliCompressBufferQuality10()
[all …]
Dbackward_references_hq.c94 self->literal_costs_ = BROTLI_ALLOC(m, float, num_bytes + 2); in InitZopfliCostModel()
95 self->cost_dist_ = BROTLI_ALLOC(m, float, dist->alphabet_size); in InitZopfliCostModel()
717 nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateZopfliBackwardReferences()
735 uint32_t* num_matches = BROTLI_ALLOC(m, uint32_t, num_bytes); in BrotliCreateHqZopfliBackwardReferences()
747 BackwardMatch* matches = BROTLI_ALLOC(m, BackwardMatch, matches_size); in BrotliCreateHqZopfliBackwardReferences()
793 nodes = BROTLI_ALLOC(m, ZopfliNode, num_bytes + 1); in BrotliCreateHqZopfliBackwardReferences()
Dringbuffer.h75 uint8_t* new_data = BROTLI_ALLOC( in RingBufferInitBuffer()
Dmetablock_inc.h72 *histograms = BROTLI_ALLOC(m, HistogramType, *histograms_size); in FN()
Dbrotli_bit_stream.c451 HuffmanTree* tree = BROTLI_ALLOC(m, HuffmanTree, max_tree_size); in BrotliBuildAndStoreHuffmanTreeFast()
716 rle_symbols = BROTLI_ALLOC(m, uint32_t, context_map_size); in EncodeContextMap()
974 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlock()
1179 tree = BROTLI_ALLOC(m, HuffmanTree, MAX_HUFFMAN_TREE_SIZE); in BrotliStoreMetaBlockTrivial()
Dhash.h437 self = BROTLI_ALLOC(m, uint8_t, alloc_size); in HasherSetup()