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()
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 …]
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()
Dmetablock.c198 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 …]
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
86 new_array = BROTLI_ALLOC((M), T, _new_size); \
Dencode.c214 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 …]
Dbackward_references_hq.c92 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()
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.c436 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()
Dhash.h428 hasher->common.extra = BROTLI_ALLOC(m, uint8_t, alloc_size); in HasherSetup()