Lines Matching refs:count
37 int count = 1;
39 for(pos = start + bpp; count < FFMIN(127, len); pos += bpp, count ++) {
44 if(bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos+1))
49 count --;
55 return count;
61 int count, x;
64 for(x = 0; x < w; x += count) {
66 if((count = count_pixels(ptr, w-x, bpp, 1)) > 1) {
68 *out++ = (count ^ xor_rep) + add_rep;
73 count = count_pixels(ptr, w-x, bpp, 0);
74 if(out + bpp*count >= outbuf + out_size) return -1;
75 *out++ = (count ^ xor_raw) + add_raw;
77 memcpy(out, ptr, bpp * count);
78 out += bpp * count;
81 ptr += count * bpp;