Lines Matching refs:width
38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format);
39 DE_ASSERT(deInBounds32(x, 0, image->width));
44 deImage* deImage_create (int width, int height, deImageFormat format)
51 image->width = width;
54 image->pixels = deMalloc(width * height * bpp);
60 memset(image->pixels, 0, width * height * bpp);
98 int width = image->width;
100 deImage* converted = deImage_create(width, height, format);
105 memcpy(converted->pixels, image->pixels, width * height * deImageFormat_getBytesPerPixel(format));
110 for (x = 0; x < width; x++)
119 int srcWidth = srcImage->width;
128 float xFloat = ((float)x + 0.5f) / (float)dstWidth * (float)srcImage->width - 0.5f;
163 int width = image->width;
168 for (x = 0; x < width; x++)
171 int ndx = (y * width) + x;
186 return image->width;