Home
last modified time | relevance | path

Searched refs:last_distance (Results 1 – 3 of 3) sorted by relevance

/external/brotli/c/enc/
Dhash.h79 int last_distance = distance_cache[0]; in PrepareDistanceCache() local
80 distance_cache[4] = last_distance - 1; in PrepareDistanceCache()
81 distance_cache[5] = last_distance + 1; in PrepareDistanceCache()
82 distance_cache[6] = last_distance - 2; in PrepareDistanceCache()
83 distance_cache[7] = last_distance + 2; in PrepareDistanceCache()
84 distance_cache[8] = last_distance - 3; in PrepareDistanceCache()
85 distance_cache[9] = last_distance + 3; in PrepareDistanceCache()
Dcompress_fragment_two_pass.c252 int last_distance = -1; in CreateCommands() local
298 candidate = ip - last_distance; in CreateCommands()
335 if (distance == last_distance) { in CreateCommands()
340 last_distance = distance; in CreateCommands()
394 last_distance = (int)(base - candidate); /* > 0 */ in CreateCommands()
397 EmitDistance((uint32_t)last_distance, commands); in CreateCommands()
Dcompress_fragment.c460 int last_distance; in BrotliCompressFragmentFastImpl() local
491 last_distance = -1; in BrotliCompressFragmentFastImpl()
536 candidate = ip - last_distance; in BrotliCompressFragmentFastImpl()
586 if (distance == last_distance) { in BrotliCompressFragmentFastImpl()
592 last_distance = distance; in BrotliCompressFragmentFastImpl()
627 last_distance = (int)(base - candidate); /* > 0 */ in BrotliCompressFragmentFastImpl()
631 EmitDistance((size_t)last_distance, cmd_depth, cmd_bits, in BrotliCompressFragmentFastImpl()