Searched refs:UCH (Results 1 – 6 of 6) sorted by relevance
29 #define UCH(x) ((int) (x)) macro33 #define UCH(x) ((int) (x)) macro36 #define UCH(x) ((int) (x) & 0xFF) macro184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_8bit_gray_row()202 t = UCH(source->tga_pixel[0]); in get_8bit_row()222 t = UCH(source->tga_pixel[0]); in get_16bit_row()223 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row()249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row()250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]); in get_24bit_row()251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]); in get_24bit_row()[all …]
43 #define UCH(x) ((int) (x)) macro47 #define UCH(x) ((int) (x)) macro50 #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++); in get_word_gray_row()254 temp |= UCH(*bufferptr++) << 8; in get_word_gray_row()277 temp = UCH(*bufferptr++); in get_word_rgb_row()[all …]
33 #define UCH(x) ((int) (x)) macro37 #define UCH(x) ((int) (x)) macro40 #define UCH(x) ((int) (x) & 0xFF) macro246 #define GET_2B(array,offset) ((unsigned int) UCH(array[offset]) + \ in start_input_bmp()247 (((unsigned int) UCH(array[offset+1])) << 8)) in start_input_bmp()248 #define GET_4B(array,offset) ((INT32) UCH(array[offset]) + \ in start_input_bmp()249 (((INT32) UCH(array[offset+1])) << 8) + \ in start_input_bmp()250 (((INT32) UCH(array[offset+2])) << 16) + \ in start_input_bmp()251 (((INT32) UCH(array[offset+3])) << 24)) in start_input_bmp()