Home
last modified time | relevance | path

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

/external/zstd/doc/educational_decoder/
Dzstd_decompress.c373 static size_t compute_offset(sequence_command_t seq, u64 *const offset_hist);
1238 u64 *const offset_hist = ctx->previous_offsets; in execute_sequences() local
1248 size_t const offset = compute_offset(seq, offset_hist); in execute_sequences()
1284 static size_t compute_offset(sequence_command_t seq, u64 *const offset_hist) { in compute_offset() argument
1305 offset = offset_hist[0]; in compute_offset()
1309 offset = idx < 3 ? offset_hist[idx] : offset_hist[0] - 1; in compute_offset()
1314 offset_hist[2] = offset_hist[1]; in compute_offset()
1316 offset_hist[1] = offset_hist[0]; in compute_offset()
1317 offset_hist[0] = offset; in compute_offset()
1325 offset_hist[2] = offset_hist[1]; in compute_offset()
[all …]