Home
last modified time | relevance | path

Searched refs:num_literals (Results 1 – 9 of 9) sorted by relevance

/external/brotli/c/enc/
Dbackward_references_hq.h29 Command* commands, size_t* num_commands, size_t* num_literals);
35 Command* commands, size_t* num_commands, size_t* num_literals);
86 Command* commands, size_t* num_literals);
Dcompress_fragment_two_pass.c456 const uint8_t* literals, const size_t num_literals, in StoreCommands() argument
480 for (i = 0; i < num_literals; ++i) { in StoreCommands()
483 BrotliBuildAndStoreHuffmanTreeFast(m, lit_histo, num_literals, in StoreCommands()
525 const uint8_t* input, size_t input_size, size_t num_literals) { in ShouldCompress() argument
527 if (num_literals < MIN_RATIO * corpus_size) { in ShouldCompress()
572 size_t num_literals; in BrotliCompressFragmentTwoPassImpl() local
575 num_literals = (size_t)(literals - literal_buf); in BrotliCompressFragmentTwoPassImpl()
576 if (ShouldCompress(input, block_size, num_literals)) { in BrotliCompressFragmentTwoPassImpl()
581 StoreCommands(m, literal_buf, num_literals, command_buf, num_commands, in BrotliCompressFragmentTwoPassImpl()
Dbackward_references.c126 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateBackwardReferences() argument
133 last_insert_len, commands, num_commands, num_literals); \ in BrotliCreateBackwardReferences()
Dbackward_references_hq.c571 Command* commands, size_t* num_literals) { in BrotliZopfliCreateCommands() argument
605 *num_literals += insert_length; in BrotliZopfliCreateCommands()
715 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateZopfliBackwardReferences() argument
725 last_insert_len, params, commands, num_literals); in BrotliCreateZopfliBackwardReferences()
733 Command* commands, size_t* num_commands, size_t* num_literals) { in BrotliCreateHqZopfliBackwardReferences() argument
789 orig_num_literals = *num_literals; in BrotliCreateHqZopfliBackwardReferences()
808 *num_literals = orig_num_literals; in BrotliCreateHqZopfliBackwardReferences()
815 last_insert_len, params, commands, num_literals); in BrotliCreateHqZopfliBackwardReferences()
Dbackward_references_inc.h15 Command* commands, size_t* num_commands, size_t* num_literals) { in EXPORT_FN()
95 *num_literals += insert_length; in EXPORT_FN()
Dbackward_references.h32 Command* commands, size_t* num_commands, size_t* num_literals);
Dmetablock.c553 size_t num_literals = 0; in BrotliBuildMetaBlockGreedyInternal() local
556 num_literals += commands[i].insert_len_; in BrotliBuildMetaBlockGreedyInternal()
561 num_literals, &mb->literal_split, &mb->literal_histograms, in BrotliBuildMetaBlockGreedyInternal()
565 num_literals, &mb->literal_split, &mb->literal_histograms, in BrotliBuildMetaBlockGreedyInternal()
Dencode.c498 const size_t bytes, const size_t num_literals, const size_t num_commands) { in ShouldCompress() argument
502 if (num_literals > 0.99 * (double)bytes) { in ShouldCompress()
546 const size_t num_literals, in WriteMetaBlockInternal() argument
567 num_literals, num_commands)) { in WriteMetaBlockInternal()
1220 size_t num_literals = 0; in BrotliCompressBufferQuality10() local
1266 &last_insert_len, &params, &commands[num_commands], &num_literals); in BrotliCompressBufferQuality10()
1271 if (num_literals > max_literals_per_metablock || in BrotliCompressBufferQuality10()
1279 num_literals += last_insert_len; in BrotliCompressBufferQuality10()
1295 metablock_size, num_literals, num_commands)) { in BrotliCompressBufferQuality10()
Dbrotli_bit_stream.c1220 size_t num_literals = 0; in BrotliStoreMetaBlockFast() local
1231 num_literals += cmd.insert_len_; in BrotliStoreMetaBlockFast()
1234 BrotliBuildAndStoreHuffmanTreeFast(m, histogram, num_literals, in BrotliStoreMetaBlockFast()