Searched refs:run_end (Results 1 – 2 of 2) sorted by relevance
247 uint32_t run_end = 1; in RunLengthEncode() local249 uint8_t y = src_span[run_end]; in RunLengthEncode()250 while (run_end < src_span.size()) { in RunLengthEncode()252 while (x == y && (run_end - run_start < max_len - 1)) in RunLengthEncode()253 y = src_span[++run_end]; in RunLengthEncode()257 run_end++; in RunLengthEncode()258 if (run_end < src_span.size()) in RunLengthEncode()259 y = src_span[run_end]; in RunLengthEncode()261 if (run_end - run_start > 1) { // Matched run but not at end of input. in RunLengthEncode()262 out[0] = 257 - (run_end - run_start); in RunLengthEncode()[all …]
171 auto* run_end = run_begin + 1; in Compute() local172 if (run_end == end) break; in Compute()173 if (input_data[*run_begin] == input_data[*run_end]) { in Compute()174 while (++run_end != end) { in Compute()175 if (input_data[*run_begin] != input_data[*run_end]) break; in Compute()177 std::sort(run_begin, run_end); in Compute()179 run_begin = run_end; in Compute()