Lines Matching refs:imgPtr
1273 ubyte *imgPtr = in; in RLEEncodeImage() local
1279 while (imgPtr < endPtr) { in RLEEncodeImage()
1280 c = *imgPtr++; in RLEEncodeImage()
1284 while (*imgPtr == c && cnt < inLength) { in RLEEncodeImage()
1285 if (imgPtr > endPtr) { in RLEEncodeImage()
1289 imgPtr++; in RLEEncodeImage()
1316 start = (imgPtr - 1); // The first byte of the literal run in RLEEncodeImage()
1319 for (cnt = 1, p = start; *p != *imgPtr; p++, imgPtr++, cnt++) { in RLEEncodeImage()
1320 if (imgPtr >= endPtr) break; in RLEEncodeImage()
1322 if (!(imgPtr == endPtr)) { in RLEEncodeImage()
1323 imgPtr--; in RLEEncodeImage()