Searched refs:UCH (Results 1 – 3 of 3) sorted by relevance
31 #define UCH(x) ((int) (x)) macro35 #define UCH(x) ((int) (x)) macro38 #define UCH(x) ((int) (x) & 0xFF) macro185 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row()203 t = UCH(source->tga_pixel[0]); in get_8bit_row()223 t = UCH(source->tga_pixel[0]); in get_16bit_row()224 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row()250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row()251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row()252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()[all …]
46 #define UCH(x) ((int) (x)) macro50 #define UCH(x) ((int) (x)) macro53 #define UCH(x) ((int) (x) & 0xFF) macro193 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row()214 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()215 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()216 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_rgb_row()253 temp = UCH(*bufferptr++) << 8; in get_word_gray_row()254 temp |= UCH(*bufferptr++); in get_word_gray_row()277 temp = UCH(*bufferptr++) << 8; in get_word_rgb_row()[all …]
37 #define UCH(x) ((int) (x)) macro41 #define UCH(x) ((int) (x)) macro44 #define UCH(x) ((int) (x) & 0xFF) macro283 #define GET_2B(array,offset) ((unsigned short) UCH(array[offset]) + \ in start_input_bmp()284 (((unsigned short) UCH(array[offset+1])) << 8)) in start_input_bmp()285 #define GET_4B(array,offset) ((unsigned int) UCH(array[offset]) + \ in start_input_bmp()286 (((unsigned int) UCH(array[offset+1])) << 8) + \ in start_input_bmp()287 (((unsigned int) UCH(array[offset+2])) << 16) + \ in start_input_bmp()288 (((unsigned int) UCH(array[offset+3])) << 24)) in start_input_bmp()