Searched refs:run_end (Results 1 – 2 of 2) sorted by relevance
1413 uint32_t run_end = 1; in RunLengthEncode() local1415 uint8_t y = src_buf[run_end]; in RunLengthEncode()1416 while (run_end < src_size) { in RunLengthEncode()1418 while (x == y && (run_end - run_start < max_len - 1)) in RunLengthEncode()1419 y = src_buf[++run_end]; in RunLengthEncode()1423 run_end++; in RunLengthEncode()1424 if (run_end < src_size) in RunLengthEncode()1425 y = src_buf[run_end]; in RunLengthEncode()1427 if (run_end - run_start > 1) { // Matched run but not at end of input. in RunLengthEncode()1428 out[0] = 257 - (run_end - run_start); in RunLengthEncode()[all …]
169 auto* run_end = run_begin + 1; in Compute() local170 if (run_end == end) break; in Compute()171 if (input_data[*run_begin] == input_data[*run_end]) { in Compute()172 while (++run_end != end) { in Compute()173 if (input_data[*run_begin] != input_data[*run_end]) break; in Compute()175 std::sort(run_begin, run_end); in Compute()177 run_begin = run_end; in Compute()