Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec.cpp122 uint32_t run_end = 1; in RunLengthEncode() local
124 uint8_t y = src_buf[run_end]; in RunLengthEncode()
125 while (run_end < src_size) { in RunLengthEncode()
127 while (x == y && (run_end - run_start < max_len - 1)) in RunLengthEncode()
128 y = src_buf[++run_end]; in RunLengthEncode()
132 run_end++; in RunLengthEncode()
133 if (run_end < src_size) in RunLengthEncode()
134 y = src_buf[run_end]; in RunLengthEncode()
136 if (run_end - run_start > 1) { // Matched run but not at end of input. in RunLengthEncode()
137 out[0] = 257 - (run_end - run_start); in RunLengthEncode()
[all …]