Home | History | Annotate | Download | only in jpeg-6b

Lines Matching refs:targaheader

336   U_CHAR targaheader[18];
341 #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \
342 (((unsigned int) UCH(targaheader[offset+1])) << 8))
344 if (! ReadOK(source->pub.input_file, targaheader, 18))
348 if (targaheader[16] == 15)
349 targaheader[16] = 16;
351 idlen = UCH(targaheader[0]);
352 cmaptype = UCH(targaheader[1]);
353 subtype = UCH(targaheader[2]);
357 source->pixel_size = UCH(targaheader[16]) >> 3;
358 flags = UCH(targaheader[17]); /* Image Descriptor byte */
365 (UCH(targaheader[16]) & 7) != 0 || /* bits/pixel must be multiple of 8 */
454 read_colormap(source, (int) maplen, UCH(targaheader[7]));