HomeSort by relevance Sort by last modified time
    Searched full:uch (Results 1 - 25 of 42) sorted by null

1 2

  /external/libpng/contrib/gregbook/
readpng2.h 78 typedef unsigned char uch; typedef
91 uch *image_data;
92 uch **row_pointers;
105 uch bg_red;
106 uch bg_green;
107 uch bg_blue;
115 int readpng2_check_sig(uch *sig, int num);
119 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length);
writepng.h 86 typedef unsigned char uch; typedef
99 uch *image_data;
100 uch **row_pointers;
115 uch bg_red;
116 uch bg_green;
117 uch bg_blue;
readpng.c 73 uch *image_data = NULL;
89 uch sig[8];
154 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
193 *red = (uch)pBackground->red;
194 *green = (uch)pBackground->green;
195 *blue = (uch)pBackground->blue;
206 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL)
    [all...]
readppm.c 69 uch *image_data = NULL;
83 static uch ppmline[256];
133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue)
143 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes)
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
readpng.h 72 typedef unsigned char uch; typedef
83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue);
85 uch *readpng_get_image(double display_exponent, int *pChannels,
rpng2-win.c 110 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
131 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
159 static uch inbuf[INBUFSIZE];
166 static uch *bg_data;
169 uch r, g, b;
236 static uch *dib;
237 static uch *wimage_data;
531 rpng2_info.bg_red = (uch)r;
532 rpng2_info.bg_green = (uch)g;
533 rpng2_info.bg_blue = (uch)b
    [all...]
rpng2-x.c 127 #define CLIP8P(c) MAX(0,(MIN((c),255))) /* 8-bit pos. integer (uch) */
154 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
190 static uch inbuf[INBUFSIZE];
197 static uch *bg_data;
204 uch r, g, b;
576 rpng2_info.bg_red = (uch)r;
577 rpng2_info.bg_green = (uch)g;
578 rpng2_info.bg_blue = (uch)b;
780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
786 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *))
    [all...]
wpng.c 141 static int wpng_isvalid_latin1(uch *p, int len);
281 wpng_info.bg_red = (uch)r;
282 wpng_info.bg_green = (uch)g;
283 wpng_info.bg_blue = (uch)b;
460 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
490 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
530 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
560 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
590 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) {
620 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0)
    [all...]
rpng-win.c 103 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
121 static uch bg_red=0, bg_green=0, bg_blue=0;
127 static uch *image_data;
131 static uch *dib;
132 static uch *wimage_data;
369 bg_red = (uch)r;
370 bg_green = (uch)g;
371 bg_blue = (uch)b;
442 uch *dest;
455 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER)
    [all...]
rpng-x.c 109 (composite) = (uch)((temp + (temp >> 8)) >> 8); \
129 static uch bg_red=0, bg_green=0, bg_blue=0;
135 static uch *image_data;
357 bg_red = (uch)r;
358 bg_green = (uch)g;
359 bg_blue = (uch)b;
431 uch *xdata;
645 xdata = (uch *)malloc(4*image_width*image_height);
648 xdata = (uch *)malloc(2*image_width*image_height);
651 xdata = (uch *)malloc(image_width*image_height)
    [all...]
  /external/jpeg/
rdtarga.c 29 #define UCH(x) ((int) (x))
33 #define UCH(x) ((int) (x))
36 #define UCH(x) ((int) (x) & 0xFF)
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(source->tga_pixel[0])
    [all...]
rdppm.c 43 #define UCH(x) ((int) (x))
47 #define UCH(x) ((int) (x))
50 #define UCH(x) ((int) (x) & 0xFF)
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(*bufferptr++)
    [all...]
rdbmp.c 33 #define UCH(x) ((int) (x))
37 #define UCH(x) ((int) (x))
40 #define UCH(x) ((int) (x) & 0xFF)
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))
  /bionic/libc/regex/
regex2.h 106 uch *ptr; /* -> uch [csetsize] */
107 uch mask; /* bit within array */
108 uch hash; /* hash code */
113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
115 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask)
133 uch *setbits; /* -> uch[csetsize][ncsets/CHAR_BIT] */
regcomp.c 368 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
380 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ))
409 if (isdigit((uch)PEEK())) {
430 (c == '{' && MORE2() && isdigit((uch)PEEK2())) ) )
580 if (MORE() && isdigit((uch)PEEK())) {
609 while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) {
859 ch = (uch)ch;
862 return ((uch)tolower(ch));
864 return ((uch)toupper(ch));
881 ch = (uch)ch
    [all...]
utils.h 42 typedef unsigned char uch; typedef
  /bionic/libc/arch-sh/include/machine/
exec.h 2 /* $NetBSD: elf_machdep.h,v 1.8 2002/04/28 17:10:34 uch Exp $ */
  /frameworks/base/media/libmedia/
MediaScannerClient.cpp 163 uint8_t uch; local
164 while ((uch = *src++)) {
165 if (uch & 0x80)
166 *dest++ = ((uch << 6) & 0xC0) | (*src++ & 0x3F);
168 *dest++ = uch;
  /external/tcpdump/
enc.h 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and
  /external/qemu/distrib/zlib-1.2.3/
deflate.h 210 uch depth[2*L_CODES+1];
301 extern uch _length_code[];
302 extern uch _dist_code[];
304 extern const uch _length_code[];
305 extern const uch _dist_code[];
309 { uch cc = (c); \
316 { uch len = (length); \
zutil.h 47 typedef unsigned char uch; typedef
48 typedef uch FAR uchf;
  /external/zlib/
deflate.h 210 uch depth[2*L_CODES+1];
301 extern uch _length_code[];
302 extern uch _dist_code[];
304 extern const uch _length_code[];
305 extern const uch _dist_code[];
309 { uch cc = (c); \
316 { uch len = (length); \
zutil.h 47 typedef unsigned char uch; typedef
48 typedef uch FAR uchf;
  /external/icu4c/samples/ucnv/
convsamp.cpp 96 const UChar *uch = kNone,
101 if( (len == -1) && (uch) ) {
102 len = u_strlen(uch);
113 printf("\\u%04X ", (int)uch[i]);
119 prettyPrintUChar(uch[i]);
125 const char *uch = "",
130 if( (len == -1) && (uch) ) {
131 len = strlen(uch);
142 printf("\\x%02X ", 0x00FF & (int)uch[i]);
148 if(isgraph(0x00FF & (int)uch[i]))
    [all...]
  /external/grub/stage2/
gunzip.c 254 typedef unsigned char uch; typedef
345 uch e; /* number of extra bits or operation */
346 uch b; /* number of bits in this code or subcode */
361 to be usable as if it were declared "uch slide[32768];" or as just
362 "uch *slide;" and then malloc'ed in the latter case. The definition
367 static uch slide[WSIZE];
488 static uch inbuf[INBUFSIZ];
660 r.b = (uch) l; /* bits to dump before this table */
661 r.e = (uch) (16 + j); /* bits in this table */
669 r.b = (uch) (k - w)
    [all...]

Completed in 60 milliseconds

1 2