Lines Matching refs:targaheader
342 U_CHAR targaheader[18]; in start_input_tga() local
347 #define GET_2B(offset) ((unsigned int)UCH(targaheader[offset]) + \ in start_input_tga()
348 (((unsigned int)UCH(targaheader[offset + 1])) << 8)) in start_input_tga()
350 if (!ReadOK(source->pub.input_file, targaheader, 18)) in start_input_tga()
354 if (targaheader[16] == 15) in start_input_tga()
355 targaheader[16] = 16; in start_input_tga()
357 idlen = UCH(targaheader[0]); in start_input_tga()
358 cmaptype = UCH(targaheader[1]); in start_input_tga()
359 subtype = UCH(targaheader[2]); in start_input_tga()
363 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga()
364 flags = UCH(targaheader[17]); /* Image Descriptor byte */ in start_input_tga()
371 (UCH(targaheader[16]) & 7) != 0 || /* bits/pixel must be multiple of 8 */ in start_input_tga()
462 read_colormap(source, (int)maplen, UCH(targaheader[7])); in start_input_tga()