Lines Matching refs:block_size
3 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) in gdImagePixelate() argument
7 if (block_size <= 0) { in gdImagePixelate()
9 } else if (block_size == 1) { in gdImagePixelate()
14 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
15 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate()
18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate()
24 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
25 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate()
32 for (cy = 0; cy < block_size; cy++) { in gdImagePixelate()
33 for (cx = 0; cx < block_size; cx++) { in gdImagePixelate()
48 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate()