Home
last modified time | relevance | path

Searched refs:base_ip (Results 1 – 2 of 2) sorted by relevance

/external/brotli/c/enc/
Dcompress_fragment_two_pass.c240 size_t block_size, size_t input_size, const uint8_t* base_ip, int* table, in CreateCommands() argument
301 table[hash] = (int)(ip - base_ip); in CreateCommands()
305 candidate = base_ip + table[hash]; in CreateCommands()
306 BROTLI_DCHECK(candidate >= base_ip); in CreateCommands()
309 table[hash] = (int)(ip - base_ip); in CreateCommands()
359 table[prev_hash] = (int)(ip - base_ip - 3); in CreateCommands()
361 table[prev_hash] = (int)(ip - base_ip - 2); in CreateCommands()
363 table[prev_hash] = (int)(ip - base_ip - 1); in CreateCommands()
367 table[prev_hash] = (int)(ip - base_ip - 5); in CreateCommands()
369 table[prev_hash] = (int)(ip - base_ip - 4); in CreateCommands()
[all …]
Dcompress_fragment.c439 const uint8_t* base_ip = input; in BrotliCompressFragmentFastImpl() local
539 table[hash] = (int)(ip - base_ip); in BrotliCompressFragmentFastImpl()
543 candidate = base_ip + table[hash]; in BrotliCompressFragmentFastImpl()
544 BROTLI_DCHECK(candidate >= base_ip); in BrotliCompressFragmentFastImpl()
547 table[hash] = (int)(ip - base_ip); in BrotliCompressFragmentFastImpl()
608 table[prev_hash] = (int)(ip - base_ip - 3); in BrotliCompressFragmentFastImpl()
610 table[prev_hash] = (int)(ip - base_ip - 2); in BrotliCompressFragmentFastImpl()
612 table[prev_hash] = (int)(ip - base_ip - 1); in BrotliCompressFragmentFastImpl()
614 candidate = base_ip + table[cur_hash]; in BrotliCompressFragmentFastImpl()
615 table[cur_hash] = (int)(ip - base_ip); in BrotliCompressFragmentFastImpl()
[all …]