Lines Matching refs:count
36 int count = 1;
38 for(pos = start + bpp; count < FFMIN(127, len); pos += bpp, count ++) {
43 if(bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos+1))
48 count --;
54 return count;
60 int count, x;
63 for(x = 0; x < w; x += count) {
65 if((count = count_pixels(ptr, w-x, bpp, 1)) > 1) {
67 *out++ = (count ^ xor_rep) + add_rep;
72 count = count_pixels(ptr, w-x, bpp, 0);
73 if(out + bpp*count >= outbuf + out_size) return -1;
74 *out++ = (count ^ xor_raw) + add_raw;
76 memcpy(out, ptr, bpp * count);
77 out += bpp * count;
80 ptr += count * bpp;