Searched refs:UCH (Results 1 – 10 of 10) sorted by relevance
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | rdtarga.c | 32 #define UCH(x) ((int)(x)) macro 36 #define UCH(x) ((int)(x)) macro 39 #define UCH(x) ((int)(x) & 0xFF) macro 185 *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 …]
|
D | rdppm.c | 48 #define UCH(x) ((int)(x)) macro 52 #define UCH(x) ((int)(x)) macro 55 #define UCH(x) ((int)(x) & 0xFF) macro 330 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row() 364 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_gray_rgb_row() 366 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_gray_rgb_row() 396 JSAMPLE gray = rescale[UCH(*bufferptr++)]; in get_gray_cmyk_row() 432 RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_rgb_row() 434 RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_rgb_row() 466 JSAMPLE r = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row() [all …]
|
D | rdbmp.c | 39 #define UCH(x) ((int)(x)) macro 43 #define UCH(x) ((int)(x)) macro 46 #define UCH(x) ((int)(x) & 0xFF) macro 431 ((unsigned short)UCH(array[offset]) + \ in start_input_bmp() 432 (((unsigned short)UCH(array[offset + 1])) << 8)) in start_input_bmp() 434 ((unsigned int)UCH(array[offset]) + \ in start_input_bmp() 435 (((unsigned int)UCH(array[offset + 1])) << 8) + \ in start_input_bmp() 436 (((unsigned int)UCH(array[offset + 2])) << 16) + \ in start_input_bmp() 437 (((unsigned int)UCH(array[offset + 3])) << 24)) in start_input_bmp()
|
/third_party/libjpeg-turbo/ |
D | rdtarga.c | 33 #define UCH(x) ((int)(x)) macro 37 #define UCH(x) ((int)(x)) macro 40 #define UCH(x) ((int)(x) & 0xFF) macro 187 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 206 t = UCH(source->tga_pixel[0]); in get_8bit_row() 228 t = UCH(source->tga_pixel[0]); in get_16bit_row() 229 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 255 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 256 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 257 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row() [all …]
|
D | rdppm.c | 48 #define UCH(x) ((int)(x)) macro 52 #define UCH(x) ((int)(x)) macro 55 #define UCH(x) ((int)(x) & 0xFF) macro 330 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row() 364 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_gray_rgb_row() 366 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_gray_rgb_row() 396 JSAMPLE gray = rescale[UCH(*bufferptr++)]; in get_gray_cmyk_row() 432 RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_rgb_row() 434 RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_rgb_row() 466 JSAMPLE r = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row() [all …]
|
D | rdbmp.c | 39 #define UCH(x) ((int)(x)) macro 43 #define UCH(x) ((int)(x)) macro 46 #define UCH(x) ((int)(x) & 0xFF) macro 431 ((unsigned short)UCH(array[offset]) + \ in start_input_bmp() 432 (((unsigned short)UCH(array[offset + 1])) << 8)) in start_input_bmp() 434 ((unsigned int)UCH(array[offset]) + \ in start_input_bmp() 435 (((unsigned int)UCH(array[offset + 1])) << 8) + \ in start_input_bmp() 436 (((unsigned int)UCH(array[offset + 2])) << 16) + \ in start_input_bmp() 437 (((unsigned int)UCH(array[offset + 3])) << 24)) in start_input_bmp()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | rdtarga.c | 32 #define UCH(x) ((int)(x)) macro 177 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_8bit_gray_row() 196 t = UCH(source->tga_pixel[0]); in get_8bit_row() 218 t = UCH(source->tga_pixel[0]); in get_16bit_row() 219 t += UCH(source->tga_pixel[1]) << 8; in get_16bit_row() 245 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[2]); /* change BGR to RGB order */ in get_24bit_row() 246 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[1]); in get_24bit_row() 247 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in get_24bit_row() 338 ((unsigned int)UCH(targaheader[offset]) + \ in start_input_tga() 339 (((unsigned int)UCH(targaheader[offset + 1])) << 8)) in start_input_tga() [all …]
|
D | rdppm.c | 47 #define UCH(x) ((int)(x)) macro 319 *ptr++ = rescale[UCH(*bufferptr++)]; in get_scaled_gray_row() 353 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_gray_rgb_row() 355 GRAY_RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_gray_rgb_row() 385 JSAMPLE gray = rescale[UCH(*bufferptr++)]; in get_gray_cmyk_row() 421 RGB_READ_LOOP(rescale[UCH(*bufferptr++)], ptr[aindex] = 0xFF;) in get_rgb_row() 423 RGB_READ_LOOP(rescale[UCH(*bufferptr++)],) in get_rgb_row() 455 JSAMPLE r = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row() 456 JSAMPLE g = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row() 457 JSAMPLE b = rescale[UCH(*bufferptr++)]; in get_rgb_cmyk_row() [all …]
|
D | rdgif.c | 44 #define UCH(x) ((int)(x)) macro 63 ((unsigned int)UCH(array[offset]) + \ 64 (((unsigned int)UCH(array[offset + 1])) << 8)) 248 accum = UCH(sinfo->code_buf[offs + 2]); in GetCode() 250 accum |= UCH(sinfo->code_buf[offs + 1]); in GetCode() 252 accum |= UCH(sinfo->code_buf[offs]); in GetCode() 417 aspectRatio = UCH(hdrbuf[6]); in start_input_gif()
|
D | rdbmp.c | 38 #define UCH(x) ((int)(x)) macro 419 ((unsigned short)UCH(array[offset]) + \ in start_input_bmp() 420 (((unsigned short)UCH(array[offset + 1])) << 8)) in start_input_bmp() 422 ((unsigned int)UCH(array[offset]) + \ in start_input_bmp() 423 (((unsigned int)UCH(array[offset + 1])) << 8) + \ in start_input_bmp() 424 (((unsigned int)UCH(array[offset + 2])) << 16) + \ in start_input_bmp() 425 (((unsigned int)UCH(array[offset + 3])) << 24)) in start_input_bmp()
|