UCH 247 rdbmp.c #define GET_2B(array,offset) ((unsigned int) UCH(array[offset]) + \ UCH 248 rdbmp.c (((unsigned int) UCH(array[offset+1])) << 8)) UCH 249 rdbmp.c #define GET_4B(array,offset) ((INT32) UCH(array[offset]) + \ UCH 250 rdbmp.c (((INT32) UCH(array[offset+1])) << 8) + \ UCH 251 rdbmp.c (((INT32) UCH(array[offset+2])) << 16) + \ UCH 252 rdbmp.c (((INT32) UCH(array[offset+3])) << 24)) UCH 194 rdppm.c *ptr++ = rescale[UCH(*bufferptr++)]; UCH 215 rdppm.c *ptr++ = rescale[UCH(*bufferptr++)]; UCH 216 rdppm.c *ptr++ = rescale[UCH(*bufferptr++)]; UCH 217 rdppm.c *ptr++ = rescale[UCH(*bufferptr++)]; UCH 254 rdppm.c temp = UCH(*bufferptr++) << 8; UCH 255 rdppm.c temp |= UCH(*bufferptr++); UCH 278 rdppm.c temp = UCH(*bufferptr++) << 8; UCH 279 rdppm.c temp |= UCH(*bufferptr++); UCH 281 rdppm.c temp = UCH(*bufferptr++) << 8; UCH 282 rdppm.c temp |= UCH(*bufferptr++); UCH 284 rdppm.c temp = UCH(*bufferptr++) << 8; UCH 285 rdppm.c temp |= UCH(*bufferptr++); UCH 184 rdtarga.c *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); UCH 202 rdtarga.c t = UCH(source->tga_pixel[0]); UCH 222 rdtarga.c t = UCH(source->tga_pixel[0]); UCH 223 rdtarga.c t += UCH(source->tga_pixel[1]) << 8; UCH 249 rdtarga.c *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ UCH 250 rdtarga.c *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); UCH 251 rdtarga.c *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); UCH 341 rdtarga.c #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \ UCH 342 rdtarga.c (((unsigned int) UCH(targaheader[offset+1])) << 8)) UCH 351 rdtarga.c idlen = UCH(targaheader[0]); UCH 352 rdtarga.c cmaptype = UCH(targaheader[1]); UCH 353 rdtarga.c subtype = UCH(targaheader[2]); UCH 357 rdtarga.c source->pixel_size = UCH(targaheader[16]) >> 3; UCH 358 rdtarga.c flags = UCH(targaheader[17]); /* Image Descriptor byte */ UCH 365 rdtarga.c (UCH(targaheader[16]) & 7) != 0 || /* bits/pixel must be multiple of 8 */ UCH 454 rdtarga.c read_colormap(source, (int) maplen, UCH(targaheader[7]));