Home
last modified time | relevance | path

Searched refs:UCH (Results 1 – 3 of 3) sorted by relevance

/external/jpeg/
Drdtarga.c29 #define UCH(x) ((int) (x)) macro
33 #define UCH(x) ((int) (x)) macro
36 #define UCH(x) ((int) (x) & 0xFF) macro
184 *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 …]
Drdppm.c43 #define UCH(x) ((int) (x)) macro
47 #define UCH(x) ((int) (x)) macro
50 #define UCH(x) ((int) (x) & 0xFF) macro
193 *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 …]
Drdbmp.c33 #define UCH(x) ((int) (x)) macro
37 #define UCH(x) ((int) (x)) macro
40 #define UCH(x) ((int) (x) & 0xFF) macro
246 #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()