Lines Matching refs:header
149 unsigned char header[18]; in read_header_tga() local
151 if (gdGetBuf(header, sizeof(header), ctx) < 18) { in read_header_tga()
156 tga->identsize = header[0]; in read_header_tga()
157 tga->colormaptype = header[1]; in read_header_tga()
158 tga->imagetype = header[2]; in read_header_tga()
159 tga->colormapstart = header[3] + (header[4] << 8); in read_header_tga()
160 tga->colormaplength = header[5] + (header[6] << 8); in read_header_tga()
161 tga->colormapbits = header[7]; in read_header_tga()
162 tga->xstart = header[8] + (header[9] << 8); in read_header_tga()
163 tga->ystart = header[10] + (header[11] << 8); in read_header_tga()
164 tga->width = header[12] + (header[13] << 8); in read_header_tga()
165 tga->height = header[14] + (header[15] << 8); in read_header_tga()
166 tga->bits = header[16]; in read_header_tga()
167 tga->alphabits = header[17] & 0x0f; in read_header_tga()
168 tga->fliph = (header[17] & 0x10) ? 1 : 0; in read_header_tga()
169 tga->flipv = (header[17] & 0x20) ? 0 : 1; in read_header_tga()