Lines Matching refs:uch
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 *));
830 uch *xdata;
993 xdata = (uch *)malloc(4*rpng2_info.width*rpng2_info.height);
996 xdata = (uch *)malloc(2*rpng2_info.width*rpng2_info.height);
999 xdata = (uch *)malloc(rpng2_info.width*rpng2_info.height);
1074 uch *src;
1076 uch r1, r2, g1, g2, b1, b2;
1077 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv;
1093 bg_data = (uch *)malloc(bg_rowbytes * rpng2_info.height);
1110 uch r1_min = rgb[bg[pat].rgb1_min].r;
1111 uch g1_min = rgb[bg[pat].rgb1_min].g;
1112 uch b1_min = rgb[bg[pat].rgb1_min].b;
1113 uch r2_min = rgb[bg[pat].rgb2_min].r;
1114 uch g2_min = rgb[bg[pat].rgb2_min].g;
1115 uch b2_min = rgb[bg[pat].rgb2_min].b;
1213 uch ch;
1260 ch = (uch)(v * 255.0);
1279 *dest++ = (uch)(red * 255.0);
1280 *dest++ = (uch)(green * 255.0);
1281 *dest++ = (uch)(blue * 255.0);
1370 uch bg_red = rpng2_info.bg_red;
1371 uch bg_green = rpng2_info.bg_green;
1372 uch bg_blue = rpng2_info.bg_blue;
1373 uch *src, *src2=NULL;
1375 uch r, g, b, a;
1611 uch bg_red = rpng2_info.bg_red;
1612 uch bg_green = rpng2_info.bg_green;
1613 uch bg_blue = rpng2_info.bg_blue;
1614 uch *src, *src2=NULL;
1616 uch r, g, b, a;
1860 uch r1, r2, g1, g2, b1, b2;
1861 uch r1_inv, r2_inv, g1_inv, g2_inv, b1_inv, b2_inv;
1879 uch r1_min = rgb[bg[pat].rgb1_min].r;
1880 uch g1_min = rgb[bg[pat].rgb1_min].g;
1881 uch b1_min = rgb[bg[pat].rgb1_min].b;
1882 uch r2_min = rgb[bg[pat].rgb2_min].r;
1883 uch g2_min = rgb[bg[pat].rgb2_min].g;
1884 uch b2_min = rgb[bg[pat].rgb2_min].b;
1982 uch ch;
2025 ch = (uch)(v * 255.0);
2044 *dest++ = (uch)(red * 255.0);
2045 *dest++ = (uch)(green * 255.0);
2046 *dest++ = (uch)(blue * 255.0);