Home | History | Annotate | Download | only in deimage

Lines Matching refs:pixels

41 	return (void*)((deUint8*)image->pixels + offset);
54 image->pixels = deMalloc(width * height * bpp);
55 if (!image->pixels)
60 memset(image->pixels, 0, width * height * bpp);
67 deFree(image->pixels);
105 memcpy(converted->pixels, image->pixels, width * height * deImageFormat_getBytesPerPixel(format));
161 void deImage_copyToUint8RGBA (const deImage* image, deUint8* pixels)
172 pixels[4*ndx+0] = (deUint8)deARGB_getRed(pixel);
173 pixels[4*ndx+1] = (deUint8)deARGB_getGreen(pixel);
174 pixels[4*ndx+2] = (deUint8)deARGB_getBlue(pixel);
175 pixels[4*ndx+3] = (deUint8)deARGB_getAlpha(pixel);
181 return image->pixels;