Searched refs:cmaptype (Results 1 – 1 of 1) sorted by relevance
338 int idlen, cmaptype, subtype, flags, interlace_type, components; in start_input_tga() local353 cmaptype = UCH(targaheader[1]); in start_input_tga()364 if (cmaptype > 1 || /* cmaptype must be 0 or 1 */ in start_input_tga()387 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga()458 if (cmaptype) /* but you promised a cmap! */ in start_input_tga()