Searched defs:UCH (Results 1 - 3 of 3) sorted by relevance

/external/jpeg/
H A 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++)];
214 *ptr++ = rescale[UCH(*bufferptr++)];
215 *ptr++ = rescale[UCH(*bufferptr++)];
216 *ptr++ = rescale[UCH(*bufferptr++)];
253 temp = UCH(*bufferptr++);
254 temp |= UCH(*bufferptr++) << 8;
277 temp = UCH(*bufferpt
[all...]
H A 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]) + \
247 (((unsigned int) UCH(array[offset+1])) << 8))
248 #define GET_4B(array,offset) ((INT32) UCH(array[offset]) + \
249 (((INT32) UCH(array[offset+1])) << 8) + \
250 (((INT32) UCH(array[offset+2])) << 16) + \
251 (((INT32) UCH(array[offset+3])) << 24))
H A 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]);
202 t = UCH(source->tga_pixel[0]);
222 t = UCH(source->tga_pixel[0]);
223 t += UCH(source->tga_pixel[1]) << 8;
249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
251 *ptr++ = (JSAMPLE) UCH(sourc
[all...]

Completed in 91 milliseconds