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

/xsrc/external/mit/brotli/dist/c/enc/
H A Dbackward_references.h33 Command* commands, size_t* num_commands, size_t* num_literals);
H A Dbackward_references_hq.h31 Command* commands, size_t* num_commands, size_t* num_literals);
38 Command* commands, size_t* num_commands, size_t* num_literals);
89 Command* commands, size_t* num_literals);
H A Dbackward_references.c127 Command* commands, size_t* num_commands, size_t* num_literals) {
134 last_insert_len, commands, num_commands, num_literals); \
123 BrotliCreateBackwardReferences(size_t num_bytes,size_t position,const uint8_t * ringbuffer,size_t ringbuffer_mask,ContextLut literal_context_lut,const BrotliEncoderParams * params,Hasher * hasher,int * dist_cache,size_t * last_insert_len,Command * commands,size_t * num_commands,size_t * num_literals) argument
H A Dcompress_fragment_two_pass.c456 const uint8_t* literals, const size_t num_literals,
480 for (i = 0; i < num_literals; ++i) {
483 BrotliBuildAndStoreHuffmanTreeFast(m, lit_histo, num_literals,
525 const uint8_t* input, size_t input_size, size_t num_literals) {
527 if ((double)num_literals < MIN_RATIO * corpus_size) {
572 size_t num_literals; local in function:BrotliCompressFragmentTwoPassImpl
575 num_literals = (size_t)(literals - literal_buf);
576 if (ShouldCompress(input, block_size, num_literals)) {
581 StoreCommands(m, literal_buf, num_literals, command_buf, num_commands,
455 StoreCommands(MemoryManager * m,const uint8_t * literals,const size_t num_literals,const uint32_t * commands,const size_t num_commands,size_t * storage_ix,uint8_t * storage) argument
524 ShouldCompress(const uint8_t * input,size_t input_size,size_t num_literals) argument
H A Dbackward_references_hq.c574 Command* commands, size_t* num_literals) {
610 *num_literals += insert_length;
726 Command* commands, size_t* num_commands, size_t* num_literals) {
735 last_insert_len, params, commands, num_literals);
743 Command* commands, size_t* num_commands, size_t* num_literals) {
807 orig_num_literals = *num_literals;
826 *num_literals = orig_num_literals;
833 last_insert_len, params, commands, num_literals);
571 BrotliZopfliCreateCommands(const size_t num_bytes,const size_t block_start,const ZopfliNode * nodes,int * dist_cache,size_t * last_insert_len,const BrotliEncoderParams * params,Command * commands,size_t * num_literals) argument
722 BrotliCreateZopfliBackwardReferences(MemoryManager * m,size_t num_bytes,size_t position,const uint8_t * ringbuffer,size_t ringbuffer_mask,ContextLut literal_context_lut,const BrotliEncoderParams * params,Hasher * hasher,int * dist_cache,size_t * last_insert_len,Command * commands,size_t * num_commands,size_t * num_literals) argument
739 BrotliCreateHqZopfliBackwardReferences(MemoryManager * m,size_t num_bytes,size_t position,const uint8_t * ringbuffer,size_t ringbuffer_mask,ContextLut literal_context_lut,const BrotliEncoderParams * params,Hasher * hasher,int * dist_cache,size_t * last_insert_len,Command * commands,size_t * num_commands,size_t * num_literals) argument
H A Dbackward_references_inc.h15 Command* commands, size_t* num_commands, size_t* num_literals) {
105 *num_literals += insert_length;
H A Dmetablock.c549 size_t num_literals = 0; local in function:BrotliBuildMetaBlockGreedyInternal
552 num_literals += commands[i].insert_len_;
557 num_literals, &mb->literal_split, &mb->literal_histograms,
561 num_literals, &mb->literal_split, &mb->literal_histograms,
H A Dencode.c515 const size_t bytes, const size_t num_literals, const size_t num_commands) {
519 if ((double)num_literals > 0.99 * (double)bytes) {
563 const size_t num_literals,
584 num_literals, num_commands)) {
1263 size_t num_literals = 0; local in function:BrotliCompressBufferQuality10
1310 &last_insert_len, &params, &commands[num_commands], &num_literals);
1315 if (num_literals > max_literals_per_metablock ||
1323 num_literals += last_insert_len;
1339 metablock_size, num_literals, num_commands)) {
513 ShouldCompress(const uint8_t * data,const size_t mask,const uint64_t last_flush_pos,const size_t bytes,const size_t num_literals,const size_t num_commands) argument
553 WriteMetaBlockInternal(MemoryManager * m,const uint8_t * data,const size_t mask,const uint64_t last_flush_pos,const size_t bytes,const BROTLI_BOOL is_last,ContextType literal_context_mode,const BrotliEncoderParams * params,const uint8_t prev_byte,const uint8_t prev_byte2,const size_t num_literals,const size_t num_commands,Command * commands,const int * saved_dist_cache,int * dist_cache,size_t * storage_ix,uint8_t * storage) argument
H A Dbrotli_bit_stream.c1203 size_t num_literals = 0; local in function:BrotliStoreMetaBlockFast
1214 num_literals += cmd.insert_len_;
1217 BrotliBuildAndStoreHuffmanTreeFast(m, histogram, num_literals,

Completed in 15 milliseconds