uch 74 contrib/gregbook/readpng.c uch *image_data = NULL; uch 90 contrib/gregbook/readpng.c uch sig[8]; uch 194 contrib/gregbook/readpng.c *red = (uch)pBackground->red; uch 195 contrib/gregbook/readpng.c *green = (uch)pBackground->green; uch 196 contrib/gregbook/readpng.c *blue = (uch)pBackground->blue; uch 207 contrib/gregbook/readpng.c uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) uch 266 contrib/gregbook/readpng.c if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { uch 85 contrib/gregbook/readpng.h uch *readpng_get_image(double display_exponent, int *pChannels, uch 291 contrib/gregbook/readpng2.c mainprog_ptr->bg_red = (uch)pBackground->red; uch 292 contrib/gregbook/readpng2.c mainprog_ptr->bg_green = (uch)pBackground->green; uch 293 contrib/gregbook/readpng2.c mainprog_ptr->bg_blue = (uch)pBackground->blue; uch 91 contrib/gregbook/readpng2.h uch *image_data; uch 92 contrib/gregbook/readpng2.h uch **row_pointers; uch 100 contrib/gregbook/readpng2.h uch bg_red; uch 101 contrib/gregbook/readpng2.h uch bg_green; uch 102 contrib/gregbook/readpng2.h uch bg_blue; uch 69 contrib/gregbook/readppm.c uch *image_data = NULL; uch 83 contrib/gregbook/readppm.c static uch ppmline[256]; uch 143 contrib/gregbook/readppm.c uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) uch 157 contrib/gregbook/readppm.c if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { uch 129 contrib/gregbook/rpng-win.c (composite) = (uch)((temp + (temp >> 8)) >> 8); \ uch 147 contrib/gregbook/rpng-win.c static uch bg_red=0, bg_green=0, bg_blue=0; uch 153 contrib/gregbook/rpng-win.c static uch *image_data; uch 157 contrib/gregbook/rpng-win.c static uch *dib; uch 158 contrib/gregbook/rpng-win.c static uch *wimage_data; uch 408 contrib/gregbook/rpng-win.c bg_red = (uch)r; uch 409 contrib/gregbook/rpng-win.c bg_green = (uch)g; uch 410 contrib/gregbook/rpng-win.c bg_blue = (uch)b; uch 486 contrib/gregbook/rpng-win.c uch *dest; uch 499 contrib/gregbook/rpng-win.c if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) + uch 581 contrib/gregbook/rpng-win.c uch *src, *dest; uch 582 contrib/gregbook/rpng-win.c uch r, g, b, a; uch 111 contrib/gregbook/rpng-x.c (composite) = (uch)((temp + (temp >> 8)) >> 8); \ uch 131 contrib/gregbook/rpng-x.c static uch bg_red=0, bg_green=0, bg_blue=0; uch 137 contrib/gregbook/rpng-x.c static uch *image_data; uch 361 contrib/gregbook/rpng-x.c bg_red = (uch)r; uch 362 contrib/gregbook/rpng-x.c bg_green = (uch)g; uch 363 contrib/gregbook/rpng-x.c bg_blue = (uch)b; uch 437 contrib/gregbook/rpng-x.c uch *xdata; uch 651 contrib/gregbook/rpng-x.c xdata = (uch *)malloc(4*image_width*image_height); uch 654 contrib/gregbook/rpng-x.c xdata = (uch *)malloc(2*image_width*image_height); uch 657 contrib/gregbook/rpng-x.c xdata = (uch *)malloc(image_width*image_height); uch 694 contrib/gregbook/rpng-x.c uch *src; uch 696 contrib/gregbook/rpng-x.c uch r, g, b, a; uch 160 contrib/gregbook/rpng2-win.c (composite) = (uch)((temp + (temp >> 8)) >> 8); \ uch 188 contrib/gregbook/rpng2-win.c static uch inbuf[INBUFSIZE]; uch 195 contrib/gregbook/rpng2-win.c static uch *bg_data; uch 198 contrib/gregbook/rpng2-win.c uch r, g, b; uch 265 contrib/gregbook/rpng2-win.c static uch *dib; uch 266 contrib/gregbook/rpng2-win.c static uch *wimage_data; uch 556 contrib/gregbook/rpng2-win.c rpng2_info.bg_red = (uch)r; uch 557 contrib/gregbook/rpng2-win.c rpng2_info.bg_green = (uch)g; uch 558 contrib/gregbook/rpng2-win.c rpng2_info.bg_blue = (uch)b; uch 653 contrib/gregbook/rpng2-win.c rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); uch 659 contrib/gregbook/rpng2-win.c rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); uch 689 contrib/gregbook/rpng2-win.c uch bg_red = rpng2_info.bg_red; uch 690 contrib/gregbook/rpng2-win.c uch bg_green = rpng2_info.bg_green; uch 691 contrib/gregbook/rpng2-win.c uch bg_blue = rpng2_info.bg_blue; uch 692 contrib/gregbook/rpng2-win.c uch *dest; uch 706 contrib/gregbook/rpng2-win.c if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) + uch 835 contrib/gregbook/rpng2-win.c uch *src, *dest; uch 836 contrib/gregbook/rpng2-win.c uch r1, r2, g1, g2, b1, b2; uch 837 contrib/gregbook/rpng2-win.c uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv; uch 851 contrib/gregbook/rpng2-win.c bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height); uch 865 contrib/gregbook/rpng2-win.c uch r1_min = rgb[bg[pat].rgb1_min].r; uch 866 contrib/gregbook/rpng2-win.c uch g1_min = rgb[bg[pat].rgb1_min].g; uch 867 contrib/gregbook/rpng2-win.c uch b1_min = rgb[bg[pat].rgb1_min].b; uch 868 contrib/gregbook/rpng2-win.c uch r2_min = rgb[bg[pat].rgb2_min].r; uch 869 contrib/gregbook/rpng2-win.c uch g2_min = rgb[bg[pat].rgb2_min].g; uch 870 contrib/gregbook/rpng2-win.c uch b2_min = rgb[bg[pat].rgb2_min].b; uch 968 contrib/gregbook/rpng2-win.c uch ch; uch 1015 contrib/gregbook/rpng2-win.c ch = (uch)(v * 255.0); uch 1034 contrib/gregbook/rpng2-win.c *dest++ = (uch)(red * 255.0); uch 1035 contrib/gregbook/rpng2-win.c *dest++ = (uch)(green * 255.0); uch 1036 contrib/gregbook/rpng2-win.c *dest++ = (uch)(blue * 255.0); uch 1072 contrib/gregbook/rpng2-win.c uch bg_red = rpng2_info.bg_red; uch 1073 contrib/gregbook/rpng2-win.c uch bg_green = rpng2_info.bg_green; uch 1074 contrib/gregbook/rpng2-win.c uch bg_blue = rpng2_info.bg_blue; uch 1075 contrib/gregbook/rpng2-win.c uch *src, *src2=NULL, *dest; uch 1076 contrib/gregbook/rpng2-win.c uch r, g, b, a; uch 171 contrib/gregbook/rpng2-x.c (composite) = (uch)((temp + (temp >> 8)) >> 8); \ uch 207 contrib/gregbook/rpng2-x.c static uch inbuf[INBUFSIZE]; uch 214 contrib/gregbook/rpng2-x.c static uch *bg_data; uch 221 contrib/gregbook/rpng2-x.c uch r, g, b; uch 578 contrib/gregbook/rpng2-x.c rpng2_info.bg_red = (uch)r; uch 579 contrib/gregbook/rpng2-x.c rpng2_info.bg_green = (uch)g; uch 580 contrib/gregbook/rpng2-x.c rpng2_info.bg_blue = (uch)b; uch 784 contrib/gregbook/rpng2-x.c rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); uch 790 contrib/gregbook/rpng2-x.c rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); uch 835 contrib/gregbook/rpng2-x.c uch *xdata; uch 998 contrib/gregbook/rpng2-x.c xdata = (uch *)malloc(4*rpng2_info.width*rpng2_info.height); uch 1001 contrib/gregbook/rpng2-x.c xdata = (uch *)malloc(2*rpng2_info.width*rpng2_info.height); uch 1004 contrib/gregbook/rpng2-x.c xdata = (uch *)malloc(rpng2_info.width*rpng2_info.height); uch 1079 contrib/gregbook/rpng2-x.c uch *src; uch 1081 contrib/gregbook/rpng2-x.c uch r1, r2, g1, g2, b1, b2; uch 1082 contrib/gregbook/rpng2-x.c uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv; uch 1098 contrib/gregbook/rpng2-x.c bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height); uch 1115 contrib/gregbook/rpng2-x.c uch r1_min = rgb[bg[pat].rgb1_min].r; uch 1116 contrib/gregbook/rpng2-x.c uch g1_min = rgb[bg[pat].rgb1_min].g; uch 1117 contrib/gregbook/rpng2-x.c uch b1_min = rgb[bg[pat].rgb1_min].b; uch 1118 contrib/gregbook/rpng2-x.c uch r2_min = rgb[bg[pat].rgb2_min].r; uch 1119 contrib/gregbook/rpng2-x.c uch g2_min = rgb[bg[pat].rgb2_min].g; uch 1120 contrib/gregbook/rpng2-x.c uch b2_min = rgb[bg[pat].rgb2_min].b; uch 1218 contrib/gregbook/rpng2-x.c uch ch; uch 1265 contrib/gregbook/rpng2-x.c ch = (uch)(v * 255.0); uch 1284 contrib/gregbook/rpng2-x.c *dest++ = (uch)(red * 255.0); uch 1285 contrib/gregbook/rpng2-x.c *dest++ = (uch)(green * 255.0); uch 1286 contrib/gregbook/rpng2-x.c *dest++ = (uch)(blue * 255.0); uch 1375 contrib/gregbook/rpng2-x.c uch bg_red = rpng2_info.bg_red; uch 1376 contrib/gregbook/rpng2-x.c uch bg_green = rpng2_info.bg_green; uch 1377 contrib/gregbook/rpng2-x.c uch bg_blue = rpng2_info.bg_blue; uch 1378 contrib/gregbook/rpng2-x.c uch *src, *src2=NULL; uch 1380 contrib/gregbook/rpng2-x.c uch r, g, b, a; uch 1616 contrib/gregbook/rpng2-x.c uch bg_red = rpng2_info.bg_red; uch 1617 contrib/gregbook/rpng2-x.c uch bg_green = rpng2_info.bg_green; uch 1618 contrib/gregbook/rpng2-x.c uch bg_blue = rpng2_info.bg_blue; uch 1619 contrib/gregbook/rpng2-x.c uch *src, *src2=NULL; uch 1621 contrib/gregbook/rpng2-x.c uch r, g, b, a; uch 1868 contrib/gregbook/rpng2-x.c uch r1, r2, g1, g2, b1, b2; uch 1869 contrib/gregbook/rpng2-x.c uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv; uch 1887 contrib/gregbook/rpng2-x.c uch r1_min = rgb[bg[pat].rgb1_min].r; uch 1888 contrib/gregbook/rpng2-x.c uch g1_min = rgb[bg[pat].rgb1_min].g; uch 1889 contrib/gregbook/rpng2-x.c uch b1_min = rgb[bg[pat].rgb1_min].b; uch 1890 contrib/gregbook/rpng2-x.c uch r2_min = rgb[bg[pat].rgb2_min].r; uch 1891 contrib/gregbook/rpng2-x.c uch g2_min = rgb[bg[pat].rgb2_min].g; uch 1892 contrib/gregbook/rpng2-x.c uch b2_min = rgb[bg[pat].rgb2_min].b; uch 1990 contrib/gregbook/rpng2-x.c uch ch; uch 2033 contrib/gregbook/rpng2-x.c ch = (uch)(v * 255.0); uch 2052 contrib/gregbook/rpng2-x.c *dest++ = (uch)(red * 255.0); uch 2053 contrib/gregbook/rpng2-x.c *dest++ = (uch)(green * 255.0); uch 2054 contrib/gregbook/rpng2-x.c *dest++ = (uch)(blue * 255.0); uch 281 contrib/gregbook/wpng.c wpng_info.bg_red = (uch)r; uch 282 contrib/gregbook/wpng.c wpng_info.bg_green = (uch)g; uch 283 contrib/gregbook/wpng.c wpng_info.bg_blue = (uch)b; uch 460 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 490 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 530 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 560 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 590 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 620 contrib/gregbook/wpng.c if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { uch 707 contrib/gregbook/wpng.c wpng_info.image_data = (uch *)malloc(image_bytes); uch 708 contrib/gregbook/wpng.c wpng_info.row_pointers = (uch **)malloc(wpng_info.height*sizeof(uch *)); uch 735 contrib/gregbook/wpng.c wpng_info.image_data = (uch *)malloc(rowbytes); uch 99 contrib/gregbook/writepng.h uch *image_data; uch 100 contrib/gregbook/writepng.h uch **row_pointers; uch 115 contrib/gregbook/writepng.h uch bg_red; uch 116 contrib/gregbook/writepng.h uch bg_green; uch 117 contrib/gregbook/writepng.h uch bg_blue;