Home
last modified time | relevance | path

Searched refs:HISTOGRAMS_PER_BATCH (Results 1 – 4 of 4) sorted by relevance

/external/cronet/third_party/brotli/enc/
Dblock_splitter_inc.h208 BROTLI_ALLOC(m, uint32_t, num_blocks + 4 * HISTOGRAMS_PER_BATCH); in FN()
210 (num_blocks + HISTOGRAMS_PER_BATCH - 1) / HISTOGRAMS_PER_BATCH; in FN()
220 BROTLI_MIN(size_t, num_blocks, HISTOGRAMS_PER_BATCH)); in FN()
222 HISTOGRAMS_PER_BATCH * HISTOGRAMS_PER_BATCH / 2; in FN()
231 uint32_t* BROTLI_RESTRICT const sizes = u32 + 0 * HISTOGRAMS_PER_BATCH; in FN()
232 uint32_t* BROTLI_RESTRICT const new_clusters = u32 + 1 * HISTOGRAMS_PER_BATCH; in FN()
233 uint32_t* BROTLI_RESTRICT const symbols = u32 + 2 * HISTOGRAMS_PER_BATCH; in FN()
234 uint32_t* BROTLI_RESTRICT const remap = u32 + 3 * HISTOGRAMS_PER_BATCH; in FN()
236 u32 + 4 * HISTOGRAMS_PER_BATCH; in FN()
247 memset(u32, 0, (num_blocks + 4 * HISTOGRAMS_PER_BATCH) * sizeof(uint32_t)); in FN()
[all …]
Dblock_splitter.c87 #define HISTOGRAMS_PER_BATCH 64 macro
/external/brotli/c/enc/
Dblock_splitter_inc.h196 (num_blocks + HISTOGRAMS_PER_BATCH - 1) / HISTOGRAMS_PER_BATCH; in FN()
206 BROTLI_MIN(size_t, num_blocks, HISTOGRAMS_PER_BATCH)); in FN()
208 HISTOGRAMS_PER_BATCH * HISTOGRAMS_PER_BATCH / 2; in FN()
217 uint32_t sizes[HISTOGRAMS_PER_BATCH] = { 0 }; in FN()
218 uint32_t new_clusters[HISTOGRAMS_PER_BATCH] = { 0 }; in FN()
219 uint32_t symbols[HISTOGRAMS_PER_BATCH] = { 0 }; in FN()
220 uint32_t remap[HISTOGRAMS_PER_BATCH] = { 0 }; in FN()
243 for (i = 0; i < num_blocks; i += HISTOGRAMS_PER_BATCH) { in FN()
245 BROTLI_MIN(size_t, num_blocks - i, HISTOGRAMS_PER_BATCH); in FN()
261 num_to_combine, HISTOGRAMS_PER_BATCH, max_num_pairs); in FN()
Dblock_splitter.c86 #define HISTOGRAMS_PER_BATCH 64 macro