Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter_inc.h194 uint32_t* block_lengths = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() local
223 BROTLI_IS_NULL(block_lengths) || BROTLI_IS_NULL(all_histograms) || in FN()
229 memset(block_lengths, 0, num_blocks * sizeof(uint32_t)); in FN()
235 ++block_lengths[block_idx]; in FN()
251 for (k = 0; k < block_lengths[i + j]; ++k) { in FN()
313 for (j = 0; j < block_lengths[i]; ++j) { in FN()
345 cur_length += block_lengths[i]; in FN()
360 BROTLI_FREE(m, block_lengths); in FN()
Dbrotli_bit_stream.c844 const uint32_t* block_lengths, const size_t num_blocks) { in InitBlockEncoder() argument
848 self->block_lengths_ = block_lengths; in InitBlockEncoder()
852 self->block_len_ = num_blocks == 0 ? 0 : block_lengths[0]; in InitBlockEncoder()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter_inc.h194 uint32_t* block_lengths = BROTLI_ALLOC(m, uint32_t, num_blocks); in FN() local
223 BROTLI_IS_NULL(block_lengths) || BROTLI_IS_NULL(all_histograms) || in FN()
229 memset(block_lengths, 0, num_blocks * sizeof(uint32_t)); in FN()
235 ++block_lengths[block_idx]; in FN()
251 for (k = 0; k < block_lengths[i + j]; ++k) { in FN()
313 for (j = 0; j < block_lengths[i]; ++j) { in FN()
345 cur_length += block_lengths[i]; in FN()
360 BROTLI_FREE(m, block_lengths); in FN()
Dbrotli_bit_stream.c844 const uint32_t* block_lengths, const size_t num_blocks) { in InitBlockEncoder() argument
848 self->block_lengths_ = block_lengths; in InitBlockEncoder()
852 self->block_len_ = num_blocks == 0 ? 0 : block_lengths[0]; in InitBlockEncoder()