Lines Matching refs:height
57 void createtgafile(char *name, unsigned short width, unsigned short height) { in createtgafile() argument
61 filesize = 3 * width * height + 18 - 10; in createtgafile()
89 fputc((height & 0xff), ofp); /* Height, low byte */ in createtgafile()
90 fputc(((height >> 8) & 0xff), ofp); /* Height, high byte */ in createtgafile()
155 int format, width, height, w1, w2, h1, h2, depth, flags; in readtga() local
191 height = ((h2 << 8) | h1); in readtga()
193 imgsize = 3 * width * height; in readtga()
205 for (i = 0; i < height / 2; i++) { in readtga()
207 memcpy(&(*imgdata)[rowsize * i], &(*imgdata)[rowsize * (height - 1 - i)], rowsize); in readtga()
208 memcpy(&(*imgdata)[rowsize * (height - 1 - i)], copytmp, rowsize); in readtga()
222 *yres = height; in readtga()