Lines Matching refs:block_ids
155 static size_t FN(RemapBlockIds)(uint8_t* block_ids, const size_t length, in FN()
164 BROTLI_DCHECK(block_ids[i] < num_histograms); in FN()
165 if (new_id[block_ids[i]] == kInvalidId) { in FN()
166 new_id[block_ids[i]] = next_id++; in FN()
170 block_ids[i] = (uint8_t)new_id[block_ids[i]]; in FN()
171 BROTLI_DCHECK(block_ids[i] < num_histograms); in FN()
178 const uint8_t* block_ids, in FN()
184 FN(HistogramAdd)(&histograms[block_ids[i]], data[i]); in FN()
191 uint8_t* block_ids, in FN()
231 if (i + 1 == length || block_ids[i] != block_ids[i + 1]) { in FN()
399 uint8_t* block_ids = BROTLI_ALLOC(m, uint8_t, length); in FN() local
414 block_ids); in FN()
415 num_histograms = FN(RemapBlockIds)(block_ids, length, in FN()
417 FN(BuildBlockHistograms)(data, length, block_ids, in FN()
425 FN(ClusterBlocks)(m, data, length, num_blocks, block_ids, split); in FN()
427 BROTLI_FREE(m, block_ids); in FN()