Lines Matching refs:count
149 int count = (*src & 0x7f) + 1; in _LoadTGAScanlineRLE() local
155 for(i = 0; i < count; i++) { in _LoadTGAScanlineRLE()
181 for (i = 0; i < count; i++) { in _LoadTGAScanlineRLE()
388 int count = 0;
392 count++;
393 if (count == maxHit) {
401 return count;
411 int count = 0;
415 count++;
416 if (count > maxHit + 1) {
420 if (count - 1 >= 0) {
421 count--;
427 if (count > maxHit) {
428 count = maxHit;
431 return count;
448 int count;
453 count = 0;
456 count = _cmpLine(tga, p1, tga->width - x, 127);
458 if (count == 0) {
460 count = _uncmpLine(tga, p1, tga->width - x, 127);
464 code = (unsigned char)(count + (mode ? 0x00 : 0x80));
472 memcpy(&fbuf[ret], p1, tga->bpp * (count + 1));
473 ret += tga->bpp * (count + 1);
476 p1 += (count + 1) * tga->bpp;
477 x += count + 1;