Lines Matching defs:buf
10 GrayMap *gdkPixbufToGrayMap(GdkPixbuf *buf)
12 if (!buf)
15 int width = gdk_pixbuf_get_width(buf);
16 int height = gdk_pixbuf_get_height(buf);
17 guchar *pixdata = gdk_pixbuf_get_pixels(buf);
18 int rowstride = gdk_pixbuf_get_rowstride(buf);
19 int n_channels = gdk_pixbuf_get_n_channels(buf);
59 GdkPixbuf *buf = gdk_pixbuf_new_from_data(pixdata, GDK_COLORSPACE_RGB,
78 return buf;
87 PackedPixelMap *gdkPixbufToPackedPixelMap(GdkPixbuf *buf)
89 if (!buf)
92 int width = gdk_pixbuf_get_width(buf);
93 int height = gdk_pixbuf_get_height(buf);
94 guchar *pixdata = gdk_pixbuf_get_pixels(buf);
95 int rowstride = gdk_pixbuf_get_rowstride(buf);
96 int n_channels = gdk_pixbuf_get_n_channels(buf);
130 RgbMap *gdkPixbufToRgbMap(GdkPixbuf *buf)
132 if (!buf)
135 int width = gdk_pixbuf_get_width(buf);
136 int height = gdk_pixbuf_get_height(buf);
137 guchar *pixdata = gdk_pixbuf_get_pixels(buf);
138 int rowstride = gdk_pixbuf_get_rowstride(buf);
139 int n_channels = gdk_pixbuf_get_n_channels(buf);
188 GdkPixbuf *buf = gdk_pixbuf_new_from_data(pixdata, GDK_COLORSPACE_RGB,
209 return buf;