Lines Matching refs:ncolors
38 const gint buf_row_width, const gint ncolors, const gint bpp,
44 const gboolean has_alpha = bpp > ncolors;
51 for (color = ncolors - 1; color >= 0; color--)
69 tile->data[(y1 * ewidth + x1) * bpp + ncolors] =
70 buf[buf_row_width * y1 + bpp * x1 + ncolors];
337 const gint buf_row_width, const gint ncolors, in convolve_tile_general() argument
344 const gboolean has_alpha = bpp > ncolors; in convolve_tile_general()
356 for (color = ncolors - 1; color >= 0; color--) in convolve_tile_general()
388 const gint buf_row_width, const gint ncolors, const gint bpp, in convolve_tile() argument
391 if ((ncolors == 3) && (bpp == 4)) in convolve_tile()
395 else if ((ncolors == 3) && (bpp == 3)) in convolve_tile()
399 else if ((ncolors == 1) && (bpp == 2)) in convolve_tile()
403 else if ((ncolors == 1) && (bpp == 1)) in convolve_tile()
409 convolve_tile_general (tile, buf, buf_row_width, ncolors, bpp, mat, in convolve_tile()
444 const gint ncolors = source->bpp - source->has_alpha; in convolve_image() local
451 ncolors, sink->bpp, mat->data, mat_size); in convolve_image()