Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h7699 const char *runStart = in; in rleCompress() local
7703 while (runStart < inEnd) { in rleCompress()
7704 while (runEnd < inEnd && *runStart == *runEnd && in rleCompress()
7705 runEnd - runStart - 1 < MAX_RUN_LENGTH) { in rleCompress()
7709 if (runEnd - runStart >= MIN_RUN_LENGTH) { in rleCompress()
7714 *outWrite++ = static_cast<char>(runEnd - runStart) - 1; in rleCompress()
7715 *outWrite++ = *(reinterpret_cast<const signed char *>(runStart)); in rleCompress()
7716 runStart = runEnd; in rleCompress()
7725 runEnd - runStart < MAX_RUN_LENGTH) { in rleCompress()
7729 *outWrite++ = static_cast<char>(runStart - runEnd); in rleCompress()
[all …]