Lines Matching refs:grayMap
21 GrayMap *grayMap = GrayMapCreate(width, height);
22 if (!grayMap)
37 grayMap->setPixel(grayMap, x, y, bright);
43 return grayMap;
46 GdkPixbuf *grayMapToGdkPixbuf(GrayMap *grayMap)
48 if (!grayMap)
52 malloc(sizeof(guchar) * grayMap->width * grayMap->height * 3);
57 int rowstride = grayMap->width * 3;
60 0, 8, grayMap->width, grayMap->height,
66 for (y=0 ; y<grayMap->height ; y++)
69 for (x=0 ; x<grayMap->width ; x++)
71 unsigned long pix = grayMap->getPixel(grayMap, x, y) / 3;